Bug: Intermittent browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have been found in autocomplete - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser...
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-07-06 14:53:39+00:00
Resolved: 2021-08-10 17:00:34+00:00

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

---
```
INFO - TEST-START | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js
[task 2021-07-06T11:58:09.460Z] 11:58:09     INFO - TEST-INFO | started process screentopng
[task 2021-07-06T11:58:09.871Z] 11:58:09     INFO - TEST-INFO | screentopng: exit 0
[task 2021-07-06T11:58:09.872Z] 11:58:09     INFO - Buffered messages logged at 11:58:07
[task 2021-07-06T11:58:09.872Z] 11:58:09     INFO - Entering test bound step_1
[task 2021-07-06T11:58:09.873Z] 11:58:09     INFO - Running step 1
[task 2021-07-06T11:58:09.874Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch1
[task 2021-07-06T11:58:09.874Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch2
[task 2021-07-06T11:58:09.875Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch3
[task 2021-07-06T11:58:09.876Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch4
[task 2021-07-06T11:58:09.876Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch5
[task 2021-07-06T11:58:09.877Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch6
[task 2021-07-06T11:58:09.877Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch7
[task 2021-07-06T11:58:09.878Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch8
[task 2021-07-06T11:58:09.879Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch9
[task 2021-07-06T11:58:09.879Z] 11:58:09     INFO - Buffered messages logged at 11:58:08
[task 2021-07-06T11:58:09.880Z] 11:58:09     INFO - Searching open pages.
[task 2021-07-06T11:58:09.880Z] 11:58:09     INFO - Awaiting for the urlbar panel to open
[task 2021-07-06T11:58:09.881Z] 11:58:09     INFO - Urlbar panel opened
[task 2021-07-06T11:58:09.881Z] 11:58:09     INFO - Skip heuristic match
[task 2021-07-06T11:58:09.884Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.885Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch9 in open tabs.
[task 2021-07-06T11:58:09.885Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch9 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.885Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.885Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch8 in open tabs.
[task 2021-07-06T11:58:09.885Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch8 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.886Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.886Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch7 in open tabs.
[task 2021-07-06T11:58:09.886Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch7 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.887Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.888Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch6 in open tabs.
[task 2021-07-06T11:58:09.888Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch6 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.889Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.890Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch5 in open tabs.
[task 2021-07-06T11:58:09.890Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch5 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.891Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.892Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch4 in open tabs.
[task 2021-07-06T11:58:09.892Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch4 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.893Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.894Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch3 in open tabs.
[task 2021-07-06T11:58:09.894Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch3 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.895Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.896Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch2 in open tabs.
[task 2021-07-06T11:58:09.896Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch2 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.897Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.898Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch1 in open tabs.
[task 2021-07-06T11:58:09.898Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch1 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.899Z] 11:58:09     INFO - Leaving test bound step_1
[task 2021-07-06T11:58:09.899Z] 11:58:09     INFO - Entering test bound step_2
[task 2021-07-06T11:58:09.900Z] 11:58:09     INFO - Running step 2
[task 2021-07-06T11:58:09.901Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch10
[task 2021-07-06T11:58:09.901Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch11
[task 2021-07-06T11:58:09.902Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch12
[task 2021-07-06T11:58:09.902Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch13
[task 2021-07-06T11:58:09.903Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch14
[task 2021-07-06T11:58:09.904Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch15
[task 2021-07-06T11:58:09.904Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch16
[task 2021-07-06T11:58:09.905Z] 11:58:09     INFO - Buffered messages logged at 11:58:09
[task 2021-07-06T11:58:09.906Z] 11:58:09     INFO - Searching open pages.
[task 2021-07-06T11:58:09.907Z] 11:58:09     INFO - Awaiting for the urlbar panel to open
[task 2021-07-06T11:58:09.908Z] 11:58:09     INFO - Urlbar panel opened
[task 2021-07-06T11:58:09.909Z] 11:58:09     INFO - Skip heuristic match
[task 2021-07-06T11:58:09.910Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.911Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch15 in open tabs.
[task 2021-07-06T11:58:09.912Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch15 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.913Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.914Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch11 in open tabs.
[task 2021-07-06T11:58:09.915Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch11 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.916Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.918Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch16 in open tabs.
[task 2021-07-06T11:58:09.919Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch16 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.934Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.935Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch12 in open tabs.
[task 2021-07-06T11:58:09.936Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch12 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.937Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:09.938Z] 11:58:09     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch13 in open tabs.
[task 2021-07-06T11:58:09.939Z] 11:58:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/moz.png#tabmatch13 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:09.940Z] 11:58:09     INFO - Buffered messages finished
[task 2021-07-06T11:58:09.942Z] 11:58:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have been found in autocomplete - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js :: checkAutocompleteResults :: line 222
[task 2021-07-06T11:58:09.942Z] 11:58:09     INFO - Stack trace:
[task 2021-07-06T11:58:09.942Z] 11:58:09     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js:checkAutocompleteResults:222
[task 2021-07-06T11:58:09.943Z] 11:58:09     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-06T11:58:09.944Z] 11:58:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have been found in autocomplete - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js :: checkAutocompleteResults :: line 222
[task 2021-07-06T11:58:09.944Z] 11:58:09     INFO - Stack trace:
[task 2021-07-06T11:58:09.945Z] 11:58:09     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js:checkAutocompleteResults:222
[task 2021-07-06T11:58:09.946Z] 11:58:09     INFO - Leaving test bound step_2
[task 2021-07-06T11:58:09.947Z] 11:58:09     INFO - Entering test bound step_3
[task 2021-07-06T11:58:09.947Z] 11:58:09     INFO - Running step 3
[task 2021-07-06T11:58:09.948Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16
[task 2021-07-06T11:58:09.949Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16
[task 2021-07-06T11:58:09.950Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16
[task 2021-07-06T11:58:09.951Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16
[task 2021-07-06T11:58:09.952Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16
[task 2021-07-06T11:58:09.953Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16
[task 2021-07-06T11:58:09.954Z] 11:58:09     INFO - Loading page: https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16
[task 2021-07-06T11:58:10.144Z] 11:58:10     INFO - Searching open pages.
[task 2021-07-06T11:58:10.164Z] 11:58:10     INFO - Awaiting for the urlbar panel to open
[task 2021-07-06T11:58:10.172Z] 11:58:10     INFO - Urlbar panel opened
[task 2021-07-06T11:58:10.276Z] 11:58:10     INFO - Skip heuristic match
[task 2021-07-06T11:58:10.278Z] 11:58:10     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
[task 2021-07-06T11:58:10.280Z] 11:58:10     INFO - Search for https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16 in open tabs.
[task 2021-07-06T11:58:10.281Z] 11:58:10     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html#tabmatch16 was found in autocomplete, was  expected - true == true - 
[task 2021-07-06T11:58:10.284Z] 11:58:10     INFO - Leaving test bound step_3
[task 2021-07-06T11:58:10.284Z] 11:58:10     INFO - Entering test bound step_4
[task 2021-07-06T11:58:10.284Z] 11:58:10     INFO - Running step 4 - ensure we don't register subframes as open pages
[task 2021-07-06T11:58:10.432Z] 11:58:10     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html,<body><iframe src=""></iframe></body>" line: 0}]
[task 2021-07-06T11:58:10.616Z] 11:58:10     INFO - Searching open pages.
[task 2021-07-06T11:58:10.618Z] 11:58:10     INFO - Awaiting for the urlbar panel to open
[task 2021-07-06T11:58:10.624Z] 11:58:10     INFO - Urlbar panel opened
[task 2021-07-06T11:58:10.731Z] 11:58:10     INFO - Skip heuristic match
[task 2021-07-06T11:58:10.738Z] 11:58:10     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js | Should have a tab switch result - 1 == 1 - 
```