Bug: Intermittent  multiple storage failures
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-12-17 07:31:55+00:00
Resolved: 2020-12-21 06:24:53+00:00

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

---
```
[task 2020-12-17T06:40:06.310Z] 06:40:06     INFO -  TEST-START | services/sync/tests/unit/test_extension_storage_migration_telem.js
[task 2020-12-17T06:40:07.332Z] 06:40:07  WARNING -  TEST-UNEXPECTED-FAIL | services/sync/tests/unit/test_extension_storage_migration_telem.js | xpcshell return code: 0
[task 2020-12-17T06:40:07.334Z] 06:40:07     INFO -  TEST-INFO took 1021ms
[task 2020-12-17T06:40:07.335Z] 06:40:07     INFO -  >>>>>>>
[task 2020-12-17T06:40:07.336Z] 06:40:07     INFO -  PID 18471 | [Parent 18471, 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:2916
[task 2020-12-17T06:40:07.337Z] 06:40:07     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-12-17T06:40:07.338Z] 06:40:07     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-12-17T06:40:07.339Z] 06:40:07     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-12-17T06:40:07.340Z] 06:40:07     INFO -  running event loop
[task 2020-12-17T06:40:07.341Z] 06:40:07     INFO -  services/sync/tests/unit/test_extension_storage_migration_telem.js | Starting head_setup
[task 2020-12-17T06:40:07.342Z] 06:40:07     INFO -  (xpcshell/head.js) | test head_setup pending (2)
[task 2020-12-17T06:40:07.343Z] 06:40:07     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-12-17T06:40:07.344Z] 06:40:07     INFO -  PID 18471 | 1608187206882	Sync.Engine.Addons	DEBUG	SyncEngine initialized: addons
[task 2020-12-17T06:40:07.347Z] 06:40:07     INFO -  PID 18471 | 1608187206883	Sync.AddonsReconciler	TRACE	Loading json from disk: addonsreconciler
[task 2020-12-17T06:40:07.350Z] 06:40:07     INFO -  PID 18471 | 1608187206883	Sync.AddonsReconciler	DEBUG	No data seen in loaded file: addonsreconciler
[task 2020-12-17T06:40:07.353Z] 06:40:07     INFO -  PID 18471 | 1608187206889	Sync.Engine.Bookmarks	DEBUG	Engine constructed
[task 2020-12-17T06:40:07.356Z] 06:40:07     INFO -  PID 18471 | 1608187206892	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
[task 2020-12-17T06:40:07.356Z] 06:40:07     INFO -  PID 18471 | 1608187206895	Sync.Engine.Forms	DEBUG	Engine constructed
[task 2020-12-17T06:40:07.356Z] 06:40:07     INFO -  PID 18471 | 1608187206898	Sync.Engine.Forms	DEBUG	SyncEngine initialized: forms
[task 2020-12-17T06:40:07.366Z] 06:40:07     INFO -  PID 18471 | 1608187206902	Sync.Engine.History	DEBUG	Engine constructed
[task 2020-12-17T06:40:07.366Z] 06:40:07     INFO -  PID 18471 | 1608187206904	Sync.Engine.History	DEBUG	SyncEngine initialized: history
[task 2020-12-17T06:40:07.366Z] 06:40:07     INFO -  PID 18471 | 1608187206908	Sync.Engine.Passwords	DEBUG	Engine constructed
[task 2020-12-17T06:40:07.366Z] 06:40:07     INFO -  PID 18471 | 1608187206910	Sync.Engine.Passwords	DEBUG	SyncEngine initialized: passwords
[task 2020-12-17T06:40:07.366Z] 06:40:07     INFO -  PID 18471 | 1608187206913	Sync.Engine.Prefs	DEBUG	Engine constructed
[task 2020-12-17T06:40:07.366Z] 06:40:07     INFO -  PID 18471 | 1608187206916	Sync.Engine.Prefs	DEBUG	SyncEngine initialized: prefs
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | 1608187206919	Sync.Engine.Tabs	DEBUG	Engine constructed
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | 1608187206921	Sync.Engine.Tabs	DEBUG	SyncEngine initialized: tabs
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | 1608187206921	Sync.Engine.Tabs	DEBUG	Resetting tabs last sync time
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | [Parent 18471, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/startupcache/StartupCacheUtils.cpp:153
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | 1608187206922	Sync.Service	WARN	Could not register engine CreditCards: [Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource://services-sync/service.js :: _registerEngines :: line 466"  data: no] Stack trace: _registerEngines()@resource://services-sync/service.js:466
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | _do_main()@/builds/worker/workspace/build/tests/xpcshell/head.js:239
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | _execute_test()@/builds/worker/workspace/build/tests/xpcshell/head.js:568
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | -e:1
[task 2020-12-17T06:40:07.367Z] 06:40:07     INFO -  PID 18471 | 1608187206926	Sync.Engine.Extension-Storage	DEBUG	Engine constructed
[task 2020-12-17T06:40:07.368Z] 06:40:07     INFO -  PID 18471 | 1608187206928	Sync.Engine.Extension-Storage	DEBUG	SyncEngine initialized: extension-storage
[task 2020-12-17T06:40:07.368Z] 06:40:07     INFO -  PID 18471 | 1608187206928	Sync.Service	INFO	Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 XPCShell/1
[task 2020-12-17T06:40:07.368Z] 06:40:07     INFO -  PID 18471 | 1608187206963	Sync.Status	DEBUG	Status.login: error.login.reason.no_username => error.login.reason.no_username
[task 2020-12-17T06:40:07.368Z] 06:40:07     INFO -  PID 18471 | 1608187206963	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-12-17T06:40:07.368Z] 06:40:07     INFO -  PID 18471 | 1608187206963	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-12-17T06:40:07.368Z] 06:40:07     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-12-17T06:40:07.368Z] 06:40:07     INFO -  (xpcshell/head.js) | test head_setup finished (2)
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  PID 18471 | 1608187206967	Sync.SyncScheduler	TRACE	Handling weave:service:ready
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  PID 18471 | 1608187206967	Sync.Telemetry	TRACE	observed weave:service:ready null
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  PID 18471 | 1608187206970	Sync.Telemetry	TRACE	Not sending telemetry ping for self-hosted Sync user
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  services/sync/tests/unit/test_extension_storage_migration_telem.js | Starting test_sync_migration_telem
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  (xpcshell/head.js) | test test_sync_migration_telem pending (2)
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  Unexpected exception TypeError: PathUtils.joinRelative is not a function at resource://gre/modules/Sqlite.jsm:1038
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  openConnection@resource://gre/modules/Sqlite.jsm:1038:22
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  openConnection@resource://services-common/kinto-storage-adapter.js:264:31
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  storageSyncInit@resource://gre/modules/ExtensionStorageSyncKinto.jsm:345:46
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  openCollection@resource://gre/modules/ExtensionStorageSyncKinto.jsm:726:27
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  getCollection@resource://gre/modules/ExtensionStorageSyncKinto.jsm:1213:12
[task 2020-12-17T06:40:07.369Z] 06:40:07     INFO -  set@resource://gre/modules/ExtensionStorageSyncKinto.jsm:1217:29
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  test_sync_migration_telem@/builds/worker/workspace/build/tests/xpcshell/tests/services/sync/tests/unit/test_extension_storage_migration_telem.js:33:19
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  _run_next_test/<@/builds/worker/workspace/build/tests/xpcshell/head.js:1621:22
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  _run_next_test@/builds/worker/workspace/build/tests/xpcshell/head.js:1621:38
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  run@/builds/worker/workspace/build/tests/xpcshell/head.js:768:9
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:239:6
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:568:5
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  @-e:1:1
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  exiting test
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "PathUtils.joinRelative is not a function" {file: "resource://gre/modules/Sqlite.jsm" line: 1038}]
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  openConnection@resource://gre/modules/Sqlite.jsm:1038:22
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  openConnection@resource://services-common/kinto-storage-adapter.js:264:31
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  storageSyncInit@resource://gre/modules/ExtensionStorageSyncKinto.jsm:345:46
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  openCollection@resource://gre/modules/ExtensionStorageSyncKinto.jsm:726:27
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  getCollection@resource://gre/modules/ExtensionStorageSyncKinto.jsm:1213:12
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  set@resource://gre/modules/ExtensionStorageSyncKinto.jsm:1217:29
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  test_sync_migration_telem@/builds/worker/workspace/build/tests/xpcshell/tests/services/sync/tests/unit/test_extension_storage_migration_telem.js:33:19
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  _run_next_test/<@/builds/worker/workspace/build/tests/xpcshell/head.js:1621:22
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  _run_next_test@/builds/worker/workspace/build/tests/xpcshell/head.js:1621:38
[task 2020-12-17T06:40:07.370Z] 06:40:07     INFO -  run@/builds/worker/workspace/build/tests/xpcshell/head.js:768:9
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:239:6
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:568:5
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  @-e:1:1
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  "
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  PID 18471 | 1608187207010	Sync.SyncScheduler	TRACE	Handling network:offline-status-changed
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  PID 18471 | 1608187207010	Sync.SyncScheduler	TRACE	Network offline status change: offline
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  PID 18471 | 1608187207010	Sync.SyncScheduler	TRACE	_checkSync returned "Sync is not configured".
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  PID 18471 | 1608187207010	Sync.SyncScheduler	DEBUG	Clearing sync triggers and the global score.
[task 2020-12-17T06:40:07.371Z] 06:40:07     INFO -  PID 18471 | 1608187207016	Sync.Engine.Prefs.Tracker	TRACE	stop().
[task 2020-12-17T06:40:07.372Z] 06:40:07     INFO -  PID 18471 | [Parent 18471, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3364
[task 2020-12-17T06:40:07.372Z] 06:40:07     INFO -  PID 18471 | [Parent 18471, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:3362
[task 2020-12-17T06:40:07.372Z] 06:40:07     INFO -  PID 18471 | [Parent 18471, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4378
[task 2020-12-17T06:40:07.372Z] 06:40:07     INFO -  PID 18471 | [Parent 18471, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:202
[task 2020-12-17T06:40:07.372Z] 06:40:07     INFO -  PID 18471 | [Parent 18471, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:202
[task 2020-12-17T06:40:07.372Z] 06:40:07     INFO -  <<<<<<<```