Bug: Intermittent browser/components/newtab/test/xpcshell/test_AboutHomeStartupCacheWorker.js | setup - [setup : 282] A promise chain failed to handle a rejection: The ExtensionSettingsStore was accessed before the initialize promise resolved. - stack: ensu
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-03-01 15:47:12+00:00
Resolved: 2022-07-25 22:52:58+00:00

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

---
```
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  PID 8948 | JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 718: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "IOUtils Blocker"
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Error: Phase "profile-before-change" is finished, it is too late to register completion condition "IOUtils Blocker"" {file: "resource://gre/modules/AsyncShutdown.jsm" line: 718}]
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  addBlocker@resource://gre/modules/AsyncShutdown.jsm:718:15
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  addBlocker@resource://gre/modules/AsyncShutdown.jsm:526:26
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  addBlocker@resource://gre/modules/AsyncShutdown.jsm:465:15
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  addBlocker@resource://gre/modules/nsAsyncShutdown.jsm:162:24
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  DS_load/<@resource://gre/modules/DownloadStore.jsm:93:31
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  DS_load@resource://gre/modules/DownloadStore.jsm:129:7
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  loadPublicDownloadListFromStore@resource://gre/modules/DownloadIntegration.jsm:266:25
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  _execute_test@Z:\\task_1614610533\\build\\tests\\xpcshell\\head.js:668:19
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  @-e:1:1
[task 2021-03-01T15:10:00.247Z] 15:10:00     INFO -  "
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  PID 8948 | JavaScript error: resource://gre/modules/ExtensionSettingsStore.jsm, line 122: Error: The ExtensionSettingsStore was accessed before the initialize promise resolved.
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Phase "profile-before-change" is finished, it is too late to register completion condition "DownloadAutoSaveView: writing data"" {file: "resource://gre/modules/AsyncShutdown.jsm" line: 718}]
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  addBlocker@resource://gre/modules/AsyncShutdown.jsm:718:15
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  addBlocker@resource://gre/modules/AsyncShutdown.jsm:526:26
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  addBlocker@resource://gre/modules/AsyncShutdown.jsm:465:15
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  DownloadAutoSaveView@resource://gre/modules/DownloadIntegration.jsm:1281:37
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  loadPublicDownloadListFromStore@resource://gre/modules/DownloadIntegration.jsm:276:11
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  _execute_test@Z:\\task_1614610533\\build\\tests\\xpcshell\\head.js:668:19
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  @-e:1:1
[task 2021-03-01T15:10:00.248Z] 15:10:00     INFO -  "
[task 2021-03-01T15:10:00.248Z] 15:10:00  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/newtab/test/xpcshell/test_AboutHomeStartupCacheWorker.js | setup - [setup : 282] A promise chain failed to handle a rejection: The ExtensionSettingsStore was accessed before the initialize promise resolved. - stack: ensureType@resource://gre/modules/ExtensionSettingsStore.jsm:122:11```