Bug: Perma browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | nonTokenAlias_noTrailingSpace - [nonTokenAlias_noTrailingSpace : 1] Found the expected number of results. - 1 == 2 when Gecko 82 merges to Beta on 2020-09-21
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2020-09-03 14:46:33+00:00
Resolved: 2021-06-11 11:04:09+00:00

Central as Beta simulation

Treeherder link: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception&revision=5463c8f098273d9b96001b6089d2f666b9bc07a7&selectedTaskRun=bEhvKcbRSRGAQnSfgcpmqg.0

Failure log: 
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=314796511&repo=try&lineNumber=3872

[task 2020-09-03T13:28:18.419Z] 13:28:18     INFO -  TEST-START | browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js
[task 2020-09-03T13:28:21.161Z] 13:28:21  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | xpcshell return code: 0
[task 2020-09-03T13:28:21.161Z] 13:28:21     INFO -  TEST-INFO took 2746ms
[task 2020-09-03T13:28:21.162Z] 13:28:21     INFO -  >>>>>>>
[task 2020-09-03T13:28:21.162Z] 13:28:21     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-09-03T13:28:21.162Z] 13:28:21     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-09-03T13:28:21.162Z] 13:28:21     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-09-03T13:28:21.162Z] 13:28:21     INFO -  running event loop
[task 2020-09-03T13:28:21.163Z] 13:28:21     INFO -  browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | Starting initXPCShellDependencies
[task 2020-09-03T13:28:21.163Z] 13:28:21     INFO -  (xpcshell/head.js) | test initXPCShellDependencies pending (2)
[task 2020-09-03T13:28:21.163Z] 13:28:21     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-09-03T13:28:21.163Z] 13:28:21     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-09-03T13:28:21.163Z] 13:28:21     INFO -  (xpcshell/head.js) | test initXPCShellDependencies finished (2)
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | Starting setup
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  "Adding engine: engine-suggestions.xml"
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  "Adding engine from URL: http://localhost:9000/data/engine-suggestions.xml"
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  PID 26792 | console.error: SearchCache: "_readCacheFile: Error reading cache file:" (new Error("", "(unknown module)"))
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  "Observed engine-added for engine-suggestions.xml"
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  "Observed engine-loaded for engine-suggestions.xml"
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | Starting nonTokenAlias_noTrailingSpace
[task 2020-09-03T13:28:21.164Z] 13:28:21     INFO -  (xpcshell/head.js) | test nonTokenAlias_noTrailingSpace pending (2)
[task 2020-09-03T13:28:21.166Z] 13:28:21     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | nonTokenAlias_noTrailingSpace - [nonTokenAlias_noTrailingSpace : 41] "moz" == "moz"
[task 2020-09-03T13:28:21.166Z] 13:28:21     INFO -  "Creating new queryContext with searchString: moz"
[task 2020-09-03T13:28:21.167Z] 13:28:21     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2020-09-03T13:28:21.167Z] 13:28:21     INFO -  "Actual results: [{"type":2,"source":3,"rowIndex":-1,"suggestedIndex":-1,"heuristic":true,"payload":{"engine":"TestDefaultEngine","query":"moz"},"payloadHighlights":{"engine":[],"icon":[],"query":[]},"providerName":"HeuristicFallback","providerType":1}]"
[task 2020-09-03T13:28:21.167Z] 13:28:21  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js | nonTokenAlias_noTrailingSpace - [nonTokenAlias_noTrailingSpace : 1] Found the expected number of results. - 1 == 2