Bug: Intermittent browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js | gURLBar.searchMode should exist as expected - true == false - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 442
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-02-03 03:47:42+00:00
Resolved: 2022-03-01 17:08:01+00:00

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

---
```
[task 2022-02-03T02:26:14.566Z] 02:26:14     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js | Urlbar should never be in search mode without the corresponding attribute. - true == true - 
[task 2022-02-03T02:26:14.567Z] 02:26:14     INFO - Buffered messages finished
[task 2022-02-03T02:26:14.567Z] 02:26:14     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js | gURLBar.searchMode should exist as expected - true == false - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 442
[task 2022-02-03T02:26:14.567Z] 02:26:14     INFO - Stack trace:
[task 2022-02-03T02:26:14.568Z] 02:26:14     INFO - resource://testing-common/UrlbarTestUtils.jsm:assertSearchMode:442
[task 2022-02-03T02:26:14.568Z] 02:26:14     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js:doPickResultTest/<:87
[task 2022-02-03T02:26:14.568Z] 02:26:14     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-03T02:26:14.570Z] 02:26:14     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js | Expected placeholder l10n when search mode is inactive - {"args":null,"id":"urlbar-placeholder-search-mode-other-bookmarks"} deepEqual {"id":"urlbar-placeholder-with-name","args":{"name":"Google"}} - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 454
[task 2022-02-03T02:26:14.570Z] 02:26:14     INFO - Stack trace:
[task 2022-02-03T02:26:14.570Z] 02:26:14     INFO - resource://testing-common/UrlbarTestUtils.jsm:assertSearchMode:454
[task 2022-02-03T02:26:14.570Z] 02:26:14     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js:doPickResultTest/<:87
[task 2022-02-03T02:26:14.570Z] 02:26:14     INFO - doPickResultTest with args: {"initialURL":"about:blank","searchString":"http://www.example.com"}
[task 2022-02-03T02:26:14.571Z] 02:26:14     INFO - GECKO(2276) | [Child 5548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 5550b00 == 2 [pid = 5548] [id = 108]
[task 2022-02-03T02:26:14.571Z] 02:26:14     INFO - GECKO(2276) | [Child 5548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (add5c00) [pid = 5548] [serial = 272] [outer = 0]
[task 2022-02-03T02:26:14.572Z] 02:26:14     INFO - GECKO(2276) | [Child 5548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (ada3200) [pid = 5548] [serial = 273] [outer = add5c00]
[task 2022-02-03T02:26:14.573Z] 02:26:14     INFO - GECKO(2276) | [Child 5548, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x804B0050 (NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/URLQueryStringStripper.cpp:129
[task 2022-02-03T02:26:14.573Z] 02:26:14     INFO - GECKO(2276) | [Child 5548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (adde000) [pid = 5548] [serial = 274] [outer = add5c00]
[task 2022-02-03T02:26:14.574Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.574Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.575Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.577Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.583Z] 02:26:14     INFO - GECKO(2276) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL a39a900 == 0 [pid = 1844] [id = 0] [url = http://www.example.com/browser_searchMode_pickResult.js]
[task 2022-02-03T02:26:14.591Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.594Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.596Z] 02:26:14     INFO - GECKO(2276) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (a3d5200) [pid = 1844] [serial = 1] [outer = 0] [url = http://www.example.com/browser_searchMode_pickResult.js]
[task 2022-02-03T02:26:14.597Z] 02:26:14     INFO - GECKO(2276) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (a39b800) [pid = 1844] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-02-03T02:26:14.597Z] 02:26:14     INFO - GECKO(2276) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (a39ca00) [pid = 1844] [serial = 3] [outer = 0] [url = http://www.example.com/browser_searchMode_pickResult.js]
[task 2022-02-03T02:26:14.597Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3351
[task 2022-02-03T02:26:14.598Z] 02:26:14     INFO - GECKO(2276) | [2022-02-03T02:26:14Z WARN  audioipc2::ipccore] AudioIPC Server RPC: EventLoop drop - closing connection for Token(8) failed: Custom { kind: NotFound, error: "I/O source not registered with `Registry`" }
[task 2022-02-03T02:26:14.599Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.600Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.601Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.602Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:499
[task 2022-02-03T02:26:14.606Z] 02:26:14     INFO - GECKO(2276) | [Child 1844, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4448
[task 2022-02-03T02:26:14.808Z] 02:26:14     INFO - GECKO(2276) | [Parent 472, Main Thread] WARNING: '!mOwner', file /builds/worker/checkouts/gecko/dom/events/Event.cpp:749
[task 2022-02-03T02:26:14.819Z] 02:26:14     INFO - Awaiting for the urlbar panel to open
[task 2022-02-03T02:26:14.846Z] 02:26:14     INFO - Urlbar panel opened
[task 2022-02-03T02:26:14.913Z] 02:26:14     INFO - Enter Search Mode {"source":1}
[task 2022-02-03T02:26:14.923Z] 02:26:14     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_pickResult.js | One-offs are visible - true == true - 
```