Bug: Intermittent services/sync/tests/unit/test_prefs_store.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-02-02 17:40:22+00:00
Resolved: 2024-02-26 12:02:35+00:00

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

---
```
[task 2024-02-02T17:09:18.673Z] 17:09:18     INFO -  TEST-PASS | services/sync/tests/unit/test_prefs_store.js | test_outgoing_when_changed - [test_outgoing_when_changed : 382] true === true
[task 2024-02-02T17:09:18.673Z] 17:09:18     INFO -  (xpcshell/head.js) | test run_next_test 5 pending (2)
[task 2024-02-02T17:09:18.673Z] 17:09:18     INFO -  (xpcshell/head.js) | test test_outgoing_when_changed finished (2)
[task 2024-02-02T17:09:18.673Z] 17:09:18     INFO -  (xpcshell/head.js) | test run_next_test 5 finished (1)
[task 2024-02-02T17:09:18.674Z] 17:09:18     INFO -  exiting test
[task 2024-02-02T17:09:18.674Z] 17:09:18     INFO -  "Force a GC"
[task 2024-02-02T17:09:18.674Z] 17:09:18     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Error: Unable to arm timer, the object has been finalized." {file: "resource://gre/modules/DeferredTask.sys.mjs" line: 215}]"
[task 2024-02-02T17:09:18.674Z] 17:09:18     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Error: Unable to arm timer, the object has been finalized." {file: "resource://gre/modules/DeferredTask.sys.mjs" line: 215}]"
[task 2024-02-02T17:09:18.675Z] 17:09:18     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Error: Phase "IOUtils: waiting for profileBeforeChange IO to complete" is finished, it is too late to register completion condition "Flush WebExtension StartupCache"" {file: "resource://gre/modules/AsyncShutdown.sys.mjs" line: 719}]"
[task 2024-02-02T17:09:18.675Z] 17:09:18     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "IndexedDB UnknownErr: ActorsParent.cpp:14980"]"
[task 2024-02-02T17:09:18.675Z] 17:09:18  WARNING -  TEST-UNEXPECTED-FAIL | services/sync/tests/unit/test_prefs_store.js | test_outgoing_when_changed - [test_outgoing_when_changed : 266] A promise chain failed to handle a rejection: Phase "IOUtils: waiting for profileBeforeChange IO to complete" is finished, it is too late to register completion condition "Flush WebExtension StartupCache" - stack: addBlocker@resource://gre/modules/AsyncShutdown.sys.mjs:719:15
[task 2024-02-02T17:09:18.676Z] 17:09:18     INFO -  save@resource://gre/modules/ExtensionParent.sys.mjs:2160:35
[task 2024-02-02T17:09:18.676Z] 17:09:18     INFO -  set@resource://gre/modules/ExtensionParent.sys.mjs:2099:18
[task 2024-02-02T17:09:18.676Z] 17:09:18     INFO -  _execute_test@Z:\\task_170689171842543\\build\\tests\\xpcshell\\head.js:710:23
[task 2024-02-02T17:09:18.676Z] 17:09:18     INFO -  @-e:1:1
[task 2024-02-02T17:09:18.677Z] 17:09:18     INFO -  Rejection date: Fri Feb 02 2024 17:09:16 GMT+0000 (Coordinated Universal Time) - false == true
[task 2024-02-02T17:09:18.677Z] 17:09:18     INFO -  resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-02-02T17:09:18.677Z] 17:09:18     INFO -  Z:\task_170689171842543\build\tests\xpcshell\head.js:_execute_test:722
[task 2024-02-02T17:09:18.677Z] 17:09:18     INFO -  -e:null:1
[task 2024-02-02T17:09:18.678Z] 17:09:18     INFO -  exiting test
[task 2024-02-02T17:09:18.678Z] 17:09:18     INFO -  <<<<<<<
[task 2024-02-02T17:09:18.678Z] 17:09:18     INFO -  TEST-START | toolkit/mozapps/update/tests/unit_aus_update/cleanupSuccessLogsFIFO.js
[task 2024-02-02T17:09:32.678Z] 17:09:32     INFO -  TEST-PASS | toolkit/mozapps/update/tests/unit_aus_update/cleanupSuccessLogsFIFO.js | took 14000ms
```