Bug: Intermittent browser/components/urlbar/tests/unit/test_search_suggestions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-08-01 10:39:37+00:00
Resolved: 2023-08-28 12:02:00+00:00

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

---
```
[task 2023-08-01T09:46:39.463Z] 09:46:39     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_search_suggestions.js | disabled_urlbarSuggestions_withRestrictionToken - [disabled_urlbarSuggestions_withRestrictionToken : 1] result.type at result index 8 - 2 == 2
[task 2023-08-01T09:46:39.464Z] 09:46:39  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_search_suggestions.js | disabled_urlbarSuggestions_withRestrictionToken - [disabled_urlbarSuggestions_withRestrictionToken : 1] result.source at result index 8 - 2 == 3
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  -e:null:1
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  exiting test
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  _abort_failed_test@Z:\task_169087248132860\build\tests\xpcshell\head.js:865:20
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  do_report_result@Z:\task_169087248132860\build\tests\xpcshell\head.js:974:5
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  Assert<@Z:\task_169087248132860\build\tests\xpcshell\head.js:70:21
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  Assert.prototype.report@resource://testing-common/Assert.sys.mjs:238:10
[task 2023-08-01T09:46:39.464Z] 09:46:39     INFO -  equal@resource://testing-common/Assert.sys.mjs:280:8
[task 2023-08-01T09:46:39.465Z] 09:46:39     INFO -  check_results@Z:/task_169087248132860/build/tests/xpcshell/tests/browser/components/urlbar/tests/unit/head.js:964:12
[task 2023-08-01T09:46:39.465Z] 09:46:39     INFO -  _do_main@Z:\task_169087248132860\build\tests\xpcshell\head.js:245:6
[task 2023-08-01T09:46:39.465Z] 09:46:39     INFO -  _execute_test@Z:\task_169087248132860\build\tests\xpcshell\head.js:592:5
[task 2023-08-01T09:46:39.465Z] 09:46:39     INFO -  @-e:1:1
[task 2023-08-01T09:46:39.465Z] 09:46:39     INFO -  exiting test
[task 2023-08-01T09:46:39.465Z] 09:46:39     INFO -  "Force a GC"
[task 2023-08-01T09:46:39.466Z] 09:46:39     INFO -  PID 5508 | [WARN  rkv::backend::impl_safe::environment] `load_ratio()` is irrelevant for this storage backend.
[task 2023-08-01T09:46:39.466Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: startCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.466Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: initiateShutdownWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.466Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: idb: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.466Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: cache: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.467Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: sdb: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.467Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: fs: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.467Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: ls: '0.000000s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.468Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: startKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.468Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: stopKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.468Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: shutdownAndJoinWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.468Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: idb: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.469Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: cache: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.469Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: sdb: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.469Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: fs: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.469Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: ls: '0.000000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.470Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: shutdownAndJoinIOThread', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.470Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: invalidatePendingDirectoryLocks', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.470Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPDL Background] WARNING: quota manager shutdown step: '0.000000s: stopCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2285
[task 2023-08-01T09:46:39.470Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11971
[task 2023-08-01T09:46:39.471Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, IPC I/O Parent] WARNING: Process 1584 may be hanging at shutdown; will wait for up to 8000ms: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_win.cc:129
[task 2023-08-01T09:46:39.471Z] 09:46:39     INFO -  PID 5508 | DLL blocklist was unable to intercept AppInit DLLs.
[task 2023-08-01T09:46:39.471Z] 09:46:39     INFO -  PID 5508 | [1584, IPC I/O Child] WARNING: Call to Send() failed: file /builds/worker/checkouts/gecko/ipc/glue/NodeChannel.cpp:198
[task 2023-08-01T09:46:39.471Z] 09:46:39     INFO -  PID 5508 | [Socket 1584, Main Thread] WARNING: IPC Connection Error: [Child][PSocketProcessChild] Send(msgname=PSocketProcess::Msg_InitCrashReporter) Channel error: cannot send/recv: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1934
[task 2023-08-01T09:46:39.472Z] 09:46:39     INFO -  PID 5508 | [Socket 1584, Main Thread] WARNING: IPC Connection Error: [Child][PSocketProcessChild] Send(msgname=PSocketProcess::Msg_InitBackground) Channel error: cannot send/recv: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1934
[task 2023-08-01T09:46:39.472Z] 09:46:39     INFO -  PID 5508 | [Socket 1584, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpHandler.cpp:352
[task 2023-08-01T09:46:39.472Z] 09:46:39     INFO -  PID 5508 | [Socket 1584, Main Thread] WARNING: Shutting down Socket process early due to a crash!: file /builds/worker/checkouts/gecko/netwerk/ipc/SocketProcessChild.cpp:176
[task 2023-08-01T09:46:39.472Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, Main Thread] WARNING: XPCOM object PerThreadData destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:216
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 | [Parent 5508, Main Thread] WARNING: XPCOM object SourceList destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:216
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 | Leaked URLs:
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 |   http://localhost:50105/suggest?q=hello
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 | nsStringStats
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 |  => mAllocCount:          31786
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 |  => mReallocCount:            0
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 |  => mFreeCount:           31732  --  LEAKED 54 !!!
[task 2023-08-01T09:46:39.473Z] 09:46:39     INFO -  PID 5508 |  => mShareCount:          31607
[task 2023-08-01T09:46:39.474Z] 09:46:39     INFO -  PID 5508 |  => mAdoptCount:           1060
[task 2023-08-01T09:46:39.474Z] 09:46:39     INFO -  PID 5508 |  => mAdoptFreeCount:       1125
[task 2023-08-01T09:46:39.474Z] 09:46:39     INFO -  PID 5508 |  => Process ID: 5508, Thread ID: 8864
[task 2023-08-01T09:46:39.474Z] 09:46:39     INFO -  <<<<<<<
[task 2023-08-01T09:46:39.491Z] 09:46:39     INFO -  TEST-START | browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js
[task 2023-08-01T09:46:47.772Z] 09:46:47  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | xpcshell return code: 0
[task 2023-08-01T09:46:47.772Z] 09:46:47     INFO -  TEST-INFO took 8285ms
[task 2023-08-01T09:46:47.779Z] 09:46:47     INFO -  >>>>>>>
[task 2023-08-01T09:46:47.779Z] 09:46:47     INFO -  PID 2072 | DLL blocklist was unable to intercept AppInit DLLs.
[task 2023-08-01T09:46:47.780Z] 09:46:47     INFO -  PID 2072 | [Parent 2072, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:126
[task 2023-08-01T09:46:47.780Z] 09:46:47     INFO -  PID 2072 | [Parent 2072, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:126
[task 2023-08-01T09:46:47.780Z] 09:46:47     INFO -  PID 2072 | [Parent 2072, 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:2886
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  running event loop
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | Starting setup
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2023-08-01T09:46:47.781Z] 09:46:47     INFO -  PID 2072 | [Parent 2072, Main Thread] WARNING: Couldn't get the user appdata directory, crash dumps will go in an unusual location: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2944
[task 2023-08-01T09:46:47.782Z] 09:46:47     INFO -  PID 2072 | [WARN  rkv::backend::impl_safe::environment] `load_ratio()` is irrelevant for this storage backend.
[task 2023-08-01T09:46:47.782Z] 09:46:47     INFO -  "Extension attached"
[task 2023-08-01T09:46:47.782Z] 09:46:47     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | setup - [setup : 1721] Search provider extension should be running - "running" == "running"
```