Bug: Intermittent TV browser/components/search/test/browser/telemetry/browser_search_glean_serp_event_telemetry_categorization_enabled_by_nimbus_variable.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-03-20 20:21:31+00:00
Resolved: 2024-04-02 12:57:11+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=451546416&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BjBG520BS6Cg3MEim7f1fw/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BjBG520BS6Cg3MEim7f1fw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2024-03-20T20:19:54.615Z] 20:19:54     INFO - TEST-PASS | browser/components/search/test/browser/telemetry/browser_search_glean_serp_event_telemetry_categorization_enabled_by_nimbus_variable.js | serpEventsCategorizationEnabled should be true when enrolled in experiment. - true == true - 
[task 2024-03-20T20:19:54.616Z] 20:19:54     INFO - Load a sample SERP with organic results.
[task 2024-03-20T20:19:54.617Z] 20:19:54     INFO - Buffered messages finished
[task 2024-03-20T20:19:54.618Z] 20:19:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/telemetry/browser_search_glean_serp_event_telemetry_categorization_enabled_by_nimbus_variable.js | Uncaught exception in test bound test_enable_experiment_when_pref_is_not_enabled - at chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/head.js:420 - TypeError: can't access property "testGetValue", Glean.serp.categorization is undefined
[task 2024-03-20T20:19:54.618Z] 20:19:54     INFO - Stack trace:
[task 2024-03-20T20:19:54.618Z] 20:19:54     INFO - assertCategorizationValues@chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/head.js:420:23
[task 2024-03-20T20:19:54.618Z] 20:19:54     INFO - test_enable_experiment_when_pref_is_not_enabled@chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/browser_search_glean_serp_event_telemetry_categorization_enabled_by_nimbus_variable.js:138:29
[task 2024-03-20T20:19:54.619Z] 20:19:54     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-03-20T20:19:54.619Z] 20:19:54     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-03-20T20:19:54.619Z] 20:19:54     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-03-20T20:19:54.619Z] 20:19:54     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1122:14
[task 2024-03-20T20:19:54.619Z] 20:19:54     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-03-20T20:19:54.620Z] 20:19:54     INFO - Leaving test bound test_enable_experiment_when_pref_is_not_enabled
[task 2024-03-20T20:19:54.620Z] 20:19:54     INFO - Console message: [JavaScript Error: "TypeError: can't access property "record", Glean.serp.categorization is undefined" {file: "resource:///modules/SearchSERPTelemetry.sys.mjs" line: 2190}]
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - recordCategorizationTelemetry@resource:///modules/SearchSERPTelemetry.sys.mjs:2190:5
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - callback@resource:///modules/SearchSERPTelemetry.sys.mjs:1794:38
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - sendCallback@resource:///modules/SearchSERPTelemetry.sys.mjs:2099:7
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - stopTrackingBrowser@resource:///modules/SearchSERPTelemetry.sys.mjs:713:50
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - handleEvent@resource:///modules/SearchSERPTelemetry.sys.mjs:382:10
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:4155:12
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - removeTab@chrome://browser/content/tabbrowser.js:3921:15
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - removeTab@resource://testing-common/BrowserTestUtils.sys.mjs:1900:30
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - test_enable_experiment_when_pref_is_not_enabled@chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/browser_search_glean_serp_event_telemetry_categorization_enabled_by_nimbus_variable.js:137:26
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1122:14
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-03-20T20:19:54.621Z] 20:19:54     INFO - 
[task 2024-03-20T20:19:54.788Z] 20:19:54     INFO - GECKO(1095) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2024-03-20T20:19:54.789Z] 20:19:54     INFO - GECKO(1095) | MEMORY STAT | vsize 11479MB | residentFast 479MB | heapAllocated 243MB
[task 2024-03-20T20:19:54.790Z] 20:19:54     INFO - TEST-OK | browser/components/search/test/browser/telemetry/browser_search_glean_serp_event_telemetry_categorization_enabled_by_nimbus_variable.js | took 1745ms
[task 2024-03-20T20:19:54.812Z] 20:19:54     INFO - checking window state
[task 2024-03-20T20:19:54.827Z] 20:19:54     INFO - GECKO(1095) | Completed ShutdownLeaks collections in process 1095
[task 2024-03-20T20:19:54.828Z] 20:19:54     INFO - TEST-START | Shutdown
```