Bug: Permafailing win ccov browser/components/newtab/test/browser/browser_topsites_annotation.js |  Frecency is correct - "undefined" == -1 /  - 1 == 2075
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-04-24 01:59:30+00:00
Resolved: 2023-05-08 06:03:38+00:00

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

---
```
[task 2023-04-22T11:26:44.079Z] 11:26:44     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_topsites_annotation.js | The triggeringPlaceId in database is correct for http://example.com/ - null == null - 
[task 2023-04-22T11:26:44.079Z] 11:26:44     INFO - Sponsored tile in new tab by middle click
[task 2023-04-22T11:26:44.080Z] 11:26:44     INFO - Open specific link by type and wait for loading.
[task 2023-04-22T11:26:44.081Z] 11:26:44     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://example.com/" line: 0}]
[task 2023-04-22T11:26:44.081Z] 11:26:44     INFO - Check database for the destination.
[task 2023-04-22T11:26:44.082Z] 11:26:44     INFO - Buffered messages finished
[task 2023-04-22T11:26:44.099Z] 11:26:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_topsites_annotation.js | Frecency is correct - "undefined" == -1 - {"filename":"chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js","name":"assertDatabase","sourceId":1466,"lineNumber":60,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js","name":"openAndTest","sourceId":1466,"lineNumber":240,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js","name":"basic/<","sourceId":1466,"lineNumber":529,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"resource://testing-common/BrowserTestUtils.sys.mjs","name":"withNewTab","sourceId":570,"lineNumber":154,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js","name":"basic","sourceId":1466,"lineNumber":521,"columnNumber":28,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":536,"lineNumber":1127,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":536,"lineNumber":1199,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":536,"lineNumber":1341,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":536,"lineNumber":1116,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":564,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1127:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*basic@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:521:28\nasync*handleTask@chrome://mochikit/content/browser-test.js:1127:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*basic@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:521:28\nasync*handleTask@chrome://mochikit/content/browser-test.js:1127:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*basic/<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:529:13\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*basic@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:521:28\nasync*handleTask@chrome://mochikit/content/browser-test.js:1127:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*openAndTest@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:240:9\nasync*basic/<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:529:13\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*basic@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:521:28\nasync*handleTask@chrome://mochikit/content/browser-test.js:1127:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"assertDatabase@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:60:10\nasync*openAndTest@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:240:9\nasync*basic/<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:529:13\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*basic@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:521:28\nasync*handleTask@chrome://mochikit/content/browser-test.js:1127:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-04-22T11:26:44.099Z] 11:26:44     INFO - Stack trace:
[task 2023-04-22T11:26:44.099Z] 11:26:44     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:assertDatabase:60
[task 2023-04-22T11:26:44.099Z] 11:26:44     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:openAndTest:240
[task 2023-04-22T11:26:44.099Z] 11:26:44     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:basic/<:529
[task 2023-04-22T11:26:44.099Z] 11:26:44     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:154
[task 2023-04-22T11:26:44.099Z] 11:26:44     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_topsites_annotation.js:basic:521
[task 2023-04-22T11:26:44.100Z] 11:26:44     INFO - chrome://mochikit/content/browser-test.js:handleTask:1127
[task 2023-04-22T11:26:44.100Z] 11:26:44     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1199
[task 2023-04-22T11:26:44.100Z] 11:26:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1341
[task 2023-04-22T11:26:44.100Z] 11:26:44     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1116
[task 2023-04-22T11:26:44.100Z] 11:26:44     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-04-22T11:26:44.101Z] 11:26:44     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_topsites_annotation.js | 1 == 1 - 
```