Bug: Intermitent [Tier 2] browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected number of top sites results - 5 == 3 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser <...>:: line 103
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-09-14 09:57:37+00:00
Resolved: 2021-10-12 17:01:55+00:00

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

---
```
[task 2021-09-14T08:41:34.079Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Urlbar value hasn't changed. - "" == "" - 
[task 2021-09-14T08:41:34.080Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Urlbar should never be in search mode without the corresponding attribute. - false == false - 
[task 2021-09-14T08:41:34.080Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | gURLBar.searchMode should exist as expected - false == false - 
[task 2021-09-14T08:41:34.081Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected placeholder l10n when search mode is inactive - {"args":null,"id":"urlbar-placeholder"} deepEqual {"id":"urlbar-placeholder","args":null} - 
[task 2021-09-14T08:41:34.082Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Urlbar view is open. - true == true - 
[task 2021-09-14T08:41:34.082Z] 08:41:34     INFO - Buffered messages finished
[task 2021-09-14T08:41:34.084Z] 08:41:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected number of top sites results - 5 == 3 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_indicator.js :: verifyTopSitesResultsAdded :: line 103
[task 2021-09-14T08:41:34.084Z] 08:41:34     INFO - Stack trace:
[task 2021-09-14T08:41:34.084Z] 08:41:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_indicator.js:verifyTopSitesResultsAdded:103
[task 2021-09-14T08:41:34.084Z] 08:41:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_indicator.js:backspace:142
[task 2021-09-14T08:41:34.085Z] 08:41:34     INFO - Awaiting for the urlbar panel to open
[task 2021-09-14T08:41:34.085Z] 08:41:34     INFO - Urlbar panel opened
[task 2021-09-14T08:41:34.086Z] 08:41:34     INFO - Enter Search Mode null
[task 2021-09-14T08:41:34.087Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | One-offs are visible - true == true - 
[task 2021-09-14T08:41:34.088Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Found one-off button for search mode - {"engine":{"_name":"browser_searchSuggestionEngine searchSuggestionEngine.xml","_loadPath":"[https]example.com/browsersearchsuggestionengine-searchsuggestionenginexml.xml","description":"","__searchForm":null,"_iconURL":"","_metaData":{"loadPathHash":"lkm9y/WY9nJFsbIenvf7wHApTozBphOeNL9d+e1mulk=","order":1},"_urls":[{"params":[],"rels":[],"template":"http://mochi.test:8888/browser/browser/components/urlbar/tests/browser/searchSuggestionEngine.sjs?{searchTerms}","type":"application/x-suggestions+json"},{"params":[{"name":"terms","value":"{searchTerms}"}],"rels":["searchform"],"template":"http://mochi.test:8888/"}],"_isAppProvided":false,"_orderHint":null,"_telemetryId":null,"_updateInterval":null,"_updateURL":null,"_iconUpdateURL":null,"_extensionID":null,"_locale":null,"_definedAliases":[],"_hasPreferredIcon":null},"_inheritedElements":{".button-icon":{}},"initializedAttributeInheritance":true} == true - 
[task 2021-09-14T08:41:34.089Z] 08:41:34     INFO - Console message: [JavaScript Warning: "browser.ui.interaction.nav_bar - The key length must be limited to 72 characters."]
[task 2021-09-14T08:41:34.090Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Urlbar view is still open. - true == true - 
[task 2021-09-14T08:41:34.091Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Urlbar should never be in search mode without the corresponding attribute. - true == true - 
[task 2021-09-14T08:41:34.091Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | gURLBar.searchMode should exist as expected - true == true - 
[task 2021-09-14T08:41:34.093Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected searchMode - {"engineName":"browser_searchSuggestionEngine searchSuggestionEngine.xml","isGeneralPurposeEngine":false,"isPreview":false,"entry":"oneoff"} deepEqual {"engineName":"browser_searchSuggestionEngine searchSuggestionEngine.xml","entry":"oneoff","isPreview":false,"isGeneralPurposeEngine":false} - 
[task 2021-09-14T08:41:34.094Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected textContent - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2021-09-14T08:41:34.094Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected l10n - {"args":null,"id":null} deepEqual {"id":null,"args":null} - 
[task 2021-09-14T08:41:34.095Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected textContent - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2021-09-14T08:41:34.096Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected l10n - {"args":null,"id":null} deepEqual {"id":null,"args":null} - 
[task 2021-09-14T08:41:34.108Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Expected placeholder l10n when search mode is active - {"args":{"name":"browser_searchSuggestionEngine searchSuggestionEngine.xml"},"id":"urlbar-placeholder-search-mode-other-engine"} deepEqual {"id":"urlbar-placeholder-search-mode-other-engine","args":{"name":"browser_searchSuggestionEngine searchSuggestionEngine.xml"}} - 
[task 2021-09-14T08:41:34.109Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Search mode result matches engine name. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2021-09-14T08:41:34.115Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Search mode result matches engine name. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2021-09-14T08:41:34.124Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | Search mode result matches engine name. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2021-09-14T08:41:34.124Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | There should be three results. - 3 == 3 - 
[task 2021-09-14T08:41:34.127Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | The first result should be a search result for our suggestion engine. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2021-09-14T08:41:34.140Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | The second result should be a suggestion result. - "test stringfoo" == "test stringfoo" - 
[task 2021-09-14T08:41:34.145Z] 08:41:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_indicator.js | The second result should be a search result for our suggestion engine. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2021-09-14T08:41:34.161Z] 08:41:34     INFO - Awaiting for the urlbar panel to open
[task 2021-09-14T08:41:34.197Z] 08:41:34     INFO - Urlbar panel opened
```