Bug: Intermittent services/sync/tests/unit/test_extension_storage_engine_kinto.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-07-24 18:39:32+00:00
Resolved: 2025-03-03 07:07:49+00:00

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

---
```
[task 2024-07-24T17:25:55.405Z] 17:25:55     INFO -  TEST-START | services/sync/tests/unit/test_extension_storage_engine_kinto.js
[task 2024-07-24T17:25:57.222Z] 17:25:57  WARNING -  TEST-UNEXPECTED-FAIL | services/sync/tests/unit/test_extension_storage_engine_kinto.js | xpcshell return code: 2147483651
[task 2024-07-24T17:25:57.229Z] 17:25:57     INFO -  TEST-INFO took 1817ms
[task 2024-07-24T17:25:57.229Z] 17:25:57     INFO -  >>>>>>>
[task 2024-07-24T17:25:57.229Z] 17:25:57     INFO -  PID 5544 | [Parent 6932, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:148
[task 2024-07-24T17:25:57.229Z] 17:25:57     INFO -  PID 5544 | [Parent 6932, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:148
[task 2024-07-24T17:25:57.230Z] 17:25:57     INFO -  PID 5544 | [Parent 6932, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2898
[task 2024-07-24T17:25:57.230Z] 17:25:57     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-07-24T17:25:57.230Z] 17:25:57     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-07-24T17:25:57.231Z] 17:25:57     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-07-24T17:25:57.231Z] 17:25:57     INFO -  running event loop
[task 2024-07-24T17:25:57.231Z] 17:25:57     INFO -  services/sync/tests/unit/test_extension_storage_engine_kinto.js | Starting setup head_setup
[task 2024-07-24T17:25:57.231Z] 17:25:57     INFO -  (xpcshell/head.js) | test head_setup pending (2)
[task 2024-07-24T17:25:57.232Z] 17:25:57     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-07-24T17:25:57.232Z] 17:25:57     INFO -  PID 5544 | 1721841956181	Sync.Engine.Addons	DEBUG	SyncEngine initialized: addons
[task 2024-07-24T17:25:57.232Z] 17:25:57     INFO -  PID 5544 | 1721841956182	Sync.AddonsReconciler	TRACE	Loading json from disk: C:\\Users\\task_172184095902562\\AppData\\Local\\Temp\\xpc-profile-680ssccc\\weave\\addonsreconciler.json
[task 2024-07-24T17:25:57.233Z] 17:25:57     INFO -  PID 5544 | 1721841956183	Sync.AddonsReconciler	DEBUG	No data seen in loaded file: addonsreconciler
[task 2024-07-24T17:25:57.233Z] 17:25:57     INFO -  PID 5544 | 1721841956193	Sync.Engine.Passwords	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.233Z] 17:25:57     INFO -  PID 5544 | 1721841956195	Sync.Engine.Passwords	DEBUG	SyncEngine initialized: passwords
[task 2024-07-24T17:25:57.233Z] 17:25:57     INFO -  PID 5544 | 1721841956200	Sync.Engine.Prefs	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.233Z] 17:25:57     INFO -  PID 5544 | 1721841956202	Sync.Engine.Prefs	DEBUG	SyncEngine initialized: prefs
[task 2024-07-24T17:25:57.234Z] 17:25:57     INFO -  PID 5544 | 1721841956208	Sync.Engine.Bookmarks	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.234Z] 17:25:57     INFO -  PID 5544 | 1721841956211	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
[task 2024-07-24T17:25:57.235Z] 17:25:57     INFO -  PID 5544 | 1721841956215	Sync.Engine.Forms	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.235Z] 17:25:57     INFO -  PID 5544 | 1721841956217	Sync.Engine.Forms	DEBUG	SyncEngine initialized: forms
[task 2024-07-24T17:25:57.235Z] 17:25:57     INFO -  PID 5544 | 1721841956222	Sync.Engine.History	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.235Z] 17:25:57     INFO -  PID 5544 | 1721841956224	Sync.Engine.History	DEBUG	SyncEngine initialized: history
[task 2024-07-24T17:25:57.236Z] 17:25:57     INFO -  PID 5544 | 1721841956229	Sync.Engine.Tabs	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.236Z] 17:25:57     INFO -  PID 5544 | 1721841956230	Sync.Engine.Tabs	DEBUG	SyncEngine initialized: tabs
[task 2024-07-24T17:25:57.236Z] 17:25:57     INFO -  PID 5544 | 1721841956243	Sync.Engine.Tabs	INFO	Got a bridged engine!
[task 2024-07-24T17:25:57.236Z] 17:25:57     INFO -  PID 5544 | 1721841956247	Sync.Engine.CreditCards	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.237Z] 17:25:57     INFO -  PID 5544 | 1721841956249	Sync.Engine.CreditCards	DEBUG	SyncEngine initialized: creditcards
[task 2024-07-24T17:25:57.237Z] 17:25:57     INFO -  PID 5544 | 1721841956250	Sync.Engine.Extension-Storage	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.237Z] 17:25:57     INFO -  PID 5544 | 1721841956252	Sync.Engine.Extension-Storage	DEBUG	SyncEngine initialized: extension-storage
[task 2024-07-24T17:25:57.237Z] 17:25:57     INFO -  PID 5544 | 1721841956253	Sync.Service	INFO	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 XPCShell/1
[task 2024-07-24T17:25:57.238Z] 17:25:57     INFO -  PID 5544 | 1721841956277	Sync.Status	DEBUG	Status.login: error.login.reason.no_username => error.login.reason.no_username
[task 2024-07-24T17:25:57.238Z] 17:25:57     INFO -  PID 5544 | 1721841956277	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2024-07-24T17:25:57.238Z] 17:25:57     INFO -  PID 5544 | 1721841956277	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2024-07-24T17:25:57.238Z] 17:25:57     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-07-24T17:25:57.239Z] 17:25:57     INFO -  (xpcshell/head.js) | test head_setup finished (2)
[task 2024-07-24T17:25:57.239Z] 17:25:57     INFO -  PID 5544 | 1721841956282	Sync.Telemetry	TRACE	observed weave:service:ready null
[task 2024-07-24T17:25:57.239Z] 17:25:57     INFO -  PID 5544 | 1721841956287	Sync.Telemetry	TRACE	Not sending telemetry ping for self-hosted Sync user
[task 2024-07-24T17:25:57.240Z] 17:25:57     INFO -  services/sync/tests/unit/test_extension_storage_engine_kinto.js | Starting setup
[task 2024-07-24T17:25:57.240Z] 17:25:57     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2024-07-24T17:25:57.241Z] 17:25:57     INFO -  PID 5544 | 1721841956289	Sync.Engine.Extension-Storage	DEBUG	Engine constructed
[task 2024-07-24T17:25:57.241Z] 17:25:57     INFO -  PID 5544 | 1721841956292	Sync.EngineManager	ERROR	Engine 'extension-storage' is already registered!
[task 2024-07-24T17:25:57.241Z] 17:25:57     INFO -  PID 5544 | 1721841956292	Sync.EngineManager	ERROR	Engine 'extension-storage' is already registered!
[task 2024-07-24T17:25:57.241Z] 17:25:57     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-07-24T17:25:57.242Z] 17:25:57     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2024-07-24T17:25:57.242Z] 17:25:57     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2024-07-24T17:25:57.242Z] 17:25:57     INFO -  services/sync/tests/unit/test_extension_storage_engine_kinto.js | Starting test_calling_sync_calls__sync
[task 2024-07-24T17:25:57.242Z] 17:25:57     INFO -  (xpcshell/head.js) | test test_calling_sync_calls__sync pending (2)
[task 2024-07-24T17:25:57.243Z] 17:25:57     INFO -  PID 5544 | 1721841956315	Sync.Engine.Extension-Storage	TRACE	Event: weave:engine:sync:start
[task 2024-07-24T17:25:57.243Z] 17:25:57     INFO -  PID 5544 | 1721841956315	Sync.Telemetry	TRACE	observed weave:engine:sync:start extension-storage
[task 2024-07-24T17:25:57.243Z] 17:25:57     INFO -  PID 5544 | 1721841956315	Sync.Telemetry	INFO	Observed notification weave:engine:sync:start but no current sync is being recorded.
[task 2024-07-24T17:25:57.243Z] 17:25:57     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2024-07-24T17:25:57.244Z] 17:25:57     INFO -  PID 5544 | 1721841956316	Sync.Engine.Extension-Storage	TRACE	Event: weave:engine:sync:finish
[task 2024-07-24T17:25:57.244Z] 17:25:57     INFO -  PID 5544 | 1721841956316	Sync.SyncScheduler	TRACE	Handling weave:engine:sync:finish
[task 2024-07-24T17:25:57.244Z] 17:25:57     INFO -  PID 5544 | 1721841956317	Sync.Telemetry	TRACE	observed weave:engine:sync:finish extension-storage
[task 2024-07-24T17:25:57.245Z] 17:25:57     INFO -  PID 5544 | 1721841956317	Sync.Telemetry	INFO	Observed notification weave:engine:sync:finish but no current sync is being recorded.
[task 2024-07-24T17:25:57.245Z] 17:25:57     INFO -  TEST-PASS | services/sync/tests/unit/test_extension_storage_engine_kinto.js | test_calling_sync_calls__sync - [test_calling_sync_calls__sync : 66] 1 == 1
```