Closed Bug 1864213 Opened 1 year ago Closed 1 year ago

Intermittent TV toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_telemetry.html | single tracking bug

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(firefox-esr115 unaffected, firefox119 unaffected, firefox120 unaffected, firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox119 --- unaffected
firefox120 --- unaffected
firefox121 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: rpl)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(1 file)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=435826760&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H8E0asqkT8qRsX9fKchV4A/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/H8E0asqkT8qRsX9fKchV4A/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2023-11-10T17:40:59.576Z] 17:40:59     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_telemetry.html | No data recorded for Glean metric extensionsTiming.contentScriptInjection 
[task 2023-11-10T17:40:59.577Z] 17:40:59     INFO - Buffered messages finished
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_telemetry.html | Data recorded for first extension for histogram: WEBEXT_CONTENT_SCRIPT_INJECTION_MS. 
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:426:16
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - test_contentscript_telemetry@chrome://mochitests/content/chrome/toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_telemetry.html:77:5
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - async*add_task/nextTick/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:2189:34
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - nextTick@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:2233:11
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:922:41
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - add_task@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:2137:17
[task 2023-11-10T17:40:59.578Z] 17:40:59     INFO - @chrome://mochitests/content/chrome/toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_telemetry.html:18:9
[task 2023-11-10T17:40:59.579Z] 17:40:59     INFO - TEST-PASS | toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_telemetry.html | Data recorded for first extension on Glean metric extensionsTiming.contentScriptInjection 
[task 2023-11-10T17:40:59.579Z] 17:40:59     INFO - add_task | Leaving test_contentscript_telemetry
[task 2023-11-10T17:40:59.580Z] 17:40:59     INFO - GECKO(3152) | MEMORY STAT | vsize 23737MB | residentFast 355MB | heapAllocated 164MB
[task 2023-11-10T17:40:59.580Z] 17:40:59     INFO - TEST-OK | toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_telemetry.html | took 155ms
[task 2023-11-10T17:40:59.580Z] 17:40:59     INFO - TEST-START | Shutdown

:rpl, since you are the author of the regressor, bug 1820158, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(lgreco)

Set release status flags based on info from the regressing bug 1820158

This patch applies a few small tweaks to assert the number of samples recorded in the unified telemetry
is the expecte one, the histogram sum value is being intermittently set to 0 due to a sample being
intermittently recorded for the bucket 0 and that was making this test ti hit an intermittent failure.

Assignee: nobody → lgreco
Status: NEW → ASSIGNED

I was able to reproduce this kind of failure locally on linux too, and the patch attached in comment 4 includes the small changes I've applied locally to fix the intermittent.

Flags: needinfo?(lgreco)
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/26e524cc8e01 Fix test_chrome_ext_contentscript_telemetry.html intermittent TV job failures. r=zombie
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: