Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Uncaught exception - Waiting for top sites to be updated - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-04-20 09:16:05+00:00
Resolved: 2023-01-10 17:01:06+00:00

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

---
```
INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js
[task 2021-04-20T08:29:13.045Z] 08:29:13     INFO - TEST-INFO | started process screencapture
[task 2021-04-20T08:29:13.170Z] 08:29:13     INFO - TEST-INFO | screencapture: exit 0
[task 2021-04-20T08:29:13.171Z] 08:29:13     INFO - Buffered messages logged at 08:29:04
[task 2021-04-20T08:29:13.171Z] 08:29:13     INFO - Entering test bound setup
[task 2021-04-20T08:29:13.171Z] 08:29:13     INFO - Buffered messages finished
[task 2021-04-20T08:29:13.171Z] 08:29:13     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Uncaught exception - Waiting for top sites to be updated - timed out after 50 tries.
[task 2021-04-20T08:29:13.171Z] 08:29:13     INFO - Leaving test bound setup
[task 2021-04-20T08:29:13.172Z] 08:29:13     INFO - Entering test bound send_impression_and_click
[task 2021-04-20T08:29:13.400Z] 08:29:13     INFO - Awaiting for the urlbar panel to open
[task 2021-04-20T08:29:13.603Z] 08:29:13     INFO - Urlbar panel opened
[task 2021-04-20T08:29:13.637Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should send an impression ping and a click ping - true == true - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the endpoint for TopSites impression - true == true - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the context_id - true == true - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the advertiser - "test_label" == "test_label" - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the impression reporting URL - "http://impression.test.com/" == "http://impression.test.com/" - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the tile_id - 42 == 42 - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the position - 1 == 1 - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the endpoint for TopSites click - true == true - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the context_id - true == true - 
[task 2021-04-20T08:29:13.642Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the click reporting URL - "http://click.test.com/" == "http://click.test.com/" - 
[task 2021-04-20T08:29:13.643Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the tile_id - 42 == 42 - 
[task 2021-04-20T08:29:13.643Z] 08:29:13     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should set the position - 1 == 1 - 
[task 2021-04-20T08:29:13.647Z] 08:29:13     INFO - Leaving test bound send_impression_and_click
[task 2021-04-20T08:29:13.647Z] 08:29:13     INFO - Entering test bound zero_ping
[task 2021-04-20T08:29:14.335Z] 08:29:14     INFO - Awaiting for the urlbar panel to open
[task 2021-04-20T08:29:14.516Z] 08:29:14     INFO - Urlbar panel opened
[task 2021-04-20T08:29:14.569Z] 08:29:14     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | Should not send any ping if there is no sponsored Top Site - true == true - 
[task 2021-04-20T08:29:14.569Z] 08:29:14     INFO - Leaving test bound zero_ping
[task 2021-04-20T08:29:14.569Z] 08:29:14     INFO - GECKO(2465) | MEMORY STAT | vsize 8228MB | residentFast 643MB | heapAllocated 158MB
[task 2021-04-20T08:29:14.569Z] 08:29:14     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_sponsored_topsites.js | took 9829ms
[task 2021-04-20T08:29:14.575Z] 08:29:14     INFO - checking window state
[task 2021-04-20T08:29:14.581Z] 08:29:14     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_tabtosearch.js```