Closed Bug 1794038 Opened 2 years ago Closed 2 years ago

Intermittent toolkit/components/glean/tests/xpcshell/test_GIFFT.js | single tracking bug

Categories

(Toolkit :: Telemetry, defect, P5)

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [good second bug][lang=js])

Attachments

(1 file)

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


[task 2022-10-06T20:20:50.205Z] 20:20:50     INFO -  TEST-START | toolkit/components/glean/tests/xpcshell/test_GIFFT.js
[task 2022-10-06T20:20:50.364Z] 20:20:50  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/glean/tests/xpcshell/test_GIFFT.js | xpcshell return code: 0
[task 2022-10-06T20:20:50.376Z] 20:20:50     INFO -  TEST-INFO took 160ms
[task 2022-10-06T20:20:50.376Z] 20:20:50     INFO -  >>>>>>>
[task 2022-10-06T20:20:50.376Z] 20:20:50     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-10-06T20:20:50.376Z] 20:20:50     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-10-06T20:20:50.376Z] 20:20:50     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-10-06T20:20:50.377Z] 20:20:50     INFO -  running event loop
[task 2022-10-06T20:20:50.377Z] 20:20:50     INFO -  toolkit/components/glean/tests/xpcshell/test_GIFFT.js | Starting setup test_setup
[task 2022-10-06T20:20:50.377Z] 20:20:50     INFO -  (xpcshell/head.js) | test test_setup pending (2)
[task 2022-10-06T20:20:50.377Z] 20:20:50     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-10-06T20:20:50.377Z] 20:20:50     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2022-10-06T20:20:50.378Z] 20:20:50     INFO -  (xpcshell/head.js) | test test_setup finished (2)
[task 2022-10-06T20:20:50.378Z] 20:20:50     INFO -  toolkit/components/glean/tests/xpcshell/test_GIFFT.js | Starting test_gifft_counter
[task 2022-10-06T20:20:50.378Z] 20:20:50     INFO -  (xpcshell/head.js) | test test_gifft_counter pending (2)
[task 2022-10-06T20:20:50.378Z] 20:20:50     INFO -  TEST-PASS | toolkit/components/glean/tests/xpcshell/test_GIFFT.js | test_gifft_counter - [test_gifft_counter : 49] 20 == 20
[task 2022-10-06T20:20:50.418Z] 20:20:50  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/glean/tests/xpcshell/test_GIFFT.js | test_gifft_timespan - [test_gifft_timespan : 311] 9 >= 10

Why do I get the feeling this is another bug 1777638, but timespan instead of timing_distribution...

...oh, because it is. It is possible (though unlikely) for a 10ms timer to take less than 10ms to run. Telemetry truncates the almost-10ms value.

This means we need to change this line to be >= 9. I did a quick check and I don't think there's another timespan test that could be affected. (It isn't in the IPC test because timespan metric operations are not commutative.

Whiteboard: [good second bug][lang=js]
Assignee: nobody → brosa
Status: NEW → ASSIGNED
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ec4f130d3b7c
Update test_gifft_timespan test to avoid intermittent failures. r=chutten
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
See Also: → 1813167
See Also: → 1849415
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: