Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-12-03 19:23:26+00:00
Resolved: 2024-12-30 12:01:57+00:00

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

---
```
[task 2024-12-03T18:46:34.394Z] 18:46:34     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js
[task 2024-12-03T18:46:39.986Z] 18:46:39     INFO - TEST-INFO | started process screenshot
[task 2024-12-03T18:46:40.152Z] 18:46:40     INFO - TEST-INFO | screenshot: exit 0
[task 2024-12-03T18:46:40.153Z] 18:46:40     INFO - Buffered messages logged at 18:46:34
[task 2024-12-03T18:46:40.154Z] 18:46:40     INFO - Entering setup bound 
[task 2024-12-03T18:46:40.154Z] 18:46:40     INFO - Buffered messages finished
[task 2024-12-03T18:46:40.155Z] 18:46:40     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js | Uncaught exception in setup bound  - Waiting for top sites to be updated - timed out after 50 tries.
[task 2024-12-03T18:46:40.155Z] 18:46:40     INFO - Leaving setup bound 
[task 2024-12-03T18:46:40.156Z] 18:46:40     INFO - Entering test bound test
[task 2024-12-03T18:46:40.304Z] 18:46:40     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js | The test suite browser should have 6 Top Sites. - 7 == 6 - 
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - Stack trace:
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js:test/<:89
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js:test:87
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-12-03T18:46:40.306Z] 18:46:40     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-12-03T18:46:40.310Z] 18:46:40     INFO - GECKO(3288) | console.log: "Waiting for the urlbar view to open"
[task 2024-12-03T18:46:40.385Z] 18:46:40     INFO - GECKO(3288) | console.warn: SearchEngine: "getSubmission: searchTerms is empty!"
[task 2024-12-03T18:46:40.388Z] 18:46:40     INFO - GECKO(3288) | console.log: "Urlbar view opened"
[task 2024-12-03T18:46:40.390Z] 18:46:40     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js | The number of results should be the same as the number of Top Sites (6). - 7 == 7 - 
[task 2024-12-03T18:46:40.391Z] 18:46:40     INFO - GECKO(3288) | console.warn: SearchEngine: "getSubmission: searchTerms is empty!"
[task 2024-12-03T18:46:40.394Z] 18:46:40     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js | The first result should be selected - 0 == 0 - 
[task 2024-12-03T18:46:40.395Z] 18:46:40     INFO - GECKO(3288) | console.warn: SearchEngine: "getSubmission: searchTerms is empty!"
[task 2024-12-03T18:47:22.158Z] 18:47:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-12-03T18:47:22.160Z] 18:47:22     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_topsite.js | Test timed out - 
[task 2024-12-03T18:47:22.166Z] 18:47:22     INFO - GECKO(3288) | Completed ShutdownLeaks collections in process 10216
[task 2024-12-03T18:47:22.166Z] 18:47:22     INFO - TEST-START | Shutdown
[task 2024-12-03T18:47:22.167Z] 18:47:22     INFO - Browser Chrome Test Summary
[task 2024-12-03T18:47:22.167Z] 18:47:22     INFO - Passed:  17663
[task 2024-12-03T18:47:22.168Z] 18:47:22     INFO - Failed:  3
[task 2024-12-03T18:47:22.168Z] 18:47:22     INFO - Todo:    0
[task 2024-12-03T18:47:22.169Z] 18:47:22     INFO - Mode:    e10s
[task 2024-12-03T18:47:22.169Z] 18:47:22     INFO - *** End BrowserChrome Test Results ***
[task 2024-12-03T18:47:22.183Z] 18:47:22     INFO - GECKO(3288) | Exiting due to channel error.
[task 2024-12-03T18:47:22.185Z] 18:47:22     INFO - GECKO(3288) | Exiting due to channel error.
[task 2024-12-03T18:47:22.247Z] 18:47:22     INFO - TEST-INFO | Main app process: exit 0
```