Bug: Intermittent browser/components/search/test/browser/telemetry/browser_search_telemetry_sources_ads.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-04-15 23:21:45+00:00
Resolved: 2024-05-20 06:43:49+00:00

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

---
```
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - TEST-PASS | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Should have matched impression values. - {"source":"unknown","provider":"example","partner_code":"","impression_id":"76bd6602-0074-4d24-a76b-b619a4718414","tagged":"false"} deepEqual {"provider":"example","tagged":"false","partner_code":"","source":"unknown","impression_id":"76bd6602-0074-4d24-a76b-b619a4718414"} - 
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - TEST-PASS | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Should have equal number of engagements. - 0 == 0 - 
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - Leaving test bound test_track_ad_organic
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - Entering test bound test_track_ad_new_window
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - Buffered messages finished
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Test timed out - 
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Uncaught exception received from previously timed out test bound test_track_ad_new_window - focus listener not removed before the end of test
[task 2023-04-15T22:26:42.082Z] 22:26:42     INFO - Entering test bound test_track_ad_pages_without_ads
[task 2023-04-15T22:26:42.668Z] 22:26:42     INFO - GECKO(4844) | MEMORY STAT | vsize 1325MB | vsizeMaxContiguous 130MB | residentFast 413MB | heapAllocated 442MB
[task 2023-04-15T22:26:42.668Z] 22:26:42     INFO - TEST-OK | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | took 45733ms
[task 2023-04-15T22:26:42.668Z] 22:26:42     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-15T22:26:42.668Z] 22:26:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Found a tab after previous test timed out: https://example.org/browser/browser/components/search/test/browser/searchTelemetryAd.html?s=test&abc=ff - 
[task 2023-04-15T22:26:42.675Z] 22:26:42     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-15T22:26:42.675Z] 22:26:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Found a tab after previous test timed out: https://example.org/browser/browser/components/search/test/browser/searchTelemetry.html?s=test&abc=ff - 
[task 2023-04-15T22:26:42.699Z] 22:26:42     INFO - checking window state
[task 2023-04-15T22:26:42.699Z] 22:26:42     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-15T22:26:42.699Z] 22:26:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Found a browser window after previous test timed out - 
[task 2023-04-15T22:26:42.824Z] 22:26:42     INFO - TEST-START | browser/components/search/test/browser/browser_search_telemetry_sources_navigation.js
[task 2023-04-15T22:26:42.832Z] 22:26:42     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - Buffered messages logged at 22:26:42
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - Entering setup bound 
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - Buffered messages finished
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_search_telemetry_sources_ads.js | Uncaught exception received from previously timed out test bound test_track_ad_pages_without_ads - at chrome://mochitests/content/browser/browser/components/search/test/browser/head.js:141 - TypeError: can't access property "waitForCondition", TestUtils is null
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - Stack trace:
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - assertSearchSourcesTelemetry@chrome://mochitests/content/browser/browser/components/search/test/browser/head.js:141:3
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - async*test_track_ad_pages_without_ads@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_search_telemetry_sources_ads.js:512:9
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1043:26
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1115:18
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1257:14
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1032:14
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - GECKO(4844) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1106: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1106}]
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1118:3
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1257:14
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1032:14
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-04-15T22:26:42.839Z] 22:26:42     INFO - 
[task 2023-04-15T22:26:42.855Z] 22:26:42     INFO - Extension loaded
[task 2023-04-15T22:26:42.894Z] 22:26:42     INFO - TEST-PASS | browser/components/search/test/browser/browser_search_telemetry_sources_navigation.js | Search provider extension should be running - "running" == "running" - 
[task 2023-04-15T22:26:42.894Z] 22:26:42     INFO - TEST-PASS | browser/components/search/test/browser/browser_search_telemetry_sources_navigation.js | Extension ID of search provider should be set - "example@tests.mozilla.org" == true - 
[task 2023-04-15T22:26:43.222Z] 22:26:43     INFO - Not taking screenshot here: see the one that was previously logged
```