Bug: Intermittent browser/components/sessionstore/test/browser_undoCloseById_targetWindow.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-07-24 01:14:01+00:00
Resolved: 2024-08-28 12:04:17+00:00

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

---
```
[task 2024-07-24T00:59:21.200Z] 00:59:21     INFO - TEST-PASS | browser/components/sessionstore/test/browser_undoCloseById_targetWindow.js | undefined assertion name - 
[task 2024-07-24T00:59:21.200Z] 00:59:21     INFO - Buffered messages finished
[task 2024-07-24T00:59:21.203Z] 00:59:21     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_undoCloseById_targetWindow.js | Record removed from the source window's closed tab data - Got 1, expected +0
[task 2024-07-24T00:59:21.203Z] 00:59:21     INFO - Stack trace:
[task 2024-07-24T00:59:21.203Z] 00:59:21     INFO - chrome://mochikit/content/browser-test.js:test_is:1625
[task 2024-07-24T00:59:21.203Z] 00:59:21     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_undoCloseById_targetWindow.js:test_undoCloseById_with_targetWindow:62
[task 2024-07-24T00:59:21.203Z] 00:59:21     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-07-24T00:59:21.203Z] 00:59:21     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-07-24T00:59:21.203Z] 00:59:21     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - GECKO(1065) | [Child 6128: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f1f09161c00) [pid = 6128] [serial = 17] [outer = 0] [url = about:blank]
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - Leaving test bound test_undoCloseById_with_targetWindow
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - Entering test bound test_undoCloseById_with_nonExistent_targetWindow
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - GECKO(1065) | [Parent 1065: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fb276e78000 == 12 [pid = 1065] [id = 360]
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - GECKO(1065) | [Parent 1065: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 35 (7fb276ff2800) [pid = 1065] [serial = 882] [outer = 0]
[task 2024-07-24T00:59:21.204Z] 00:59:21     INFO - GECKO(1065) | [Parent 1065: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 36 (7fb276e79800) [pid = 1065] [serial = 883] [outer = 7fb276ff2800]
[task 2024-07-24T00:59:21.258Z] 00:59:21     INFO - GECKO(1065) | [Parent 1065: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 37 (7fb276e7e800) [pid = 1065] [serial = 884] [outer = 7fb276ff2800]
[task 2024-07-24T00:59:21.283Z] 00:59:21     INFO - GECKO(1065) | [Parent 1065, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1215
[task 2024-07-24T00:59:21.409Z] 00:59:21     INFO - GECKO(1065) | [Child 3475: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f2358965000 == 1 [pid = 3475] [id = 22] [url = about:blank]
[task 2024-07-24T00:59:21.409Z] 00:59:21     INFO - GECKO(1065) | [Child 3475: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f235896a000 == 0 [pid = 3475] [id = 23] [url = about:blank]
[task 2024-07-24T00:59:21.548Z] 00:59:21     INFO - GECKO(1065) | [Child 3475: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7f2358e72e00) [pid = 3475] [serial = 61] [outer = 0] [url = about:blank]
[task 2024-07-24T00:59:21.548Z] 00:59:21     INFO - GECKO(1065) | [Child 3475: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f2358e72000) [pid = 3475] [serial = 58] [outer = 0] [url = about:blank]
[task 2024-07-24T00:59:21.549Z] 00:59:21     INFO - GECKO(1065) | [Child 3475: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f2358e71e00) [pid = 3475] [serial = 56] [outer = 0] [url = about:blank]
[task 2024-07-24T00:59:21.599Z] 00:59:21     INFO - GECKO(1065) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmptvfjdamj.mozrunner/runtests_leaks_tab_pid10962.log
[task 2024-07-24T00:59:21.655Z] 00:59:21     INFO - GECKO(1065) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmptvfjdamj.mozrunner/runtests_leaks_tab_pid10963.log
[task 2024-07-24T00:59:21.744Z] 00:59:21     INFO - GECKO(1065) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmptvfjdamj.mozrunner/runtests_leaks_tab_pid10968.log
[task 2024-07-24T00:59:21.758Z] 00:59:21     INFO - GECKO(1065) | [Child 10963, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-07-24T00:59:21.760Z] 00:59:21     INFO - GECKO(1065) | [Child 10962, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-07-24T00:59:21.841Z] 00:59:21     INFO - GECKO(1065) | [Child 10968, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-07-24T00:59:21.864Z] 00:59:21     INFO - GECKO(1065) | [Child 2028: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f5d6b544800 == 1 [pid = 2028] [id = 90] [url = about:newtab]
[task 2024-07-24T00:59:22.006Z] 00:59:22     INFO - TEST-PASS | browser/components/sessionstore/test/browser_undoCloseById_targetWindow.js | The last closed object is a tab - 
```