Bug: Intermittent browser/components/newtab/test/browser/browser_asrouter_cfr.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-20 05:55:30+00:00
Resolved: 2024-04-27 00:57:35+00:00

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

---
```
[task 2022-05-20T05:29:22.869Z] 05:29:22     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_cfr.js
[task 2022-05-20T05:29:23.094Z] 05:29:23     INFO - GECKO(1619) | [Child 1875: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f8c81534800 == 1 [pid = 1875] [id = 0]
[task 2022-05-20T05:29:23.095Z] 05:29:23     INFO - GECKO(1619) | [Child 1875: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f8c9c495bc0) [pid = 1875] [serial = 1] [outer = 0]
[task 2022-05-20T05:29:23.097Z] 05:29:23     INFO - GECKO(1619) | [Child 1875: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f8c81535000) [pid = 1875] [serial = 2] [outer = 7f8c9c495bc0]
[task 2022-05-20T05:29:23.652Z] 05:29:23     INFO - GECKO(1619) | [Child 1875: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f8c81537800) [pid = 1875] [serial = 3] [outer = 7f8c9c495bc0]
[task 2022-05-20T05:29:24.054Z] 05:29:24     INFO - GECKO(1619) | JavaScript error: , line 0: InvalidStateError: [fluent] Missing message in locale en-US: cfr-doorhanger-extension-author
[task 2022-05-20T05:29:24.137Z] 05:29:24     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 34 (7fe9ab446180) [pid = 1775] [serial = 114] [outer = 0] [url = about:welcome]
[task 2022-05-20T05:29:24.138Z] 05:29:24     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 33 (7fe9ab445300) [pid = 1775] [serial = 119] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:24.138Z] 05:29:24     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 32 (7fe9ab444820) [pid = 1775] [serial = 117] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:24.138Z] 05:29:24     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 31 (7fe9ab446350) [pid = 1775] [serial = 45] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:24.233Z] 05:29:24     INFO - GECKO(1619) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp_x_f7ldj.mozrunner/runtests_leaks_tab_pid1980.log
[task 2022-05-20T05:29:24.234Z] 05:29:24     INFO - GECKO(1619) | [1980, 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-05-20T05:29:24.334Z] 05:29:24     INFO - GECKO(1619) | [Child 1980, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:693
[task 2022-05-20T05:29:25.747Z] 05:29:25     INFO - GECKO(1619) | [Child 1779: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f67a0a34c00 == 1 [pid = 1779] [id = 4] [url = about:blank]
[task 2022-05-20T05:29:25.748Z] 05:29:25     INFO - GECKO(1619) | [Child 1779: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f67a0a37000) [pid = 1779] [serial = 8] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:25.749Z] 05:29:25     INFO - GECKO(1619) | [Child 1779: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f67a0a36400 == 0 [pid = 1779] [id = 5] [url = about:blank]
[task 2022-05-20T05:29:25.776Z] 05:29:25     INFO - GECKO(1619) | [Child 1779: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f67bb996130) [pid = 1779] [serial = 11] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:25.777Z] 05:29:25     INFO - GECKO(1619) | [Child 1779: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f67bb9959f0) [pid = 1779] [serial = 9] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.303Z] 05:29:26     INFO - GECKO(1619) | [Child 1747: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f7ba2215400) [pid = 1747] [serial = 12] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.318Z] 05:29:26     INFO - GECKO(1619) | [Child 1747: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f7ba2212800 == 0 [pid = 1747] [id = 5] [url = about:blank]
[task 2022-05-20T05:29:26.843Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fe9a7dbb800 == 5 [pid = 1775] [id = 44] [url = about:newtab]
[task 2022-05-20T05:29:26.844Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fe9a70a1c00 == 4 [pid = 1775] [id = 45] [url = about:newtab]
[task 2022-05-20T05:29:26.845Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fe9a7db9000 == 3 [pid = 1775] [id = 46] [url = about:newtab]
[task 2022-05-20T05:29:26.845Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fe9a7db8000 == 2 [pid = 1775] [id = 43] [url = about:newtab]
[task 2022-05-20T05:29:26.845Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fe9a70a9400 == 1 [pid = 1775] [id = 42] [url = about:newtab]
[task 2022-05-20T05:29:26.845Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 30 (7fe9a7c94000) [pid = 1775] [serial = 130] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.847Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 29 (7fe9a70a3400) [pid = 1775] [serial = 120] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.847Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 28 (7fe9a7c8c400) [pid = 1775] [serial = 115] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.850Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 27 (7fe9a7db4800) [pid = 1775] [serial = 124] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.851Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 26 (7fe9a7c8f400) [pid = 1775] [serial = 116] [outer = 0] [url = about:welcome]
[task 2022-05-20T05:29:26.851Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (7fe9a70a9800) [pid = 1775] [serial = 121] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:26.852Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (7fe9aac95c00) [pid = 1775] [serial = 49] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:26.852Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (7fe9a709ec00) [pid = 1775] [serial = 118] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.852Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (7fe9a70a5400) [pid = 1775] [serial = 127] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:26.852Z] 05:29:26     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (7fe9a7c8cc00) [pid = 1775] [serial = 122] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:27.272Z] 05:29:27     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (7fe9ab4c3650) [pid = 1775] [serial = 132] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:27.273Z] 05:29:27     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (7fe9ab4456a0) [pid = 1775] [serial = 126] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:27.274Z] 05:29:27     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7fe9ab446c60) [pid = 1775] [serial = 123] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:27.275Z] 05:29:27     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7fe9ab4c2d40) [pid = 1775] [serial = 129] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:27.275Z] 05:29:27     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7fe9ab4c3d90) [pid = 1775] [serial = 135] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:27.276Z] 05:29:27     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7fe9ab4c4130) [pid = 1775] [serial = 137] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:27.277Z] 05:29:27     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7fe9ab4c4a40) [pid = 1775] [serial = 141] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:29.851Z] 05:29:29     INFO - GECKO(1619) | [Child 1779: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f67a0a36c00) [pid = 1779] [serial = 10] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:29.852Z] 05:29:29     INFO - GECKO(1619) | [Child 1779: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f67a0a36800) [pid = 1779] [serial = 12] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:30.400Z] 05:29:30     INFO - GECKO(1619) | [Child 1747: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f7bbd1959f0) [pid = 1747] [serial = 13] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:30.968Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7fe9a7dbd400) [pid = 1775] [serial = 145] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:30.971Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7fe9a7c99400) [pid = 1775] [serial = 140] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:30.971Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7fe9a7db9800) [pid = 1775] [serial = 134] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:30.971Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7fe9a7c96800) [pid = 1775] [serial = 131] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:30.971Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7fe9a7dbbc00) [pid = 1775] [serial = 136] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:30.976Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7fe9a7db9c00) [pid = 1775] [serial = 142] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:30.976Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7fe9a70a7000) [pid = 1775] [serial = 128] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:30.976Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7fe9a7dbe000) [pid = 1775] [serial = 143] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:30.976Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7fe9a7c92400) [pid = 1775] [serial = 139] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:30.976Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7fe9a7c8b000) [pid = 1775] [serial = 125] [outer = 0] [url = about:newtab]
[task 2022-05-20T05:29:30.976Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7fe9a7c94400) [pid = 1775] [serial = 133] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:30.976Z] 05:29:30     INFO - GECKO(1619) | [Child 1775: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fe9a70a8c00) [pid = 1775] [serial = 138] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:34.478Z] 05:29:34     INFO - GECKO(1619) | [Child 1747: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f7ba2215000) [pid = 1747] [serial = 14] [outer = 0] [url = about:blank]
[task 2022-05-20T05:29:35.798Z] 05:29:35     INFO - GECKO(1619) | [Child 1875: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f8c81535000) [pid = 1875] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-05-20T05:30:52.883Z] 05:30:52     INFO - TEST-INFO | started process screentopng
[task 2022-05-20T05:30:53.227Z] 05:30:53     INFO - TEST-INFO | screentopng: exit 0
[task 2022-05-20T05:30:53.228Z] 05:30:53     INFO - Buffered messages logged at 05:29:22
[task 2022-05-20T05:30:53.229Z] 05:30:53     INFO - Entering setup bound 
[task 2022-05-20T05:30:53.229Z] 05:30:53     INFO - Leaving setup bound 
[task 2022-05-20T05:30:53.230Z] 05:30:53     INFO - Entering test bound test_cfr_notification_show
[task 2022-05-20T05:30:53.231Z] 05:30:53     INFO - Buffered messages logged at 05:29:23
[task 2022-05-20T05:30:53.232Z] 05:30:53     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/" line: 0}]
[task 2022-05-20T05:30:53.232Z] 05:30:53     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_cfr.js | Should have removed the notification - 0 == 0 - 
[task 2022-05-20T05:30:53.233Z] 05:30:53     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_cfr.js | Should return true if addRecommendation checks were successful - true == true - 
[task 2022-05-20T05:30:53.234Z] 05:30:53     INFO - Buffered messages logged at 05:29:24
[task 2022-05-20T05:30:53.235Z] 05:30:53     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Missing message in locale en-US: cfr-doorhanger-extension-author"]
[task 2022-05-20T05:30:53.235Z] 05:30:53     INFO - Buffered messages finished
[task 2022-05-20T05:30:53.236Z] 05:30:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_cfr.js | Test timed out - 
[task 2022-05-20T05:30:53.237Z] 05:30:53     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_cfr.js | Should have removed the notification - 0 == 0 - 
[task 2022-05-20T05:30:53.237Z] 05:30:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-20T05:30:53.238Z] 05:30:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_cfr.js | Uncaught exception received from previously timed out test - popupshown listener on #notification-popup not removed before the end of test
[task 2022-05-20T05:30:53.239Z] 05:30:53     INFO - Entering test bound test_cfr_notification_show
[task 2022-05-20T05:30:53.240Z] 05:30:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-20T05:30:53.241Z] 05:30:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_cfr.js | A promise chain failed to handle a rejection: [fluent] Missing message in locale en-US: cfr-doorhanger-extension-author - stack: (No stack available.)
[task 2022-05-20T05:30:53.242Z] 05:30:53     INFO - Rejection date: Fri May 20 2022 05:29:24 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-05-20T05:30:53.242Z] 05:30:53     INFO - Stack trace:
[task 2022-05-20T05:30:53.243Z] 05:30:53     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-05-20T05:30:53.244Z] 05:30:53     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-05-20T05:30:53.245Z] 05:30:53     INFO - GECKO(1619) | MEMORY STAT | vsize 3425MB | residentFast 565MB | heapAllocated 268MB
[task 2022-05-20T05:30:53.245Z] 05:30:53     INFO - TEST-OK | browser/components/newtab/test/browser/browser_asrouter_cfr.js | took 90125ms
[task 2022-05-20T05:30:53.246Z] 05:30:53     INFO - GECKO(1619) | [Child 1747: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f7ba2212800 == 1 [pid = 1747] [id = 6]
[task 2022-05-20T05:30:53.247Z] 05:30:53     INFO - GECKO(1619) | [Child 1747: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f7bbd1959f0) [pid = 1747] [serial = 15] [outer = 0]
[task 2022-05-20T05:30:53.247Z] 05:30:53     INFO - GECKO(1619) | [Child 1747: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f7ba2213c00) [pid = 1747] [serial = 16] [outer = 7f7bbd1959f0]
[task 2022-05-20T05:30:53.248Z] 05:30:53     INFO - GECKO(1619) | [Parent 1619, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h:95
[task 2022-05-20T05:30:53.249Z] 05:30:53     INFO - checking window state
[task 2022-05-20T05:30:53.325Z] 05:30:53     INFO - GECKO(1619) | JavaScript error: resource://devtools/client/jsonview/Sniffer.jsm, line 53: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]
[task 2022-05-20T05:30:53.327Z] 05:30:53     INFO - GECKO(1619) | [Parent 1619, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h:95
[task 2022-05-20T05:30:53.344Z] 05:30:53     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_experimentsAPILoader.js
```