Closed Bug 1663016 Opened 4 years ago Closed 4 years ago

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

Categories

(Firefox :: Address Bar, defect, P1)

defect
Points:
1

Tracking

()

VERIFIED FIXED
82 Branch
Iteration:
82.2 - Sep 7 - Sep 20
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- unaffected
firefox82 + verified

People

(Reporter: cbrindusan, Assigned: adw)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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

Flags: needinfo?(adw)
Assignee: nobody → adw
Severity: -- → S3
Status: NEW → ASSIGNED
Iteration: --- → 82.2 - Sep 7 - Sep 20
Points: --- → 2
Flags: needinfo?(adw)
Priority: -- → P1

The "Search in a Private Window" result is included only in Nightly builds, so
this test needs to either enable the corresponding pref, or disable the pref and
remove that result from the expected results. This patch does the latter.

Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/181dc0502862 Fix Beta failure in browser/components/urlbar/tests/unit/test_search_suggestions_aliases.js. r=harry
Points: 2 → 1
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: