Bug: Intermittent browser/components/shopping/tests/browser/browser_ui_telemetry.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: WONTFIX
Created: 2024-08-07 17:34:03+00:00
Resolved: 2024-12-16 19:05:25+00:00

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

---
```
[task 2024-08-07T17:22:57.975Z] 17:22:57     INFO - TEST-PASS | browser/components/shopping/tests/browser/browser_ui_telemetry.js | null == null - 
[task 2024-08-07T17:22:57.976Z] 17:22:57     INFO - Buffered messages finished
[task 2024-08-07T17:22:57.979Z] 17:22:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/shopping/tests/browser/browser_ui_telemetry.js | Uncaught exception in test bound test_shopping_sidebar_displayed - at chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_ui_telemetry.js:191 - TypeError: can't access property "length", tabSwitchEvents is null
[task 2024-08-07T17:22:57.981Z] 17:22:57     INFO - Stack trace:
[task 2024-08-07T17:22:57.982Z] 17:22:57     INFO - test_shopping_sidebar_displayed@chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_ui_telemetry.js:191:19
[task 2024-08-07T17:22:57.982Z] 17:22:57     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-08-07T17:22:57.983Z] 17:22:57     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-08-07T17:22:57.983Z] 17:22:57     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-08-07T17:22:57.984Z] 17:22:57     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-08-07T17:22:57.984Z] 17:22:57     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-08-07T17:22:57.986Z] 17:22:57     INFO - Leaving test bound test_shopping_sidebar_displayed
[task 2024-08-07T17:22:57.987Z] 17:22:57     INFO - Entering test bound test_shopping_card_clicks
[task 2024-08-07T17:22:57.988Z] 17:22:57     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/product/B09TJGHL5F" line: 0}]
[task 2024-08-07T17:22:59.352Z] 17:22:59     INFO - GECKO(1072) | console.error: (new Error("Fetching HPKE config from https://example.com/ohttp-config failed with error 404", "resource://gre/modules/HPKEConfigManager.sys.mjs", 47))
[task 2024-08-07T17:22:59.396Z] 17:22:59     INFO - GECKO(1072) | console.error: "Failed to fetch product analysis data" (new Error("request failed", "resource:///actors/ShoppingSidebarChild.sys.mjs", 377))
[task 2024-08-07T17:22:59.584Z] 17:22:59     INFO - GECKO(1072) | console.error: (new Error("OHTTP was configured for shopping but we couldn't get a valid config.", "chrome://global/content/shopping/ShoppingProduct.mjs", 406))
[task 2024-08-07T17:22:59.924Z] 17:22:59     INFO - GECKO(1072) | console.error: (new Error("Fetching HPKE config from https://example.com/ohttp-config failed with error 404", "resource://gre/modules/HPKEConfigManager.sys.mjs", 47))
[task 2024-08-07T17:23:00.174Z] 17:23:00     INFO - GECKO(1072) | console.error: (new Error("OHTTP was configured for shopping but we couldn't get a valid config.", "chrome://global/content/shopping/ShoppingProduct.mjs", 406))
[task 2024-08-07T17:23:00.177Z] 17:23:00     INFO - GECKO(1072) | console.error: "Failed to fetch product analysis data" (new Error("request failed", "resource:///actors/ShoppingSidebarChild.sys.mjs", 377))
[task 2024-08-07T17:23:00.588Z] 17:23:00     INFO - TEST-PASS | browser/components/shopping/tests/browser/browser_ui_telemetry.js | {"category":"shopping","name":"surface_show_more_reviews_button_clicked"} deepEqual {"category":"shopping","name":"surface_show_more_reviews_button_clicked"} - 
```