Bug: Intermittent browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception - Waiting for top sites to be updated - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-04-02 22:09:09+00:00
Resolved: 2022-04-05 17:06:49+00:00

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

---
```
[task 2021-04-02T20:57:26.279Z] 20:57:26     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_top_sites.js
[task 2021-04-02T20:57:34.440Z] 20:57:34     INFO - TEST-INFO | started process screencapture
[task 2021-04-02T20:57:34.526Z] 20:57:34     INFO - TEST-INFO | screencapture: exit 0
[task 2021-04-02T20:57:34.526Z] 20:57:34     INFO - Buffered messages logged at 20:57:26
[task 2021-04-02T20:57:34.526Z] 20:57:34     INFO - Entering test bound init
[task 2021-04-02T20:57:34.527Z] 20:57:34     INFO - Buffered messages finished
[task 2021-04-02T20:57:34.527Z] 20:57:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception - Waiting for top sites to be updated - timed out after 50 tries.
[task 2021-04-02T20:57:34.527Z] 20:57:34     INFO - Leaving test bound init
[task 2021-04-02T20:57:34.527Z] 20:57:34     INFO - Entering test bound topSitesShown
[task 2021-04-02T20:57:34.571Z] 20:57:34     INFO - Awaiting for the urlbar panel to open
[task 2021-04-02T20:57:34.773Z] 20:57:34     INFO - Urlbar panel opened
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | UrlbarView should be open. - true == true - 
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-02T20:57:34.774Z] 20:57:34     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 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js :: topSitesShown :: line 99
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - Stack trace:
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:topSitesShown:99
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:110 - TypeError: can't access property "keyword", result.searchParams is undefined
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - Stack trace:
[task 2021-04-02T20:57:34.774Z] 20:57:34     INFO - topSitesShown@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:110:1
[task 2021-04-02T20:57:34.775Z] 20:57:34     INFO - Leaving test bound topSitesShown
[task 2021-04-02T20:57:34.775Z] 20:57:34     INFO - Entering test bound selectSearchTopSite
[task 2021-04-02T20:57:34.980Z] 20:57:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-02T20:57:34.989Z] 20:57:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | First result should have SEARCH type. - 3 == 2 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js :: selectSearchTopSite :: line 155
[task 2021-04-02T20:57:34.989Z] 20:57:34     INFO - Stack trace:
[task 2021-04-02T20:57:34.989Z] 20:57:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite:155
[task 2021-04-02T20:57:34.989Z] 20:57:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-02T20:57:34.989Z] 20:57:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | First result should have the Amazon keyword. - "undefined" == "@amazon" - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js :: selectSearchTopSite :: line 161
[task 2021-04-02T20:57:34.989Z] 20:57:34     INFO - Stack trace:
[task 2021-04-02T20:57:34.989Z] 20:57:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite:161
[task 2021-04-02T20:57:34.992Z] 20:57:34     INFO - Awaiting for the urlbar panel to open
[task 2021-04-02T20:57:35.032Z] 20:57:35     INFO - GECKO(1746) | FATAL ERROR: Non-local network connections are disabled and a connection attempt to www.youtube.com (172.217.9.206) was made.
[task 2021-04-02T20:57:35.032Z] 20:57:35     INFO - GECKO(1746) | 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 2021-04-02T20:57:35.146Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.146Z] 20:57:35     INFO - GECKO(1746) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2021-04-02T20:57:35.146Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.146Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.147Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.147Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.147Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.147Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.147Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.147Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.148Z] 20:57:35     INFO - GECKO(1746) | Exiting due to channel error.
[task 2021-04-02T20:57:35.268Z] 20:57:35     INFO - TEST-INFO | Main app process: exit 1
[task 2021-04-02T20:57:35.269Z] 20:57:35     INFO - Buffered messages finished
[task 2021-04-02T20:57:35.269Z] 20:57:35    ERROR - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | application terminated with exit code 1
[task 2021-04-02T20:57:35.269Z] 20:57:35     INFO - runtests.py | Application ran for: 0:09:39.815953
[task 2021-04-02T20:57:35.269Z] 20:57:35     INFO - zombiecheck | Reading PID log: /var/folders/lf/_bkv06z97sz7lng1644cky_h000017/T/tmpus_Lz0pidlog```