Bug: Intermittent TV browser/components/places/tests/browser/browser_sidebar_bookmarks_telemetry.js | single tracking bug
Status: NEW
Priority: P5
Created: 2023-03-22 15:51:36+00:00
Resolved: 2024-02-27 10:35:17+00:00

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

---
```
[task 2023-03-22T14:16:03.406Z] 14:16:03     INFO - TEST-OK | browser/components/places/tests/browser/browser_sidebar_bookmarks_telemetry.js | took 7045ms
[task 2023-03-22T14:16:03.420Z] 14:16:03     INFO - GECKO(17052) | [Child 17146: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f6df1723000 == 1 [pid = 17146] [id = 1]
...
[task 2023-03-22T14:16:12.312Z] 14:16:12     INFO - GECKO(17052) | _timerCallback@resource://gre/modules/DeferredTask.sys.mjs:337:9
[task 2023-03-22T14:16:12.313Z] 14:16:12     INFO - GECKO(17052) | finalize@resource://gre/modules/DeferredTask.sys.mjs:282:12
[task 2023-03-22T14:16:12.313Z] 14:16:12     INFO - GECKO(17052) | shutdown@resource://gre/modules/TelemetryControllerParent.sys.mjs:984:8
[task 2023-03-22T14:16:12.316Z] 14:16:12     INFO - GECKO(17052) | setupTelemetry/<@resource://gre/modules/TelemetryControllerParent.sys.mjs:892:18
[task 2023-03-22T14:16:12.317Z] 14:16:12     INFO - GECKO(17052) | trigger@resource://gre/modules/AsyncShutdown.sys.mjs:763:23
[task 2023-03-22T14:16:12.318Z] 14:16:12     INFO - GECKO(17052) | _wait@resource://gre/modules/AsyncShutdown.sys.mjs:924:15
[task 2023-03-22T14:16:12.319Z] 14:16:12     INFO - GECKO(17052) | wait@resource://gre/modules/AsyncShutdown.sys.mjs:905:34
[task 2023-03-22T14:16:12.319Z] 14:16:12     INFO - GECKO(17052) | observe@resource://gre/modules/AsyncShutdown.sys.mjs:558:10
[task 2023-03-22T14:16:12.319Z] 14:16:12     INFO - GECKO(17052) | JavaScript error: resource://gre/modules/AsyncShutdown.sys.mjs, line 727: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2023-03-22T14:16:12.320Z] 14:16:12     INFO - GECKO(17052) | JavaScript error: resource://gre/modules/AsyncShutdown.sys.mjs, line 727: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2023-03-22T14:16:12.320Z] 14:16:12     INFO - GECKO(17052) | JavaScript error: resource://gre/modules/AsyncShutdown.sys.mjs, line 727: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2023-03-22T14:16:12.321Z] 14:16:12     INFO - GECKO(17052) | JavaScript error: resource://gre/modules/AsyncShutdown.sys.mjs, line 727: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2023-03-22T14:16:12.322Z] 14:16:12     INFO - GECKO(17052) | JavaScript error: resource://gre/modules/AsyncShutdown.sys.mjs, line 727: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2023-03-22T14:16:12.323Z] 14:16:12     INFO - GECKO(17052) | [Utility 17215, Main Thread] WARNING: IPC message 'PUtilityProcess::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:504
[task 2023-03-22T14:16:12.325Z] 14:16:12     INFO - GECKO(17052) | [Utility 17215, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4689
[task 2023-03-22T14:16:12.353Z] 14:16:12     INFO - GECKO(17052) | [Parent 17052, IPDL Background] WARNING: IPC Connection Error: [Parent][PBackgroundParent] RunMessage(msgname=PRemoteWorkerService::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1927
[task 2023-03-22T14:16:12.375Z] 14:16:12     INFO - GECKO(17052) | [Parent 17052, Compositor] WARNING: IPC Connection Error: [Parent][PImageBridgeParent] RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1927
[task 2023-03-22T14:16:12.387Z] 14:16:12     INFO - GECKO(17052) | Destroying context 0x7f3ef833b510 surface (nil) on display 0x7f3ef832ff00
[task 2023-03-22T14:16:12.979Z] 14:16:12     INFO - GECKO(17052) | [Parent 17052, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-03-22T14:16:13.099Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7f3ee5556c00) [pid = 17052] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-03-22T14:16:13.102Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7f3f00570010) [pid = 17052] [serial = 1] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-03-22T14:16:13.104Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7f3ed7f57e20) [pid = 17052] [serial = 11] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2023-03-22T14:16:13.106Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7f3ed2e3b400) [pid = 17052] [serial = 12] [outer = 0] [url = about:blank]
[task 2023-03-22T14:16:13.108Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f3ebd8b8400) [pid = 17052] [serial = 22] [outer = 0] [url = about:blank]
[task 2023-03-22T14:16:13.111Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f3f0056f090) [pid = 17052] [serial = 3] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-03-22T14:16:13.112Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f3ee12b8c00) [pid = 17052] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-03-22T14:16:13.113Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f3ed7f5b650) [pid = 17052] [serial = 8] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-03-22T14:16:13.115Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f3ee01a16d0) [pid = 17052] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-03-22T14:16:13.116Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f3ed5231c00) [pid = 17052] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-03-22T14:16:13.141Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3396
[task 2023-03-22T14:16:13.177Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-03-22T14:16:13.203Z] 14:16:13     INFO - GECKO(17052) | [Parent 17052, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4689
[task 2023-03-22T14:16:13.230Z] 14:16:13     INFO - TEST-INFO | Main app process: exit 0
[task 2023-03-22T14:16:13.231Z] 14:16:13     INFO - TEST-INFO | Confirming we saw 21 DOCSHELL created and 21 destroyed log strings.
[task 2023-03-22T14:16:13.232Z] 14:16:13     INFO - TEST-INFO | Confirming we saw 61 DOMWINDOW created and 61 destroyed log strings.
[task 2023-03-22T14:16:13.233Z] 14:16:13    ERROR - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_sidebar_bookmarks_telemetry.js | leaked 1 docShell(s) until shutdown
[task 2023-03-22T14:16:13.234Z] 14:16:13     INFO - TEST-INFO | browser/components/places/tests/browser/browser_sidebar_bookmarks_telemetry.js | docShell(s) leaked: [pid = 17343] [id = 0]
[task 2023-03-22T14:16:13.235Z] 14:16:13     INFO - TEST-INFO | browser/components/places/tests/browser/browser_sidebar_bookmarks_telemetry.js | This test created 1 hidden window(s)
[task 2023-03-22T14:16:13.236Z] 14:16:13     INFO - TEST-INFO | browser/components/places/tests/browser/browser_sidebar_bookmarks_telemetry.js | This test created 1 hidden docshell(s)
[task 2023-03-22T14:16:13.237Z] 14:16:13     INFO - runtests.py | Application ran for: 0:00:33.410206
[task 2023-03-22T14:16:13.238Z] 14:16:13     INFO - zombiecheck | Reading PID log: /tmp/tmp2nwvn83spidlog
[task 2023-03-22T14:16:13.239Z] 14:16:13     INFO - ==> process 17052 launched child process 17072
[task 2023-03-22T14:16:13.240Z] 14:16:13     INFO - ==> process 17052 launched child process 17119
[task 2023-03-22T14:16:13.241Z] 14:16:13     INFO - ==> process 17052 launched child process 17146
[task 2023-03-22T14:16:13.242Z] 14:16:13     INFO - ==> process 17052 launched child process 17191
[task 2023-03-22T14:16:13.243Z] 14:16:13     INFO - ==> process 17052 launched child process 17215
[task 2023-03-22T14:16:13.244Z] 14:16:13     INFO - ==> process 17052 launched child process 17221
[task 2023-03-22T14:16:13.245Z] 14:16:13     INFO - ==> process 17052 launched child process 17226
[task 2023-03-22T14:16:13.246Z] 14:16:13     INFO - ==> process 17052 launched child process 17258
[task 2023-03-22T14:16:13.247Z] 14:16:13     INFO - ==> process 17052 launched child process 17309
[task 2023-03-22T14:16:13.248Z] 14:16:13     INFO - ==> process 17052 launched child process 17343
[task 2023-03-22T14:16:13.249Z] 14:16:13     INFO - ==> process 17052 launched child process 17367
[task 2023-03-22T14:16:13.249Z] 14:16:13     INFO - ==> process 17052 launched child process 17371
[task 2023-03-22T14:16:13.250Z] 14:16:13     INFO - ==> process 17052 launched child process 17372
[task 2023-03-22T14:16:13.250Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17221
[task 2023-03-22T14:16:13.251Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17191
[task 2023-03-22T14:16:13.251Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17226
[task 2023-03-22T14:16:13.251Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17258
[task 2023-03-22T14:16:13.252Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17072
[task 2023-03-22T14:16:13.252Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17119
[task 2023-03-22T14:16:13.252Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17367
[task 2023-03-22T14:16:13.252Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17343
[task 2023-03-22T14:16:13.252Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17146
[task 2023-03-22T14:16:13.252Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17371
[task 2023-03-22T14:16:13.253Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17372
[task 2023-03-22T14:16:13.253Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17309
[task 2023-03-22T14:16:13.253Z] 14:16:13     INFO - zombiecheck | Checking for orphan process with PID: 17215
[task 2023-03-22T14:16:13.253Z] 14:16:13     INFO - Stopping web server
[task 2023-03-22T14:16:13.253Z] 14:16:13     INFO - Server shut down.
[task 2023-03-22T14:16:13.262Z] 14:16:13     INFO - Web server killed.
[task 2023-03-22T14:16:13.263Z] 14:16:13     INFO - Stopping web socket server
[task 2023-03-22T14:16:13.283Z] 14:16:13     INFO - Stopping ssltunnel
[task 2023-03-22T14:16:13.308Z] 14:16:13     INFO - Stopping gst for v4l2loopback
[task 2023-03-22T14:16:13.308Z] 14:16:13     INFO - leakcheck | Processing log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks.log
[task 2023-03-22T14:16:13.310Z] 14:16:13     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.310Z] 14:16:13     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.311Z] 14:16:13     INFO - TEST-INFO | leakcheck | gmplugin process: leak threshold set at 20000 bytes
[task 2023-03-22T14:16:13.311Z] 14:16:13     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.311Z] 14:16:13     INFO - TEST-INFO | leakcheck | vr process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.312Z] 14:16:13     INFO - TEST-INFO | leakcheck | rdd process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.312Z] 14:16:13     INFO - TEST-INFO | leakcheck | socket process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.312Z] 14:16:13     INFO - TEST-INFO | leakcheck | sandboxbroker process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.314Z] 14:16:13     INFO - TEST-INFO | leakcheck | forkserver process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.314Z] 14:16:13     INFO - TEST-INFO | leakcheck | utility process: leak threshold set at 0 bytes
[task 2023-03-22T14:16:13.315Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17372.log
[task 2023-03-22T14:16:13.315Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.316Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17146.log
[task 2023-03-22T14:16:13.317Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.318Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_utility_pid17215.log
[task 2023-03-22T14:16:13.319Z] 14:16:13     INFO - TEST-PASS | leakcheck | utility no leaks detected!
[task 2023-03-22T14:16:13.320Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17119.log
[task 2023-03-22T14:16:13.321Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.322Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17343.log
[task 2023-03-22T14:16:13.322Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.323Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17191.log
[task 2023-03-22T14:16:13.324Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.325Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17367.log
[task 2023-03-22T14:16:13.326Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.327Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks.log
[task 2023-03-22T14:16:13.331Z] 14:16:13     INFO - TEST-PASS | leakcheck | default no leaks detected!
[task 2023-03-22T14:16:13.332Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17309.log
[task 2023-03-22T14:16:13.334Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.335Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17371.log
[task 2023-03-22T14:16:13.336Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.336Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17258.log
[task 2023-03-22T14:16:13.339Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.340Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17226.log
[task 2023-03-22T14:16:13.341Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2023-03-22T14:16:13.342Z] 14:16:13     INFO - leakcheck | Processing leak log file /tmp/tmptz2k2bau.mozrunner/runtests_leaks_tab_pid17221.log
[task 2023-03-22T14:16:13.344Z] 14:16:13     INFO - TEST-PASS | leakcheck | tab no leaks detected!
```