Bug: Intermittent browser/components/asrouter/tests/browser/browser_asrouter_toolbarbadge.js | single tracking bug
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-03-01 16:37:17+00:00
Resolved: 2024-03-02 17:32:03+00:00

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

---
```
[task 2024-03-01T15:59:49.675Z] 15:59:49     INFO - TEST-PASS | browser/components/asrouter/tests/browser/browser_asrouter_toolbarbadge.js | FxA test message exists - {"id":"FXA_ACCOUNTS_BADGE","template":"toolbar_badge","content":{"delay":10000,"target":"fxa-toolbar-menu-button"},"targeting":"false","trigger":{"id":"toolbarBadgeUpdate"}} == true - 
[task 2024-03-01T15:59:49.675Z] 15:59:49     INFO - Buffered messages logged at 15:59:47
[task 2024-03-01T15:59:49.675Z] 15:59:49     INFO - Console message: [JavaScript Error: "Error: The ExtensionSettingsStore was accessed before the initialize promise resolved." {file: "resource://gre/modules/ExtensionSettingsStore.sys.mjs" line: 113}]
[task 2024-03-01T15:59:49.675Z] 15:59:49     INFO - ensureType@resource://gre/modules/ExtensionSettingsStore.sys.mjs:113:11
[task 2024-03-01T15:59:49.675Z] 15:59:49     INFO - getAllItems@resource://gre/modules/ExtensionSettingsStore.sys.mjs:188:13
[task 2024-03-01T15:59:49.675Z] 15:59:49     INFO - getAllSettings@resource://gre/modules/ExtensionSettingsStore.sys.mjs:571:12
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - _updateMenuInterface@chrome://browser/content/preferences/home.js:164:57
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - init@chrome://browser/content/preferences/home.js:676:10
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - init@chrome://browser/content/preferences/preferences.js:182:22
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - initializeCategories@chrome://browser/content/preferences/findInPage.js:109:18
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - init/</<@chrome://browser/content/preferences/findInPage.js:58:47
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - requestIdleCallback handler*init/<@chrome://browser/content/preferences/findInPage.js:58:16
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - EventListener.handleEvent*init@chrome://browser/content/preferences/findInPage.js:55:14
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - init_all@chrome://browser/content/preferences/preferences.js:233:22
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - EventListener.handleEvent*@chrome://browser/content/preferences/preferences.js:192:10
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - 
[task 2024-03-01T15:59:49.676Z] 15:59:49     INFO - Buffered messages finished
[task 2024-03-01T15:59:49.683Z] 15:59:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/asrouter/tests/browser/browser_asrouter_toolbarbadge.js | A promise chain failed to handle a rejection: The ExtensionSettingsStore was accessed before the initialize promise resolved. - stack: ensureType@resource://gre/modules/ExtensionSettingsStore.sys.mjs:113:11
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - getAllItems@resource://gre/modules/ExtensionSettingsStore.sys.mjs:188:13
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - getAllSettings@resource://gre/modules/ExtensionSettingsStore.sys.mjs:571:12
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - _updateMenuInterface@chrome://browser/content/preferences/home.js:164:57
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - init@chrome://browser/content/preferences/home.js:676:10
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - init@chrome://browser/content/preferences/preferences.js:182:22
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - initializeCategories@chrome://browser/content/preferences/findInPage.js:109:18
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - init/</<@chrome://browser/content/preferences/findInPage.js:58:47
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - requestIdleCallback handler*init/<@chrome://browser/content/preferences/findInPage.js:58:16
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - EventListener.handleEvent*init@chrome://browser/content/preferences/findInPage.js:55:14
[task 2024-03-01T15:59:49.684Z] 15:59:49     INFO - init_all@chrome://browser/content/preferences/preferences.js:233:22
[task 2024-03-01T15:59:49.685Z] 15:59:49     INFO - EventListener.handleEvent*@chrome://browser/content/preferences/preferences.js:192:10
<...>
[task 2024-03-01T15:59:49.685Z] 15:59:49     INFO - Stack trace:
[task 2024-03-01T15:59:49.685Z] 15:59:49     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-03-01T15:59:49.685Z] 15:59:49     INFO - chrome://mochikit/content/browser-test.js:handleTask:1167
[task 2024-03-01T15:59:49.685Z] 15:59:49     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-03-01T15:59:49.686Z] 15:59:49     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-03-01T15:59:49.686Z] 15:59:49     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-03-01T15:59:49.686Z] 15:59:49     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-03-01T15:59:49.686Z] 15:59:49     INFO - Leaving test bound test_fxa_badge_shown_withdelay
[task 2024-03-01T15:59:49.687Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.688Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.688Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.689Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.690Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.691Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.692Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.692Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-03-01T15:59:49.693Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h:95
[task 2024-03-01T15:59:49.855Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 40 (7f30d68dd800) [pid = 1818] [serial = 19] [outer = 0] [url = about:blank]
[task 2024-03-01T15:59:49.855Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 39 (7f30d68a1c00) [pid = 1818] [serial = 17] [outer = 0] [url = about:blank]
[task 2024-03-01T15:59:49.856Z] 15:59:49     INFO - GECKO(1818) | [Parent 1818: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 38 (7f30df047000) [pid = 1818] [serial = 15] [outer = 0] [url = about:config]
[task 2024-03-01T15:59:49.864Z] 15:59:49     INFO - GECKO(1818) | MEMORY STAT | vsize 11789MB | residentFast 671MB | heapAllocated 339MB
[task 2024-03-01T15:59:49.865Z] 15:59:49     INFO - TEST-OK | browser/components/asrouter/tests/browser/browser_asrouter_toolbarbadge.js | took 4727ms
[task 2024-03-01T15:59:49.879Z] 15:59:49     INFO - GECKO(1818) | [Child 1990: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f1b5898b000 == 3 [pid = 1990] [id = 10]
[task 2024-03-01T15:59:49.879Z] 15:59:49     INFO - GECKO(1818) | [Child 1990: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (7f1b580a23e0) [pid = 1990] [serial = 25] [outer = 0]
[task 2024-03-01T15:59:49.879Z] 15:59:49     INFO - GECKO(1818) | [Child 1990: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (7f1b5898b400) [pid = 1990] [serial = 26] [outer = 7f1b580a23e0]
[task 2024-03-01T15:59:49.880Z] 15:59:49     INFO - GECKO(1818) | [Child 1939: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f6257c72000) [pid = 1939] [serial = 13] [outer = 0] [url = about:blank]
[task 2024-03-01T15:59:49.880Z] 15:59:49     INFO - GECKO(1818) | [Child 1939: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f6257c75400) [pid = 1939] [serial = 11] [outer = 0] [url = about:blank]
[task 2024-03-01T15:59:49.882Z] 15:59:49     INFO - GECKO(1818) | [Child 1939: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f6257c71c00 == 1 [pid = 1939] [id = 5] [url = about:blank]
[task 2024-03-01T15:59:49.902Z] 15:59:49     INFO - checking window state
[task 2024-03-01T15:59:49.930Z] 15:59:49     INFO - GECKO(1818) | [Child 1939: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f6256c0f020) [pid = 1939] [serial = 14] [outer = 0] [url = about:blank]
[task 2024-03-01T15:59:49.932Z] 15:59:49     INFO - TEST-START | browser/components/asrouter/tests/browser/browser_feature_callout_in_chrome.js
```