Bug: Intermittent browser/components/sessionstore/test/browser_async_duplicate_tab.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-05-23 00:10:28+00:00
Resolved: 2020-11-30 06:25:25+00:00

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

---

```
[task 2020-05-22T23:07:34.593Z] 23:07:34     INFO - TEST-START | browser/components/sessionstore/test/browser_async_duplicate_tab.js
[task 2020-05-22T23:07:34.694Z] 23:07:34     INFO - GECKO(3570) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpU_DCos.mozrunner/runtests_leaks_tab_pid5633.log
[task 2020-05-22T23:07:34.695Z] 23:07:34     INFO - GECKO(3570) | [5633, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 224
[task 2020-05-22T23:07:34.999Z] 23:07:34     INFO - GECKO(3570) | [Child 3850: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7f8a2ae4fc00) [pid = 3850] [serial = 177] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:34.999Z] 23:07:34     INFO - GECKO(3570) | [Child 3850: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7f8a2ae53c00) [pid = 3850] [serial = 182] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:34.999Z] 23:07:34     INFO - GECKO(3570) | [Child 3850: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7f8a2ae56800) [pid = 3850] [serial = 180] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:35.000Z] 23:07:35     INFO - GECKO(3570) | [Child 3850: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7f8a2ae57400) [pid = 3850] [serial = 184] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:35.002Z] 23:07:35     INFO - GECKO(3570) | [Child 3850: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f8a2ae51400 == 2 [pid = 3850] [id = {f3facc80-8f21-4c23-8645-95ee2dcf2b08}] [url = about:mozilla]
[task 2020-05-22T23:07:35.003Z] 23:07:35     INFO - GECKO(3570) | [Child 3850: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f8a2ae4f400 == 1 [pid = 3850] [id = {f072a39b-4050-4c79-88c4-4cd8d63a630a}] [url = about:sessionrestore]
[task 2020-05-22T23:07:35.185Z] 23:07:35     INFO - GECKO(3570) | [Child 5633, Main Thread] WARNING: could not set real-time limit at process startup: file /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp, line 1638
[task 2020-05-22T23:07:35.205Z] 23:07:35     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f0cfcbd8800 == 1 [pid = 5633] [id = {8c92fb5e-e09d-43be-b421-b40be0d063d4}]
[task 2020-05-22T23:07:35.225Z] 23:07:35     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f0d12893350) [pid = 5633] [serial = 1] [outer = (nil)]
[task 2020-05-22T23:07:35.229Z] 23:07:35     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f0cf748b000) [pid = 5633] [serial = 2] [outer = 0x7f0d12893350]
[task 2020-05-22T23:07:35.474Z] 23:07:35     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f0cf74e5800) [pid = 5633] [serial = 3] [outer = 0x7f0d12893350]
[task 2020-05-22T23:07:35.942Z] 23:07:35     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fd786583800 == 1 [pid = 3752] [id = {d234e328-c8ad-45e2-8e7c-65c73e2bf851}] [url = about:blank]
[task 2020-05-22T23:07:35.942Z] 23:07:35     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7fd78657fc00) [pid = 3752] [serial = 211] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:35.942Z] 23:07:35     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7fd78bc2dc00) [pid = 3752] [serial = 218] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:35.943Z] 23:07:35     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7fd78657c000) [pid = 3752] [serial = 209] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:35.943Z] 23:07:35     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7fd786582800) [pid = 3752] [serial = 217] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:35.943Z] 23:07:35     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fd785c39800 == 0 [pid = 3752] [id = {d962a1ed-0ff6-4b77-be44-a8d5ed6cab64}] [url = about:blank]
[task 2020-05-22T23:07:35.943Z] 23:07:35     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7fd786583400) [pid = 3752] [serial = 213] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:36.004Z] 23:07:36     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f0cf7493800 == 2 [pid = 5633] [id = {ae282b96-c273-4bf3-b07c-1b7898c77b61}]
[task 2020-05-22T23:07:36.004Z] 23:07:36     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f0cfca83d90) [pid = 5633] [serial = 4] [outer = (nil)]
[task 2020-05-22T23:07:36.004Z] 23:07:36     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f0cf7494c00) [pid = 5633] [serial = 5] [outer = 0x7f0cfca83d90]
[task 2020-05-22T23:07:36.020Z] 23:07:36     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fd785c3a800 == 1 [pid = 3752] [id = {ae282b96-c273-4bf3-b07c-1b7898c77b61}]
[task 2020-05-22T23:07:36.022Z] 23:07:36     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (0x7fd78597a260) [pid = 3752] [serial = 224] [outer = (nil)]
[task 2020-05-22T23:07:36.022Z] 23:07:36     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (0x7fd78657e400) [pid = 3752] [serial = 225] [outer = 0x7fd78597a260]
<...>
[task 2020-05-22T23:07:46.512Z] 23:07:46     INFO - GECKO(3570) | [Parent 3570: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7f2c229d57d0) [pid = 3570] [serial = 475] [outer = (nil)] [url = chrome://browser/content/browser.xhtml]
[task 2020-05-22T23:07:47.637Z] 23:07:47     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7f0cf7494c00) [pid = 5633] [serial = 5] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:47.637Z] 23:07:47     INFO - GECKO(3570) | [Child 5633: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f0cf748b000) [pid = 5633] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:07:50.484Z] 23:07:50     INFO - GECKO(3570) | [Parent 3570: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7f2c0be52000) [pid = 3570] [serial = 476] [outer = (nil)] [url = about:blank]
[task 2020-05-22T23:09:04.734Z] 23:09:04     INFO - TEST-INFO | started process screentopng
[task 2020-05-22T23:09:04.998Z] 23:09:04     INFO - TEST-INFO | screentopng: exit 0
[task 2020-05-22T23:09:04.998Z] 23:09:04     INFO - Buffered messages logged at 23:07:34
[task 2020-05-22T23:09:04.998Z] 23:09:04     INFO - Entering test bound test_duplicate
[task 2020-05-22T23:09:04.998Z] 23:09:04     INFO - Buffered messages logged at 23:07:35
[task 2020-05-22T23:09:04.998Z] 23:09:04     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: "http://example.com/browser/browser/components/sessionstore/test/file_async_duplicate_tab.html" line: 0}]
[task 2020-05-22T23:09:04.998Z] 23:09:04     INFO - Buffered messages logged at 23:07:36
[task 2020-05-22T23:09:04.999Z] 23:09:04     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: "http://example.com/browser/browser/components/sessionstore/test/file_async_duplicate_tab.html#" line: 0}]
[task 2020-05-22T23:09:05.001Z] 23:09:04     INFO - Console message: [JavaScript Error: "TypeError: can't access property "legacySHistory", history is null" {file: "resource://gre/modules/sessionstore/SessionHistory.jsm" line: 109}]
[task 2020-05-22T23:09:05.002Z] 23:09:04     INFO - collect@resource://gre/modules/sessionstore/SessionHistory.jsm:109:1
[task 2020-05-22T23:09:05.003Z] 23:09:04     INFO - collect@resource://gre/modules/sessionstore/SessionHistory.jsm:39:35
[task 2020-05-22T23:09:05.004Z] 23:09:04     INFO - collectFrom/<@resource:///modules/sessionstore/ContentSessionStore.jsm:200:36
[task 2020-05-22T23:09:05.005Z] 23:09:04     INFO - send@resource:///modules/sessionstore/ContentSessionStore.jsm:468:19
[task 2020-05-22T23:09:05.006Z] 23:09:05     INFO - flush@resource:///modules/sessionstore/ContentSessionStore.jsm:799:23
[task 2020-05-22T23:09:05.007Z] 23:09:05     INFO - receiveMessage@resource:///modules/sessionstore/ContentSessionStore.jsm:615:14
[task 2020-05-22T23:09:05.008Z] 23:09:05     INFO - MessageListener.receiveMessage*ContentSessionStore/<@resource:///modules/sessionstore/ContentSessionStore.jsm:544:30
[task 2020-05-22T23:09:05.009Z] 23:09:05     INFO - ContentSessionStore@resource:///modules/sessionstore/ContentSessionStore.jsm:544:14
[task 2020-05-22T23:09:05.010Z] 23:09:05     INFO - @chrome://browser/content/content-sessionStore.js:13:6
[task 2020-05-22T23:09:05.011Z] 23:09:05     INFO - 
[task 2020-05-22T23:09:05.012Z] 23:09:05     INFO - Buffered messages finished
[task 2020-05-22T23:09:05.013Z] 23:09:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_duplicate_tab.js | Test timed out - 
[task 2020-05-22T23:09:05.014Z] 23:09:05     INFO - GECKO(3570) | MEMORY STAT | vsize 3558MB | residentFast 401MB | heapAllocated 111MB
[task 2020-05-22T23:09:05.015Z] 23:09:05     INFO - TEST-OK | browser/components/sessionstore/test/browser_async_duplicate_tab.js | took 90162ms
[task 2020-05-22T23:09:05.016Z] 23:09:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-05-22T23:09:05.017Z] 23:09:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_duplicate_tab.js | Found a tab after previous test timed out: http://example.com/browser/browser/components/sessionstore/test/file_async_duplicate_tab.html# - 
[task 2020-05-22T23:09:05.018Z] 23:09:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-05-22T23:09:05.019Z] 23:09:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_duplicate_tab.js | Found a tab after previous test timed out: http://example.com/browser/browser/components/sessionstore/test/file_async_duplicate_tab.html# - 
[task 2020-05-22T23:09:05.020Z] 23:09:05     INFO - GECKO(3570) | JavaScript error: resource:///modules/sessionstore/ContentSessionStore.jsm, line 465: Error: TelemetryStopwatch: key "FX_SESSION_RESTORE_CONTENT_COLLECT_DATA_MS" was already initialized
[task 2020-05-22T23:09:05.021Z] 23:09:05     INFO - GECKO(3570) | JavaScript error: resource://gre/modules/sessionstore/SessionHistory.jsm, line 109: TypeError: can't access property "legacySHistory", history is null
[task 2020-05-22T23:09:05.022Z] 23:09:05     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fd7859ac800 == 1 [pid = 3752] [id = {f0e1a642-2d4b-4129-9de9-91c1203b1e09}]
[task 2020-05-22T23:09:05.023Z] 23:09:05     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7fd78597a090) [pid = 3752] [serial = 226] [outer = (nil)]
[task 2020-05-22T23:09:05.024Z] 23:09:05     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7fd78657c000) [pid = 3752] [serial = 227] [outer = 0x7fd78597a090]
[task 2020-05-22T23:09:05.035Z] 23:09:05     INFO - GECKO(3570) | [Child 3752: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7fd786583000) [pid = 3752] [serial = 228] [outer = 0x7fd78597a090]
[task 2020-05-22T23:09:05.036Z] 23:09:05     INFO - checking window state
[task 2020-05-22T23:09:05.037Z] 23:09:05     INFO - GECKO(3570) | [Parent 3570, Main Thread] WARNING: NS_ENSURE_TRUE(GetWrapper()) failed: file /builds/worker/checkouts/gecko/dom/ipc/JSActor.cpp, line 90
[task 2020-05-22T23:09:05.039Z] 23:09:05     INFO - TEST-START | browser/components/sessionstore/test/browser_attributes.js
```