Bug: Intermittent toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_report.js | single tracking bug
Status: RESOLVED
Priority: P2
Resolution: INCOMPLETE
Created: 2022-09-06 07:28:24+00:00
Resolved: 2024-10-04 12:11:01+00:00

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

---
```
[task 2022-09-06T06:23:39.354Z] 06:23:39     INFO - TEST-START | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_report.js
[task 2022-09-06T06:23:39.380Z] 06:23:39     INFO - GECKO(804) | [Child 8788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 15c54f8c000 == 1 [pid = 8788] [id = 0]
[task 2022-09-06T06:23:39.385Z] 06:23:39     INFO - GECKO(804) | [Child 8788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (15c4ff6b260) [pid = 8788] [serial = 1] [outer = 0]
[task 2022-09-06T06:23:39.386Z] 06:23:39     INFO - GECKO(804) | [Child 8788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (15c54f8c800) [pid = 8788] [serial = 2] [outer = 15c4ff6b260]
[task 2022-09-06T06:23:39.390Z] 06:23:39     INFO - GECKO(804) | [Child 4044, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-09-06T06:23:39.417Z] 06:23:39     INFO - GECKO(804) | [Child 8788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (15c54f8e800) [pid = 8788] [serial = 3] [outer = 15c4ff6b260]
[task 2022-09-06T06:23:39.455Z] 06:23:39     INFO - GECKO(804) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_166244253648276\AppData\Local\Temp\tmp9n3sdsou.mozrunner\runtests_leaks_tab_pid6048.log
[task 2022-09-06T06:23:39.461Z] 06:23:39     INFO - GECKO(804) | [6048, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2022-09-06T06:23:39.520Z] 06:23:39     INFO - GECKO(804) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_166244253648276\AppData\Local\Temp\tmp9n3sdsou.mozrunner\runtests_leaks_tab_pid6940.log
[task 2022-09-06T06:23:39.530Z] 06:23:39     INFO - GECKO(804) | [6940, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2022-09-06T06:23:39.538Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 203d006fc00 == 7 [pid = 4044] [id = 5] [url = about:blank]
[task 2022-09-06T06:23:39.539Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 203d0071000 == 6 [pid = 4044] [id = 6] [url = about:blank]
[task 2022-09-06T06:23:39.540Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 203d006ec00 == 5 [pid = 4044] [id = 4] [url = about:blank]
[task 2022-09-06T06:23:39.540Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 203d0068000 == 4 [pid = 4044] [id = 0] [url = about:blank]
[task 2022-09-06T06:23:39.541Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 203d006d400 == 3 [pid = 4044] [id = 3] [url = about:blank]
[task 2022-09-06T06:23:39.542Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 203d006c400 == 2 [pid = 4044] [id = 2] [url = about:blank]
[task 2022-09-06T06:23:39.542Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 203d006a800 == 1 [pid = 4044] [id = 1] [url = about:blank]
[task 2022-09-06T06:23:39.571Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (203caf6bf10) [pid = 4044] [serial = 7] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:39.572Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (203caf6b260) [pid = 4044] [serial = 1] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:39.573Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (203caf6c650) [pid = 4044] [serial = 11] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:39.574Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (203caf6b7d0) [pid = 4044] [serial = 3] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:39.574Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (203caf6bb70) [pid = 4044] [serial = 5] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:39.575Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (203caf6c2b0) [pid = 4044] [serial = 9] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:39.576Z] 06:23:39     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (203caf6c9f0) [pid = 4044] [serial = 13] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:39.725Z] 06:23:39     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 16af8c16000 == 3 [pid = 5832] [id = 3]
[task 2022-09-06T06:23:39.726Z] 06:23:39     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (16aeff6ec60) [pid = 5832] [serial = 9] [outer = 0]
[task 2022-09-06T06:23:39.727Z] 06:23:39     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (16af8c16800) [pid = 5832] [serial = 10] [outer = 16aeff6ec60]
[task 2022-09-06T06:23:39.736Z] 06:23:39     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (16af8c18c00) [pid = 5832] [serial = 11] [outer = 16aeff6ec60]
[task 2022-09-06T06:23:39.878Z] 06:23:39     INFO - GECKO(804) | 1662445419889	FirefoxAccounts	ERROR	FxA rejecting with error NO_ACCOUNT, details: undefined
[task 2022-09-06T06:23:39.901Z] 06:23:39     INFO - GECKO(804) | 1662445419899	FirefoxAccounts	ERROR	FxA rejecting with error NO_ACCOUNT, details: undefined
[task 2022-09-06T06:23:40.178Z] 06:23:40     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 16af5069400 == 2 [pid = 5832] [id = 2] [url = about:blank]
[task 2022-09-06T06:23:40.263Z] 06:23:40     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (16af5068c00) [pid = 5832] [serial = 5] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:40.267Z] 06:23:40     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (16af8c17000) [pid = 5832] [serial = 6] [outer = 0] [url = about:logins?foo=bar]
[task 2022-09-06T06:23:40.268Z] 06:23:40     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (16af5067400) [pid = 5832] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:40.279Z] 06:23:40     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (1bf65330c00) [pid = 5008] [serial = 6] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:40.295Z] 06:23:40     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (1bf68746c00) [pid = 5008] [serial = 11] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:40.296Z] 06:23:40     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (1bf61720400) [pid = 5008] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:40.297Z] 06:23:40     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1bf66d99000 == 10 [pid = 5008] [id = 7] [url = about:blank]
[task 2022-09-06T06:23:40.305Z] 06:23:40     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1bf69927400 == 9 [pid = 5008] [id = 11] [url = about:blank]
[task 2022-09-06T06:23:40.347Z] 06:23:40     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (16aeff6b600) [pid = 5832] [serial = 7] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:40.680Z] 06:23:40     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (1bf54a63350) [pid = 5008] [serial = 21] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:40.689Z] 06:23:40     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (1bf612b3650) [pid = 5008] [serial = 19] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:41.415Z] 06:23:41     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (23d1c166800) [pid = 8956] [serial = 12] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:41.417Z] 06:23:41     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (23d1c16f000) [pid = 8956] [serial = 10] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:41.417Z] 06:23:41     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (23d1c16cc00) [pid = 8956] [serial = 14] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:41.418Z] 06:23:41     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 23d1c16d800 == 1 [pid = 8956] [id = 6] [url = about:blank]
[task 2022-09-06T06:23:41.419Z] 06:23:41     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 23d1c166000 == 0 [pid = 8956] [id = 7] [url = about:blank]
[task 2022-09-06T06:23:41.428Z] 06:23:41     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (23d1716b260) [pid = 8956] [serial = 17] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:41.429Z] 06:23:41     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (23d1716bd40) [pid = 8956] [serial = 15] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:43.646Z] 06:23:43     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (203d0070400) [pid = 4044] [serial = 12] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:43.648Z] 06:23:43     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (203d006b400) [pid = 4044] [serial = 4] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:43.648Z] 06:23:43     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (203d0068800) [pid = 4044] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:43.649Z] 06:23:43     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (203d006f400) [pid = 4044] [serial = 10] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:43.649Z] 06:23:43     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (203d0071800) [pid = 4044] [serial = 14] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:43.650Z] 06:23:43     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (203d006cc00) [pid = 4044] [serial = 6] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:43.650Z] 06:23:43     INFO - GECKO(804) | [Child 4044: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (203d006dc00) [pid = 4044] [serial = 8] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:44.394Z] 06:23:44     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (16af8c16800) [pid = 5832] [serial = 10] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:44.398Z] 06:23:44     INFO - GECKO(804) | [Child 5832: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (16af8c14800) [pid = 5832] [serial = 8] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:44.753Z] 06:23:44     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1bf601f3800 == 8 [pid = 5008] [id = 6] [url = chrome://browser/content/browser.xhtml]
[task 2022-09-06T06:23:44.756Z] 06:23:44     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1bf69927000 == 7 [pid = 5008] [id = 8] [url = about:blank]
[task 2022-09-06T06:23:44.756Z] 06:23:44     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1bf6532ec00 == 6 [pid = 5008] [id = 10] [url = chrome://browser/content/browser.xhtml]
[task 2022-09-06T06:23:44.757Z] 06:23:44     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1bf64452800 == 5 [pid = 5008] [id = 9] [url = about:blank]
[task 2022-09-06T06:23:44.757Z] 06:23:44     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (1bf6445bc00) [pid = 5008] [serial = 22] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:44.758Z] 06:23:44     INFO - GECKO(804) | [Parent 5008: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (1bf6992a800) [pid = 5008] [serial = 20] [outer = 0] [url = about:blank]
[task 2022-09-06T06:23:45.235Z] 06:23:45     INFO - TEST-INFO | started process screenshot
[task 2022-09-06T06:23:45.405Z] 06:23:45     INFO - TEST-INFO | screenshot: exit 0
[task 2022-09-06T06:23:45.408Z] 06:23:45     INFO - Buffered messages logged at 06:23:39
[task 2022-09-06T06:23:45.409Z] 06:23:45     INFO - Entering test bound test_OPEN_PROTECTION_REPORT
[task 2022-09-06T06:23:45.410Z] 06:23:45     INFO - TEST-PASS | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_report.js | Should be a valid action of type OPEN_PROTECTION_REPORT - 
[task 2022-09-06T06:23:45.410Z] 06:23:45     INFO - Console message: [JavaScript Error: "There was an error fetching the user's token: " {file: "resource:///actors/AboutProtectionsParent.jsm" line: 293}]
[task 2022-09-06T06:23:45.410Z] 06:23:45     INFO - getMonitorScopedOAuthToken@resource:///actors/AboutProtectionsParent.jsm:293:10
[task 2022-09-06T06:23:45.410Z] 06:23:45     INFO - 
[task 2022-09-06T06:23:45.411Z] 06:23:45     INFO - Console message: [JavaScript Error: "There was an error fetching the user's token: " {file: "resource:///actors/AboutProtectionsParent.jsm" line: 333}]
[task 2022-09-06T06:23:45.411Z] 06:23:45     INFO - VPNSubStatus@resource:///actors/AboutProtectionsParent.jsm:333:10
[task 2022-09-06T06:23:45.411Z] 06:23:45     INFO - 
[task 2022-09-06T06:23:45.412Z] 06:23:45     INFO - Buffered messages finished
[task 2022-09-06T06:23:45.412Z] 06:23:45     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_report.js | Uncaught exception in test - The graph has been built - timed out after 50 tries.
[task 2022-09-06T06:23:45.413Z] 06:23:45     INFO - Leaving test bound test_OPEN_PROTECTION_REPORT
[task 2022-09-06T06:23:45.413Z] 06:23:45     INFO - GECKO(804) | MEMORY STAT | vsize 2120651MB | vsizeMaxContiguous 68943592MB | residentFast 308MB | heapAllocated 120MB
[task 2022-09-06T06:23:45.414Z] 06:23:45     INFO - TEST-OK | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_report.js | took 5895ms
[task 2022-09-06T06:23:45.414Z] 06:23:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-06T06:23:45.415Z] 06:23:45     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_protection_report.js | Found an unexpected tab at the end of test run: about:protections - 
[task 2022-09-06T06:23:45.416Z] 06:23:45     INFO - GECKO(804) | [Child 5832, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-09-06T06:23:45.416Z] 06:23:45     INFO - GECKO(804) | JavaScript error: , line 0: AbortError: Actor 'AboutProtections' destroyed before query 'FetchContentBlockingEvents' was resolved
[task 2022-09-06T06:23:45.417Z] 06:23:45     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 23d1c166000 == 1 [pid = 8956] [id = 8]
[task 2022-09-06T06:23:45.417Z] 06:23:45     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (23d1716b260) [pid = 8956] [serial = 19] [outer = 0]
[task 2022-09-06T06:23:45.417Z] 06:23:45     INFO - GECKO(804) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (23d1c166800) [pid = 8956] [serial = 20] [outer = 23d1716b260]
[task 2022-09-06T06:23:45.418Z] 06:23:45     INFO - GECKO(804) | [Child 4044, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-09-06T06:23:45.418Z] 06:23:45     INFO - checking window state
[task 2022-09-06T06:23:45.419Z] 06:23:45     INFO - TEST-START | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_open_spotlight_dialog.js
```