Bug: Intermittent browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-06-02 04:53:16+00:00
Resolved: 2024-06-26 12:02:42+00:00

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

---
```
[task 2024-06-02T03:19:24.141Z] 03:19:24     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | rows[0] URL should be as expected - "https://example.com/bookmark" == "https://example.com/bookmark" - 
[task 2024-06-02T03:19:24.143Z] 03:19:24     INFO - Starting third query
[task 2024-06-02T03:19:24.149Z] 03:19:24     INFO - Waiting for third query to start
[task 2024-06-02T03:19:24.151Z] 03:19:24     INFO - Resolving provider's finishQueryPromise
[task 2024-06-02T03:19:24.152Z] 03:19:24     INFO - Waiting for third query to finish
[task 2024-06-02T03:19:24.152Z] 03:19:24     INFO - Buffered messages finished
[task 2024-06-02T03:19:24.158Z] 03:19:24     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | The view has the expected number of rows - 2 == 1 - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js","name":"do_exposure_append_full_twice","sourceId":1211,"lineNumber":999,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js","name":"exposure_append_full_twice","sourceId":1211,"lineNumber":773,"columnNumber":11,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":574,"lineNumber":1139,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":574,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":574,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":574,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":600,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*exposure_append_full_twice@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js:773:11\nasync*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"do_exposure_append_full_twice@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js:999:10\nasync*exposure_append_full_twice@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js:773:11\nasync*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-06-02T03:19:24.159Z] 03:19:24     INFO - Stack trace:
[task 2024-06-02T03:19:24.159Z] 03:19:24     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js:do_exposure_append_full_twice:999
[task 2024-06-02T03:19:24.160Z] 03:19:24     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js:exposure_append_full_twice:773
[task 2024-06-02T03:19:24.160Z] 03:19:24     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-06-02T03:19:24.161Z] 03:19:24     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-06-02T03:19:24.161Z] 03:19:24     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-06-02T03:19:24.161Z] 03:19:24     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-06-02T03:19:24.162Z] 03:19:24     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-06-02T03:19:24.162Z] 03:19:24     INFO - Closing view and blurring
[task 2024-06-02T03:19:24.163Z] 03:19:24     INFO - Closing the view directly
[task 2024-06-02T03:19:24.163Z] 03:19:24     INFO - Waiting for the view to close
[task 2024-06-02T03:19:24.164Z] 03:19:24     INFO - Urlbar view closed
[task 2024-06-02T03:19:24.165Z] 03:19:24     INFO - Asserting Glean telemetry is correct, actual events are: [{"category":"urlbar","extra":{"results":"history"},"name":"exposure","timestamp":2338991}]
[task 2024-06-02T03:19:24.166Z] 03:19:24     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | Telemetry event length matches expected event length. - 1 == 1 - 
[task 2024-06-02T03:19:24.167Z] 03:19:24     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | "urlbar" == "urlbar" - 
[task 2024-06-02T03:19:24.168Z] 03:19:24     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | "exposure" == "exposure" - 
[task 2024-06-02T03:19:24.169Z] 03:19:24     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | results is correct - "history" == "history" - 
[task 2024-06-02T03:19:24.169Z] 03:19:24     INFO - Leaving test bound exposure_append_full_twice
[task 2024-06-02T03:19:24.170Z] 03:19:24     INFO - GECKO(16817) | MEMORY STAT | vsize 12006MB | residentFast 639MB | heapAllocated 320MB
[task 2024-06-02T03:19:24.171Z] 03:19:24     INFO - TEST-OK | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_exposure_edge_cases.js | took 9215ms
[task 2024-06-02T03:19:24.171Z] 03:19:24     INFO - GECKO(16817) | [Child 17005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fc8376b8800 == 1 [pid = 17005] [id = 131]
[task 2024-06-02T03:19:24.172Z] 03:19:24     INFO - GECKO(16817) | [Child 17005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7fc838180020) [pid = 17005] [serial = 382] [outer = 0]
[task 2024-06-02T03:19:24.173Z] 03:19:24     INFO - GECKO(16817) | [Child 17005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7fc8376b8c00) [pid = 17005] [serial = 383] [outer = 7fc838180020]
[task 2024-06-02T03:19:24.174Z] 03:19:24     INFO - checking window state
[task 2024-06-02T03:19:24.216Z] 03:19:24     INFO - TEST-START | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_potential_exposure.js
```