Bug: Intermittent toolkit/components/thumbnails/test/browser_thumbnails_expiration.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-08-08 16:56:15+00:00
Resolved: 2022-07-25 23:14:08+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=347315936&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/acfjvcZeTXiqz7t0r2MEVA/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-08-04T00:54:07.935Z] 00:54:07     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_expiration.js
[task 2021-08-04T00:54:07.987Z] 00:54:07     INFO - GECKO(16099) | JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 241: Error: Internal error: expecting msg 62,  got 63: {"id":63}
[task 2021-08-04T00:54:07.990Z] 00:54:07     INFO - GECKO(16099) | JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 241: Error: Internal error: expecting msg 63,  got 64: {"ok":10,"id":64}
[task 2021-08-04T00:54:07.996Z] 00:54:07     INFO - GECKO(16099) | JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 241: Error: Internal error: expecting msg 64,  got 62: {"ok":true,"id":62}
[task 2021-08-04T00:54:08.526Z] 00:54:08     INFO - GECKO(16099) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpz4ya6iw5.mozrunner/runtests_leaks_tab_pid16781.log
[task 2021-08-04T00:54:08.526Z] 00:54:08     INFO - GECKO(16099) | [16781, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:250
[task 2021-08-04T00:54:08.544Z] 00:54:08     INFO - GECKO(16099) | [Child 16781, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:619
[task 2021-08-04T00:54:08.672Z] 00:54:08     INFO - GECKO(16099) | [Child 16274: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f936c064800 == 1 [pid = 16274] [id = 9] [url = http://127.0.0.1:1/]
[task 2021-08-04T00:54:08.672Z] 00:54:08     INFO - GECKO(16099) | [Child 16274: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7f936c06ac00) [pid = 16274] [serial = 23] [outer = 0] [url = about:blank]
<...>
[task 2021-08-04T00:55:38.255Z] 00:55:38     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_expiration.js | second thumbnail created - 
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - Creating dummy thumbnail for http://mochi.test:8888/?t=1628038447939#3
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - Console message: [JavaScript Error: "Error: Internal error: expecting msg 62,  got 63: {"id":63}" {file: "resource://gre/modules/PromiseWorker.jsm" line: 241}]
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - get _worker/worker.onmessage@resource://gre/modules/PromiseWorker.jsm:241:15
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - 
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - Console message: [JavaScript Error: "Error: Internal error: expecting msg 63,  got 64: {"ok":10,"id":64}" {file: "resource://gre/modules/PromiseWorker.jsm" line: 241}]
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - get _worker/worker.onmessage@resource://gre/modules/PromiseWorker.jsm:241:15
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - 
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - Console message: [JavaScript Error: "Error: Internal error: expecting msg 64,  got 62: {"ok":true,"id":62}" {file: "resource://gre/modules/PromiseWorker.jsm" line: 241}]
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - get _worker/worker.onmessage@resource://gre/modules/PromiseWorker.jsm:241:15
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - 
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - Buffered messages finished
[task 2021-08-04T00:55:38.256Z] 00:55:38     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_expiration.js | Test timed out - 
[task 2021-08-04T00:55:38.257Z] 00:55:38     INFO - GECKO(16099) | MEMORY STAT | vsize 3047MB | residentFast 409MB | heapAllocated 161MB
[task 2021-08-04T00:55:38.257Z] 00:55:38     INFO - TEST-OK | toolkit/components/thumbnails/test/browser_thumbnails_expiration.js | took 90032ms
[task 2021-08-04T00:55:38.258Z] 00:55:38     INFO - GECKO(16099) | [Child 16274: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f936b039400 == 1 [pid = 16274] [id = 12]
[task 2021-08-04T00:55:38.259Z] 00:55:38     INFO - GECKO(16099) | [Child 16274: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f937196c040) [pid = 16274] [serial = 29] [outer = 0]
[task 2021-08-04T00:55:38.259Z] 00:55:38     INFO - GECKO(16099) | [Child 16274: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f936b03a800) [pid = 16274] [serial = 30] [outer = 7f937196c040]
[task 2021-08-04T00:55:38.260Z] 00:55:38     INFO - checking window state
[task 2021-08-04T00:55:38.260Z] 00:55:38     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_privacy.js
```