Bug: Intermittent browser/components/sessionstore/test/browser_354894_perwindowpb.js | Test timed out - | Uncaught exception received from previously timed out test - focus listener not removed before the end of test
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-21 08:56:18+00:00
Resolved: 2022-07-25 23:06:07+00:00

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

---
```
[task 2022-05-21T07:31:18.598Z] 07:31:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_354894_perwindowpb.js | Got right number of stored window states - 
[task 2022-05-21T07:31:18.599Z] 07:31:18     INFO - Leaving test bound test_open_close_private_browsing
[task 2022-05-21T07:31:18.599Z] 07:31:18     INFO - Entering test bound test_open_close_only_popup
[task 2022-05-21T07:31:18.600Z] 07:31:18     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "about:newtab" line: 0}]
[task 2022-05-21T07:31:18.600Z] 07:31:18     INFO - Buffered messages logged at 07:28:18
[task 2022-05-21T07:31:18.601Z] 07:31:18     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
[task 2022-05-21T07:31:18.601Z] 07:31:18     INFO - Buffered messages logged at 07:29:48
[task 2022-05-21T07:31:18.602Z] 07:31:18     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-05-21T07:31:18.602Z] 07:31:18     INFO - Buffered messages finished
[task 2022-05-21T07:31:18.603Z] 07:31:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_354894_perwindowpb.js | Test timed out - 
[task 2022-05-21T07:31:18.603Z] 07:31:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-21T07:31:18.604Z] 07:31:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_354894_perwindowpb.js | Uncaught exception received from previously timed out test - focus listener not removed before the end of test
[task 2022-05-21T07:31:18.604Z] 07:31:18     INFO - Entering test bound test_open_close_restore_from_popup
[task 2022-05-21T07:31:18.605Z] 07:31:18     INFO - GECKO(6300) | [Parent 1084: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 10f51200 == 9 [pid = 1084] [id = 37]
[task 2022-05-21T07:31:18.605Z] 07:31:18     INFO - GECKO(6300) | [Parent 1084: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (143e3c00) [pid = 1084] [serial = 88] [outer = 0]
[task 2022-05-21T07:31:18.606Z] 07:31:18     INFO - GECKO(6300) | [Parent 1084: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (10f50000) [pid = 1084] [serial = 89] [outer = 143e3c00]
[task 2022-05-21T07:31:18.606Z] 07:31:18     INFO - GECKO(6300) | [Parent 1084, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1358
[task 2022-05-21T07:31:18.607Z] 07:31:18     INFO - GECKO(6300) | MEMORY STAT | vsize 1008MB | vsizeMaxContiguous 1293MB | residentFast 267MB | heapAllocated 85MB
[task 2022-05-21T07:31:18.607Z] 07:31:18     INFO - TEST-OK | browser/components/sessionstore/test/browser_354894_perwindowpb.js | took 270076ms
[task 2022-05-21T07:31:18.608Z] 07:31:18     INFO - GECKO(6300) | [Child 10044: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL a3e0100 == 1 [pid = 10044] [id = 10]
[task 2022-05-21T07:31:18.608Z] 07:31:18     INFO - GECKO(6300) | [Child 10044: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (c411a00) [pid = 10044] [serial = 28] [outer = 0]
[task 2022-05-21T07:31:18.608Z] 07:31:18     INFO - GECKO(6300) | [Child 10044: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (a3e1f00) [pid = 10044] [serial = 29] [outer = c411a00]
[task 2022-05-21T07:31:18.609Z] 07:31:18     INFO - checking window state
[task 2022-05-21T07:31:18.609Z] 07:31:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-21T07:31:18.610Z] 07:31:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_354894_perwindowpb.js | Found a browser window after previous test timed out - 
[task 2022-05-21T07:31:18.610Z] 07:31:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-21T07:31:18.611Z] 07:31:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_354894_perwindowpb.js | Found a unknown window with document URI: about:blank and title:  after previous test timed out - 
[task 2022-05-21T07:31:18.611Z] 07:31:18     INFO - GECKO(6300) | [Parent 1084, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:184
[task 2022-05-21T07:31:18.611Z] 07:31:18     INFO - GECKO(6300) | [Parent 1084, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:184
[task 2022-05-21T07:31:18.612Z] 07:31:18     INFO - GECKO(6300) | [GPU 7396, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:365
[task 2022-05-21T07:31:18.612Z] 07:31:18     INFO - TEST-START | browser/components/sessionstore/test/browser_367052.js
```