Bug: Intermittent browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-04-10 13:41:41+00:00
Resolved: 2024-09-04 12:01:51+00:00

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

---
```
[task 2024-04-10T13:02:50.747Z] 13:02:50     INFO -  TEST-START | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js
[task 2024-04-10T13:07:50.765Z] 13:07:50  WARNING -  TEST-UNEXPECTED-TIMEOUT | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | Test timed out
[task 2024-04-10T13:07:50.766Z] 13:07:50     INFO -  TEST-INFO took 300018ms
[task 2024-04-10T13:07:50.766Z] 13:07:50     INFO -  >>>>>>>
[task 2024-04-10T13:07:50.766Z] 13:07:50     INFO -  "MerinoTestUtils init: Depth is now 1"
[task 2024-04-10T13:07:50.766Z] 13:07:50     INFO -  "MockMerinoServer constructor"
[task 2024-04-10T13:07:50.766Z] 13:07:50     INFO -  "add_tasks_with_rust: Skipping due to skip_if_rust_enabled: anonymousTask_rustEnabled"
[task 2024-04-10T13:07:50.767Z] 13:07:50     INFO -  "add_tasks_with_rust: Skipping due to skip_if_rust_enabled: anonymousTask_rustEnabled"
[task 2024-04-10T13:07:50.767Z] 13:07:50     INFO -  "add_tasks_with_rust: Skipping due to skip_if_rust_enabled: anonymousTask_rustEnabled"
[task 2024-04-10T13:07:50.767Z] 13:07:50     INFO -  "add_tasks_with_rust: Skipping due to skip_if_rust_enabled: anonymousTask_rustEnabled"
[task 2024-04-10T13:07:50.767Z] 13:07:50     INFO -  "add_tasks_with_rust: Skipping due to skip_if_rust_enabled: anonymousTask_rustEnabled"
[task 2024-04-10T13:07:50.768Z] 13:07:50     INFO -  "add_tasks_with_rust: Skipping due to skip_if_rust_enabled: anonymousTask_rustEnabled"
[task 2024-04-10T13:07:50.768Z] 13:07:50     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-04-10T13:07:50.769Z] 13:07:50     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-04-10T13:07:50.769Z] 13:07:50     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-04-10T13:07:50.769Z] 13:07:50     INFO -  running event loop
[task 2024-04-10T13:07:50.769Z] 13:07:50     INFO -  browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | Starting setup setUpQuickSuggestXpcshellTest
[task 2024-04-10T13:07:50.770Z] 13:07:50     INFO -  (xpcshell/head.js) | test setUpQuickSuggestXpcshellTest pending (2)
[task 2024-04-10T13:07:50.770Z] 13:07:50     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-04-10T13:07:50.770Z] 13:07:50     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-04-10T13:07:50.770Z] 13:07:50     INFO -  (xpcshell/head.js) | test setUpQuickSuggestXpcshellTest finished (2)
[task 2024-04-10T13:07:50.770Z] 13:07:50     INFO -  browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | Starting setup
[task 2024-04-10T13:07:50.771Z] 13:07:50     INFO -  (xpcshell/head.js) | test pending (2)
[task 2024-04-10T13:07:50.771Z] 13:07:50     INFO -  "QuickSuggestTestUtils.ensureQuickSuggestInit Started, preparing remote settings server"
[task 2024-04-10T13:07:50.771Z] 13:07:50     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-04-10T13:07:50.771Z] 13:07:50     INFO -  "QuickSuggestTestUtils.ensureQuickSuggestInit Starting remote settings server"
[task 2024-04-10T13:07:50.772Z] 13:07:50     INFO -  PID 8904 | console.info: RemoteSettingsServer: "Starting"
[task 2024-04-10T13:07:50.772Z] 13:07:50     INFO -  PID 8904 | console.info: RemoteSettingsServer: "Server is now started at http://localhost:57830/v1"
[task 2024-04-10T13:07:50.772Z] 13:07:50     INFO -  "QuickSuggestTestUtils.ensureQuickSuggestInit Remote settings server started"
[task 2024-04-10T13:07:50.772Z] 13:07:50     INFO -  "QuickSuggestTestUtils.ensureQuickSuggestInit Calling QuickSuggest.init() and setting prefs"
[task 2024-04-10T13:07:50.773Z] 13:07:50     INFO -  PID 8904 | console.info: RemoteSettingsServer: "< HTTP 1.1 GET /v1/buckets/main/collections/quicksuggest/records?type=icon&_sort=last_modified"
[task 2024-04-10T13:07:50.773Z] 13:07:50     INFO -  PID 8904 | console.info: RemoteSettingsServer: "> 200 /v1/buckets/main/collections/quicksuggest/records"
<...>
[task 2024-04-10T13:07:53.421Z] 13:07:53     INFO -  PID 8904 | console.warn: services.settings: main/quicksuggest has signature disabled
[task 2024-04-10T13:07:53.422Z] 13:07:53     INFO -  "QuickSuggestTestUtils.forceSync Done syncing JS backend"
[task 2024-04-10T13:07:53.422Z] 13:07:53     INFO -  "QuickSuggestTestUtils.forceSync Done"
[task 2024-04-10T13:07:53.422Z] 13:07:53     INFO -  "QuickSuggestTestUtils.setRemoteSettingsRecords Done"
[task 2024-04-10T13:07:53.422Z] 13:07:53     INFO -  "Doing increment test case: {"minKeywordLength":3,"canIncrement":true}"
[task 2024-04-10T13:07:53.423Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1382] minKeywordLength should be correct - 3 == 3
[task 2024-04-10T13:07:53.423Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1387] canIncrement should be correct - true == true
[task 2024-04-10T13:07:53.423Z] 13:07:53     INFO -  "Creating new queryContext with searchString: fo"
[task 2024-04-10T13:07:53.423Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] Found the expected number of results. - 0 == 0
[task 2024-04-10T13:07:53.424Z] 13:07:53     INFO -  "Creating new queryContext with searchString: for"
[task 2024-04-10T13:07:53.424Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] Found the expected number of results. - 1 == 1
[task 2024-04-10T13:07:53.425Z] 13:07:53     INFO -  "Comparing results at index 0: actual={"type":8,"source":3,"rowIndex":-1,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"url":"https://example.com/weather","iconId":6,"requestId":"request_id","dynamicType":"weather","city":"San Francisco","temperatureUnit":"f","temperature":60,"currentConditions":"Mostly cloudy","forecast":"Pleasant Saturday","high":70,"low":57,"shouldNavigate":true,"source":"merino","provider":"accuweather"},"payloadHighlights":{"url":[],"iconId":[],"requestId":[],"dynamicType":[],"city":[],"temperatureUnit":[],"temperature":[],"currentConditions":[],"forecast":[],"high":[],"low":[],"shouldNavigate":[]},"showFeedbackMenu":true,"suggestedIndex":1,"providerName":"Weather","providerType":3} expected={"type":8,"source":3,"heuristic":false,"suggestedIndex":1,"payload":{"temperatureUnit":"f","url":"https://example.com/weather","iconId":"6","requestId":"request_id","source":"merino","provider":"accuweather","dynamicType":"weather","city":"San Francisco","temperature":60,"currentConditions":"Mostly cloudy","forecast":"Pleasant Saturday","high":70,"low":57,"shouldNavigate":true}}"
[task 2024-04-10T13:07:53.426Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] result.type at result index 0 - 8 == 8
[task 2024-04-10T13:07:53.426Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] result.source at result index 0 - 3 == 3
[task 2024-04-10T13:07:53.426Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] result.heuristic at result index 0 - false == false
[task 2024-04-10T13:07:53.427Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] result.isBestMatch at result index 0 - false == false
[task 2024-04-10T13:07:53.427Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] result.suggestedIndex at result index 0 - 1 == 1
[task 2024-04-10T13:07:53.428Z] 13:07:53     INFO -  TEST-PASS | browser/components/urlbar/tests/quicksuggest/unit/test_weather_keywords.js | anonymousTask_rustDisabled - [anonymousTask_rustDisabled : 1] result.payload at result index 0 - {"url":"https://example.com/weather","iconId":6,"requestId":"request_id","dynamicType":"weather","city":"San Francisco","temperatureUnit":"f","temperature":60,"currentConditions":"Mostly cloudy","forecast":"Pleasant Saturday","high":70,"low":57,"shouldNavigate":true,"source":"merino","provider":"accuweather"} deepEqual {"temperatureUnit":"f","url":"https://example.com/weather","iconId":"6","requestId":"request_id","source":"merino","provider":"accuweather","dynamicType":"weather","city":"San Francisco","temperature":60,"currentConditions":"Mostly cloudy","forecast":"Pleasant Saturday","high":70,"low":57,"shouldNavigate":true}
[task 2024-04-10T13:07:53.429Z] 13:07:53     INFO -  "Creating new queryContext with searchString: fore"
[task 2024-04-10T13:07:53.429Z] 13:07:53     INFO -  <<<<<<<
[task 2024-04-10T13:07:53.554Z] 13:07:53     INFO -  xpcshell return code: 1
[task 2024-04-10T13:07:53.851Z] 13:07:53     INFO -  TEST-START | dom/push/test/xpcshell/test_unregister_invalid_json.js
```