Bug: Intermittent browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | single tracking bug
Status: NEW
Priority: P5
Created: 2024-07-13 01:01:52+00:00
Resolved: 2025-03-03 06:44:21+00:00

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

---
```
[task 2024-07-12T23:45:12.832Z] 23:45:12     INFO - TEST-OK | browser/base/content/test/protectionsUI/browser_protectionsUI_background_tabs.js | took 2134ms
[task 2024-07-12T23:45:12.847Z] 23:45:12     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fb1e0769c00 == 3 [pid = 1205] [id = 3]
[task 2024-07-12T23:45:12.849Z] 23:45:12     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7fb1dfe4b400) [pid = 1205] [serial = 9] [outer = 0]
[task 2024-07-12T23:45:12.851Z] 23:45:12     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7fb1e0762c00) [pid = 1205] [serial = 10] [outer = 7fb1dfe4b400]
[task 2024-07-12T23:45:12.890Z] 23:45:12     INFO - checking window state
[task 2024-07-12T23:45:12.961Z] 23:45:12     INFO - TEST-START | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js
[task 2024-07-12T23:45:13.015Z] 23:45:13     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fb1e0763400 == 1 [pid = 1962] [id = 0]
[task 2024-07-12T23:45:13.016Z] 23:45:13     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7fb1e0d1cc00) [pid = 1962] [serial = 1] [outer = 0]
[task 2024-07-12T23:45:13.018Z] 23:45:13     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7fb1e0763800) [pid = 1962] [serial = 2] [outer = 7fb1e0d1cc00]
[task 2024-07-12T23:45:13.135Z] 23:45:13     INFO - GECKO(1063) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpeq4aw0fh.mozrunner/runtests_leaks_tab_pid2055.log
[task 2024-07-12T23:45:13.258Z] 23:45:13     INFO - GECKO(1063) | [Parent 1063, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2618
[task 2024-07-12T23:45:13.280Z] 23:45:13     INFO - GECKO(1063) | [Child 2055, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-07-12T23:45:13.289Z] 23:45:13     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7fb1e076bc00) [pid = 1962] [serial = 3] [outer = 7fb1e0d1cc00]
[task 2024-07-12T23:45:14.046Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fbab1633800 == 7 [pid = 1063] [id = 15] [url = about:preferences#privacy]
[task 2024-07-12T23:45:14.053Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fbab2f63400 == 6 [pid = 1063] [id = 18] [url = about:blank]
[task 2024-07-12T23:45:14.062Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (7fbab163c000) [pid = 1063] [serial = 32] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:14.071Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (7fbac30c3000) [pid = 1063] [serial = 37] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:14.074Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (7fbac30c3800) [pid = 1063] [serial = 39] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:14.075Z] 23:45:14     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fb1e075e400 == 2 [pid = 1205] [id = 1] [url = about:blank]
[task 2024-07-12T23:45:14.076Z] 23:45:14     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fb1e0760800 == 1 [pid = 1205] [id = 2] [url = about:blank]
[task 2024-07-12T23:45:14.091Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (7fbabacf4400) [pid = 1063] [serial = 35] [outer = 0] [url = about:preferences#privacy-trackingprotection]
[task 2024-07-12T23:45:14.091Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7fbab1632c00) [pid = 1063] [serial = 30] [outer = 0] [url = about:preferences#privacy-trackingprotection]
[task 2024-07-12T23:45:14.100Z] 23:45:14     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7fb1dfe47000) [pid = 1205] [serial = 7] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:14.102Z] 23:45:14     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7fb1dfe47a00) [pid = 1205] [serial = 5] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:14.432Z] 23:45:14     INFO - GECKO(1063) | [WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-07-12T23:45:14.563Z] 23:45:14     INFO - GECKO(1063) | [WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-07-12T23:45:14.622Z] 23:45:14     INFO - TEST-INFO | started process screentopng
[task 2024-07-12T23:45:14.989Z] 23:45:14     INFO - TEST-INFO | screentopng: exit 0
[task 2024-07-12T23:45:14.990Z] 23:45:14     INFO - Buffered messages logged at 23:45:12
[task 2024-07-12T23:45:14.990Z] 23:45:14     INFO - Entering setup bound 
[task 2024-07-12T23:45:14.990Z] 23:45:14     INFO - Leaving setup bound 
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - Entering test bound test_purged_bounce_trackers_increment_tracker_counter
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - Before purging test that there are no blocked trackers.
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - Buffered messages finished
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | The blocked tracker counter is hidden if there is no blocked tracker. - 
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - Stack trace:
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochikit/content/browser-test.js:test_ok:1597
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js:assertProtectionsPanelCounter:29
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js:test_purged_bounce_trackers_increment_tracker_counter:63
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-07-12T23:45:14.991Z] 23:45:14     INFO - Add bounce trackers to be purged.
[task 2024-07-12T23:45:14.992Z] 23:45:14     INFO - Run PurgeBounceTrackers
[task 2024-07-12T23:45:14.992Z] 23:45:14     INFO - GECKO(1063) | [Parent 1063, Cache2 I/O] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/netwerk/cache2/CacheFileContextEvictor.cpp:315
[task 2024-07-12T23:45:15.034Z] 23:45:15     INFO - After purging test that the counter is showing and incremented.
[task 2024-07-12T23:45:15.046Z] 23:45:15     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7fbab28c6600) [pid = 1063] [serial = 41] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:15.083Z] 23:45:15     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fb1e0763400 == 0 [pid = 1962] [id = 0] [url = https://example.com/]
[task 2024-07-12T23:45:15.102Z] 23:45:15     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fb1e076bc00) [pid = 1962] [serial = 3] [outer = 0] [url = https://example.com/]
[task 2024-07-12T23:45:15.104Z] 23:45:15     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fb1e0763800) [pid = 1962] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:15.105Z] 23:45:15     INFO - GECKO(1063) | [Child 1962: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fb1e0d1cc00) [pid = 1962] [serial = 1] [outer = 0] [url = https://example.com/]
[task 2024-07-12T23:45:15.597Z] 23:45:15     INFO - GECKO(1063) | [Child 1264: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fb1e0767800 == 1 [pid = 1264] [id = 0] [url = about:blank]
[task 2024-07-12T23:45:15.598Z] 23:45:15     INFO - GECKO(1063) | [Child 1264: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fb1e0768400 == 0 [pid = 1264] [id = 1] [url = about:blank]
[task 2024-07-12T23:45:15.623Z] 23:45:15     INFO - GECKO(1063) | [Child 1264: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7fb1dfe5ec00) [pid = 1264] [serial = 3] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:15.624Z] 23:45:15     INFO - GECKO(1063) | [Child 1264: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fb1dfe5b800) [pid = 1264] [serial = 1] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:16.979Z] 23:45:16     INFO - GECKO(1063) | [Child 1330: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fb1ddeb9000 == 1 [pid = 1330] [id = 2] [url = about:privatebrowsing]
[task 2024-07-12T23:45:17.036Z] 23:45:17     INFO - GECKO(1063) | [Child 1330: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7fb1de365400) [pid = 1330] [serial = 7] [outer = 0] [url = about:privatebrowsing]
[task 2024-07-12T23:45:18.151Z] 23:45:18     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7fb1e075c400) [pid = 1205] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:18.152Z] 23:45:18     INFO - GECKO(1063) | [Child 1205: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fb1e0767000) [pid = 1205] [serial = 8] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:18.407Z] 23:45:18     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fbab1632400 == 5 [pid = 1063] [id = 17] [url = chrome://browser/content/browser.xhtml]
[task 2024-07-12T23:45:18.411Z] 23:45:18     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7fbab2f5ac00) [pid = 1063] [serial = 42] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:18.886Z] 23:45:18     INFO - GECKO(1063) | [Parent 1063, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2024-07-12T23:45:18.921Z] 23:45:18     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7fbab28c4a00) [pid = 1063] [serial = 43] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2024-07-12T23:45:18.923Z] 23:45:18     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7fbac0f6d200) [pid = 1063] [serial = 45] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:18.925Z] 23:45:18     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7fbab28c4c00) [pid = 1063] [serial = 38] [outer = 0] [url = about:preferences#privacy-trackingprotection]
[task 2024-07-12T23:45:19.542Z] 23:45:19     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7fbab163d800) [pid = 1063] [serial = 40] [outer = 0] [url = about:preferences#privacy-trackingprotection]
[task 2024-07-12T23:45:19.543Z] 23:45:19     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7fbab2f62800) [pid = 1063] [serial = 46] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:19.545Z] 23:45:19     INFO - GECKO(1063) | [Parent 1063: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7fbab163b000) [pid = 1063] [serial = 44] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:19.704Z] 23:45:19     INFO - GECKO(1063) | [Child 1264: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fb1e076c000) [pid = 1264] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:19.707Z] 23:45:19     INFO - GECKO(1063) | [Child 1264: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fb1e076bc00) [pid = 1264] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-07-12T23:45:20.607Z] 23:45:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-07-12T23:45:20.607Z] 23:45:20     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | Uncaught exception in test bound test_purged_bounce_trackers_increment_tracker_counter - Waiting for TrackingDBService to record the tracker stats from the purge. - timed out after 50 tries.
[task 2024-07-12T23:45:20.609Z] 23:45:20     INFO - Leaving test bound test_purged_bounce_trackers_increment_tracker_counter
[task 2024-07-12T23:45:20.620Z] 23:45:20     INFO - GECKO(1063) | MEMORY STAT | vsize 3517MB | residentFast 541MB | heapAllocated 241MB
[task 2024-07-12T23:45:20.623Z] 23:45:20     INFO - TEST-OK | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | took 7661ms
```