Bug: Intermittent TV browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-05-25 09:55:46+00:00
Resolved: 2023-05-29 06:50:45+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=416975667&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FruT1HVnQmyTR_S908MlyA/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/FruT1HVnQmyTR_S908MlyA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-05-25T09:35:54.266Z] 09:35:54     INFO -  TEST-START | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js
[task 2023-05-25T09:35:57.081Z] 09:35:57  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | xpcshell return code: 0
[task 2023-05-25T09:35:57.092Z] 09:35:57     INFO -  TEST-INFO took 2815ms
[task 2023-05-25T09:35:57.092Z] 09:35:57     INFO -  >>>>>>>
[task 2023-05-25T09:35:57.092Z] 09:35:57     INFO -  PID 9124 | DLL blocklist was unable to intercept AppInit DLLs.
[task 2023-05-25T09:35:57.092Z] 09:35:57     INFO -  PID 9124 | *** You are running in chaos test mode. See ChaosMode.h. ***
[task 2023-05-25T09:35:57.093Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:132
[task 2023-05-25T09:35:57.093Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:132
[task 2023-05-25T09:35:57.094Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, 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:2908
[task 2023-05-25T09:35:57.094Z] 09:35:57     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-05-25T09:35:57.094Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-05-25T09:35:57.094Z] 09:35:57     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-05-25T09:35:57.095Z] 09:35:57     INFO -  running event loop
[task 2023-05-25T09:35:57.095Z] 09:35:57     INFO -  browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | Starting setup initXPCShellDependencies
[task 2023-05-25T09:35:57.095Z] 09:35:57     INFO -  (xpcshell/head.js) | test initXPCShellDependencies pending (2)
[task 2023-05-25T09:35:57.096Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2023-05-25T09:35:57.096Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2023-05-25T09:35:57.096Z] 09:35:57     INFO -  (xpcshell/head.js) | test initXPCShellDependencies finished (2)
[task 2023-05-25T09:35:57.096Z] 09:35:57     INFO -  browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | Starting setup setUpQuickSuggestXpcshellTest
[task 2023-05-25T09:35:57.096Z] 09:35:57     INFO -  (xpcshell/head.js) | test setUpQuickSuggestXpcshellTest pending (2)
[task 2023-05-25T09:35:57.097Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2023-05-25T09:35:57.097Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2023-05-25T09:35:57.097Z] 09:35:57     INFO -  (xpcshell/head.js) | test setUpQuickSuggestXpcshellTest finished (2)
[task 2023-05-25T09:35:57.097Z] 09:35:57     INFO -  browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | Starting setup
[task 2023-05-25T09:35:57.097Z] 09:35:57     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2023-05-25T09:35:57.098Z] 09:35:57     INFO -  "ensureQuickSuggestInit calling QuickSuggest.init()"
[task 2023-05-25T09:35:57.098Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2023-05-25T09:35:57.098Z] 09:35:57     INFO -  PID 9124 | [WARN  rkv::backend::impl_safe::environment] `load_ratio()` is irrelevant for this storage backend.
[task 2023-05-25T09:35:57.098Z] 09:35:57     INFO -  "Extension attached"
[task 2023-05-25T09:35:57.099Z] 09:35:57     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | setup - [setup : 1729] Search provider extension should be running - "running" == "running"
[task 2023-05-25T09:35:57.100Z] 09:35:57     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | setup - [setup : 1734] Extension ID of search provider should be set - "first@tests.mozilla.org" == true
[task 2023-05-25T09:35:57.100Z] 09:35:57     INFO -  "Extension attached"
[task 2023-05-25T09:35:57.100Z] 09:35:57     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | setup - [setup : 1729] Search provider extension should be running - "running" == "running"
[task 2023-05-25T09:35:57.101Z] 09:35:57     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | setup - [setup : 1734] Extension ID of search provider should be set - "second@tests.mozilla.org" == true
[task 2023-05-25T09:35:57.101Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 3 pending (2)
[task 2023-05-25T09:35:57.101Z] 09:35:57     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2023-05-25T09:35:57.101Z] 09:35:57     INFO -  browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | Starting basic
[task 2023-05-25T09:35:57.101Z] 09:35:57     INFO -  (xpcshell/head.js) | test basic pending (2)
[task 2023-05-25T09:35:57.102Z] 09:35:57     INFO -  "Test for second placable sponsored suggest"
[task 2023-05-25T09:35:57.102Z] 09:35:57     INFO -  "Creating new queryContext with searchString: s-s"
[task 2023-05-25T09:35:57.102Z] 09:35:57     INFO -  (xpcshell/head.js) | test run_next_test 3 finished (2)
[task 2023-05-25T09:35:57.103Z] 09:35:57     INFO -  "Actual results: [{"type":2,"source":3,"rowIndex":-1,"heuristic":true,"exposureResultType":"","exposureResultHidden":false,"payload":{"engine":"Google","icon":"moz-extension://844a63c7-6608-49e9-9075-e8341e840db5/favicon.ico","query":"s-s"},"payloadHighlights":{"engine":[],"icon":[],"query":[],"keyword":[]},"providerName":"HeuristicFallback","providerType":1},{"type":3,"source":2,"rowIndex":-1,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"url":"http://example.com/s-s","icon":"page-icon:http://example.com/s-s","title":"test visit for http://example.com/s-s","tags":[],"displayUrl":"http://example.com/s-s"},"payloadHighlights":{"url":[[19,3]],"title":[[34,3]],"tags":[],"displayUrl":[[19,3]],"icon":[]},"providerName":"Places","providerType":2}]"
[task 2023-05-25T09:35:57.103Z] 09:35:57  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js | basic - [basic : 1] Found the expected number of results. - 2 == 3
[task 2023-05-25T09:35:57.104Z] 09:35:57     INFO -  -e:null:1
[task 2023-05-25T09:35:57.104Z] 09:35:57     INFO -  exiting test
[task 2023-05-25T09:35:57.104Z] 09:35:57     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2023-05-25T09:35:57.104Z] 09:35:57     INFO -  _abort_failed_test@Z:\task_168500201566932\build\tests\xpcshell\head.js:868:20
[task 2023-05-25T09:35:57.104Z] 09:35:57     INFO -  do_report_result@Z:\task_168500201566932\build\tests\xpcshell\head.js:977:5
[task 2023-05-25T09:35:57.105Z] 09:35:57     INFO -  Assert<@Z:\task_168500201566932\build\tests\xpcshell\head.js:71:21
[task 2023-05-25T09:35:57.105Z] 09:35:57     INFO -  Assert.prototype.report@resource://testing-common/Assert.sys.mjs:240:10
[task 2023-05-25T09:35:57.105Z] 09:35:57     INFO -  equal@resource://testing-common/Assert.sys.mjs:282:8
[task 2023-05-25T09:35:57.105Z] 09:35:57     INFO -  check_results@Z:/task_168500201566932/build/tests/xpcshell/tests/browser/components/urlbar/tests/unit/head.js:969:10
[task 2023-05-25T09:35:57.106Z] 09:35:57     INFO -  _do_main@Z:\task_168500201566932\build\tests\xpcshell\head.js:238:6
[task 2023-05-25T09:35:57.106Z] 09:35:57     INFO -  _execute_test@Z:\task_168500201566932\build\tests\xpcshell\head.js:585:5
[task 2023-05-25T09:35:57.106Z] 09:35:57     INFO -  @-e:1:1
[task 2023-05-25T09:35:57.107Z] 09:35:57     INFO -  exiting test
[task 2023-05-25T09:35:57.107Z] 09:35:57     INFO -  PID 9124 | [WARN  rkv::backend::impl_safe::environment] `load_ratio()` is irrelevant for this storage backend.
[task 2023-05-25T09:35:57.107Z] 09:35:57     INFO -  "ensureQuickSuggestInit starting cleanup"
[task 2023-05-25T09:35:57.107Z] 09:35:57     INFO -  "ensureQuickSuggestInit finished cleanup"
[task 2023-05-25T09:35:57.108Z] 09:35:57     INFO -  "Force a GC"
[task 2023-05-25T09:35:57.108Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: startCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.108Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: initiateShutdownWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.109Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: idb: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.109Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: cache: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.109Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: sdb: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.110Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: fs: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.110Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: ls: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.110Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: startKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.110Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: stopKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.111Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: shutdownAndJoinWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.111Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: idb: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.111Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: cache: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.112Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: sdb: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.112Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: fs: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.112Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: ls: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.113Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: shutdownAndJoinIOThread', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.113Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: invalidatePendingDirectoryLocks', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.113Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: stopCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-05-25T09:35:57.114Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3426
[task 2023-05-25T09:35:57.114Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:3376
[task 2023-05-25T09:35:57.114Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4687
[task 2023-05-25T09:35:57.115Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, Main Thread] WARNING: XPCOM object PerThreadData destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:216
[task 2023-05-25T09:35:57.115Z] 09:35:57     INFO -  PID 9124 | [Parent 9124, Main Thread] WARNING: XPCOM object SourceList destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:216
[task 2023-05-25T09:35:57.116Z] 09:35:57     INFO -  <<<<<<<
[task 2023-05-25T09:35:57.127Z] 09:35:57     INFO -  TEST-START | browser/components/urlbar/tests/quicksuggest/unit/test_quicksuggest_positionInSuggestions.js
```