Bug: Intermittent browser/components/urlbar/tests/unit/test_remote_tabs.js | setup - [setup : 271] A promise chain failed to handle a rejection: PathUtils.normalize: Could not normalize path: NS_ERROR_FILE_TARGET_DOES_NOT_EXIST - stack: jsonFilePath@
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-11-17 14:21:37+00:00
Resolved: 2021-12-14 17:05:32+00:00

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

---
```
[task 2021-11-17T10:33:08.206Z] 10:33:08     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | setup - [setup : 1818] Extension ID of search provider should be set - "suggestions@tests.mozilla.org" == true
[task 2021-11-17T10:33:08.206Z] 10:33:08     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2021-11-17T10:33:08.206Z] 10:33:08     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2021-11-17T10:33:08.206Z] 10:33:08  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_remote_tabs.js | setup - [setup : 271] A promise chain failed to handle a rejection: PathUtils.normalize: Could not normalize path: NS_ERROR_FILE_TARGET_DOES_NOT_EXIST - stack: jsonFilePath@resource://services-sync/util.js:352:22
[task 2021-11-17T10:33:08.207Z] 10:33:08     INFO -  LegacyTracker@resource://services-sync/engines.js:210:17
[task 2021-11-17T10:33:08.207Z] 10:33:08     INFO -  ClientsTracker@resource://services-sync/engines/clients.js:1071:17
[task 2021-11-17T10:33:08.207Z] 10:33:08     INFO -  get _tracker@resource://services-sync/engines.js:905:19
[task 2021-11-17T10:33:08.207Z] 10:33:08     INFO -  SyncEngine@resource://services-sync/engines.js:766:3
[task 2021-11-17T10:33:08.208Z] 10:33:08     INFO -  ClientEngine@resource://services-sync/engines/clients.js:106:14
[task 2021-11-17T10:33:08.208Z] 10:33:08     INFO -  _registerEngines@resource://services-sync/service.js:449:25
[task 2021-11-17T10:33:08.208Z] 10:33:08     INFO -  onStartup@resource://services-sync/service.js:370:16
[task 2021-11-17T10:33:08.208Z] 10:33:08     INFO -  this.Service.promiseInitialized<@resource://services-sync/service.js:1640:16
[task 2021-11-17T10:33:08.209Z] 10:33:08     INFO -  @resource://services-sync/service.js:1639:35
[task 2021-11-17T10:33:08.209Z] 10:33:08     INFO -  lazyImport/getter/<@resource://services-sync/main.js:23:19
[task 2021-11-17T10:33:08.209Z] 10:33:08     INFO -  setup@/opt/worker/tasks/task_163714412921931/build/tests/xpcshell/tests/browser/components/urlbar/tests/unit/test_remote_tabs.js:49:3
[task 2021-11-17T10:33:08.209Z] 10:33:08     INFO -  _run_next_test/<@/opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:1672:22
[task 2021-11-17T10:33:08.210Z] 10:33:08     INFO -  _run_next_test@/opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:1672:38
[task 2021-11-17T10:33:08.210Z] 10:33:08     INFO -  run@/opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:818:9
[task 2021-11-17T10:33:08.210Z] 10:33:08     INFO -  _do_main@/opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:240:6
[task 2021-11-17T10:33:08.210Z] 10:33:08     INFO -  _execute_test@/opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:603:5
[task 2021-11-17T10:33:08.211Z] 10:33:08     INFO -  @-e:1:1
[task 2021-11-17T10:33:08.211Z] 10:33:08     INFO -  Rejection date: Wed Nov 17 2021 10:33:06 GMT+0000 (Greenwich Mean Time) - false == true
[task 2021-11-17T10:33:08.211Z] 10:33:08     INFO -  resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2021-11-17T10:33:08.211Z] 10:33:08     INFO -  /opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:_run_next_test:1633
[task 2021-11-17T10:33:08.211Z] 10:33:08     INFO -  /opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:run:818
[task 2021-11-17T10:33:08.212Z] 10:33:08     INFO -  /opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:_do_main:240
[task 2021-11-17T10:33:08.212Z] 10:33:08     INFO -  /opt/worker/tasks/task_163714412921931/build/tests/xpcshell/head.js:_execute_test:603
[task 2021-11-17T10:33:08.212Z] 10:33:08     INFO -  -e:null:1
[task 2021-11-17T10:33:08.212Z] 10:33:08     INFO -  exiting test
[task 2021-11-17T10:33:08.212Z] 10:33:08     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (1)
[task 2021-11-17T10:33:08.213Z] 10:33:08     INFO -  exiting test
[task 2021-11-17T10:33:08.213Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): '::mozilla::ToResultInvoke<nsCOMPtr<nsIDirectoryEnumerator>>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(aDirectory)>::GetDirectoryEntries), (aDirectory)) failed with resultCode 0x80520006, resultName NS_ERROR_FILE_TARGET_DOES_NOT_EXIST', file dom/quota/QuotaCommon.h:1469
[task 2021-11-17T10:33:08.214Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): 'CollectEachFile( *directory, [originScope = [this] { OriginScope originScope = mOriginScope.Clone(); if (originScope.IsOrigin()) { originScope.SetOrigin( MakeSanitizedOriginCString(originScope.GetOrigin())); } else if (originScope.IsPrefix()) { originScope.SetOriginNoSuffix(MakeSanitizedOriginCString( originScope.GetOriginNoSuffix())); } return originScope; }(), aPersistenceType, &aQuotaManager, &directoriesForRemovalRetry, this](nsCOMPtr<nsIFile>&& file) -> mozilla::Result<Ok, nsresult> { auto tryResult479 = (::mozilla::ToResultInvoke<nsAutoString>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(file)>::GetLeafName), (file))); if ((__builtin_expect(!!(tryResult479.isErr()), 0)))
[task 2021-11-17T10:33:08.215Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): '::mozilla::ToResultInvoke<nsCOMPtr<nsIDirectoryEnumerator>>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(aDirectory)>::GetDirectoryEntries), (aDirectory)) failed with resultCode 0x80520006, resultName NS_ERROR_FILE_TARGET_DOES_NOT_EXIST', file dom/quota/QuotaCommon.h:1469
[task 2021-11-17T10:33:08.215Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): 'CollectEachFile( *directory, [originScope = [this] { OriginScope originScope = mOriginScope.Clone(); if (originScope.IsOrigin()) { originScope.SetOrigin( MakeSanitizedOriginCString(originScope.GetOrigin())); } else if (originScope.IsPrefix()) { originScope.SetOriginNoSuffix(MakeSanitizedOriginCString( originScope.GetOriginNoSuffix())); } return originScope; }(), aPersistenceType, &aQuotaManager, &directoriesForRemovalRetry, this](nsCOMPtr<nsIFile>&& file) -> mozilla::Result<Ok, nsresult> { auto tryResult479 = (::mozilla::ToResultInvoke<nsAutoString>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(file)>::GetLeafName), (file))); if ((__builtin_expect(!!(tryResult479.isErr()), 0)))
[task 2021-11-17T10:33:08.216Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): '::mozilla::ToResultInvoke<nsCOMPtr<nsIDirectoryEnumerator>>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(aDirectory)>::GetDirectoryEntries), (aDirectory)) failed with resultCode 0x80520006, resultName NS_ERROR_FILE_TARGET_DOES_NOT_EXIST', file dom/quota/QuotaCommon.h:1469
[task 2021-11-17T10:33:08.217Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): 'CollectEachFile( *directory, [originScope = [this] { OriginScope originScope = mOriginScope.Clone(); if (originScope.IsOrigin()) { originScope.SetOrigin( MakeSanitizedOriginCString(originScope.GetOrigin())); } else if (originScope.IsPrefix()) { originScope.SetOriginNoSuffix(MakeSanitizedOriginCString( originScope.GetOriginNoSuffix())); } return originScope; }(), aPersistenceType, &aQuotaManager, &directoriesForRemovalRetry, this](nsCOMPtr<nsIFile>&& file) -> mozilla::Result<Ok, nsresult> { auto tryResult479 = (::mozilla::ToResultInvoke<nsAutoString>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(file)>::GetLeafName), (file))); if ((__builtin_expect(!!(tryResult479.isErr()), 0)))
[task 2021-11-17T10:33:08.217Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): '::mozilla::ToResultInvoke<nsCOMPtr<nsIDirectoryEnumerator>>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(aDirectory)>::GetDirectoryEntries), (aDirectory)) failed with resultCode 0x80520006, resultName NS_ERROR_FILE_TARGET_DOES_NOT_EXIST', file dom/quota/QuotaCommon.h:1469
[task 2021-11-17T10:33:08.218Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, QuotaManager IO] WARNING: QM_TRY failure (ERROR): 'CollectEachFile( *directory, [originScope = [this] { OriginScope originScope = mOriginScope.Clone(); if (originScope.IsOrigin()) { originScope.SetOrigin( MakeSanitizedOriginCString(originScope.GetOrigin())); } else if (originScope.IsPrefix()) { originScope.SetOriginNoSuffix(MakeSanitizedOriginCString( originScope.GetOriginNoSuffix())); } return originScope; }(), aPersistenceType, &aQuotaManager, &directoriesForRemovalRetry, this](nsCOMPtr<nsIFile>&& file) -> mozilla::Result<Ok, nsresult> { auto tryResult479 = (::mozilla::ToResultInvoke<nsAutoString>( ::std::mem_fn( &::mozilla::detail::DerefedType<decltype(file)>::GetLeafName), (file))); if ((__builtin_expect(!!(tryResult479.isErr()), 0)))
[task 2021-11-17T10:33:08.218Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: idb: '0.000002s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.219Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: cache: '0.000039s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.219Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: sdb: '0.000049s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.219Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: ls: '0.000056s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.220Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: idb: '0.000067s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.220Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: cache: '0.000099s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.220Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: sdb: '0.000104s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.220Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, IPDL Background] WARNING: ls: '0.000107s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-17T10:33:08.221Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3351
[task 2021-11-17T10:33:08.221Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:3420
[task 2021-11-17T10:33:08.221Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4439
[task 2021-11-17T10:33:08.221Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:204
[task 2021-11-17T10:33:08.221Z] 10:33:08     INFO -  PID 4952 | [Parent 4952, Main Thread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:204
[task 2021-11-17T10:33:08.222Z] 10:33:08     INFO -  <<<<<<<
```