Bug: Intermittent browser/components/urlbar/tests/unit/test_providerOpenTabs.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-07-28 02:07:04+00:00
Resolved: 2024-03-11 07:17:18+00:00

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

---
```
[task 2022-07-28T01:38:05.120Z] 01:38:05     INFO -  TEST-START | browser/components/urlbar/tests/unit/test_providerOpenTabs.js
[task 2022-07-28T01:38:06.540Z] 01:38:06  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | xpcshell return code: 0
[task 2022-07-28T01:38:06.554Z] 01:38:06     INFO -  TEST-INFO took 1421ms
[task 2022-07-28T01:38:06.554Z] 01:38:06     INFO -  >>>>>>>
[task 2022-07-28T01:38:06.554Z] 01:38:06     INFO -  PID 7576 | DLL blocklist was unable to intercept AppInit DLLs.
[task 2022-07-28T01:38:06.555Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:124
[task 2022-07-28T01:38:06.555Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:124
[task 2022-07-28T01:38:06.556Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, 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:2964
[task 2022-07-28T01:38:06.556Z] 01:38:06     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-07-28T01:38:06.556Z] 01:38:06     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-07-28T01:38:06.556Z] 01:38:06     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-07-28T01:38:06.557Z] 01:38:06     INFO -  running event loop
[task 2022-07-28T01:38:06.557Z] 01:38:06     INFO -  browser/components/urlbar/tests/unit/test_providerOpenTabs.js | Starting setup initXPCShellDependencies
[task 2022-07-28T01:38:06.557Z] 01:38:06     INFO -  (xpcshell/head.js) | test initXPCShellDependencies pending (2)
[task 2022-07-28T01:38:06.558Z] 01:38:06     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-07-28T01:38:06.558Z] 01:38:06     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2022-07-28T01:38:06.558Z] 01:38:06     INFO -  (xpcshell/head.js) | test initXPCShellDependencies finished (2)
[task 2022-07-28T01:38:06.558Z] 01:38:06     INFO -  browser/components/urlbar/tests/unit/test_providerOpenTabs.js | Starting test_openTabs
[task 2022-07-28T01:38:06.559Z] 01:38:06     INFO -  (xpcshell/head.js) | test test_openTabs pending (2)
[task 2022-07-28T01:38:06.559Z] 01:38:06     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 11] Found all the expected tabs - 2 == 2
[task 2022-07-28T01:38:06.559Z] 01:38:06     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 17] Found all the expected tabs - 1 == 1
[task 2022-07-28T01:38:06.560Z] 01:38:06     INFO -  "Creating new queryContext with searchString: foo"
[task 2022-07-28T01:38:06.560Z] 01:38:06     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2022-07-28T01:38:06.560Z] 01:38:06     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 27] Got the expected provider - true == true
[task 2022-07-28T01:38:06.561Z] 01:38:06     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 31] Got the expected result type - 1 == 1
[task 2022-07-28T01:38:06.561Z] 01:38:06     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 36] Got the expected url - "http://foo.mozilla.org/" == "http://foo.mozilla.org/"
[task 2022-07-28T01:38:06.561Z] 01:38:06     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 37] Got the expected title - "undefined" == "undefined"
[task 2022-07-28T01:38:06.562Z] 01:38:06     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 42] Found the expected number of matches - 1 == 1
[task 2022-07-28T01:38:06.562Z] 01:38:06     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2022-07-28T01:38:06.562Z] 01:38:06     INFO -  (xpcshell/head.js) | test test_openTabs finished (2)
[task 2022-07-28T01:38:06.562Z] 01:38:06     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (1)
[task 2022-07-28T01:38:06.563Z] 01:38:06     INFO -  exiting test
[task 2022-07-28T01:38:06.563Z] 01:38:06     INFO -  "Force a GC"
[task 2022-07-28T01:38:06.563Z] 01:38:06     INFO -  PID 7576 | [fluent] Couldn't find a message: quickactions-cmd-addons
[task 2022-07-28T01:38:06.563Z] 01:38:06     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "[fluent] Couldn't find a message: quickactions-cmd-addons"]"
[task 2022-07-28T01:38:06.564Z] 01:38:06     INFO -  PID 7576 | JavaScript error: resource:///modules/QuickActionsLoaderDefault.sys.mjs, line 192: TypeError: can't access property "value", messages[0] is null
[task 2022-07-28T01:38:06.564Z] 01:38:06     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "TypeError: can't access property "value", messages[0] is null" {file: "resource:///modules/QuickActionsLoaderDefault.sys.mjs" line: 192}]"
[task 2022-07-28T01:38:06.565Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: startCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.565Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: initiateShutdownWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.565Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: idb: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.566Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: cache: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.566Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: sdb: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.566Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: ls: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.567Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: startKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.567Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: stopKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.567Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: shutdownAndJoinWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.568Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: idb: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.568Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: cache: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.568Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: sdb: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.569Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: ls: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.569Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: shutdownAndJoinIOThread', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.569Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: invalidatePendingDirectoryLocks', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.570Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: stopCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3780
[task 2022-07-28T01:38:06.570Z] 01:38:06  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_providerOpenTabs.js | test_openTabs - [test_openTabs : 270] A promise chain failed to handle a rejection: can't access property "value", messages[0] is null - stack: load@resource:///modules/QuickActionsLoaderDefault.sys.mjs:192:7
[task 2022-07-28T01:38:06.570Z] 01:38:06     INFO -  observe@resource://gre/modules/AsyncShutdown.jsm:576:16
[task 2022-07-28T01:38:06.571Z] 01:38:06     INFO -  _execute_test@Z:\\task_165896927237090\\build\\tests\\xpcshell\\head.js:702:23
[task 2022-07-28T01:38:06.571Z] 01:38:06     INFO -  @-e:1:1
[task 2022-07-28T01:38:06.571Z] 01:38:06     INFO -  Rejection date: Thu Jul 28 2022 01:38:06 GMT+0000 (Greenwich Mean Time) - false == true
[task 2022-07-28T01:38:06.571Z] 01:38:06     INFO -  resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-07-28T01:38:06.572Z] 01:38:06     INFO -  Z:\task_165896927237090\build\tests\xpcshell\head.js:_execute_test:714
[task 2022-07-28T01:38:06.572Z] 01:38:06     INFO -  -e:null:1
[task 2022-07-28T01:38:06.572Z] 01:38:06     INFO -  exiting test
[task 2022-07-28T01:38:06.572Z] 01:38:06     INFO -  PID 7576 | JavaScript error: Z:\task_165896927237090\build\tests\xpcshell\head.js, line 866: NS_ERROR_ABORT:
[task 2022-07-28T01:38:06.573Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-07-28T01:38:06.573Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:3420
[task 2022-07-28T01:38:06.574Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-07-28T01:38:06.574Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, Main Thread] WARNING: XPCOM object PerThreadData destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:206
[task 2022-07-28T01:38:06.575Z] 01:38:06     INFO -  PID 7576 | [Parent 7576, Main Thread] WARNING: XPCOM object SourceList destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:206
[task 2022-07-28T01:38:06.575Z] 01:38:06     INFO -  <<<<<<<
[task 2022-07-28T01:38:06.587Z] 01:38:06     INFO -  TEST-START | xpcshell-child-process.ini:dom/indexedDB/test/unit/test_clear.js
```