Bug: Intermittent services/sync/tests/unit/test_bookmark_engine.js |  - Should remove B from toolbar - ["livemarkBBBB"] deepEqual [] | xpcshell return code: 0
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-06-26 09:37:34+00:00
Resolved: 2020-10-12 06:02:36+00:00

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

---

```
INFO -  TEST-START | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_pkcs11_autoload.js
[task 2020-06-26T08:54:02.328Z] 08:54:02     INFO -  TEST-PASS | xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_pkcs11_autoload.js | took 1036ms
[task 2020-06-26T08:54:02.354Z] 08:54:02     INFO -  TEST-START | services/sync/tests/unit/test_bookmark_engine.js
[task 2020-06-26T08:54:07.796Z] 08:54:07  WARNING -  TEST-UNEXPECTED-FAIL | services/sync/tests/unit/test_bookmark_engine.js | xpcshell return code: 0
[task 2020-06-26T08:54:07.796Z] 08:54:07     INFO -  TEST-INFO took 5443ms
[task 2020-06-26T08:54:07.797Z] 08:54:07     INFO -  >>>>>>>
[task 2020-06-26T08:54:07.797Z] 08:54:07     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-06-26T08:54:07.798Z] 08:54:07     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-06-26T08:54:07.798Z] 08:54:07     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-06-26T08:54:07.798Z] 08:54:07     INFO -  running event loop
[task 2020-06-26T08:54:07.799Z] 08:54:07     INFO -  services/sync/tests/unit/test_bookmark_engine.js | Starting head_setup
[task 2020-06-26T08:54:07.799Z] 08:54:07     INFO -  (xpcshell/head.js) | test head_setup pending (2)
[task 2020-06-26T08:54:07.799Z] 08:54:07     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-06-26T08:54:07.799Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "addons"]"]"
[task 2020-06-26T08:54:07.800Z] 08:54:07     INFO -  PID 4684 | 1593161642654	Sync.Engine.Addons	DEBUG	SyncEngine initialized: addons
[task 2020-06-26T08:54:07.800Z] 08:54:07     INFO -  PID 4684 | 1593161642654	Sync.AddonsReconciler	TRACE	Loading json from disk: addonsreconciler
[task 2020-06-26T08:54:07.801Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "addons"]"]"
[task 2020-06-26T08:54:07.801Z] 08:54:07     INFO -  PID 4684 | 1593161642654	Sync.AddonsReconciler	DEBUG	No data seen in loaded file: addonsreconciler
[task 2020-06-26T08:54:07.802Z] 08:54:07     INFO -  PID 4684 | 1593161642656	Sync.Engine.Forms	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.802Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "forms"]"]"
[task 2020-06-26T08:54:07.802Z] 08:54:07     INFO -  PID 4684 | 1593161642657	Sync.Engine.Forms	DEBUG	SyncEngine initialized: forms
[task 2020-06-26T08:54:07.803Z] 08:54:07     INFO -  PID 4684 | 1593161642659	Sync.Engine.History	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.803Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "forms"]"]"
[task 2020-06-26T08:54:07.803Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "history"]"]"
[task 2020-06-26T08:54:07.804Z] 08:54:07     INFO -  PID 4684 | 1593161642661	Sync.Engine.History	DEBUG	SyncEngine initialized: history
[task 2020-06-26T08:54:07.804Z] 08:54:07     INFO -  PID 4684 | 1593161642663	Sync.Engine.Passwords	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.804Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "history"]"]"
[task 2020-06-26T08:54:07.805Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "passwords"]"]"
[task 2020-06-26T08:54:07.805Z] 08:54:07     INFO -  PID 4684 | 1593161642664	Sync.Engine.Passwords	DEBUG	SyncEngine initialized: passwords
[task 2020-06-26T08:54:07.806Z] 08:54:07     INFO -  PID 4684 | 1593161642666	Sync.Engine.Prefs	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.806Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "passwords"]"]"
[task 2020-06-26T08:54:07.806Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "prefs"]"]"
[task 2020-06-26T08:54:07.806Z] 08:54:07     INFO -  PID 4684 | 1593161642667	Sync.Engine.Prefs	DEBUG	SyncEngine initialized: prefs
[task 2020-06-26T08:54:07.807Z] 08:54:07     INFO -  PID 4684 | 1593161642668	Sync.Engine.Tabs	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.807Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "prefs"]"]"
[task 2020-06-26T08:54:07.808Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "tabs"]"]"
[task 2020-06-26T08:54:07.808Z] 08:54:07     INFO -  PID 4684 | 1593161642670	Sync.Engine.Tabs	DEBUG	SyncEngine initialized: tabs
[task 2020-06-26T08:54:07.808Z] 08:54:07     INFO -  PID 4684 | 1593161642670	Sync.Engine.Tabs	DEBUG	Resetting tabs last sync time
[task 2020-06-26T08:54:07.808Z] 08:54:07     INFO -  PID 4684 | 1593161642671	Sync.Engine.Bookmarks	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.809Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "tabs"]"]"
[task 2020-06-26T08:54:07.809Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "bookmarks"]"]"
[task 2020-06-26T08:54:07.809Z] 08:54:07     INFO -  PID 4684 | 1593161642673	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
[task 2020-06-26T08:54:07.810Z] 08:54:07     INFO -  PID 4684 | 1593161642675	Sync.Engine.Extension-Storage	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.810Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "bookmarks"]"]"
[task 2020-06-26T08:54:07.811Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "extensionstorage"]"]"
[task 2020-06-26T08:54:07.811Z] 08:54:07     INFO -  PID 4684 | 1593161642677	Sync.Engine.Extension-Storage	DEBUG	SyncEngine initialized: extension-storage
[task 2020-06-26T08:54:07.811Z] 08:54:07     INFO -  PID 4684 | 1593161642677	Sync.Service	INFO	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 XPCShell/1
[task 2020-06-26T08:54:07.812Z] 08:54:07     INFO -  PID 4684 | 1593161642703	Sync.Status	DEBUG	Status.login: error.login.reason.no_username => error.login.reason.no_username
[task 2020-06-26T08:54:07.812Z] 08:54:07     INFO -  PID 4684 | 1593161642703	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-06-26T08:54:07.812Z] 08:54:07     INFO -  PID 4684 | 1593161642703	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-06-26T08:54:07.813Z] 08:54:07     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-06-26T08:54:07.813Z] 08:54:07     INFO -  (xpcshell/head.js) | test head_setup finished (2)
[task 2020-06-26T08:54:07.814Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "extensionstorage"]"]"
[task 2020-06-26T08:54:07.814Z] 08:54:07     INFO -  PID 4684 | 1593161642704	Sync.SyncScheduler	TRACE	Handling weave:service:ready
[task 2020-06-26T08:54:07.814Z] 08:54:07     INFO -  PID 4684 | 1593161642704	Sync.Telemetry	TRACE	observed weave:service:ready null
[task 2020-06-26T08:54:07.815Z] 08:54:07     INFO -  PID 4684 | 1593161642704	Sync.Telemetry	TRACE	Not sending telemetry ping for self-hosted Sync user
[task 2020-06-26T08:54:07.815Z] 08:54:07     INFO -  services/sync/tests/unit/test_bookmark_engine.js | Starting setup
[task 2020-06-26T08:54:07.815Z] 08:54:07     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2020-06-26T08:54:07.815Z] 08:54:07     INFO -  PID 4684 | 1593161642704	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-06-26T08:54:07.815Z] 08:54:07     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-06-26T08:54:07.816Z] 08:54:07     INFO -  PID 4684 | 1593161642705	Sync.CollectionKeyManager	INFO	Setting collection keys contents. Our last modified: 0, input modified: 1593161642.71.
[task 2020-06-26T08:54:07.816Z] 08:54:07     INFO -  PID 4684 | 1593161642705	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-06-26T08:54:07.816Z] 08:54:07     INFO -  PID 4684 | 1593161642705	Sync.CollectionKeyManager	INFO	Processing downloaded per-collection keys.
[task 2020-06-26T08:54:07.817Z] 08:54:07     INFO -  PID 4684 | 1593161642705	Sync.CollectionKeyManager	INFO	Clearing collection keys...
[task 2020-06-26T08:54:07.817Z] 08:54:07     INFO -  PID 4684 | 1593161642705	Sync.CollectionKeyManager	INFO	Saving downloaded keys.
[task 2020-06-26T08:54:07.817Z] 08:54:07     INFO -  PID 4684 | 1593161642705	Sync.CollectionKeyManager	INFO	Bumping last modified to 1593161642.71
[task 2020-06-26T08:54:07.817Z] 08:54:07     INFO -  PID 4684 | 1593161642706	Sync.Engine.Bookmarks.Tracker	TRACE	stop().
[task 2020-06-26T08:54:07.817Z] 08:54:07     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2020-06-26T08:54:07.817Z] 08:54:07     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2020-06-26T08:54:07.818Z] 08:54:07     INFO -  services/sync/tests/unit/test_bookmark_engine.js | Starting test_buffer_timeout
[task 2020-06-26T08:54:07.818Z] 08:54:07     INFO -  (xpcshell/head.js) | test test_buffer_timeout pending (2)
[task 2020-06-26T08:54:07.818Z] 08:54:07     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2020-06-26T08:54:07.819Z] 08:54:07     INFO -  PID 4684 | 1593161642766	Sqlite.ConnectionWrapper	INFO	Wrapping database: places.sqlite#0
[task 2020-06-26T08:54:07.819Z] 08:54:07     INFO -  PID 4684 | 1593161642766	Sqlite.Connection	INFO	places.sqlite#0: Opened
[task 2020-06-26T08:54:07.819Z] 08:54:07     INFO -  PID 4684 | 1593161642772	Sqlite.ConnectionCloner	INFO	Cloning database: c:\\users\\task_1593159767\\appdata\\local\\temp\\xpc-profile-jhqhip\\places.sqlite (places.sqlite#1)
[task 2020-06-26T08:54:07.819Z] 08:54:07     INFO -  PID 4684 | 1593161642773	Sqlite.ConnectionCloner	INFO	Connection cloned
[task 2020-06-26T08:54:07.820Z] 08:54:07     INFO -  PID 4684 | 1593161642773	Sqlite.Connection	INFO	places.sqlite#1: Opened
[task 2020-06-26T08:54:07.820Z] 08:54:07     INFO -  PID 4684 | 1593161642776	Sync.Engine.Bookmarks	DEBUG	Engine constructed
[task 2020-06-26T08:54:07.821Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "bookmarks"]"]"
[task 2020-06-26T08:54:07.821Z] 08:54:07     INFO -  PID 4684 | 1593161642777	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
[task 2020-06-26T08:54:07.821Z] 08:54:07     INFO -  PID 4684 | 1593161642777	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-06-26T08:54:07.821Z] 08:54:07     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unknown event: ["jsonfile", "load", "bookmarks"]"]"
[task 2020-06-26T08:54:07.822Z] 08:54:07     INFO -  PID 4684 | 1593161642778	Sync.CollectionKeyManager	INFO	Setting collection keys contents. Our last modified: 1593161642.71, input modified: 1593161642.78.
[task 2020-06-26T08:54:07.822Z] 08:54:07     INFO -  PID 4684 | 1593161642778	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-06-26T08:54:07.822Z] 08:54:07     INFO -  PID 4684 | 1593161642778	Sync.CollectionKeyManager	INFO	Processing downloaded per-collection keys.
[task 2020-06-26T08:54:07.823Z] 08:54:07     INFO -  PID 4684 | 1593161642778	Sync.CollectionKeyManager	INFO	Clearing collection keys...
[task 2020-06-26T08:54:07.823Z] 08:54:07     INFO -  PID 4684 | 1593161642778	Sync.CollectionKeyManager	INFO	Saving downloaded keys.
[task 2020-06-26T08:54:07.823Z] 08:54:07     INFO -  PID 4684 | 1593161642778	Sync.CollectionKeyManager	INFO	Bumping last modified to 1593161642.78
[task 2020-06-26T08:54:07.824Z] 08:54:07     INFO -  PID 4684 | 1593161642779	Sync.Engine.Clients	DEBUG	Engine syncIDs: T-ucq9-zrUW-,
[task 2020-06-26T08:54:07.824Z] 08:54:07     INFO -  PID 4684 | 1593161642781	Sync.Engine.Bookmarks	DEBUG	Assigned new sync ID PviubX8sOJeJ
[task 2020-06-26T08:54:07.825Z] 08:54:07     INFO -  PID 4684 | 1593161642781	Sync.Engine.Bookmarks	DEBUG	Engine syncIDs: PviubX8sOJeJ,
[task 2020-06-26T08:54:07.825Z] 08:54:07     INFO -  PID 4684 | 1593161642837	Sync.Engine.Bookmarks.Mirror	INFO	Sync ID changed from  to PviubX8sOJeJ; resetting mirror
[task 2020-06-26T08:54:07.825Z] 08:54:07     INFO -  PID 4684 | 1593161642854	Sync.BrowserIDManager	INFO	Getting keys
[task 2020-06-26T08:54:07.825Z] 08:54:07     INFO -  PID 4684 | 1593161642854	Sync.BrowserIDManager	INFO	Getting an assertion from: http://token-server
[task 2020-06-26T08:54:07.826Z] 08:54:07     INFO -  PID 4684 | 1593161642854	Sync.BrowserIDManager	DEBUG	Getting a token using OAuth
[task 2020-06-26T08:54:07.826Z] 08:54:07     INFO -  PID 4684 | 1593161642855	FirefoxAccounts	DEBUG	getAccessToken enter
[task 2020-06-26T08:54:07.827Z] 08:54:07     INFO -  PID 4684 | 1593161642855	FirefoxAccounts	DEBUG	Fetching scopedKeys data for https://identity.mozilla.com/apps/oldsync
[task 2020-06-26T08:54:07.827Z] 08:54:07     INFO -  TEST-PASS | services/sync/tests/unit/test_bookmark_engine.js | test_buffer_timeout - [test_buffer_timeout : 260] "http://token-server" == "http://token-server"
[task 2020-06-26T08:54:07.827Z] 08:54:07     INFO -  TEST-PASS | services/sync/tests/unit/test_bookmark_engine.js | test_buffer_timeout - [test_buffer_timeout : 264] oauth token present - "some-access-token" == true
```