Bug: Intermittent browser/components/newtab/test/browser/browser_discovery_render.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-09-09 19:23:47+00:00
Resolved: 2024-10-07 12:09:11+00:00

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

---
```
[task 2024-09-09T18:45:01.166Z] 18:45:01     INFO - TEST-START | browser/components/newtab/test/browser/browser_discovery_render.js
[task 2024-09-09T18:45:01.205Z] 18:45:01     INFO - GECKO(8916) | [Parent 2944, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x2297de7efc0 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:113
[task 2024-09-09T18:45:01.228Z] 18:45:01     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1ee0ea13800 == 3 [pid = 7120] [id = 17]
[task 2024-09-09T18:45:01.242Z] 18:45:01     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (1ee08eb9020) [pid = 7120] [serial = 52] [outer = 0]
[task 2024-09-09T18:45:01.242Z] 18:45:01     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (1ee0ea17000) [pid = 7120] [serial = 53] [outer = 1ee08eb9020]
[task 2024-09-09T18:45:01.291Z] 18:45:01     INFO - GECKO(8916) | [Parent 2944, Main Thread] WARNING: NS_ENSURE_TRUE(mNameHashtable.Get(aName, &index)) failed: file /builds/worker/checkouts/gecko/storage/mozStorageRow.cpp:91
[task 2024-09-09T18:45:01.322Z] 18:45:01     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (1ee0f197000) [pid = 7120] [serial = 54] [outer = 1ee08eb9020]
[task 2024-09-09T18:45:01.620Z] 18:45:01     INFO - GECKO(8916) | [Parent 2944, Main Thread] WARNING: NS_ENSURE_TRUE(aPrefName) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:2405
[task 2024-09-09T18:45:01.634Z] 18:45:01     INFO - GECKO(8916) | [Parent 2944, Main Thread] WARNING: NS_ENSURE_TRUE(aPrefName) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:2405
[task 2024-09-09T18:45:01.635Z] 18:45:01     INFO - GECKO(8916) | console.error: "Failed to fetch https://spocs.getpocket.com/spocs:" "Not one of allowed prefixes (data:)"
[task 2024-09-09T18:45:01.636Z] 18:45:01     INFO - GECKO(8916) | [Parent 2944, Main Thread] WARNING: NS_ENSURE_TRUE(aPrefName) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:2405
[task 2024-09-09T18:45:01.636Z] 18:45:01     INFO - GECKO(8916) | console.error: "Failed to fetch https://firefox-api-proxy.cdn.mozilla.net/desktop/v1/recommendations?locale=en-US&region=US&count=30:" "Not one of allowed prefixes (data:)"
[task 2024-09-09T18:45:01.637Z] 18:45:01     INFO - GECKO(8916) | console.error: "No response for spocs_endpoint prop"
[task 2024-09-09T18:45:01.638Z] 18:45:01     INFO - GECKO(8916) | console.error: "No response for feed"
[task 2024-09-09T18:45:01.966Z] 18:45:01     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(winInner) failed: file /builds/worker/checkouts/gecko/widget/nsBaseDragService.cpp:1255
[task 2024-09-09T18:45:01.972Z] 18:45:01     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(widget) failed: file /builds/worker/checkouts/gecko/widget/nsDragServiceProxy.cpp:148
[task 2024-09-09T18:45:02.044Z] 18:45:02     INFO - GECKO(8916) | [Parent 2944, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x2297de7efc0 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:113
[task 2024-09-09T18:45:02.091Z] 18:45:02     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1ee1141ec00 == 4 [pid = 7120] [id = 18]
[task 2024-09-09T18:45:02.094Z] 18:45:02     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (1ee1142e4c0) [pid = 7120] [serial = 55] [outer = 0]
[task 2024-09-09T18:45:02.094Z] 18:45:02     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (1ee1141f400) [pid = 7120] [serial = 56] [outer = 1ee1142e4c0]
[task 2024-09-09T18:45:02.122Z] 18:45:02     INFO - GECKO(8916) | [Parent 2944, Main Thread] WARNING: NS_ENSURE_TRUE(mNameHashtable.Get(aName, &index)) failed: file /builds/worker/checkouts/gecko/storage/mozStorageRow.cpp:91
[task 2024-09-09T18:45:02.185Z] 18:45:02     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (1ee12910000) [pid = 7120] [serial = 57] [outer = 1ee1142e4c0]
[task 2024-09-09T18:45:03.236Z] 18:45:03     INFO - GECKO(8916) | [Child 4176: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1475f311c00 == 0 [pid = 4176] [id = 3] [url = about:blank]
[task 2024-09-09T18:45:03.284Z] 18:45:03     INFO - GECKO(8916) | [Child 4176: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (147597c7200) [pid = 4176] [serial = 9] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:03.284Z] 18:45:03     INFO - GECKO(8916) | [Child 4176: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (147597c7020) [pid = 4176] [serial = 7] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:04.838Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1ee0ea15000 == 3 [pid = 7120] [id = 15] [url = about:newtab]
[task 2024-09-09T18:45:04.838Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (1ee0f197400) [pid = 7120] [serial = 42] [outer = 0] [url = about:newtab]
[task 2024-09-09T18:45:04.838Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (1ee1291b000) [pid = 7120] [serial = 44] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:04.838Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1ee1395a000) [pid = 7120] [serial = 45] [outer = 0] [url = about:newtab]
[task 2024-09-09T18:45:04.838Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (1ee12919c00) [pid = 7120] [serial = 39] [outer = 0] [url = about:newtab]
[task 2024-09-09T18:45:04.838Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (1ee0f194000) [pid = 7120] [serial = 50] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:04.838Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (1ee0f190000) [pid = 7120] [serial = 47] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:04.870Z] 18:45:04     INFO - GECKO(8916) | [Child 1700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (20132916c00) [pid = 1700] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:04.870Z] 18:45:04     INFO - GECKO(8916) | [Child 1700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (20132916000) [pid = 1700] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:04.870Z] 18:45:04     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1ee0ea12800 == 2 [pid = 7120] [id = 16] [url = about:newtab]
[task 2024-09-09T18:45:05.168Z] 18:45:05     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/base/GlobalTeardownObserver.cpp:51
[task 2024-09-09T18:45:05.168Z] 18:45:05     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/base/GlobalTeardownObserver.cpp:51
[task 2024-09-09T18:45:05.168Z] 18:45:05     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/base/GlobalTeardownObserver.cpp:51
[task 2024-09-09T18:45:05.168Z] 18:45:05     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/base/GlobalTeardownObserver.cpp:51
[task 2024-09-09T18:45:05.183Z] 18:45:05     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (1ee08eb9980) [pid = 7120] [serial = 49] [outer = 0] [url = about:newtab]
[task 2024-09-09T18:45:05.183Z] 18:45:05     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (1ee08eb95c0) [pid = 7120] [serial = 46] [outer = 0] [url = about:newtab]
[task 2024-09-09T18:45:07.428Z] 18:45:07     INFO - GECKO(8916) | [Child 4176: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1475f312400) [pid = 4176] [serial = 8] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:07.428Z] 18:45:07     INFO - GECKO(8916) | [Child 4176: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1475f313000) [pid = 4176] [serial = 10] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:11.805Z] 18:45:09     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (1ee12912400) [pid = 7120] [serial = 51] [outer = 0] [url = about:newtab]
[task 2024-09-09T18:45:11.805Z] 18:45:09     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (1ee0f196c00) [pid = 7120] [serial = 48] [outer = 0] [url = about:newtab]
[task 2024-09-09T18:45:11.805Z] 18:45:09     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (1ee1141f400) [pid = 7120] [serial = 56] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:11.805Z] 18:45:09     INFO - GECKO(8916) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1ee0ea17000) [pid = 7120] [serial = 53] [outer = 0] [url = about:blank]
[task 2024-09-09T18:45:11.824Z] 18:45:11     INFO - GECKO(8916) | [Child 10144: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 2a897a32000 == 5 [pid = 10144] [id = 3] [url = moz-extension://3de7a520-435f-46fe-8cdc-9bf0014ca9a7/_generated_background_page.html]
[task 2024-09-09T18:45:11.869Z] 18:45:11     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(winInner) failed: file /builds/worker/checkouts/gecko/widget/nsBaseDragService.cpp:1255
[task 2024-09-09T18:45:11.882Z] 18:45:11     INFO - GECKO(8916) | [Child 7120, Main Thread] WARNING: NS_ENSURE_TRUE(widget) failed: file /builds/worker/checkouts/gecko/widget/nsDragServiceProxy.cpp:148
[task 2024-09-09T18:45:11.902Z] 18:45:11     INFO - TEST-INFO | started process screenshot
[task 2024-09-09T18:45:12.058Z] 18:45:12     INFO - TEST-INFO | screenshot: exit 0
[task 2024-09-09T18:45:12.070Z] 18:45:12     INFO - Buffered messages logged at 18:45:01
[task 2024-09-09T18:45:12.070Z] 18:45:12     INFO - Entering test bound test_render_hardcoded_topsites
[task 2024-09-09T18:45:12.074Z] 18:45:12     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_discovery_render.js | Got the discovery stream top sites section - {} == true - 
[task 2024-09-09T18:45:12.075Z] 18:45:12     INFO - Buffered messages logged at 18:45:02
[task 2024-09-09T18:45:12.076Z] 18:45:12     INFO - Leaving test bound test_render_hardcoded_topsites
[task 2024-09-09T18:45:12.076Z] 18:45:12     INFO - Entering test bound test_render_hardcoded_learnmore
[task 2024-09-09T18:45:12.077Z] 18:45:12     INFO - Buffered messages finished
[task 2024-09-09T18:45:12.079Z] 18:45:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_render.js | Uncaught exception in test bound test_render_hardcoded_learnmore - undefined - timed out after 50 tries.
[task 2024-09-09T18:45:12.079Z] 18:45:12     INFO - Leaving test bound test_render_hardcoded_learnmore
[task 2024-09-09T18:45:12.733Z] 18:45:12     INFO - GECKO(8916) | MEMORY STAT | vsize 2104365MB | vsizeMaxContiguous 65373243MB | residentFast 333MB | heapAllocated 129MB
[task 2024-09-09T18:45:12.737Z] 18:45:12     INFO - TEST-OK | browser/components/newtab/test/browser/browser_discovery_render.js | took 11570ms
```