Bug: Intermittent toolkit/components/thumbnails/test/browser_thumbnails_capture.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-08-13 23:48:50+00:00
Resolved: 2022-07-25 23:14:01+00:00

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

---
```
[task 2021-08-13T23:07:44.615Z] 23:07:44     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_capture.js
[task 2021-08-13T23:07:44.641Z] 23:07:44     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f0c98a12800 == 1 [pid = 16622] [id = 3]
[task 2021-08-13T23:07:44.641Z] 23:07:44     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f0cb2964740) [pid = 16622] [serial = 7] [outer = 0]
[task 2021-08-13T23:07:44.641Z] 23:07:44     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7f0c98a14800) [pid = 16622] [serial = 8] [outer = 7f0cb2964740]
[task 2021-08-13T23:07:44.762Z] 23:07:44     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7f0cb29eb800) [pid = 16622] [serial = 9] [outer = 7f0cb2964740]
[task 2021-08-13T23:07:45.006Z] 23:07:45     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7ff8c184d400 == 2 [pid = 16336] [id = 24]
[task 2021-08-13T23:07:45.007Z] 23:07:45     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (7ff8dd264580) [pid = 16336] [serial = 70] [outer = 0]
[task 2021-08-13T23:07:45.008Z] 23:07:45     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7ff8c184e400) [pid = 16336] [serial = 71] [outer = 7ff8dd264580]
[task 2021-08-13T23:07:45.037Z] 23:07:45     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (7ff8c1857000) [pid = 16336] [serial = 72] [outer = 7ff8dd264580]
[task 2021-08-13T23:07:45.132Z] 23:07:45     INFO - GECKO(16250) | JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 241: Error: Internal error: expecting msg 54,  got 55: {"id":55}
[task 2021-08-13T23:07:45.134Z] 23:07:45     INFO - GECKO(16250) | JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 241: Error: Internal error: expecting msg 55,  got 56: {"ok":747,"id":56}
[task 2021-08-13T23:07:45.136Z] 23:07:45     INFO - GECKO(16250) | JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 241: Error: Internal error: expecting msg 56,  got 54: {"ok":true,"id":54}
[task 2021-08-13T23:07:46.258Z] 23:07:46     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f0c98a18000) [pid = 16622] [serial = 6] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:46.260Z] 23:07:46     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f0c98a16400) [pid = 16622] [serial = 4] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:46.261Z] 23:07:46     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f0c98a13400) [pid = 16622] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:46.972Z] 23:07:46     INFO - GECKO(16250) | [Child 16425: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f1e3b190c00) [pid = 16425] [serial = 17] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:46.974Z] 23:07:46     INFO - GECKO(16250) | [Child 16425: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f1e3b18ec00) [pid = 16425] [serial = 15] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:46.975Z] 23:07:46     INFO - GECKO(16250) | [Child 16425: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f1e3b18d800) [pid = 16425] [serial = 13] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.043Z] 23:07:47     INFO - GECKO(16250) | [Child 16394: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7efbe2179000) [pid = 16394] [serial = 20] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.044Z] 23:07:47     INFO - GECKO(16250) | [Child 16394: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7efbe217d400) [pid = 16394] [serial = 18] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.047Z] 23:07:47     INFO - GECKO(16250) | [Child 16394: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7efbe290f400) [pid = 16394] [serial = 24] [outer = 0] [url = about:neterror?e=deniedPortAccess&u=http%3A//127.0.0.1%3A1/&c=UTF-8&d=This%20address%20uses%20a%20network%20port%20which%20is%20normally%20used%20for%20purposes%20other%20than%20Web%20browsing.%20Firefox%20has%20canceled%20the%20request%20for%20your%20protection.]
[task 2021-08-13T23:07:47.049Z] 23:07:47     INFO - GECKO(16250) | [Child 16394: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7efbe2175800) [pid = 16394] [serial = 26] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.049Z] 23:07:47     INFO - GECKO(16250) | [Child 16394: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7efbe2181000) [pid = 16394] [serial = 23] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.050Z] 23:07:47     INFO - GECKO(16250) | [Child 16394: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7efbe217bc00) [pid = 16394] [serial = 22] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.052Z] 23:07:47     INFO - GECKO(16250) | [Child 16394: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7efbe217a800 == 1 [pid = 16394] [id = 9] [url = http://127.0.0.1:1/]
[task 2021-08-13T23:07:47.205Z] 23:07:47     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7ff8c1852800) [pid = 16336] [serial = 67] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.205Z] 23:07:47     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7ff8c2c6c400) [pid = 16336] [serial = 62] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.205Z] 23:07:47     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7ff8c1857c00) [pid = 16336] [serial = 61] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.206Z] 23:07:47     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7ff8c1854c00) [pid = 16336] [serial = 65] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.207Z] 23:07:47     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7ff8c184f800) [pid = 16336] [serial = 64] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:47.208Z] 23:07:47     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff8c1853000 == 1 [pid = 16336] [id = 23] [url = about:blank]
[task 2021-08-13T23:07:47.217Z] 23:07:47     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7ff8dd264e40) [pid = 16336] [serial = 68] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7efe8b984800) [pid = 16740] [serial = 5] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7efe8c213400) [pid = 16740] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7efe8af14400) [pid = 16740] [serial = 11] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7efe8af16800) [pid = 16740] [serial = 9] [outer = 0] [url = http://www.example.com/1]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7efe8af11c00) [pid = 16740] [serial = 8] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7efe8c219000) [pid = 16740] [serial = 3] [outer = 0] [url = http://example.com/1]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7efe8af0e400) [pid = 16740] [serial = 6] [outer = 0] [url = http://www.example.com/0]
[task 2021-08-13T23:07:48.138Z] 23:07:48     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7efe8b983c00) [pid = 16740] [serial = 14] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:50.349Z] 23:07:50     INFO - GECKO(16250) | [Child 16622: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f0c98a14800) [pid = 16622] [serial = 8] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:51.249Z] 23:07:51     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7ff8c184e400) [pid = 16336] [serial = 71] [outer = 0] [url = about:blank]
[task 2021-08-13T23:07:51.251Z] 23:07:51     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7ff8c1856000) [pid = 16336] [serial = 69] [outer = 0] [url = about:blank]
[task 2021-08-13T23:08:39.441Z] 23:08:39     INFO - GECKO(16250) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-08-13T23:08:39.444Z] 23:08:39     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7efe8af13400 == 1 [pid = 16740] [id = 3] [url = http://www.example.com/2]
[task 2021-08-13T23:08:39.445Z] 23:08:39     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7efe8af17c00 == 0 [pid = 16740] [id = 4] [url = http://example.com/redirected]
[task 2021-08-13T23:08:39.446Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.455Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.466Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.471Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.474Z] 23:08:39     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7efe9103d000) [pid = 16740] [serial = 15] [outer = 0] [url = http://example.com/redirected]
[task 2021-08-13T23:08:39.474Z] 23:08:39     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7efe8b9bd740) [pid = 16740] [serial = 10] [outer = 0] [url = http://www.example.com/2]
[task 2021-08-13T23:08:39.475Z] 23:08:39     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7efe8b9bd900) [pid = 16740] [serial = 13] [outer = 0] [url = http://example.com/redirected]
[task 2021-08-13T23:08:39.477Z] 23:08:39     INFO - GECKO(16250) | [Child 16740: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7efe8af1a800) [pid = 16740] [serial = 12] [outer = 0] [url = http://www.example.com/2]
[task 2021-08-13T23:08:39.478Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3357
[task 2021-08-13T23:08:39.479Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.481Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.482Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.484Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-13T23:08:39.486Z] 23:08:39     INFO - GECKO(16250) | [Child 16740, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4438
[task 2021-08-13T23:08:47.486Z] 23:08:47     INFO - GECKO(16250) | [Child 16425: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f1e3b18f400 == 0 [pid = 16425] [id = 7] [url = about:blank]
[task 2021-08-13T23:08:51.585Z] 23:08:51     INFO - GECKO(16250) | [Child 16425: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f1e55964ac0) [pid = 16425] [serial = 16] [outer = 0] [url = about:blank]
[task 2021-08-13T23:08:55.668Z] 23:08:55     INFO - GECKO(16250) | [Child 16425: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f1e3ba12800) [pid = 16425] [serial = 18] [outer = 0] [url = about:blank]
[task 2021-08-13T23:09:14.698Z] 23:09:14     INFO - TEST-INFO | started process screentopng
[task 2021-08-13T23:09:15.067Z] 23:09:15     INFO - TEST-INFO | screentopng: exit 0
[task 2021-08-13T23:09:15.068Z] 23:09:15     INFO - Buffered messages logged at 23:07:44
[task 2021-08-13T23:09:15.068Z] 23:09:15     INFO - Entering test bound thumbnails_capture
[task 2021-08-13T23:09:15.068Z] 23:09:15     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html,<body bgcolor=ff0000></body>" line: 0}]
[task 2021-08-13T23:09:15.069Z] 23:09:15     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_capture.js | we have a red thumbnail - 
[task 2021-08-13T23:09:15.070Z] 23:09:15     INFO - Buffered messages logged at 23:07:45
[task 2021-08-13T23:09:15.070Z] 23:09:15     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html,<body bgcolor=00ff00></body>" line: 0}]
[task 2021-08-13T23:09:15.071Z] 23:09:15     INFO - Console message: [JavaScript Error: "Error: Internal error: expecting msg 54,  got 55: {"id":55}" {file: "resource://gre/modules/PromiseWorker.jsm" line: 241}]
[task 2021-08-13T23:09:15.071Z] 23:09:15     INFO - get _worker/worker.onmessage@resource://gre/modules/PromiseWorker.jsm:241:15
[task 2021-08-13T23:09:15.072Z] 23:09:15     INFO - 
[task 2021-08-13T23:09:15.072Z] 23:09:15     INFO - Console message: [JavaScript Error: "Error: Internal error: expecting msg 55,  got 56: {"ok":747,"id":56}" {file: "resource://gre/modules/PromiseWorker.jsm" line: 241}]
[task 2021-08-13T23:09:15.072Z] 23:09:15     INFO - get _worker/worker.onmessage@resource://gre/modules/PromiseWorker.jsm:241:15
[task 2021-08-13T23:09:15.072Z] 23:09:15     INFO - 
[task 2021-08-13T23:09:15.072Z] 23:09:15     INFO - Console message: [JavaScript Error: "Error: Internal error: expecting msg 56,  got 54: {"ok":true,"id":54}" {file: "resource://gre/modules/PromiseWorker.jsm" line: 241}]
[task 2021-08-13T23:09:15.073Z] 23:09:15     INFO - get _worker/worker.onmessage@resource://gre/modules/PromiseWorker.jsm:241:15
[task 2021-08-13T23:09:15.073Z] 23:09:15     INFO - 
[task 2021-08-13T23:09:15.073Z] 23:09:15     INFO - Buffered messages finished
[task 2021-08-13T23:09:15.075Z] 23:09:15     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_capture.js | Test timed out -
[task 2021-08-13T23:09:15.075Z] 23:09:15     INFO - GECKO(16250) | MEMORY STAT | vsize 3038MB | residentFast 408MB | heapAllocated 163MB
[task 2021-08-13T23:09:15.076Z] 23:09:15     INFO - TEST-OK | toolkit/components/thumbnails/test/browser_thumbnails_capture.js | took 90192ms
[task 2021-08-13T23:09:15.076Z] 23:09:15     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7ff8c184e000 == 2 [pid = 16336] [id = 25]
[task 2021-08-13T23:09:15.077Z] 23:09:15     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7ff8dd264740) [pid = 16336] [serial = 73] [outer = 0]
[task 2021-08-13T23:09:15.078Z] 23:09:15     INFO - GECKO(16250) | [Child 16336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7ff8c184f000) [pid = 16336] [serial = 74] [outer = 7ff8dd264740]
[task 2021-08-13T23:09:15.079Z] 23:09:15     INFO - checking window state
```