Bug: Intermittent TEST-UNEXPECTED-TIMEOUT | services/sync/tests/unit/test_syncengine_sync.js | Test timed out
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-05-23 03:35:12+00:00
Resolved: 2020-06-23 17:05:28+00:00

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

---

[task 2020-05-23T00:02:56.317Z] 00:02:56     INFO -  TEST-START | services/sync/tests/unit/test_syncengine_sync.js
[task 2020-05-23T00:07:56.361Z] 00:07:56  WARNING -  TEST-UNEXPECTED-TIMEOUT | services/sync/tests/unit/test_syncengine_sync.js | Test timed out
[task 2020-05-23T00:07:56.361Z] 00:07:56     INFO -  TEST-INFO took 300023ms
[task 2020-05-23T00:07:56.362Z] 00:07:56     INFO -  >>>>>>>
[task 2020-05-23T00:07:56.362Z] 00:07:56     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-05-23T00:07:56.362Z] 00:07:56     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-05-23T00:07:56.362Z] 00:07:56     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-05-23T00:07:56.363Z] 00:07:56     INFO -  running event loop
[task 2020-05-23T00:07:56.363Z] 00:07:56     INFO -  services/sync/tests/unit/test_syncengine_sync.js | Starting head_setup
[task 2020-05-23T00:07:56.363Z] 00:07:56     INFO -  (xpcshell/head.js) | test head_setup pending (2)
[task 2020-05-23T00:07:56.363Z] 00:07:56     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-05-23T00:07:56.364Z] 00:07:56     INFO -  PID 10256 | 1590192178513	Sync.Engine.Addons	DEBUG	SyncEngine initialized: addons
[task 2020-05-23T00:07:56.364Z] 00:07:56     INFO -  PID 10256 | 1590192178514	Sync.AddonsReconciler	TRACE	Loading json from disk: addonsreconciler
[task 2020-05-23T00:07:56.364Z] 00:07:56     INFO -  PID 10256 | 1590192178516	Sync.AddonsReconciler	DEBUG	No data seen in loaded file: addonsreconciler
[task 2020-05-23T00:07:56.364Z] 00:07:56     INFO -  PID 10256 | 1590192178527	Sync.Engine.Forms	DEBUG	Engine constructed
[task 2020-05-23T00:07:56.364Z] 00:07:56     INFO -  PID 10256 | 1590192178535	Sync.Engine.Forms	DEBUG	SyncEngine initialized: forms
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178564	Sync.Engine.History	DEBUG	Engine constructed
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178570	Sync.Engine.History	DEBUG	SyncEngine initialized: history
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178581	Sync.Engine.Passwords	DEBUG	Engine constructed
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178585	Sync.Engine.Passwords	DEBUG	SyncEngine initialized: passwords
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178606	Sync.Engine.Prefs	DEBUG	Engine constructed
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178611	Sync.Engine.Prefs	DEBUG	SyncEngine initialized: prefs
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178620	Sync.Engine.Tabs	DEBUG	Engine constructed
[task 2020-05-23T00:07:56.365Z] 00:07:56     INFO -  PID 10256 | 1590192178625	Sync.Engine.Tabs	DEBUG	SyncEngine initialized: tabs
[task 2020-05-23T00:07:56.366Z] 00:07:56     INFO -  PID 10256 | 1590192178626	Sync.Engine.Tabs	DEBUG	Resetting tabs last sync time
[task 2020-05-23T00:07:56.366Z] 00:07:56     INFO -  PID 10256 | 1590192178658	Sync.Engine.Bookmarks	DEBUG	Engine constructed
[task 2020-05-23T00:07:56.366Z] 00:07:56     INFO -  PID 10256 | 1590192178667	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
[task 2020-05-23T00:07:56.366Z] 00:07:56     INFO -  PID 10256 | 1590192178689	Sync.Engine.Extension-Storage	DEBUG	Engine constructed
[task 2020-05-23T00:07:56.366Z] 00:07:56     INFO -  PID 10256 | 1590192178694	Sync.Engine.Extension-Storage	DEBUG	SyncEngine initialized: extension-storage
[task 2020-05-23T00:07:56.366Z] 00:07:56     INFO -  PID 10256 | 1590192178695	Sync.Service	INFO	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 XPCShell/1
[task 2020-05-23T00:07:56.367Z] 00:07:56     INFO -  PID 10256 | 1590192178740	Sync.Status	DEBUG	Status.login: error.login.reason.no_username => error.login.reason.no_username
[task 2020-05-23T00:07:56.367Z] 00:07:56     INFO -  PID 10256 | 1590192178740	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-05-23T00:07:56.367Z] 00:07:56     INFO -  PID 10256 | 1590192178740	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-05-23T00:07:56.367Z] 00:07:56     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-05-23T00:07:56.367Z] 00:07:56     INFO -  (xpcshell/head.js) | test head_setup finished (2)
[task 2020-05-23T00:07:56.367Z] 00:07:56     INFO -  PID 10256 | 1590192178747	Sync.SyncScheduler	TRACE	Handling weave:service:ready
[task 2020-05-23T00:07:56.367Z] 00:07:56     INFO -  PID 10256 | 1590192178747	Sync.Telemetry	TRACE	observed weave:service:ready null
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  PID 10256 | 1590192178747	Sync.Telemetry	TRACE	Not sending telemetry ping for self-hosted Sync user
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  services/sync/tests/unit/test_syncengine_sync.js | Starting setup
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  PID 10256 | 1590192178750	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  PID 10256 | 1590192178756	Sync.CollectionKeyManager	INFO	Setting collection keys contents. Our last modified: 0, input modified: 1590192178.76.
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  PID 10256 | 1590192178756	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  PID 10256 | 1590192178757	Sync.CollectionKeyManager	INFO	Processing downloaded per-collection keys.
[task 2020-05-23T00:07:56.368Z] 00:07:56     INFO -  PID 10256 | 1590192178757	Sync.CollectionKeyManager	INFO	Clearing collection keys...
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  PID 10256 | 1590192178757	Sync.CollectionKeyManager	INFO	Saving downloaded keys.
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  PID 10256 | 1590192178758	Sync.CollectionKeyManager	INFO	Bumping last modified to 1590192178.76
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  services/sync/tests/unit/test_syncengine_sync.js | Starting test_syncStartup_emptyOrOutdatedGlobalsResetsSync
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  (xpcshell/head.js) | test test_syncStartup_emptyOrOutdatedGlobalsResetsSync pending (2)
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  PID 10256 | SyncEngine._syncStartup resets sync and wipes server data if there's no or an outdated global record
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  PID 10256 | 1590192178794	Sync.BrowserIDManager	INFO	Getting keys
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  PID 10256 | 1590192178795	Sync.BrowserIDManager	INFO	Getting an assertion from: http://token-server
[task 2020-05-23T00:07:56.369Z] 00:07:56     INFO -  PID 10256 | 1590192178796	Sync.BrowserIDManager	DEBUG	Getting a token using OAuth
[task 2020-05-23T00:07:56.370Z] 00:07:56     INFO -  PID 10256 | 1590192178796	FirefoxAccounts	DEBUG	getAccessToken enter
[task 2020-05-23T00:07:56.370Z] 00:07:56     INFO -  PID 10256 | 1590192178797	FirefoxAccounts	DEBUG	Fetching scopedKeys data for https://identity.mozilla.com/apps/oldsync
[task 2020-05-23T00:07:56.370Z] 00:07:56     INFO -  TEST-PASS | services/sync/tests/unit/test_syncengine_sync.js | test_syncStartup_emptyOrOutdatedGlobalsResetsSync - [test_syncStartup_emptyOrOutdatedGlobalsResetsSync : 260] "http://token-server" == "http://token-server"
[task 2020-05-23T00:07:56.370Z] 00:07:56     INFO -  TEST-PASS | services/sync/tests/unit/test_syncengine_sync.js | test_syncStartup_emptyOrOutdatedGlobalsResetsSync -