Bug: Intermittent browser/components/search/test/browser/browser_search_telemetry_sources.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-10 14:21:52+00:00
Resolved: 2024-03-27 12:04:26+00:00

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

---
```
[task 2023-07-10T13:52:48.034Z] 13:52:48     INFO - TEST-PASS | browser/components/search/test/browser/browser_search_telemetry_sources.js | Should have equal number of engagements. - 1 == 1 - 
[task 2023-07-10T13:52:48.035Z] 13:52:48     INFO - Leaving test bound test_source_urlbar
[task 2023-07-10T13:52:48.035Z] 13:52:48     INFO - Entering test bound test_source_urlbar_handoff
[task 2023-07-10T13:52:48.035Z] 13:52:48     INFO - Buffered messages finished
[task 2023-07-10T13:52:48.038Z] 13:52:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_search_telemetry_sources.js | uncaught exception - NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextContentPrincipal] at construct@chrome://global/content/elements/browser-custom-element.js:1024:38
[task 2023-07-10T13:52:48.039Z] 13:52:48     INFO - connectedCallback@chrome://global/content/elements/browser-custom-element.js:330:12
[task 2023-07-10T13:52:48.040Z] 13:52:48     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2380:24
[task 2023-07-10T13:52:48.041Z] 13:52:48     INFO - addTab@chrome://browser/content/tabbrowser.js:2780:16
[task 2023-07-10T13:52:48.041Z] 13:52:48     INFO - addTab@resource://testing-common/BrowserTestUtils.sys.mjs:2659:23
[task 2023-07-10T13:52:48.041Z] 13:52:48     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.sys.mjs:251:61
[task 2023-07-10T13:52:48.041Z] 13:52:48     INFO - switchTab@resource://testing-common/BrowserTestUtils.sys.mjs:391:7
[task 2023-07-10T13:52:48.042Z] 13:52:48     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.sys.mjs:246:26
[task 2023-07-10T13:52:48.043Z] 13:52:48     INFO - test_source_urlbar_handoff/<@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_search_telemetry_sources.js:234:36
[task 2023-07-10T13:52:48.043Z] 13:52:48     INFO - track_ad_click@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_search_telemetry_sources.js:129:19
[task 2023-07-10T13:52:48.043Z] 13:52:48     INFO - test_source_urlbar_handoff@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_search_telemetry_sources.js:229:9
[task 2023-07-10T13:52:48.044Z] 13:52:48     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-10T13:52:48.044Z] 13:52:48     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-10T13:52:48.045Z] 13:52:48     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-10T13:52:48.046Z] 13:52:48     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - 
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - Stack trace:
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2003
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://browser/content/tabbrowser.js:_insertBrowser:2380
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://browser/content/tabbrowser.js:addTab:2780
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:addTab:2659
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:openNewForegroundTab/promises<:251
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:switchTab:391
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:openNewForegroundTab:246
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_search_telemetry_sources.js:test_source_urlbar_handoff/<:234
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_search_telemetry_sources.js:track_ad_click:129
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_search_telemetry_sources.js:test_source_urlbar_handoff:229
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - GECKO(7857) | JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 1024: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextContentPrincipal]
[task 2023-07-10T13:52:48.047Z] 13:52:48     INFO - Not taking screenshot here: see the one that was previously logged
```