Bug: Intermittent browser/components/sessionstore/test/browser_windowStateContainer.js | Test timed out - | Found a browser window after previous test timed out -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-02-23 05:40:15+00:00
Resolved: 2022-03-22 17:08:04+00:00

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

---
```
[task 2022-02-23T04:40:02.408Z] 04:40:02     INFO - TEST-PASS | browser/components/sessionstore/test/browser_windowStateContainer.js | The document has the correct userContextId - 0 == 0 - 
[task 2022-02-23T04:40:02.409Z] 04:40:02     INFO - Buffered messages logged at 04:37:16
[task 2022-02-23T04:40:02.409Z] 04:40:02     INFO - Leaving test bound 
[task 2022-02-23T04:40:02.409Z] 04:40:02     INFO - Entering test bound 
[task 2022-02-23T04:40:02.411Z] 04:40:02     INFO - Buffered messages logged at 04:38:31
[task 2022-02-23T04:40:02.411Z] 04:40:02     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-02-23T04:40:02.411Z] 04:40:02     INFO - Buffered messages finished
[task 2022-02-23T04:40:02.412Z] 04:40:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_windowStateContainer.js | Test timed out - 
[task 2022-02-23T04:40:02.415Z] 04:40:02     INFO - GECKO(3011) | MEMORY STAT | vsize 20984192MB | residentFast 1995MB
[task 2022-02-23T04:40:02.416Z] 04:40:02     INFO - TEST-OK | browser/components/sessionstore/test/browser_windowStateContainer.js | took 180048ms
[task 2022-02-23T04:40:02.416Z] 04:40:02     INFO - checking window state
[task 2022-02-23T04:40:02.417Z] 04:40:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-23T04:40:02.417Z] 04:40:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_windowStateContainer.js | Found a browser window after previous test timed out - 
[task 2022-02-23T04:40:02.417Z] 04:40:02     INFO - GECKO(3011) | must wait for focus
[task 2022-02-23T04:40:02.418Z] 04:40:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-23T04:40:02.418Z] 04:40:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_windowStateContainer.js | Uncaught exception received from previously timed out test - at resource://testing-common/BrowserTestUtils.jsm:516 - Error: The window unloaded while we were waiting for the browser to load - this should never happen.
[task 2022-02-23T04:40:02.419Z] 04:40:02     INFO - Stack trace:
[task 2022-02-23T04:40:02.419Z] 04:40:02     INFO - listener@resource://testing-common/BrowserTestUtils.jsm:516:15
[task 2022-02-23T04:40:03.235Z] 04:40:03     INFO - GECKO(3011) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1052: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2022-02-23T04:40:03.295Z] 04:40:03     INFO - GECKO(3011) | ###!!! [Parent][PCompositorManagerParent] Error: RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
[task 2022-02-23T04:40:03.339Z] 04:40:03     INFO - GECKO(3011) | ###!!! [Parent][PCompositorManagerParent] Error: RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
[task 2022-02-23T04:40:03.341Z] 04:40:03     INFO - GECKO(3011) | ###!!! [Parent][PImageBridgeParent] Error: RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost
[task 2022-02-23T04:40:04.343Z] 04:40:04     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 3356
[task 2022-02-23T04:40:04.424Z] 04:40:04     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 3171
[task 2022-02-23T04:40:04.431Z] 04:40:04     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 3313
[task 2022-02-23T04:40:04.482Z] 04:40:04     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 3080
[task 2022-02-23T04:40:04.501Z] 04:40:04     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 3123
[task 2022-02-23T04:40:04.636Z] 04:40:04     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 3098
[task 2022-02-23T04:40:04.667Z] 04:40:04     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 14267
[task 2022-02-23T04:40:04.809Z] 04:40:04     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1052}]
[task 2022-02-23T04:40:04.821Z] 04:40:04     INFO - GECKO(3011) | JavaScript error: resource://gre/modules/URLQueryStrippingListService.jsm, line 90: TypeError: can't access property "removeEventListener", Services.cpmm.sharedData is null
[task 2022-02-23T04:40:05.973Z] 04:40:05     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:05.975Z] 04:40:05     INFO - GECKO(3011) | Suppressions used:
[task 2022-02-23T04:40:05.976Z] 04:40:05     INFO - GECKO(3011) |   count      bytes template
[task 2022-02-23T04:40:05.978Z] 04:40:05     INFO - GECKO(3011) |      13        416 nsComponentManagerImpl
[task 2022-02-23T04:40:05.983Z] 04:40:05     INFO - GECKO(3011) |       2        288 libfontconfig.so
[task 2022-02-23T04:40:05.984Z] 04:40:05     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:06.081Z] 04:40:06     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:06.082Z] 04:40:06     INFO - GECKO(3011) | Suppressions used:
[task 2022-02-23T04:40:06.083Z] 04:40:06     INFO - GECKO(3011) |   count      bytes template
[task 2022-02-23T04:40:06.084Z] 04:40:06     INFO - GECKO(3011) |      13        416 nsComponentManagerImpl
[task 2022-02-23T04:40:06.084Z] 04:40:06     INFO - GECKO(3011) |       2        288 libfontconfig.so
[task 2022-02-23T04:40:06.085Z] 04:40:06     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:06.091Z] 04:40:06     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:06.093Z] 04:40:06     INFO - GECKO(3011) | Suppressions used:
[task 2022-02-23T04:40:06.093Z] 04:40:06     INFO - GECKO(3011) |   count      bytes template
[task 2022-02-23T04:40:06.093Z] 04:40:06     INFO - GECKO(3011) |      13        416 nsComponentManagerImpl
[task 2022-02-23T04:40:06.093Z] 04:40:06     INFO - GECKO(3011) |       2        288 libfontconfig.so
[task 2022-02-23T04:40:06.094Z] 04:40:06     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:06.678Z] 04:40:06     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:06.680Z] 04:40:06     INFO - GECKO(3011) | Suppressions used:
[task 2022-02-23T04:40:06.682Z] 04:40:06     INFO - GECKO(3011) |   count      bytes template
[task 2022-02-23T04:40:06.683Z] 04:40:06     INFO - GECKO(3011) |      13        416 nsComponentManagerImpl
[task 2022-02-23T04:40:06.683Z] 04:40:06     INFO - GECKO(3011) |       2        288 libfontconfig.so
[task 2022-02-23T04:40:06.684Z] 04:40:06     INFO - GECKO(3011) | -----------------------------------------------------
[task 2022-02-23T04:40:06.733Z] 04:40:06     INFO - GECKO(3011) | Completed ShutdownLeaks collections in process 3011
[task 2022-02-23T04:40:06.735Z] 04:40:06     INFO - TEST-START | Shutdown
[task 2022-02-23T04:40:06.737Z] 04:40:06     INFO - Browser Chrome Test Summary
[task 2022-02-23T04:40:06.739Z] 04:40:06     INFO - Passed:  1519
[task 2022-02-23T04:40:06.739Z] 04:40:06     INFO - Failed:  3
[task 2022-02-23T04:40:06.741Z] 04:40:06     INFO - Todo:    16
[task 2022-02-23T04:40:06.742Z] 04:40:06     INFO - Mode:    e10s
[task 2022-02-23T04:40:06.743Z] 04:40:06     INFO - *** End BrowserChrome Test Results ***
```