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. | The number of results should be the same as the number of Top Sites (6). - 6 == 7 - JS frame
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-10-01 14:53:17+00:00
Resolved: 2021-06-01 17:00:27+00:00

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

---
```
```
[task 2020-10-01T14:13:32.979Z] 14:13:32     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_top_sites.js
[task 2020-10-01T14:13:38.232Z] 14:13:38     INFO - TEST-INFO | started process screentopng
[task 2020-10-01T14:13:38.479Z] 14:13:38     INFO - TEST-INFO | screentopng: exit 0
[task 2020-10-01T14:13:38.479Z] 14:13:38     INFO - Buffered messages logged at 14:13:33
[task 2020-10-01T14:13:38.479Z] 14:13:38     INFO - Entering test bound init
[task 2020-10-01T14:13:38.479Z] 14:13:38     INFO - Buffered messages finished
[task 2020-10-01T14:13:38.479Z] 14:13:38     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 2020-10-01T14:13:38.479Z] 14:13:38     INFO - Leaving test bound init
[task 2020-10-01T14:13:38.479Z] 14:13:38     INFO - Entering test bound topSitesShown
[task 2020-10-01T14:13:38.479Z] 14:13:38     INFO - Awaiting for the urlbar panel to open
[task 2020-10-01T14:13:38.479Z] 14:13:38     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_top_sites.js | UrlbarView should be open. - true == true - 
[task 2020-10-01T14:13:38.483Z] 14:13:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-01T14:13:38.483Z] 14:13:38     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 2020-10-01T14:13:38.484Z] 14:13:38     INFO - Stack trace:
[task 2020-10-01T14:13:38.485Z] 14:13:38     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:topSitesShown:99
[task 2020-10-01T14:13:38.494Z] 14:13:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-01T14:13:38.495Z] 14:13:38     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 2020-10-01T14:13:38.496Z] 14:13:38     INFO - Stack trace:
[task 2020-10-01T14:13:38.496Z] 14:13:38     INFO - topSitesShown@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:110:1
[task 2020-10-01T14:13:38.496Z] 14:13:38     INFO - Leaving test bound topSitesShown
[task 2020-10-01T14:13:38.498Z] 14:13:38     INFO - Entering test bound selectSearchTopSite_legacy
[task 2020-10-01T14:13:38.683Z] 14:13:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-01T14:13:38.683Z] 14:13:38     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_legacy :: line 157
[task 2020-10-01T14:13:38.685Z] 14:13:38     INFO - Stack trace:
[task 2020-10-01T14:13:38.685Z] 14:13:38     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite_legacy:157
[task 2020-10-01T14:13:38.685Z] 14:13:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-01T14:13:38.686Z] 14:13:38     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_legacy :: line 163
[task 2020-10-01T14:13:38.686Z] 14:13:38     INFO - Stack trace:
[task 2020-10-01T14:13:38.688Z] 14:13:38     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite_legacy:163
[task 2020-10-01T14:13:38.725Z] 14:13:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-01T14:13:38.726Z] 14:13:38     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_top_sites.js | The Urlbar should be populated with the search alias. - "https://www.youtube.com" == "@amazon " - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js :: selectSearchTopSite_legacy :: line 171
[task 2020-10-01T14:13:38.726Z] 14:13:38     INFO - Stack trace:
[task 2020-10-01T14:13:38.726Z] 14:13:38     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_top_sites.js:selectSearchTopSite_legacy:171
[task 2020-10-01T14:13:38.791Z] 14:13:38     INFO - GECKO(1496) | FATAL ERROR: Non-local network connections are disabled and a connection attempt to www.youtube.com (172.217.3.206) was made.
[task 2020-10-01T14:13:38.792Z] 14:13:38     INFO - GECKO(1496) | 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 2020-10-01T14:13:38.801Z] 14:13:38     INFO - GECKO(1496) | AddressSanitizer:DEADLYSIGNAL
[task 2020-10-01T14:13:38.801Z] 14:13:38     INFO - GECKO(1496) | =================================================================
[task 2020-10-01T14:13:38.802Z] 14:13:38    ERROR - GECKO(1496) | ==1496==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7f93338881fe bp 0x7f9327fbdfb0 sp 0x7f9327fbd780 T6)
[task 2020-10-01T14:13:38.802Z] 14:13:38     INFO - GECKO(1496) | ==1496==The signal is caused by a WRITE memory access.
[task 2020-10-01T14:13:38.802Z] 14:13:38     INFO - GECKO(1496) | ==1496==Hint: address points to the zero page.
[task 2020-10-01T14:13:38.806Z] 14:13:38     INFO - Leaving test bound selectSearchTopSite_legacy
``````