Bug: Intermittent browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_weather.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-07-29 08:17:49+00:00
Resolved: 2024-10-21 12:02:28+00:00

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

---
```
[task 2024-07-29T07:03:50.822Z] 07:03:50     INFO - TEST-PASS | browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_weather.js | Extension ID of search provider should be set - "example@tests.mozilla.org" == true - 
[task 2024-07-29T07:03:50.822Z] 07:03:50     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Started, preparing remote settings server
[task 2024-07-29T07:03:50.822Z] 07:03:50     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Starting remote settings server
[task 2024-07-29T07:03:50.822Z] 07:03:50     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Remote settings server started
[task 2024-07-29T07:03:50.822Z] 07:03:50     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Calling QuickSuggest.init() and setting prefs
[task 2024-07-29T07:03:50.822Z] 07:03:50     INFO - Buffered messages logged at 07:03:49
[task 2024-07-29T07:03:50.822Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Started
[task 2024-07-29T07:03:50.823Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Syncing Rust backend
[task 2024-07-29T07:03:50.824Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Done syncing Rust backend
[task 2024-07-29T07:03:50.824Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Done
[task 2024-07-29T07:03:50.825Z] 07:03:50     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Done
[task 2024-07-29T07:03:50.826Z] 07:03:50     INFO - MockMerinoServer initializing weather, starting server
[task 2024-07-29T07:03:50.827Z] 07:03:50     INFO - MockMerinoServer starting
[task 2024-07-29T07:03:50.827Z] 07:03:50     INFO - MockMerinoServer waiting to start serving...
[task 2024-07-29T07:03:50.828Z] 07:03:50     INFO - MockMerinoServer received request with query string: ""
[task 2024-07-29T07:03:50.835Z] 07:03:50     INFO - MockMerinoServer replying with response: {"status":200,"contentType":"application/json","body":{"request_id":"request_id","suggestions":[{"provider":"adm","full_keyword":"amp","title":"Amp Suggestion","url":"http://example.com/amp","icon":null,"impression_url":"http://example.com/amp-impression","click_url":"http://example.com/amp-click","block_id":1,"advertiser":"Amp","iab_category":"22 - Shopping","is_sponsored":true,"score":1}]}}
[task 2024-07-29T07:03:50.837Z] 07:03:50     INFO - MockMerinoServer is now serving
[task 2024-07-29T07:03:50.838Z] 07:03:50     INFO - MockMerinoServer initializing weather, server now started
[task 2024-07-29T07:03:50.840Z] 07:03:50     INFO - MockMerinoServer initializing weather, setting prefs
[task 2024-07-29T07:03:50.841Z] 07:03:50     INFO - MockMerinoServer initializing weather, done setting prefs, starting fetch
[task 2024-07-29T07:03:50.842Z] 07:03:50     INFO - MockMerinoServer received request with query string: "q=&sid=0266671f-4412-44a2-bab0-defa1bdc9f67&seq=0&providers=accuweather"
[task 2024-07-29T07:03:50.845Z] 07:03:50     INFO - MockMerinoServer replying with response: {"status":200,"contentType":"application/json","body":{"request_id":"request_id","suggestions":[{"title":"Weather for San Francisco","url":"https://example.com/weather","provider":"accuweather","is_sponsored":false,"score":0.2,"icon":null,"city_name":"San Francisco","current_conditions":{"url":"https://example.com/weather-current-conditions","summary":"Mostly cloudy","icon_id":6,"temperature":{"c":15.5,"f":60}},"forecast":{"url":"https://example.com/weather-forecast","summary":"Pleasant Saturday","high":{"c":21.1,"f":70},"low":{"c":13.9,"f":57}}}]}}
[task 2024-07-29T07:03:50.846Z] 07:03:50     INFO - MockMerinoServer initializing weather, done awaiting fetch
[task 2024-07-29T07:03:50.847Z] 07:03:50     INFO - Leaving setup bound 
[task 2024-07-29T07:03:50.847Z] 07:03:50     INFO - Entering test bound anonymousTask_rustDisabled
[task 2024-07-29T07:03:50.855Z] 07:03:50     INFO - add_tasks_with_rust: Setting rustEnabled: false
[task 2024-07-29T07:03:50.856Z] 07:03:50     INFO - add_tasks_with_rust: Done setting rustEnabled: false
[task 2024-07-29T07:03:50.857Z] 07:03:50     INFO - add_tasks_with_rust: Forcing sync
[task 2024-07-29T07:03:50.858Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Started
[task 2024-07-29T07:03:50.859Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Syncing JS backend
[task 2024-07-29T07:03:50.859Z] 07:03:50     INFO - Buffered messages logged at 07:03:50
[task 2024-07-29T07:03:50.860Z] 07:03:50     INFO - MockMerinoServer received request with query string: "q=&sid=df54af80-9517-4424-bd09-a8edfbcf0c9e&seq=0&providers=accuweather"
[task 2024-07-29T07:03:50.861Z] 07:03:50     INFO - MockMerinoServer replying with response: {"status":200,"contentType":"application/json","body":{"request_id":"request_id","suggestions":[{"title":"Weather for San Francisco","url":"https://example.com/weather","provider":"accuweather","is_sponsored":false,"score":0.2,"icon":null,"city_name":"San Francisco","current_conditions":{"url":"https://example.com/weather-current-conditions","summary":"Mostly cloudy","icon_id":6,"temperature":{"c":15.5,"f":60}},"forecast":{"url":"https://example.com/weather-forecast","summary":"Pleasant Saturday","high":{"c":21.1,"f":70},"low":{"c":13.9,"f":57}}}]}}
[task 2024-07-29T07:03:50.862Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Done syncing JS backend
[task 2024-07-29T07:03:50.863Z] 07:03:50     INFO - QuickSuggestTestUtils.forceSync Done
[task 2024-07-29T07:03:50.865Z] 07:03:50     INFO - add_tasks_with_rust: Done forcing sync
[task 2024-07-29T07:03:50.866Z] 07:03:50     INFO - add_tasks_with_rust: Calling original task function: 
[task 2024-07-29T07:03:50.866Z] 07:03:50     INFO - Starting impression-only test
[task 2024-07-29T07:03:50.867Z] 07:03:50     INFO - Showing suggestion
[task 2024-07-29T07:03:50.877Z] 07:03:50     INFO - Waiting for the urlbar view to open
[task 2024-07-29T07:03:50.881Z] 07:03:50     INFO - Urlbar view opened
[task 2024-07-29T07:03:50.883Z] 07:03:50     INFO - Buffered messages finished
[task 2024-07-29T07:03:50.892Z] 07:03:50     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_weather.js | Expected suggestion row index should be < row count - 1 < 1 - 
[task 2024-07-29T07:03:50.892Z] 07:03:50     INFO - Stack trace:
[task 2024-07-29T07:03:50.894Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:validateSuggestionRow:580
[task 2024-07-29T07:03:50.895Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:doImpressionOnlyTest:272
[task 2024-07-29T07:03:50.896Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:doTelemetryTest:195
[task 2024-07-29T07:03:50.897Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_weather.js:null:47
[task 2024-07-29T07:03:50.897Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:newTaskFn:740
[task 2024-07-29T07:03:50.898Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-07-29T07:03:50.899Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-07-29T07:03:50.900Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-07-29T07:03:50.901Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-07-29T07:03:50.901Z] 07:03:50     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-07-29T07:03:50.902Z] 07:03:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-07-29T07:03:50.906Z] 07:03:50     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_weather.js | Couldn't get suggestion row, stopping impression-only test - false == true - 
[task 2024-07-29T07:03:50.907Z] 07:03:50     INFO - Stack trace:
[task 2024-07-29T07:03:50.908Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:doImpressionOnlyTest:274
[task 2024-07-29T07:03:50.909Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:doTelemetryTest:195
[task 2024-07-29T07:03:50.909Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_weather.js:null:47
[task 2024-07-29T07:03:50.910Z] 07:03:50     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:newTaskFn:740
[task 2024-07-29T07:03:50.911Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-07-29T07:03:50.912Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-07-29T07:03:50.913Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-07-29T07:03:50.913Z] 07:03:50     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-07-29T07:03:50.914Z] 07:03:50     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-07-29T07:03:50.915Z] 07:03:50     INFO - Starting click test
[task 2024-07-29T07:03:50.917Z] 07:03:50     INFO - Showing suggestion
[task 2024-07-29T07:03:50.920Z] 07:03:50     INFO - GECKO(8791) | [Parent 8791: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7f4eb4c10e00) [pid = 8791] [serial = 124] [outer = 0] [url = about:preferences#search-locationBar]
[task 2024-07-29T07:03:50.921Z] 07:03:50     INFO - TEST-PASS | browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_weather.js | Expected suggestion row index should be < row count - 1 < 2 - 
```