Bug: Intermittent browser/extensions/newtab/test/browser/browser_topsites_annotation.js | single tracking bug
Status: NEW
Priority: P5
Created: 2025-02-05 10:36:09+00:00
Resolved: 2025-03-03 07:03:22+00:00

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

---
```
[task 2025-02-05T09:36:19.689Z] 09:36:19     INFO - TEST-PASS | browser/extensions/newtab/test/browser/browser_topsites_annotation.js | The triggeringPlaceId in database is correct for https://example.com/?a - null == null - 
[task 2025-02-05T09:36:19.690Z] 09:36:19     INFO - Clean up
[task 2025-02-05T09:36:19.691Z] 09:36:19     INFO - Leaving test bound fixup
[task 2025-02-05T09:36:19.692Z] 09:36:19     INFO - Entering test bound noTriggeringURL
[task 2025-02-05T09:36:19.692Z] 09:36:19     INFO - Buffered messages logged at 09:36:17
[task 2025-02-05T09:36:19.693Z] 09:36:19     INFO - Setup dummy triggering sponsored URL
[task 2025-02-05T09:36:19.694Z] 09:36:19     INFO - Open URL whose host is the same as dummy triggering sponsored URL
[task 2025-02-05T09:36:19.695Z] 09:36:19     INFO - Buffered messages logged at 09:36:18
[task 2025-02-05T09:36:19.695Z] 09:36:19     INFO - Check DB
[task 2025-02-05T09:36:19.696Z] 09:36:19     INFO - Buffered messages finished
[task 2025-02-05T09:36:19.697Z] 09:36:19     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_annotation.js | Frecency is correct - 2000 == -1 - 
[task 2025-02-05T09:36:19.697Z] 09:36:19     INFO - Stack trace:
[task 2025-02-05T09:36:19.698Z] 09:36:19     INFO - chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:assertDatabase:65
[task 2025-02-05T09:36:19.698Z] 09:36:19     INFO - chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:noTriggeringURL/<:963
[task 2025-02-05T09:36:19.698Z] 09:36:19     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2025-02-05T09:36:19.698Z] 09:36:19     INFO - chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:noTriggeringURL:935
[task 2025-02-05T09:36:19.698Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2025-02-05T09:36:19.698Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-05T09:36:19.698Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-05T09:36:19.699Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-05T09:36:19.699Z] 09:36:19     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-05T09:36:19.699Z] 09:36:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-05T09:36:19.700Z] 09:36:19     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_annotation.js | 0 == 1 - 
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - Stack trace:
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:assertDatabase:83
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:noTriggeringURL/<:963
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:noTriggeringURL:935
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-05T09:36:19.701Z] 09:36:19     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-05T09:36:19.702Z] 09:36:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-05T09:36:19.704Z] 09:36:19     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/newtab/test/browser/browser_topsites_annotation.js | Uncaught exception in test bound noTriggeringURL - at chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:85 - TypeError: can't access property "getResultByName", rows[0] is undefined
[task 2025-02-05T09:36:19.704Z] 09:36:19     INFO - Stack trace:
[task 2025-02-05T09:36:19.704Z] 09:36:19     INFO - assertDatabase@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:85:5
[task 2025-02-05T09:36:19.704Z] 09:36:19     INFO - async*noTriggeringURL/<@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:963:11
[task 2025-02-05T09:36:19.704Z] 09:36:19     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:121:22
[task 2025-02-05T09:36:19.704Z] 09:36:19     INFO - async*noTriggeringURL@chrome://mochitests/content/browser/browser/extensions/newtab/test/browser/browser_topsites_annotation.js:935:26
[task 2025-02-05T09:36:19.705Z] 09:36:19     INFO - handleTask@chrome://mochikit/content/browser-test.js:1147:26
[task 2025-02-05T09:36:19.705Z] 09:36:19     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1219:18
[task 2025-02-05T09:36:19.705Z] 09:36:19     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1360:14
[task 2025-02-05T09:36:19.705Z] 09:36:19     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1136:14
[task 2025-02-05T09:36:19.705Z] 09:36:19     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2025-02-05T09:36:19.705Z] 09:36:19     INFO - Leaving test bound noTriggeringURL
[task 2025-02-05T09:36:19.990Z] 09:36:19     INFO - GECKO(1709) | MEMORY STAT | vsize 20984702MB | residentFast 1859MB
[task 2025-02-05T09:36:19.992Z] 09:36:19     INFO - TEST-OK | browser/extensions/newtab/test/browser/browser_topsites_annotation.js | took 84527ms
```