Intermittent browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | single tracking bug
Categories
(Firefox :: Protections UI, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: emz)
References
Details
(Keywords: intermittent-failure, intermittent-testcase)
Attachments
(1 external file)
Filed by: pstanciu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=461952068&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J9y2SdUBTlyfsF8wsbGP6A/runs/0/artifacts/public/logs/live_backing.log
[task 2024-06-12T02:01:40.483Z] 02:01:40 INFO - TEST-START | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js
[task 2024-06-12T02:01:40.549Z] 02:01:40 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7effc426bc00 == 1 [pid = 2847] [id = 0]
[task 2024-06-12T02:01:40.552Z] 02:01:40 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7effe20c1020) [pid = 2847] [serial = 1] [outer = 0]
[task 2024-06-12T02:01:40.557Z] 02:01:40 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7effc426c400) [pid = 2847] [serial = 2] [outer = 7effe20c1020]
[task 2024-06-12T02:01:40.906Z] 02:01:40 INFO - GECKO(2020) | [Parent 2020, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2608
[task 2024-06-12T02:01:40.917Z] 02:01:40 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7effc426f000) [pid = 2847] [serial = 3] [outer = 7effe20c1020]
[task 2024-06-12T02:01:41.405Z] 02:01:41 INFO - GECKO(2020) | [Parent 2020: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (7fda0c8b9800) [pid = 2020] [serial = 39] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:41.405Z] 02:01:41 INFO - GECKO(2020) | [Parent 2020: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fda0c8b5400 == 7 [pid = 2020] [id = 15] [url = about:preferences#privacy]
[task 2024-06-12T02:01:41.410Z] 02:01:41 INFO - GECKO(2020) | [Parent 2020: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd9f734ec00 == 6 [pid = 2020] [id = 18] [url = about:blank]
[task 2024-06-12T02:01:41.466Z] 02:01:41 INFO - GECKO(2020) | [Child 2116: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f56a846bc00 == 2 [pid = 2116] [id = 1] [url = about:blank]
[task 2024-06-12T02:01:41.466Z] 02:01:41 INFO - GECKO(2020) | [Child 2116: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f56a846f800 == 1 [pid = 2116] [id = 2] [url = about:blank]
[task 2024-06-12T02:01:41.467Z] 02:01:41 INFO - GECKO(2020) | [Parent 2020: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (7fd9f7e6cc00) [pid = 2020] [serial = 37] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:41.495Z] 02:01:41 INFO - GECKO(2020) | [Parent 2020: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (7fd9f6788800) [pid = 2020] [serial = 35] [outer = 0] [url = about:preferences#privacy-trackingprotection]
[task 2024-06-12T02:01:41.497Z] 02:01:41 INFO - GECKO(2020) | [Parent 2020: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7fd9f6780c00) [pid = 2020] [serial = 30] [outer = 0] [url = about:preferences#privacy-trackingprotection]
[task 2024-06-12T02:01:41.515Z] 02:01:41 INFO - GECKO(2020) | [Child 2116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f56a7403200) [pid = 2116] [serial = 7] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:41.515Z] 02:01:41 INFO - GECKO(2020) | [Child 2116: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f56a7403020) [pid = 2116] [serial = 5] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:41.932Z] 02:01:41 INFO - GECKO(2020) | [WARN webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-06-12T02:01:42.053Z] 02:01:42 INFO - GECKO(2020) | [WARN webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-06-12T02:01:42.138Z] 02:01:42 INFO - GECKO(2020) | [WARN webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2024-06-12T02:01:42.140Z] 02:01:42 INFO - GECKO(2020) | [WARN webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2024-06-12T02:01:42.141Z] 02:01:42 INFO - GECKO(2020) | [WARN webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2024-06-12T02:01:42.439Z] 02:01:42 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f931a46ac00 == 1 [pid = 2894] [id = 0]
[task 2024-06-12T02:01:42.439Z] 02:01:42 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f93383c2020) [pid = 2894] [serial = 1] [outer = 0]
[task 2024-06-12T02:01:42.441Z] 02:01:42 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f931a46b400) [pid = 2894] [serial = 2] [outer = 7f93383c2020]
[task 2024-06-12T02:01:42.463Z] 02:01:42 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7effc426bc00 == 0 [pid = 2847] [id = 0] [url = https://example.com/]
[task 2024-06-12T02:01:42.564Z] 02:01:42 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7effc426f000) [pid = 2847] [serial = 3] [outer = 0] [url = https://example.com/]
[task 2024-06-12T02:01:42.569Z] 02:01:42 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7effc426c400) [pid = 2847] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:42.576Z] 02:01:42 INFO - GECKO(2020) | [Child 2847: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7effe20c1020) [pid = 2847] [serial = 1] [outer = 0] [url = https://example.com/]
[task 2024-06-12T02:01:42.674Z] 02:01:42 INFO - GECKO(2020) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpzb8kku7k.mozrunner/runtests_leaks_tab_pid2954.log
[task 2024-06-12T02:01:42.729Z] 02:01:42 INFO - GECKO(2020) | [Child 2954, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-06-12T02:01:42.774Z] 02:01:42 INFO - GECKO(2020) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2024-06-12T02:01:42.779Z] 02:01:42 INFO - GECKO(2020) | [Child 2954, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:467
[task 2024-06-12T02:01:42.798Z] 02:01:42 INFO - GECKO(2020) | [Child 2175: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f4f63874c00 == 1 [pid = 2175] [id = 0] [url = about:blank]
[task 2024-06-12T02:01:42.801Z] 02:01:42 INFO - GECKO(2020) | [Child 2175: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f4f63877000 == 0 [pid = 2175] [id = 1] [url = about:blank]
[task 2024-06-12T02:01:42.865Z] 02:01:42 INFO - GECKO(2020) | [Parent 2020, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2608
[task 2024-06-12T02:01:42.881Z] 02:01:42 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f931a46e000) [pid = 2894] [serial = 3] [outer = 7f93383c2020]
[task 2024-06-12T02:01:42.887Z] 02:01:42 INFO - GECKO(2020) | [Child 2175: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f4f62f73200) [pid = 2175] [serial = 3] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:42.890Z] 02:01:42 INFO - GECKO(2020) | [Child 2175: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f4f62f73020) [pid = 2175] [serial = 1] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:43.294Z] 02:01:43 INFO - GECKO(2020) | [Parent 2020: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7fd9ed416880) [pid = 2020] [serial = 41] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:43.310Z] 02:01:43 INFO - GECKO(2020) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpzb8kku7k.mozrunner/runtests_leaks_tab_pid2976.log
[task 2024-06-12T02:01:43.353Z] 02:01:43 INFO - GECKO(2020) | [Child 2976, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-06-12T02:01:43.636Z] 02:01:43 INFO - GECKO(2020) | [WARN webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-06-12T02:01:43.735Z] 02:01:43 INFO - GECKO(2020) | [WARN webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-06-12T02:01:43.812Z] 02:01:43 INFO - TEST-INFO | started process screentopng
[task 2024-06-12T02:01:44.213Z] 02:01:44 INFO - TEST-INFO | screentopng: exit 0
[task 2024-06-12T02:01:44.213Z] 02:01:44 INFO - Buffered messages logged at 02:01:40
[task 2024-06-12T02:01:44.213Z] 02:01:44 INFO - Entering setup bound
[task 2024-06-12T02:01:44.213Z] 02:01:44 INFO - Leaving setup bound
[task 2024-06-12T02:01:44.213Z] 02:01:44 INFO - Entering test bound test_purged_bounce_trackers_increment_tracker_counter
[task 2024-06-12T02:01:44.213Z] 02:01:44 INFO - Before purging test that there are no blocked trackers.
[task 2024-06-12T02:01:44.214Z] 02:01:44 INFO - Buffered messages logged at 02:01:42
[task 2024-06-12T02:01:44.214Z] 02:01:44 INFO - TEST-PASS | 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-06-12T02:01:44.216Z] 02:01:44 INFO - Add bounce trackers to be purged.
[task 2024-06-12T02:01:44.217Z] 02:01:44 INFO - Run PurgeBounceTrackers
[task 2024-06-12T02:01:44.218Z] 02:01:44 INFO - After purging test that the counter is showing and incremented.
[task 2024-06-12T02:01:44.219Z] 02:01:44 INFO - Buffered messages logged at 02:01:43
[task 2024-06-12T02:01:44.219Z] 02:01:44 INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | The blocked tracker counter is shown if there are blocked trackers. -
[task 2024-06-12T02:01:44.219Z] 02:01:44 INFO - Buffered messages finished
[task 2024-06-12T02:01:44.220Z] 02:01:44 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | The blocked tracker counter is correct. - Got "2 Blocked", expected "3 Blocked"
[task 2024-06-12T02:01:44.220Z] 02:01:44 INFO - Stack trace:
[task 2024-06-12T02:01:44.220Z] 02:01:44 INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-06-12T02:01:44.220Z] 02:01:44 INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js:assertProtectionsPanelCounter:33
[task 2024-06-12T02:01:44.220Z] 02:01:44 INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js:test_purged_bounce_trackers_increment_tracker_counter:82
[task 2024-06-12T02:01:44.221Z] 02:01:44 INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-06-12T02:01:44.221Z] 02:01:44 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-06-12T02:01:44.221Z] 02:01:44 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-06-12T02:01:44.222Z] 02:01:44 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-06-12T02:01:44.222Z] 02:01:44 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-06-12T02:01:44.223Z] 02:01:44 INFO - GECKO(2020) | [WARN webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2024-06-12T02:01:44.223Z] 02:01:44 INFO - GECKO(2020) | [WARN webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2024-06-12T02:01:44.224Z] 02:01:44 INFO - GECKO(2020) | [WARN webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2024-06-12T02:01:44.224Z] 02:01:44 INFO - Leaving test bound test_purged_bounce_trackers_increment_tracker_counter
[task 2024-06-12T02:01:44.225Z] 02:01:44 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f931a46ac00 == 0 [pid = 2894] [id = 0] [url = https://example.com/]
[task 2024-06-12T02:01:44.226Z] 02:01:44 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f931a46e000) [pid = 2894] [serial = 3] [outer = 0] [url = https://example.com/]
[task 2024-06-12T02:01:44.227Z] 02:01:44 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f931a46b400) [pid = 2894] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-06-12T02:01:44.227Z] 02:01:44 INFO - GECKO(2020) | [Child 2894: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f93383c2020) [pid = 2894] [serial = 1] [outer = 0] [url = https://example.com/]
[task 2024-06-12T02:01:44.371Z] 02:01:44 INFO - GECKO(2020) | MEMORY STAT | vsize 11482MB | residentFast 461MB | heapAllocated 232MB
[task 2024-06-12T02:01:44.373Z] 02:01:44 INFO - TEST-OK | browser/base/content/test/protectionsUI/browser_protectionsUI_bounce_tracking_protection.js | took 3889ms
[task 2024-06-12T02:01:44.391Z] 02:01:44 INFO - GECKO(2020) | [Child 2175: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f4f63877c00 == 1 [pid = 2175] [id = 2]
[task 2024-06-12T02:01:44.392Z] 02:01:44 INFO - GECKO(2020) | [Child 2175: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f4f62f73020) [pid = 2175] [serial = 5] [outer = 0]
[task 2024-06-12T02:01:44.393Z] 02:01:44 INFO - GECKO(2020) | [Child 2175: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f4f63878000) [pid = 2175] [serial = 6] [outer = 7f4f62f73020]
[task 2024-06-12T02:01:44.444Z] 02:01:44 INFO - checking window state
[task 2024-06-12T02:01:44.475Z] 02:01:44 INFO - TEST-START | browser/base/content/test/protectionsUI/browser_protectionsUI_categories.js
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
•
|
||
Sometimes the panel is reporting 0 trackers blocked even though we just purged bounce trackers that should increment this number. Sometimes it reports a lower number than trackers purged. When I then open the panel again manually it shows the correct number. There seems to be a race condition somewhere in this chain:
- Bounce trackers are purged and recorded via
ContentBlockingLog=>TrackingDBService - Before the protections panel opens
onTrackingProtectionIconHoveredOrFocusedupdates the tracker count viaTrackingDBService.sumAllEvents.
The race condition could be between the DB services processing the new events and the panel fetching them. I can reproduce the issue locally on a --verify run and will investigate further.
| Assignee | ||
Comment 5•2 years ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Comment 8•2 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Description
•