Bug: Intermittent browser/components/urlbar/tests/browser/browser_enter.js | Uncaught exception - Wait until entering search mode - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-01-26 18:28:08+00:00
Resolved: 2022-06-14 17:07:24+00:00

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

---
```
[task 2022-01-26T17:47:16.108Z] 17:47:16     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_enter.js | The selectionEnd indicates at beginning of the value - 0 == 0 - 
[task 2022-01-26T17:47:16.109Z] 17:47:16     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://mochi.test:8888/?terms=x" line: 0}]
[task 2022-01-26T17:47:16.109Z] 17:47:16     INFO - Leaving test bound searchOnEnterSoon
[task 2022-01-26T17:47:16.110Z] 17:47:16     INFO - Entering test bound searchByMultipleEnters
[task 2022-01-26T17:47:16.110Z] 17:47:16     INFO - Search on Enter after selecting the search engine by Enter
[task 2022-01-26T17:47:16.111Z] 17:47:16     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://example.com/%C3%B7?%C3%B7" line: 0}]
[task 2022-01-26T17:47:16.112Z] 17:47:16     INFO - Select a search engine by Enter key
[task 2022-01-26T17:47:16.112Z] 17:47:16     INFO - Buffered messages logged at 17:47:10
[task 2022-01-26T17:47:16.113Z] 17:47:16     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://mochi.test:8888/?terms=%40default" line: 0}]
[task 2022-01-26T17:47:16.113Z] 17:47:16     INFO - Buffered messages finished
[task 2022-01-26T17:47:16.114Z] 17:47:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_enter.js | Uncaught exception - Wait until entering search mode - timed out after 50 tries.
[task 2022-01-26T17:47:16.114Z] 17:47:16     INFO - Leaving test bound searchByMultipleEnters
[task 2022-01-26T17:47:16.115Z] 17:47:16     INFO - GECKO(4820) | MEMORY STAT | vsize 2112903MB | vsizeMaxContiguous 65033077MB | residentFast 568MB | heapAllocated 183MB
[task 2022-01-26T17:47:16.116Z] 17:47:16     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_enter.js | took 10215ms
[task 2022-01-26T17:47:16.116Z] 17:47:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-26T17:47:16.117Z] 17:47:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_enter.js | Found an unexpected tab at the end of test run: http://mochi.test:8888/?terms=%40default - 
[task 2022-01-26T17:47:16.117Z] 17:47:16     INFO - GECKO(4820) | [Child 2160: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 2d4a0807800 == 1 [pid = 2160] [id = 20]
[task 2022-01-26T17:47:16.118Z] 17:47:16     INFO - GECKO(4820) | [Child 2160: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (2d4a04ec3c0) [pid = 2160] [serial = 83] [outer = 0]
[task 2022-01-26T17:47:16.118Z] 17:47:16     INFO - GECKO(4820) | [Child 2160: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (2d4a0808400) [pid = 2160] [serial = 84] [outer = 2d4a04ec3c0]
[task 2022-01-26T17:47:16.119Z] 17:47:16     INFO - GECKO(4820) | [Parent 3412, 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-01-26T17:47:16.119Z] 17:47:16     INFO - GECKO(4820) | [Child 2160, 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-01-26T17:47:16.120Z] 17:47:16     INFO - checking window state
[task 2022-01-26T17:47:16.120Z] 17:47:16     INFO - GECKO(4820) | [Child 2160, 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-01-26T17:47:16.121Z] 17:47:16     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_enterAfterMouseOver.js
```