Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2022-12-16 09:34:05+00:00
Resolved: 2023-05-08 12:18:08+00:00

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

---
```
[task 2022-12-16T08:28:36.132Z] 08:28:36     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | 1 == 1 - 
[task 2022-12-16T08:28:36.133Z] 08:28:36     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | The triggeringPlaceId in database is correct for http://example.com/ - null == null - 
[task 2022-12-16T08:28:36.133Z] 08:28:36     INFO - Console message: [JavaScript Warning: "Unknown category for SetEventRecordingEnabled: page_load"]
[task 2022-12-16T08:28:36.134Z] 08:28:36     INFO - Organic result
[task 2022-12-16T08:28:36.136Z] 08:28:36     INFO - Buffered messages logged at 08:28:35
[task 2022-12-16T08:28:36.136Z] 08:28:36     INFO - Pick result
[task 2022-12-16T08:28:36.137Z] 08:28:36     INFO - Awaiting for the urlbar panel to open
[task 2022-12-16T08:28:36.137Z] 08:28:36     INFO - Urlbar panel opened
[task 2022-12-16T08:28:36.138Z] 08:28:36     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | "http://example.com/" == "http://example.com/" - 
[task 2022-12-16T08:28:36.138Z] 08:28:36     INFO - Show result and wait for loading
[task 2022-12-16T08:28:36.139Z] 08:28:36     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 2022-12-16T08:28:36.139Z] 08:28:36     INFO - Check database
[task 2022-12-16T08:28:36.140Z] 08:28:36     INFO - Console message: [JavaScript Warning: "Unknown category for SetEventRecordingEnabled: page_load"]
[task 2022-12-16T08:28:36.140Z] 08:28:36     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | Frecency is correct - 2000 == 2000 - 
[task 2022-12-16T08:28:36.141Z] 08:28:36     INFO - Buffered messages finished
[task 2022-12-16T08:28:36.141Z] 08:28:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | 0 == 1 - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_annotation.js :: assertDatabase :: line 42
[task 2022-12-16T08:28:36.141Z] 08:28:36     INFO - Stack trace:
[task 2022-12-16T08:28:36.141Z] 08:28:36     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_annotation.js:assertDatabase:42
[task 2022-12-16T08:28:36.142Z] 08:28:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-16T08:28:36.143Z] 08:28:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | Uncaught exception in test - at chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_annotation.js:44 - TypeError: can't access property "getResultByName", rows[0] is undefined
[task 2022-12-16T08:28:36.143Z] 08:28:36     INFO - Stack trace:
[task 2022-12-16T08:28:36.143Z] 08:28:36     INFO - assertDatabase@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_annotation.js:44:1
[task 2022-12-16T08:28:36.143Z] 08:28:36     INFO - Leaving test bound basic
[task 2022-12-16T08:28:36.144Z] 08:28:36     INFO - Entering test bound redirection
[task 2022-12-16T08:28:36.241Z] 08:28:36     INFO - Pick result
[task 2022-12-16T08:28:36.262Z] 08:28:36     INFO - Awaiting for the urlbar panel to open
[task 2022-12-16T08:28:36.340Z] 08:28:36     INFO - Urlbar panel opened
[task 2022-12-16T08:28:36.358Z] 08:28:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-16T08:28:36.359Z] 08:28:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | "http://example.com/" == "http://example.com/browser/browser/components/urlbar/tests/browser/redirect_to.sjs?/" - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_annotation.js :: pickResult :: line 76
[task 2022-12-16T08:28:36.359Z] 08:28:36     INFO - Stack trace:
[task 2022-12-16T08:28:36.359Z] 08:28:36     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_annotation.js:pickResult:76
[task 2022-12-16T08:28:36.360Z] 08:28:36     INFO - Show result and wait for loading
[task 2022-12-16T08:28:36.624Z] 08:28:36     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 2022-12-16T08:28:36.878Z] 08:28:36     INFO - Check database
[task 2022-12-16T08:28:36.907Z] 08:28:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-16T08:28:36.923Z] 08:28:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | Uncaught exception in test - at resource://testing-common/PlacesTestUtils.sys.mjs:282 - TypeError: can't access property "getResultByIndex", rows[0] is undefined
[task 2022-12-16T08:28:36.923Z] 08:28:36     INFO - Stack trace:
[task 2022-12-16T08:28:36.923Z] 08:28:36     INFO - fieldInDB/<@resource://testing-common/PlacesTestUtils.sys.mjs:282:9
[task 2022-12-16T08:28:36.923Z] 08:28:36     INFO - Leaving test bound redirection
[task 2022-12-16T08:28:36.926Z] 08:28:36     INFO - Entering test bound search
[task 2022-12-16T08:28:36.926Z] 08:28:36     INFO - Extension loaded
[task 2022-12-16T08:28:36.927Z] 08:28:36     INFO - Console message: [JavaScript Warning: "Unknown category for SetEventRecordingEnabled: page_load"]
[task 2022-12-16T08:28:37.041Z] 08:28:37     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_annotation.js | Search provider extension should be running - "running" == "running" - 
```