Bug: Intermittent browser/components/urlbar/tests/browser/browser_inputHistory.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-05-06 08:10:15+00:00
Resolved: 2023-01-10 17:02:18+00:00

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

---
```
[task 2022-05-06T06:29:33.458Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Check first result - "http://site.tld/1" == "http://site.tld/1" - 
[task 2022-05-06T06:29:33.465Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Check second result - "http://site.tld/2" == "http://site.tld/2" - 
[task 2022-05-06T06:29:33.466Z] 06:29:33     INFO - Entering search mode.
[task 2022-05-06T06:29:33.467Z] 06:29:33     INFO - Enter Search Mode {"engineName":"browser_searchSuggestionEngine searchSuggestionEngine.xml"}
[task 2022-05-06T06:29:33.468Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | One-offs are visible - true == true - 
[task 2022-05-06T06:29:33.469Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.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":"tUsBqxNsrtx0FV28XgRASc1V9ksSwg0xFcukvYThjtQ=","order":7},"_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 2022-05-06T06:29:33.470Z] 06:29:33     INFO - Console message: [JavaScript Warning: "browser.ui.interaction.nav_bar - The key length must be limited to 72 characters."]
[task 2022-05-06T06:29:33.471Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Urlbar view is still open. - true == true - 
[task 2022-05-06T06:29:33.472Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Urlbar should never be in search mode without the corresponding attribute. - true == true - 
[task 2022-05-06T06:29:33.473Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | gURLBar.searchMode should exist as expected - true == true - 
[task 2022-05-06T06:29:33.474Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.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 2022-05-06T06:29:33.475Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Expected textContent - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2022-05-06T06:29:33.488Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Expected l10n - {"args":null,"id":null} deepEqual {"id":null,"args":null} - 
[task 2022-05-06T06:29:33.489Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Expected textContent - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2022-05-06T06:29:33.491Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Expected l10n - {"args":null,"id":null} deepEqual {"id":null,"args":null} - 
[task 2022-05-06T06:29:33.492Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.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 2022-05-06T06:29:33.493Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Search mode result matches engine name. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2022-05-06T06:29:33.500Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Search mode result matches engine name. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2022-05-06T06:29:33.501Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Search mode result matches engine name. - "browser_searchSuggestionEngine searchSuggestionEngine.xml" == "browser_searchSuggestionEngine searchSuggestionEngine.xml" - 
[task 2022-05-06T06:29:33.502Z] 06:29:33     INFO - Leaving test bound test_adaptive_searchmode
[task 2022-05-06T06:29:33.505Z] 06:29:33     INFO - Entering test bound test_adaptive_history_in_privatewindow
[task 2022-05-06T06:29:33.506Z] 06:29:33     INFO - Check adaptive history is not shown in private window as tab switching candidate.
[task 2022-05-06T06:29:33.507Z] 06:29:33     INFO - Add a test url as an input history.
[task 2022-05-06T06:29:33.508Z] 06:29:33     INFO - Buffered messages logged at 06:29:26
[task 2022-05-06T06:29:33.509Z] 06:29:33     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/" line: 0}]
[task 2022-05-06T06:29:33.510Z] 06:29:33     INFO - Check the url could be registered properly.
[task 2022-05-06T06:29:33.511Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Length of rows for the url is 1. - 1 == 1 - 
[task 2022-05-06T06:29:33.511Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | The url is registered as non-private-browsing context. - 0 >= 0 - 
[task 2022-05-06T06:29:33.512Z] 06:29:33     INFO - Open popup in private window.
[task 2022-05-06T06:29:33.513Z] 06:29:33     INFO - Buffered messages logged at 06:29:31
[task 2022-05-06T06:29:33.514Z] 06:29:33     INFO - Awaiting for the urlbar panel to open
[task 2022-05-06T06:29:33.517Z] 06:29:33     INFO - Urlbar panel opened
[task 2022-05-06T06:29:33.518Z] 06:29:33     INFO - Check the popup results.
[task 2022-05-06T06:29:33.519Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Result type of the url is not for tab switch. - 3 != 1 - 
[task 2022-05-06T06:29:33.519Z] 06:29:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_inputHistory.js | Popup has a result for the url. - true == true - 
[task 2022-05-06T06:29:33.521Z] 06:29:33     INFO - Leaving test bound test_adaptive_history_in_privatewindow
[task 2022-05-06T06:29:33.522Z] 06:29:33     INFO - Buffered messages finished
[task 2022-05-06T06:29:33.523Z] 06:29:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_inputHistory.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - 
[task 2022-05-06T06:29:33.524Z] 06:29:33     INFO - GECKO(7595) | MEMORY STAT | vsize 12305MB | residentFast 613MB | heapAllocated 319MB
[task 2022-05-06T06:29:33.525Z] 06:29:33     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_inputHistory.js | took 46806ms
[task 2022-05-06T06:29:33.526Z] 06:29:33     INFO - checking window state
[task 2022-05-06T06:29:33.528Z] 06:29:33     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_inputHistory_emptystring.js
```