Bug: Intermittent TV browser/components/preferences/tests/browser_connection_bug388287.js | single tracking bug
Status: NEW
Priority: P3
Created: 2023-04-05 20:36:34+00:00
Resolved: 2024-03-04 07:12:16+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=411515883&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SxO5TYKAQPeploog9d9vjQ/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SxO5TYKAQPeploog9d9vjQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-04-05T20:21:41.359Z] 20:21:41     INFO - TEST-OK | browser/components/preferences/tests/browser_connection_bug388287.js | took 10600ms
[task 2023-04-05T20:21:41.371Z] 20:21:41     INFO - GECKO(6432) | [Child 6566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f050352ec00 == 1 [pid = 6566] [id = 5]
[task 2023-04-05T20:21:41.373Z] 20:21:41     INFO - GECKO(6432) | [Child 6566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f050865f470) [pid = 6566] [serial = 11] [outer = 0]
[task 2023-04-05T20:21:41.374Z] 20:21:41     INFO - GECKO(6432) | [Child 6566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f050352f400) [pid = 6566] [serial = 12] [outer = 7f050865f470]
[task 2023-04-05T20:21:41.481Z] 20:21:41     INFO - checking window state
<...>
[task 2023-04-05T20:22:03.664Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7f74e6f85180) [pid = 6432] [serial = 238] [outer = 0] [url = about:preferences]
[task 2023-04-05T20:22:03.666Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7f74e46c3100) [pid = 6432] [serial = 251] [outer = 0] [url = chrome://browser/content/preferences/dialogs/connection.xhtml]
[task 2023-04-05T20:22:03.667Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7f74e46c1da0) [pid = 6432] [serial = 255] [outer = 0] [url = chrome://browser/content/preferences/dialogs/connection.xhtml]
[task 2023-04-05T20:22:03.676Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7f7519c49000) [pid = 6432] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-04-05T20:22:03.678Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7f752506bf90) [pid = 6432] [serial = 1] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-04-05T20:22:03.679Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7f74fd207e20) [pid = 6432] [serial = 11] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2023-04-05T20:22:03.680Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7f74fc364400) [pid = 6432] [serial = 12] [outer = 0] [url = about:blank]
[task 2023-04-05T20:22:03.681Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7f74e45efc00) [pid = 6432] [serial = 264] [outer = 0] [url = about:blank]
[task 2023-04-05T20:22:03.681Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7f752506a660) [pid = 6432] [serial = 3] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-04-05T20:22:03.682Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7f750652a000) [pid = 6432] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-04-05T20:22:03.683Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f74fd209370) [pid = 6432] [serial = 8] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-04-05T20:22:03.684Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f74eb90cc00) [pid = 6432] [serial = 258] [outer = 0] [url = chrome://browser/content/preferences/dialogs/connection.xhtml]
[task 2023-04-05T20:22:03.685Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f74e45ed400) [pid = 6432] [serial = 262] [outer = 0] [url = chrome://browser/content/preferences/dialogs/connection.xhtml]
[task 2023-04-05T20:22:03.686Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f75055939c0) [pid = 6432] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-04-05T20:22:03.694Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f74fb90a800) [pid = 6432] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-04-05T20:22:03.695Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f74eeb87800) [pid = 6432] [serial = 240] [outer = 0] [url = about:preferences]
[task 2023-04-05T20:22:03.727Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3396
[task 2023-04-05T20:22:03.758Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-04-05T20:22:03.783Z] 20:22:03     INFO - GECKO(6432) | [Parent 6432, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4689
[task 2023-04-05T20:22:03.804Z] 20:22:03     INFO - TEST-INFO | Main app process: exit 0
[task 2023-04-05T20:22:03.805Z] 20:22:03     INFO - TEST-INFO | Confirming we saw 94 DOCSHELL created and 94 destroyed log strings.
[task 2023-04-05T20:22:03.809Z] 20:22:03     INFO - TEST-INFO | Confirming we saw 311 DOMWINDOW created and 311 destroyed log strings.
[task 2023-04-05T20:22:03.811Z] 20:22:03    ERROR - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_connection_bug388287.js | leaked 4 window(s) until shutdown [url = chrome://browser/content/preferences/dialogs/connection.xhtml]
[task 2023-04-05T20:22:03.811Z] 20:22:03    ERROR - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_connection_bug388287.js | leaked 2 window(s) until shutdown [url = about:preferences]
[task 2023-04-05T20:22:03.812Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | windows(s) leaked: [pid = 6432] [serial = 255], [pid = 6432] [serial = 238], [pid = 6432] [serial = 240], [pid = 6432] [serial = 258], [pid = 6432] [serial = 251], [pid = 6432] [serial = 262]
[task 2023-04-05T20:22:03.813Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.813Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.814Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.815Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.815Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.816Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.816Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.817Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.817Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.818Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.818Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.820Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.820Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.820Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.821Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.821Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.821Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.822Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.823Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden window(s)
[task 2023-04-05T20:22:03.823Z] 20:22:03     INFO - TEST-INFO | browser/components/preferences/tests/browser_connection_bug388287.js | This test created 1 hidden docshell(s)
[task 2023-04-05T20:22:03.824Z] 20:22:03     INFO - runtests.py | Application ran for: 0:02:11.293162
[task 2023-04-05T20:22:03.824Z] 20:22:03     INFO - zombiecheck | Reading PID log: /tmp/tmprlx5v4jxpidlog
[task 2023-04-05T20:22:03.824Z] 20:22:03     INFO - ==> process 6432 launched child process 6453
[task 2023-04-05T20:22:03.825Z] 20:22:03     INFO - ==> process 6432 launched child process 6497
[task 2023-04-05T20:22:03.825Z] 20:22:03     INFO - ==> process 6432 launched child process 6524
[task 2023-04-05T20:22:03.826Z] 20:22:03     INFO - ==> process 6432 launched child process 6566
[task 2023-04-05T20:22:03.826Z] 20:22:03     INFO - ==> process 6432 launched child process 6590
[task 2023-04-05T20:22:03.827Z] 20:22:03     INFO - ==> process 6432 launched child process 6592
[task 2023-04-05T20:22:03.827Z] 20:22:03     INFO - ==> process 6432 launched child process 6595
[task 2023-04-05T20:22:03.828Z] 20:22:03     INFO - ==> process 6432 launched child process 6634
[task 2023-04-05T20:22:03.828Z] 20:22:03     INFO - ==> process 6432 launched child process 6678
[task 2023-04-05T20:22:03.829Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6592
[task 2023-04-05T20:22:03.829Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6497
[task 2023-04-05T20:22:03.831Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6595
[task 2023-04-05T20:22:03.832Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6566
[task 2023-04-05T20:22:03.833Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6634
[task 2023-04-05T20:22:03.833Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6453
[task 2023-04-05T20:22:03.834Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6678
[task 2023-04-05T20:22:03.834Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6524
[task 2023-04-05T20:22:03.835Z] 20:22:03     INFO - zombiecheck | Checking for orphan process with PID: 6590
[task 2023-04-05T20:22:03.835Z] 20:22:03     INFO - Stopping web server
[task 2023-04-05T20:22:03.835Z] 20:22:03     INFO - Server shut down.
[task 2023-04-05T20:22:03.853Z] 20:22:03     INFO - Web server killed.
[task 2023-04-05T20:22:03.854Z] 20:22:03     INFO - Stopping web socket server
[task 2023-04-05T20:22:03.872Z] 20:22:03     INFO - Stopping ssltunnel
[task 2023-04-05T20:22:03.895Z] 20:22:03     INFO - Stopping gst for v4l2loopback
[task 2023-04-05T20:22:03.896Z] 20:22:03     INFO - leakcheck | Processing log file /tmp/tmp9u8xb2bv.mozrunner/runtests_leaks.log
[task 2023-04-05T20:22:03.897Z] 20:22:03     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
```