Bug: Intermittent services/sync/tests/unit/test_bookmark_engine.js | xpcshell return code: 0
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-05-05 02:37:28+00:00
Resolved: 2020-07-01 22:13:09+00:00

**Filed by:** dluca [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=300780245&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aHnBPq-HQpmyMXhDzykRSA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aHnBPq-HQpmyMXhDzykRSA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---

```
INFO -  TEST-START | services/sync/tests/unit/test_bridged_engine.js
[task 2020-05-05T00:19:40.749Z] 00:19:40     INFO -  TEST-PASS | services/sync/tests/unit/test_bridged_engine.js | took 734ms
[task 2020-05-05T00:19:40.769Z] 00:19:40     INFO -  INFO | Result summary:
[task 2020-05-05T00:19:40.769Z] 00:19:40     INFO -  INFO | Passed: 20
[task 2020-05-05T00:19:40.769Z] 00:19:40     INFO -  INFO | Failed: 0
[task 2020-05-05T00:19:40.769Z] 00:19:40     INFO -  INFO | Todo: 0
[task 2020-05-05T00:19:40.770Z] 00:19:40     INFO -  INFO | Retried: 0
[task 2020-05-05T00:19:40.770Z] 00:19:40     INFO -  SUITE-END | took 7s
[task 2020-05-05T00:19:40.770Z] 00:19:40     INFO -  :::
[task 2020-05-05T00:19:40.770Z] 00:19:40     INFO -  ::: Test verification summary for: Z:\task_1588635667\build\tests\xpcshell\tests\services\sync\tests\unit\test_bridged_engine.js
[task 2020-05-05T00:19:40.770Z] 00:19:40     INFO -  :::
[task 2020-05-05T00:19:40.770Z] 00:19:40     INFO -  ::: 1. Run each test 10 times, sequentially. : Pass
[task 2020-05-05T00:19:40.771Z] 00:19:40     INFO -  ::: 2. Run each test 10 times, sequentially, in chaos mode. : Pass
[task 2020-05-05T00:19:40.771Z] 00:19:40     INFO -  :::
[task 2020-05-05T00:19:40.771Z] 00:19:40     INFO -  ::: Test verification PASSED
[task 2020-05-05T00:19:40.771Z] 00:19:40     INFO -  :::
[task 2020-05-05T00:19:40.771Z] 00:19:40     INFO -  Node moz-http2 server shutting down ...
[task 2020-05-05T00:19:40.809Z] 00:19:40     INFO - Return code: 0
[task 2020-05-05T00:19:40.809Z] 00:19:40     INFO - TinderboxPrint: xpcshell-xpcshell<br/>20/0/0
[task 2020-05-05T00:19:40.809Z] 00:19:40     INFO - # TBPL SUCCESS #
[task 2020-05-05T00:19:40.809Z] 00:19:40     INFO - TinderboxPrint: Per-test run of ...\tests\unit\test_bridged_engine.js<br/>: SUCCESS
[task 2020-05-05T00:19:40.809Z] 00:19:40     INFO - Running command: ['Z:\\task_1588635667\\build\\venv\\Scripts\\python', '-u', 'Z:\\task_1588635667\\build\\tests\\xpcshell\\runxpcshelltests.py', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', u'--symbols-path=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ajQ5z-UiTfmTPvjBVf6ppg/artifacts/public/build/target.crashreporter-symbols.zip', '--test-plugin-path=Z:\\task_1588635667\\build\\application\\firefox\\plugins', '--log-raw=Z:\\task_1588635667\\build\\blobber_upload_dir\\xpcshell_raw.log', '--log-errorsummary=Z:\\task_1588635667\\build\\blobber_upload_dir\\xpcshell_errorsummary.log', '--utility-path=tests/bin', '--xpcshell=Z:\\task_1588635667\\build\\application\\firefox/xpcshell.exe', '--manifest=tests/xpcshell/tests/xpcshell.ini', '--verify-max-time=900', '--verify', u'services/sync/tests/unit/test_bookmark_engine.js'] in Z:\task_1588635667\build
[task 2020-05-05T00:19:40.810Z] 00:19:40     INFO - Copy/paste: Z:\task_1588635667\build\venv\Scripts\python -u Z:\task_1588635667\build\tests\xpcshell\runxpcshelltests.py --setpref=media.peerconnection.mtransport_process=false --setpref=network.process.enabled=false --symbols-path=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ajQ5z-UiTfmTPvjBVf6ppg/artifacts/public/build/target.crashreporter-symbols.zip --test-plugin-path=Z:\task_1588635667\build\application\firefox\plugins --log-raw=Z:\task_1588635667\build\blobber_upload_dir\xpcshell_raw.log --log-errorsummary=Z:\task_1588635667\build\blobber_upload_dir\xpcshell_errorsummary.log --utility-path=tests/bin --xpcshell=Z:\task_1588635667\build\application\firefox/xpcshell.exe --manifest=tests/xpcshell/tests/xpcshell.ini --verify-max-time=900 --verify services/sync/tests/unit/test_bookmark_engine.js
[task 2020-05-05T00:19:40.810Z] 00:19:40     INFO - Using env: (same as previous command)
[task 2020-05-05T00:19:40.810Z] 00:19:40     INFO - Calling ['Z:\\task_1588635667\\build\\venv\\Scripts\\python', '-u', 'Z:\\task_1588635667\\build\\tests\\xpcshell\\runxpcshelltests.py', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', u'--symbols-path=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ajQ5z-UiTfmTPvjBVf6ppg/artifacts/public/build/target.crashreporter-symbols.zip', '--test-plugin-path=Z:\\task_1588635667\\build\\application\\firefox\\plugins', '--log-raw=Z:\\task_1588635667\\build\\blobber_upload_dir\\xpcshell_raw.log', '--log-errorsummary=Z:\\task_1588635667\\build\\blobber_upload_dir\\xpcshell_errorsummary.log', '--utility-path=tests/bin', '--xpcshell=Z:\\task_1588635667\\build\\application\\firefox/xpcshell.exe', '--manifest=tests/xpcshell/tests/xpcshell.ini', '--verify-max-time=900', '--verify', u'services/sync/tests/unit/test_bookmark_engine.js'] with output_timeout 1000
[task 2020-05-05T00:19:41.128Z] 00:19:41     INFO -  Found node at Z:/task_1588635667/fetches\node/node.exe
[task 2020-05-05T00:19:41.128Z] 00:19:41     INFO -  Found moz-http2 at Z:\task_1588635667\build\tests\xpcshell\moz-http2\moz-http2.js
[task 2020-05-05T00:19:41.296Z] 00:19:41     INFO -  Http3 server not found at Z:\task_1588635667\build\tests\xpcshell\http3server\http3server.exe. Tests requiring http/3 will fail.
[task 2020-05-05T00:19:41.811Z] 00:19:41     INFO -  :::
[task 2020-05-05T00:19:41.811Z] 00:19:41     INFO -  ::: Running test verification step "1. Run each test 10 times, sequentially."...
[task 2020-05-05T00:19:41.811Z] 00:19:41     INFO -  :::
[task 2020-05-05T00:19:41.811Z] 00:19:41     INFO -  Using at most 32 threads.
[task 2020-05-05T00:19:41.811Z] 00:19:41     INFO -  SUITE-START | Running 1 tests
[task 2020-05-05T00:19:41.826Z] 00:19:41     INFO -  TEST-START | services/sync/tests/unit/test_bookmark_engine.js
[task 2020-05-05T00:19:48.573Z] 00:19:48     INFO -  TEST-PASS | services/sync/tests/unit/test_bookmark_engine.js | took 6748ms
[task 2020-05-05T00:19:48.628Z] 00:19:48     INFO -  TEST-START | services/sync/tests/unit/test_bookmark_engine.js
[task 2020-05-05T00:19:54.943Z] 00:19:54  WARNING -  TEST-UNEXPECTED-FAIL | services/sync/tests/unit/test_bookmark_engine.js | xpcshell return code: 0
[task 2020-05-05T00:19:54.943Z] 00:19:54     INFO -  TEST-INFO took 6313ms
[task 2020-05-05T00:19:54.944Z] 00:19:54     INFO -  >>>>>>>
[task 2020-05-05T00:19:54.944Z] 00:19:54     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-05-05T00:19:54.944Z] 00:19:54     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-05-05T00:19:54.944Z] 00:19:54     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-05-05T00:19:54.945Z] 00:19:54     INFO -  running event loop
[task 2020-05-05T00:19:54.945Z] 00:19:54     INFO -  services/sync/tests/unit/test_bookmark_engine.js | Starting head_setup
[task 2020-05-05T00:19:54.945Z] 00:19:54     INFO -  (xpcshell/head.js) | test head_setup pending (2)
[task 2020-05-05T00:19:54.946Z] 00:19:54     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-05-05T00:19:54.946Z] 00:19:54     INFO -  PID 3592 | 1588637988958	Sync.Engine.Addons	DEBUG	SyncEngine initialized: addons
[task 2020-05-05T00:19:54.946Z] 00:19:54     INFO -  PID 3592 | 1588637988958	Sync.AddonsReconciler	TRACE	Loading json from disk: addonsreconciler
[task 2020-05-05T00:19:54.946Z] 00:19:54     INFO -  PID 3592 | 1588637988959	Sync.AddonsReconciler	DEBUG	No data seen in loaded file: addonsreconciler
[task 2020-05-05T00:19:54.947Z] 00:19:54     INFO -  PID 3592 | 1588637988960	Sync.Engine.Forms	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.947Z] 00:19:54     INFO -  PID 3592 | 1588637988962	Sync.Engine.Forms	DEBUG	SyncEngine initialized: forms
[task 2020-05-05T00:19:54.947Z] 00:19:54     INFO -  PID 3592 | 1588637988964	Sync.Engine.History	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.948Z] 00:19:54     INFO -  PID 3592 | 1588637988965	Sync.Engine.History	DEBUG	SyncEngine initialized: history
[task 2020-05-05T00:19:54.948Z] 00:19:54     INFO -  PID 3592 | 1588637988967	Sync.Engine.Passwords	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.948Z] 00:19:54     INFO -  PID 3592 | 1588637988970	Sync.Engine.Passwords	DEBUG	SyncEngine initialized: passwords
[task 2020-05-05T00:19:54.949Z] 00:19:54     INFO -  PID 3592 | 1588637988972	Sync.Engine.Prefs	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.949Z] 00:19:54     INFO -  PID 3592 | 1588637988973	Sync.Engine.Prefs	DEBUG	SyncEngine initialized: prefs
[task 2020-05-05T00:19:54.949Z] 00:19:54     INFO -  PID 3592 | 1588637988975	Sync.Engine.Tabs	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.950Z] 00:19:54     INFO -  PID 3592 | 1588637988977	Sync.Engine.Tabs	DEBUG	SyncEngine initialized: tabs
[task 2020-05-05T00:19:54.950Z] 00:19:54     INFO -  PID 3592 | 1588637988977	Sync.Engine.Tabs	DEBUG	Resetting tabs last sync time
[task 2020-05-05T00:19:54.950Z] 00:19:54     INFO -  PID 3592 | 1588637988978	Sync.Engine.Extension-Storage	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.950Z] 00:19:54     INFO -  PID 3592 | 1588637988979	Sync.Engine.Extension-Storage	DEBUG	SyncEngine initialized: extension-storage
[task 2020-05-05T00:19:54.950Z] 00:19:54     INFO -  PID 3592 | 1588637988980	Sync.Engine.Bookmarks	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.951Z] 00:19:54     INFO -  PID 3592 | 1588637988981	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
[task 2020-05-05T00:19:54.951Z] 00:19:54     INFO -  PID 3592 | 1588637988981	Sync.Service	INFO	Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101 XPCShell/1
[task 2020-05-05T00:19:54.951Z] 00:19:54     INFO -  PID 3592 | 1588637989012	Sync.Status	DEBUG	Status.login: error.login.reason.no_username => error.login.reason.no_username
[task 2020-05-05T00:19:54.952Z] 00:19:54     INFO -  PID 3592 | 1588637989012	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-05-05T00:19:54.952Z] 00:19:54     INFO -  PID 3592 | 1588637989012	Sync.Status	DEBUG	Status.service: service.client_not_configured => service.client_not_configured
[task 2020-05-05T00:19:54.952Z] 00:19:54     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-05-05T00:19:54.952Z] 00:19:54     INFO -  (xpcshell/head.js) | test head_setup finished (2)
[task 2020-05-05T00:19:54.953Z] 00:19:54     INFO -  PID 3592 | 1588637989013	Sync.SyncScheduler	TRACE	Handling weave:service:ready
[task 2020-05-05T00:19:54.953Z] 00:19:54     INFO -  PID 3592 | 1588637989014	Sync.Telemetry	TRACE	observed weave:service:ready null
[task 2020-05-05T00:19:54.953Z] 00:19:54     INFO -  PID 3592 | 1588637989014	Sync.Telemetry	TRACE	Not sending telemetry ping for self-hosted Sync user
[task 2020-05-05T00:19:54.953Z] 00:19:54     INFO -  services/sync/tests/unit/test_bookmark_engine.js | Starting setup
[task 2020-05-05T00:19:54.953Z] 00:19:54     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2020-05-05T00:19:54.953Z] 00:19:54     INFO -  PID 3592 | 1588637989014	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-05-05T00:19:54.954Z] 00:19:54     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-05-05T00:19:54.954Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.CollectionKeyManager	INFO	Setting collection keys contents. Our last modified: 0, input modified: 1588637989.02.
[task 2020-05-05T00:19:54.954Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-05-05T00:19:54.954Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.CollectionKeyManager	INFO	Processing downloaded per-collection keys.
[task 2020-05-05T00:19:54.955Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.CollectionKeyManager	INFO	Clearing collection keys...
[task 2020-05-05T00:19:54.955Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.CollectionKeyManager	INFO	Saving downloaded keys.
[task 2020-05-05T00:19:54.955Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.CollectionKeyManager	INFO	Bumping last modified to 1588637989.02
[task 2020-05-05T00:19:54.955Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.Engine.Bookmarks.Tracker	TRACE	stop().
[task 2020-05-05T00:19:54.956Z] 00:19:54     INFO -  PID 3592 | 1588637989016	Sync.Engine.Bookmarks.Tracker	DEBUG	Not saving changedIDs.
[task 2020-05-05T00:19:54.956Z] 00:19:54     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2020-05-05T00:19:54.956Z] 00:19:54     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2020-05-05T00:19:54.956Z] 00:19:54     INFO -  services/sync/tests/unit/test_bookmark_engine.js | Starting test_buffer_timeout
[task 2020-05-05T00:19:54.957Z] 00:19:54     INFO -  (xpcshell/head.js) | test test_buffer_timeout pending (2)
[task 2020-05-05T00:19:54.957Z] 00:19:54     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2020-05-05T00:19:54.957Z] 00:19:54     INFO -  PID 3592 | 1588637989080	Sqlite.ConnectionWrapper	INFO	Wrapping database: places.sqlite#0
[task 2020-05-05T00:19:54.957Z] 00:19:54     INFO -  PID 3592 | 1588637989080	Sqlite.Connection	INFO	places.sqlite#0: Opened
[task 2020-05-05T00:19:54.957Z] 00:19:54     INFO -  PID 3592 | 1588637989084	Sqlite.ConnectionCloner	INFO	Cloning database: c:\\users\\task_1588635667\\appdata\\local\\temp\\xpc-profile-pea3jc\\places.sqlite (places.sqlite#1)
[task 2020-05-05T00:19:54.958Z] 00:19:54     INFO -  PID 3592 | 1588637989086	Sqlite.ConnectionCloner	INFO	Connection cloned
[task 2020-05-05T00:19:54.958Z] 00:19:54     INFO -  PID 3592 | 1588637989086	Sqlite.Connection	INFO	places.sqlite#1: Opened
[task 2020-05-05T00:19:54.958Z] 00:19:54     INFO -  PID 3592 | 1588637989090	Sync.Engine.Bookmarks	DEBUG	Engine constructed
[task 2020-05-05T00:19:54.958Z] 00:19:54     INFO -  PID 3592 | 1588637989091	Sync.Engine.Bookmarks	DEBUG	SyncEngine initialized: bookmarks
[task 2020-05-05T00:19:54.958Z] 00:19:54     INFO -  PID 3592 | 1588637989091	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-05-05T00:19:54.959Z] 00:19:54     INFO -  PID 3592 | 1588637989092	Sync.CollectionKeyManager	INFO	Setting collection keys contents. Our last modified: 1588637989.02, input modified: 1588637989.09.
[task 2020-05-05T00:19:54.959Z] 00:19:54     INFO -  PID 3592 | 1588637989092	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for [default]
[task 2020-05-05T00:19:54.959Z] 00:19:54     INFO -  PID 3592 | 1588637989092	Sync.CollectionKeyManager	INFO	Processing downloaded per-collection keys.
[task 2020-05-05T00:19:54.960Z] 00:19:54     INFO -  PID 3592 | 1588637989092	Sync.CollectionKeyManager	INFO	Clearing collection keys...
[task 2020-05-05T00:19:54.960Z] 00:19:54     INFO -  PID 3592 | 1588637989092	Sync.CollectionKeyManager	INFO	Saving downloaded keys.
[task 2020-05-05T00:19:54.960Z] 00:19:54     INFO -  PID 3592 | 1588637989092	Sync.CollectionKeyManager	INFO	Bumping last modified to 1588637989.09
[task 2020-05-05T00:19:54.960Z] 00:19:54     INFO -  PID 3592 | 1588637989093	Sync.Engine.Clients	DEBUG	Engine syncIDs: a7Iy-EhOolJ4,
[task 2020-05-05T00:19:54.960Z] 00:19:54     INFO -  PID 3592 | 1588637989096	Sync.Engine.Bookmarks	DEBUG	Assigned new sync ID nhuTbzGoQ-ej
[task 2020-05-05T00:19:54.960Z] 00:19:54     INFO -  PID 3592 | 1588637989096	Sync.Engine.Bookmarks	DEBUG	Engine syncIDs: nhuTbzGoQ-ej,
[task 2020-05-05T00:19:54.961Z] 00:19:54     INFO -  PID 3592 | 1588637989152	Sync.Engine.Bookmarks.Mirror	INFO	Sync ID changed from  to nhuTbzGoQ-ej; resetting mirror
[task 2020-05-05T00:19:54.961Z] 00:19:54     INFO -  PID 3592 | 1588637989171	Sync.BrowserIDManager	INFO	Getting keys
[task 2020-05-05T00:19:54.961Z] 00:19:54     INFO -  PID 3592 | 1588637989172	Sync.BrowserIDManager	INFO	Getting an assertion from: http://token-server
[task 2020-05-05T00:19:54.961Z] 00:19:54     INFO -  PID 3592 | 1588637989172	Sync.BrowserIDManager	DEBUG	Getting a token using an Assertion
[task 2020-05-05T00:19:54.962Z] 00:19:54     INFO -  TEST-PASS | services/sync/tests/unit/test_bookmark_engine.js | test_buffer_timeout - [test_buffer_timeout : 239] "http://token-server" == "http://token-server"
[task 2020-05-05T00:19:54.962Z] 00:19:54     INFO -  TEST-PASS | services/sync/tests/unit/test_bookmark_engine.js | test_buffer_timeout - [test_buffer_timeout : 243] "assertion" == "assertion"
[task 2020-05-05T00:19:54.962Z] 00:19:54     INFO -  PID 3592 | 1588637989173	Sync.BrowserIDManager	TRACE	Successfully got a token
[task 2020-05-05T00:19:54.962Z] 00:19:54     INFO -  PID 3592 | 1588637989173	Sync.BulkKeyBundle	INFO	BulkKeyBundle being created for undefined
[task 2020-05-05T00:19:54.963Z] 00:19:54     INFO -  PID 3592 | 1588637989173	Sync.Status	DEBUG	Status.login: error.login.reason.no_username => success.login
[task 2020-05-05T00:19:54.963Z] 00:19:54     INFO -  PID 3592 | 1588637989173	Sync.Status	DEBUG	Status.service: service.client_not_configured => success.status_ok
[task 2020-05-05T00:19:54.963Z] 00:19:54     INFO -  PID 3592 | 1588637989174	Sync.Telemetry	TRACE	observed weave:service:login:change null
[task 2020-05-05T00:19:54.963Z] 00:19:54     INFO -  PID 3592 | 1588637989174	Sync.Telemetry	TRACE	Not sending telemetry ping for self-hosted Sync user
[task 2020-05-05T00:19:54.964Z] 00:19:54     INFO -  PID 3592 | 1588637989174	Sync.Service	DEBUG	Caching URLs under storage user base: http://localhost:49635/1.1/foo/
[task 2020-05-05T00:19:54.964Z] 00:19:54     INFO -  "Insert local bookmarks"
[task 2020-05-05T00:19:54.964Z] 00:19:54     INFO -  "Insert remote bookmarks"
[task 2020-05-05T00:19:54.965Z] 00:19:54     INFO -  "We expect this sync to fail"
```