Bug: Intermittent browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-06-15 01:49:19+00:00
Resolved: 2023-07-28 12:02:24+00:00

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

---
```
[task 2023-06-15T00:31:58.492Z] 00:31:58     INFO - TEST-START | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js
[task 2023-06-15T00:31:58.508Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 13986a7b400 == 14 [pid = 8688] [id = 282]
[task 2023-06-15T00:31:58.509Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 123 (13982cab840) [pid = 8688] [serial = 576] [outer = 0]
[task 2023-06-15T00:31:58.510Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 124 (13986a7bc00) [pid = 8688] [serial = 577] [outer = 13982cab840]
[task 2023-06-15T00:31:58.517Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1495
[task 2023-06-15T00:31:58.526Z] 00:31:58     INFO - GECKO(7992) | [Child 8712: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1dc5890e000) [pid = 8712] [serial = 95] [outer = 0] [url = about:blank]
[task 2023-06-15T00:31:58.555Z] 00:31:58     INFO - GECKO(7992) | [Child 8712: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1dc5643cc00 == 0 [pid = 8712] [id = 38] [url = about:blank]
[task 2023-06-15T00:31:58.680Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 13987c64400 == 15 [pid = 8688] [id = 283]
[task 2023-06-15T00:31:58.690Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 125 (1398c88bf90) [pid = 8688] [serial = 578] [outer = 0]
[task 2023-06-15T00:31:58.691Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 126 (1398885b800) [pid = 8688] [serial = 579] [outer = 1398c88bf90]
[task 2023-06-15T00:31:58.727Z] 00:31:58     INFO - GECKO(7992) | [Child 8712: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1dc5643d800 == 1 [pid = 8712] [id = 39]
[task 2023-06-15T00:31:58.742Z] 00:31:58     INFO - GECKO(7992) | [Child 8712: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1dc4ef8bf90) [pid = 8712] [serial = 98] [outer = 0]
[task 2023-06-15T00:31:58.743Z] 00:31:58     INFO - GECKO(7992) | [Child 8712: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (1dc5643e800) [pid = 8712] [serial = 99] [outer = 1dc4ef8bf90]
[task 2023-06-15T00:31:58.903Z] 00:31:58     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1711
[task 2023-06-15T00:31:58.946Z] 00:31:58     INFO - GECKO(7992) | 1686789118954	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-06-15T00:31:58.978Z] 00:31:58     INFO - GECKO(7992) | [WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2023-06-15T00:31:58.981Z] 00:31:58     INFO - GECKO(7992) | [WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2023-06-15T00:31:58.981Z] 00:31:58     INFO - GECKO(7992) | [WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2023-06-15T00:31:58.987Z] 00:31:58     INFO - GECKO(7992) | [Child 8712: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (1dc56444400) [pid = 8712] [serial = 100] [outer = 1dc4ef8bf90]
[task 2023-06-15T00:31:59.009Z] 00:31:59     INFO - GECKO(7992) | [WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
<...>
[task 2023-06-15T00:32:25.276Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: idb: '0.000000s: Live database entry removed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.276Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: idb: '0.000000s: gLiveDatabaseHashtable entry removed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.738Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: quota manager shutdown step: '0.469000s: stopKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.748Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: quota manager shutdown step: '0.469000s: shutdownAndJoinWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.749Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: idb: '0.469000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.750Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: cache: '0.469000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.750Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: sdb: '0.469000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.751Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: fs: '0.469000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.751Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: ls: '0.469000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.752Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: quota manager shutdown step: '0.469000s: shutdownAndJoinIOThread', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.752Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: quota manager shutdown step: '0.469000s: invalidatePendingDirectoryLocks', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.753Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, IPDL Background] WARNING: quota manager shutdown step: '0.469000s: stopCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3385
[task 2023-06-15T00:32:25.755Z] 00:32:25     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-06-15T00:32:26.005Z] 00:32:26     INFO - GECKO(7992) | [Utility 3412, Main Thread] WARNING: IPC message 'PUtilityProcess::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:507
[task 2023-06-15T00:32:26.016Z] 00:32:26     INFO - GECKO(7992) | [Utility 3412, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4682
[task 2023-06-15T00:32:26.022Z] 00:32:26     INFO - GECKO(7992) | [GPU 268, Main Thread] WARNING: IPC message 'PGPU::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:507
[task 2023-06-15T00:32:26.146Z] 00:32:26     INFO - GECKO(7992) | Destroying context 00000235E7AEA000 surface 00000235E7A4AD70 on display 00000235E7A80100
[task 2023-06-15T00:32:26.177Z] 00:32:26     INFO - GECKO(7992) | [GPU 268, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4682
[task 2023-06-15T00:32:26.993Z] 00:32:26     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-15T00:32:27.000Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-15T00:32:27.003Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-15T00:32:27.213Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (139870dfa40) [pid = 8688] [serial = 580] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-06-15T00:32:27.218Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (13982cab840) [pid = 8688] [serial = 576] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-06-15T00:32:27.226Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (139fd1ad400) [pid = 8688] [serial = 4] [outer = 0] [url = about:blank]
[task 2023-06-15T00:32:27.227Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (139edf7ce10) [pid = 8688] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-06-15T00:32:27.227Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (13982ce79c0) [pid = 8688] [serial = 13] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2023-06-15T00:32:27.228Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (13988867c00) [pid = 8688] [serial = 14] [outer = 0] [url = about:blank]
[task 2023-06-15T00:32:27.228Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (13982779400) [pid = 8688] [serial = 585] [outer = 0] [url = about:blank]
[task 2023-06-15T00:32:27.229Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (13985b5abb0) [pid = 8688] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-06-15T00:32:27.229Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (139ffd67c20) [pid = 8688] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-15T00:32:27.230Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1398276ec00) [pid = 8688] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-15T00:32:27.231Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (1398b25b800) [pid = 8688] [serial = 581] [outer = 0] [url = about:blank]
[task 2023-06-15T00:32:27.231Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (13982d2df90) [pid = 8688] [serial = 8] [outer = 0] [url = about:blank]
[task 2023-06-15T00:32:27.232Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (13986a7bc00) [pid = 8688] [serial = 577] [outer = 0] [url = about:blank]
[task 2023-06-15T00:32:27.243Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (13985feb800) [pid = 8688] [serial = 12] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-06-15T00:32:27.274Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3426
[task 2023-06-15T00:32:27.321Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-06-15T00:32:27.384Z] 00:32:27     INFO - GECKO(7992) | [Parent 8688, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4682
[task 2023-06-15T00:32:27.447Z] 00:32:27     INFO - TEST-INFO | Main app process: exit 0
[task 2023-06-15T00:32:27.448Z] 00:32:27     INFO - TEST-INFO | Confirming we saw 593 DOCSHELL created and 593 destroyed log strings.
[task 2023-06-15T00:32:27.449Z] 00:32:27     INFO - TEST-INFO | Confirming we saw 1445 DOMWINDOW created and 1445 destroyed log strings.
[task 2023-06-15T00:32:27.450Z] 00:32:27    ERROR - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2023-06-15T00:32:27.450Z] 00:32:27    ERROR - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js | leaked 2 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2023-06-15T00:32:27.451Z] 00:32:27     INFO - TEST-INFO | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js | windows(s) leaked: [pid = 8688] [serial = 577], [pid = 8688] [serial = 576], [pid = 8688] [serial = 580], [pid = 8688] [serial = 581]
[task 2023-06-15T00:32:27.451Z] 00:32:27     INFO - TEST-INFO | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js | This test created 1 hidden window(s)
[task 2023-06-15T00:32:27.452Z] 00:32:27     INFO - TEST-INFO | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js | This test created 1 hidden docshell(s)
```