Bug: Intermittent browser/components/newtab/test/browser/browser_asrouter_snippets.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-10-19 11:35:16+00:00
Resolved: 2024-01-01 12:01:36+00:00

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

---
```
[task 2023-10-19T09:51:30.780Z] 09:51:30     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_snippets.js
[task 2023-10-19T09:51:30.803Z] 09:51:30     INFO - GECKO(8736) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 23492648800 == 2 [pid = 8956] [id = 100]
[task 2023-10-19T09:51:30.804Z] 09:51:30     INFO - GECKO(8736) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (2348b24e020) [pid = 8956] [serial = 303] [outer = 0]
[task 2023-10-19T09:51:30.804Z] 09:51:30     INFO - GECKO(8736) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (23492649c00) [pid = 8956] [serial = 304] [outer = 2348b24e020]
[task 2023-10-19T09:51:30.841Z] 09:51:30     INFO - GECKO(8736) | [Child 8956: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (2349464f000) [pid = 8956] [serial = 305] [outer = 2348b24e020]
[task 2023-10-19T09:51:31.030Z] 09:51:31     INFO - GECKO(8736) | [Child 8956, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_OK) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1150
[task 2023-10-19T09:51:31.037Z] 09:51:31     INFO - GECKO(8736) | [Child 8956, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_OK) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1150
[task 2023-10-19T09:51:31.501Z] 09:51:31     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27a60e3ec00 == 2 [pid = 6600] [id = 15] [url = about:blank]
[task 2023-10-19T09:51:31.503Z] 09:51:31     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27a60e47000 == 1 [pid = 6600] [id = 17] [url = about:blank]
[task 2023-10-19T09:51:31.504Z] 09:51:31     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27a60e41c00 == 0 [pid = 6600] [id = 16] [url = about:blank]
[task 2023-10-19T09:51:31.516Z] 09:51:31     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (27a59a4d3e0) [pid = 6600] [serial = 38] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:31.530Z] 09:51:31     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (27a59a4d5c0) [pid = 6600] [serial = 41] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:31.531Z] 09:51:31     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (27a59a4d020) [pid = 6600] [serial = 36] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:31.531Z] 09:51:31     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (27a59a4d200) [pid = 6600] [serial = 34] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:35.237Z] 09:51:35     INFO - GECKO(8736) | [Child 7412: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1d60a451400 == 2 [pid = 7412] [id = 10] [url = about:blank]
[task 2023-10-19T09:51:35.239Z] 09:51:35     INFO - GECKO(8736) | [Child 7412: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1d60a456800 == 1 [pid = 7412] [id = 11] [url = about:blank]
[task 2023-10-19T09:51:35.253Z] 09:51:35     INFO - GECKO(8736) | [Child 7412: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (1d60309a020) [pid = 7412] [serial = 21] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:35.258Z] 09:51:35     INFO - GECKO(8736) | [Child 7412: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1d60309a3e0) [pid = 7412] [serial = 23] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:35.660Z] 09:51:35     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (27a60e47800) [pid = 6600] [serial = 42] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:35.662Z] 09:51:35     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (27a60e41400) [pid = 6600] [serial = 35] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:35.663Z] 09:51:35     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (27a60e3f400) [pid = 6600] [serial = 37] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:35.663Z] 09:51:35     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (27a60e42400) [pid = 6600] [serial = 39] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:35.664Z] 09:51:35     INFO - GECKO(8736) | [Child 6600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (27a60e43c00) [pid = 6600] [serial = 40] [outer = 0] [url = about:blank]
[task 2023-10-19T09:51:36.777Z] 09:51:36     INFO - GECKO(8736) | JavaScript error: , line 0: AbortError: Actor 'ASRouter' destroyed before query 'NEWTAB_MESSAGE_REQUEST' was resolved
[task 2023-10-19T09:51:36.787Z] 09:51:36     INFO - TEST-INFO | started process screenshot
[task 2023-10-19T09:51:36.868Z] 09:51:36     INFO - TEST-INFO | screenshot: exit 0
[task 2023-10-19T09:51:36.870Z] 09:51:36     INFO - Buffered messages logged at 09:51:30
[task 2023-10-19T09:51:36.871Z] 09:51:36     INFO - Entering test bound render_below_search_snippet
[task 2023-10-19T09:51:36.871Z] 09:51:36     INFO - Buffered messages finished
[task 2023-10-19T09:51:36.872Z] 09:51:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_snippets.js | Uncaught exception in test bound render_below_search_snippet - Should find the snippet inside the below search container - timed out after 50 tries.
[task 2023-10-19T09:51:36.872Z] 09:51:36     INFO - Leaving test bound render_below_search_snippet
[task 2023-10-19T09:51:36.873Z] 09:51:36     INFO - Entering test bound render_snippets_icon_and_link
```