Bug: Intermittent browser/components/urlbar/tests/browser/browser_top_sites.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2024-10-15 08:08:04+00:00
Resolved: 2024-10-18 07:19:36+00:00

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

---
```
[task 2024-10-15T06:30:17.474Z] 06:30:17     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_top_sites.js
[task 2024-10-15T06:30:23.125Z] 06:30:23     INFO - TEST-INFO | started process screenshot
[task 2024-10-15T06:30:23.243Z] 06:30:23     INFO - TEST-INFO | screenshot: exit 0
[task 2024-10-15T06:30:23.244Z] 06:30:23     INFO - Buffered messages logged at 06:30:17
[task 2024-10-15T06:30:23.245Z] 06:30:23     INFO - Entering setup bound 
[task 2024-10-15T06:30:23.245Z] 06:30:23     INFO - Buffered messages finished
[task 2024-10-15T06:30:23.246Z] 06:30:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception in setup bound  - Waiting for top sites to be updated - timed out after 50 tries.
[task 2024-10-15T06:30:23.247Z] 06:30:23     INFO - Leaving setup bound 
[task 2024-10-15T06:30:23.247Z] 06:30:23     INFO - Entering test bound topSitesShown
[task 2024-10-15T06:30:23.258Z] 06:30:23     INFO - Waiting for the urlbar view to open
[task 2024-10-15T06:30:23.325Z] 06:30:23     INFO - Urlbar view opened
[task 2024-10-15T06:30:23.326Z] 06:30:23     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | UrlbarView should be open. - true == true - 
[task 2024-10-15T06:30:23.329Z] 06:30:23     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | The number of results should be the same as the number of Top Sites (6). - 6 == 7 - 
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - Stack trace:
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:topSitesShown:113
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-15T06:30:23.331Z] 06:30:23     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-15T06:30:23.333Z] 06:30:23     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception in test bound topSitesShown - at chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:124 - TypeError: can't access property "keyword", result.searchParams is undefined
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - Stack trace:
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - topSitesShown@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:124:11
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-10-15T06:30:23.335Z] 06:30:23     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-10-15T06:30:23.336Z] 06:30:23     INFO - Leaving test bound topSitesShown
[task 2024-10-15T06:30:23.336Z] 06:30:23     INFO - Entering test bound selectSearchTopSite
[task 2024-10-15T06:30:23.458Z] 06:30:23     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | First result should have SEARCH type. - 3 == 2 - 
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - Stack trace:
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite:169
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-15T06:30:23.460Z] 06:30:23     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-15T06:30:23.461Z] 06:30:23     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-10-15T06:30:23.462Z] 06:30:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | First result should have the Amazon keyword. - "undefined" == "@amazon" - 
[task 2024-10-15T06:30:23.462Z] 06:30:23     INFO - Stack trace:
[task 2024-10-15T06:30:23.462Z] 06:30:23     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite:175
[task 2024-10-15T06:30:23.462Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-10-15T06:30:23.463Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-15T06:30:23.463Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-15T06:30:23.463Z] 06:30:23     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-15T06:30:23.463Z] 06:30:23     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-15T06:30:23.470Z] 06:30:23     INFO - Waiting for the urlbar view to open
[task 2024-10-15T06:30:23.514Z] 06:30:23     INFO - GECKO(8152) | FATAL ERROR: Non-local network connections are disabled and a connection attempt to www.youtube.com (172.217.174.78) was made.
[task 2024-10-15T06:30:23.519Z] 06:30:23     INFO - GECKO(8152) | You should only access hostnames available via the test networking proxy (if running mochitests) or from a test-specific httpd.js server (if running xpcshell tests). Browser services should be disabled or redirected to a local server.
[task 2024-10-15T06:30:23.856Z] 06:30:23     INFO - GECKO(8152) | Exiting due to channel error.
[task 2024-10-15T06:30:23.856Z] 06:30:23     INFO - GECKO(8152) | Exiting due to channel error.
[task 2024-10-15T06:30:23.857Z] 06:30:23     INFO - GECKO(8152) | Exiting due to channel error.
[task 2024-10-15T06:30:23.929Z] 06:30:23     INFO - TEST-INFO | Main app process: exit 1
```