Bug: Intermittent TV browser/components/urlbar/tests/browser/browser_canonizeURL.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-06-14 16:04:57+00:00
Resolved: 2023-07-05 14:42:31+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=419286452&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IIauIMiST3mCPaWl-JTXWw/runs/1/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/IIauIMiST3mCPaWl-JTXWw/runs/1/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-06-14T15:28:29.447Z] 15:28:29     INFO - GECKO(10994) | [Parent 10994: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f0a63a0b800) [pid = 10994] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-06-14T15:28:29.468Z] 15:28:29     INFO - GECKO(10994) | [Parent 10994, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3426
[task 2023-06-14T15:28:29.498Z] 15:28:29     INFO - GECKO(10994) | [Parent 10994, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-06-14T15:28:29.519Z] 15:28:29     INFO - GECKO(10994) | [Parent 10994, Main Thread] WARNING: WaylandDisplayRelease(): Wayland display is missing!: file /builds/worker/checkouts/gecko/widget/gtk/nsWaylandDisplay.cpp:31
[task 2023-06-14T15:28:29.521Z] 15:28:29     INFO - GECKO(10994) | [Parent 10994, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4682
[task 2023-06-14T15:28:29.541Z] 15:28:29     INFO - TEST-INFO | Main app process: exit 0
[task 2023-06-14T15:28:29.542Z] 15:28:29     INFO - TEST-INFO | Confirming we saw 36 DOCSHELL created and 36 destroyed log strings.
[task 2023-06-14T15:28:29.543Z] 15:28:29     INFO - TEST-INFO | Confirming we saw 96 DOMWINDOW created and 96 destroyed log strings.
[task 2023-06-14T15:28:29.544Z] 15:28:29    ERROR - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_canonizeURL.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2023-06-14T15:28:29.545Z] 15:28:29    ERROR - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_canonizeURL.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2023-06-14T15:28:29.546Z] 15:28:29     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_canonizeURL.js | windows(s) leaked: [pid = 10994] [serial = 32], [pid = 10994] [serial = 33]
[task 2023-06-14T15:28:29.547Z] 15:28:29     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_canonizeURL.js | This test created 1 hidden window(s)
[task 2023-06-14T15:28:29.549Z] 15:28:29     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_canonizeURL.js | This test created 1 hidden docshell(s)
[task 2023-06-14T15:28:29.550Z] 15:28:29     INFO - runtests.py | Application ran for: 0:00:45.328677
[task 2023-06-14T15:28:29.551Z] 15:28:29     INFO - zombiecheck | Reading PID log: /tmp/tmp4grjxs6ppidlog
[task 2023-06-14T15:28:29.552Z] 15:28:29     INFO - ==> process 10994 launched child process 11015
[task 2023-06-14T15:28:29.553Z] 15:28:29     INFO - ==> process 10994 launched child process 11067
[task 2023-06-14T15:28:29.554Z] 15:28:29     INFO - ==> process 10994 launched child process 11094
[task 2023-06-14T15:28:29.555Z] 15:28:29     INFO - ==> process 10994 launched child process 11145
[task 2023-06-14T15:28:29.556Z] 15:28:29     INFO - ==> process 10994 launched child process 11149
[task 2023-06-14T15:28:29.556Z] 15:28:29     INFO - ==> process 10994 launched child process 11151
[task 2023-06-14T15:28:29.557Z] 15:28:29     INFO - ==> process 10994 launched child process 11171
[task 2023-06-14T15:28:29.558Z] 15:28:29     INFO - ==> process 10994 launched child process 11188
[task 2023-06-14T15:28:29.559Z] 15:28:29     INFO - ==> process 10994 launched child process 11248
[task 2023-06-14T15:28:29.559Z] 15:28:29     INFO - ==> process 10994 launched child process 11299
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - ==> process 10994 launched child process 11327
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11171
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11299
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11015
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11145
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11149
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11151
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11248
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11188
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11094
[task 2023-06-14T15:28:29.560Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11067
[task 2023-06-14T15:28:29.561Z] 15:28:29     INFO - zombiecheck | Checking for orphan process with PID: 11327
[task 2023-06-14T15:28:29.561Z] 15:28:29     INFO - Stopping web server
[task 2023-06-14T15:28:29.561Z] 15:28:29     INFO - Server shut down.
[task 2023-06-14T15:28:29.571Z] 15:28:29     INFO - Web server killed.
[task 2023-06-14T15:28:29.571Z] 15:28:29     INFO - Stopping web socket server
[task 2023-06-14T15:28:29.591Z] 15:28:29     INFO - Stopping ssltunnel
[task 2023-06-14T15:28:29.612Z] 15:28:29     INFO - Stopping gst for v4l2loopback
[task 2023-06-14T15:28:29.612Z] 15:28:29     INFO - leakcheck | Processing log file /tmp/tmpy8hwx79e.mozrunner/runtests_leaks.log
[task 2023-06-14T15:28:29.613Z] 15:28:29     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.614Z] 15:28:29     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.615Z] 15:28:29     INFO - TEST-INFO | leakcheck | gmplugin process: leak threshold set at 20000 bytes
[task 2023-06-14T15:28:29.615Z] 15:28:29     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.616Z] 15:28:29     INFO - TEST-INFO | leakcheck | vr process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.616Z] 15:28:29     INFO - TEST-INFO | leakcheck | rdd process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.617Z] 15:28:29     INFO - TEST-INFO | leakcheck | socket process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.617Z] 15:28:29     INFO - TEST-INFO | leakcheck | sandboxbroker process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.618Z] 15:28:29     INFO - TEST-INFO | leakcheck | forkserver process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.619Z] 15:28:29     INFO - TEST-INFO | leakcheck | utility process: leak threshold set at 0 bytes
[task 2023-06-14T15:28:29.619Z] 15:28:29     INFO - leakcheck | Processing leak log file /tmp/tmpy8hwx79e.mozrunner/runtests_leaks.log
[task 2023-06-14T15:28:29.623Z] 15:28:29     INFO - TEST-PASS | leakcheck | default no leaks detected!
```