Bug: Intermittent browser/components/sessionstore/test/browser_615394-SSWindowState_events_setBrowserState.js | leaked 1 window(s) until shutdown [url = about:blank]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-12-02 10:27:20+00:00
Resolved: 2022-03-01 17:02:01+00:00

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

---
```
[task 2021-12-02T08:15:01.260Z] 08:15:01     INFO - TEST-START | browser/components/sessionstore/test/browser_615394-SSWindowState_events_setWindowState.js
<...>
[task 2021-12-02T08:19:26.672Z] 08:19:26     INFO - GECKO(2340) | [Parent 4300, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3351
[task 2021-12-02T08:19:26.758Z] 08:19:26     INFO - GECKO(2340) | [Parent 4300, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4439
[task 2021-12-02T08:19:26.804Z] 08:19:26     INFO - TEST-INFO | Main app process: exit 0
[task 2021-12-02T08:19:26.805Z] 08:19:26     INFO - TEST-INFO | Confirming we saw 1644 DOCSHELL created and 1579 destroyed log strings.
[task 2021-12-02T08:19:26.805Z] 08:19:26     INFO - TEST-INFO | Confirming we saw 4261 DOMWINDOW created and 3978 destroyed log strings.
[task 2021-12-02T08:19:26.806Z] 08:19:26    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_615394-SSWindowState_events_setBrowserState.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2021-12-02T08:19:26.807Z] 08:19:26     INFO - TEST-INFO | browser/components/sessionstore/test/browser_615394-SSWindowState_events_setBrowserState.js | windows(s) leaked: [pid = 2956] [serial = 271]
[task 2021-12-02T08:19:26.807Z] 08:19:26     INFO - TEST-INFO | browser/components/sessionstore/test/browser_615394-SSWindowState_events_setBrowserState.js | This test created 1 hidden window(s)
[task 2021-12-02T08:19:26.808Z] 08:19:26     INFO - TEST-INFO | browser/components/sessionstore/test/browser_615394-SSWindowState_events_setBrowserState.js | This test created 1 hidden docshell(s)
[task 2021-12-02T08:19:26.808Z] 08:19:26     INFO - TEST-INFO | browser/components/sessionstore/test/browser_1234021.js | This test created 1 hidden window(s)
[task 2021-12-02T08:19:26.808Z] 08:19:26     INFO - TEST-INFO | browser/components/sessionstore/test/browser_1234021.js | This test created 1 hidden docshell(s)
<...>
[task 2021-12-02T08:19:26.970Z] 08:19:26     INFO - zombiecheck | Checking for orphan process with PID: 6904
[task 2021-12-02T08:19:26.970Z] 08:19:26     INFO - zombiecheck | Checking for orphan process with PID: 7292
[task 2021-12-02T08:19:26.970Z] 08:19:26     INFO - Stopping web server
[task 2021-12-02T08:19:26.971Z] 08:19:26     INFO - Server shut down.
[task 2021-12-02T08:19:27.007Z] 08:19:27     INFO - Web server killed.
[task 2021-12-02T08:19:27.008Z] 08:19:27     INFO - Stopping web socket server
[task 2021-12-02T08:19:27.036Z] 08:19:27     INFO - Stopping ssltunnel
[task 2021-12-02T08:19:27.065Z] 08:19:27     INFO - leakcheck | Processing log file C:\Users\task_163842987304438\AppData\Local\Temp\tmpo8j_cuh8.mozrunner\runtests_leaks.log
[task 2021-12-02T08:19:27.066Z] 08:19:27     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
[task 2021-12-02T08:19:27.066Z] 08:19:27     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 1000 bytes
[task 2021-12-02T08:19:27.067Z] 08:19:27     INFO - TEST-INFO | leakcheck | gmplugin process: leak threshold set at 20000 bytes
[task 2021-12-02T08:19:27.067Z] 08:19:27     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 0 bytes
[task 2021-12-02T08:19:27.068Z] 08:19:27     INFO - TEST-INFO | leakcheck | vr process: leak threshold set at 0 bytes
[task 2021-12-02T08:19:27.068Z] 08:19:27     INFO - TEST-INFO | leakcheck | rdd process: leak threshold set at 0 bytes
[task 2021-12-02T08:19:27.069Z] 08:19:27     INFO - TEST-INFO | leakcheck | socket process: leak threshold set at 0 bytes
[task 2021-12-02T08:19:27.069Z] 08:19:27     INFO - TEST-INFO | leakcheck | sandboxbroker process: leak threshold set at 0 bytes
[task 2021-12-02T08:19:27.070Z] 08:19:27     INFO - TEST-INFO | leakcheck | forkserver process: leak threshold set at 0 bytes
[task 2021-12-02T08:19:27.070Z] 08:19:27     INFO - leakcheck | Processing leak log file C:\Users\task_163842987304438\AppData\Local\Temp\tmpo8j_cuh8.mozrunner\runtests_leaks.log
[task 2021-12-02T08:19:27.070Z] 08:19:27     INFO - 
[task 2021-12-02T08:19:27.071Z] 08:19:27     INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 4300
[task 2021-12-02T08:19:27.071Z] 08:19:27     INFO - 
[task 2021-12-02T08:19:27.072Z] 08:19:27     INFO -      |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2021-12-02T08:19:27.072Z] 08:19:27     INFO -      |                                      | Per-Inst   Leaked|   Total      Rem|
[task 2021-12-02T08:19:27.072Z] 08:19:27     INFO -    0 |TOTAL                                 |       65        0|95217366        0|
[task 2021-12-02T08:19:27.073Z] 08:19:27     INFO - 
[task 2021-12-02T08:19:27.074Z] 08:19:27     INFO - nsTraceRefcnt::DumpStatistics: 2305 entries
[task 2021-12-02T08:19:27.074Z] 08:19:27     INFO - TEST-PASS | leakcheck | default no leaks detected!
<...>
[task 2021-12-02T08:39:26.231Z] 08:39:26     INFO -  *** End BrowserChrome Test Results ***
[task 2021-12-02T08:39:26.231Z] 08:39:26     INFO - Buffered messages finished
[task 2021-12-02T08:39:26.232Z] 08:39:26     INFO - SUITE-END | took 1980s
[task 2021-12-02T08:39:26.277Z] 08:39:26    ERROR - Return code: 1
[task 2021-12-02T08:39:26.277Z] 08:39:26     INFO - TinderboxPrint: mochitest-mochitest-browser-chrome<br/>936/0/0
[task 2021-12-02T08:39:26.277Z] 08:39:26    ERROR - # TBPL FAILURE #
[task 2021-12-02T08:39:26.277Z] 08:39:26  WARNING - setting return code to 2
[task 2021-12-02T08:39:26.277Z] 08:39:26    ERROR - The mochitest suite: mochitest-browser-chrome ran with return status: FAILURE
```