[win perma] toolkit/components/processtools/tests/xpcshell/test_total_cpu_time.js | test_totalCpuTime_in_parent - [test_totalCpuTime_in_parent : 38] The CPU time reported through Glean should be at least as much as the CPU time reported by ProcInfo ...
Categories
(Thunderbird :: General, defect, P5)
Tracking
(thunderbird_esr128 unaffected, thunderbird132 affected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr128 | --- | unaffected |
| thunderbird132 | --- | affected |
People
(Reporter: intermittent-bug-filer, Assigned: mkmelin)
References
Details
(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [stockwell disable-recommended])
Attachments
(1 file)
Filed by: mkmelin [at] iki.fi
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=473333199&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ZhvmQfrISHCAeF6_IIY7CA/runs/0/artifacts/public/logs/live_backing.log
| Assignee | ||
Updated•1 year ago
|
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 2•1 year ago
|
||
Seems first pushes with this is https://treeherder.mozilla.org/jobs?repo=comm-central&tochange=34c1074463a8383fb7f1ee5dadad4a5d953ccf3d&fromchange=0bd88e159c2d293749b8b1e3ca4c20f32c95e923&selectedTaskRun=YnlywbetQI-20DS8xttBZw.0 corresponding to https://hg.mozilla.org/mozilla-central/pushloghtml?changeset=cbfd8f13ada7739ef07dd4873cfd87e69e5c91d2
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 4•1 year ago
|
||
I don't see what would have caused it.
The windows failure is here: https://searchfox.org/comm-central/rev/94a4fb022ccd5586762df7f422be2e01243b6173/mozilla/toolkit/components/processtools/tests/xpcshell/test_total_cpu_time.js#41
"The CPU time reported through Glean should be at least as much as the CPU time reported by ProcInfo before asking Glean for the data - 346 >= 349"
I see a note "50 is an arbitrary value, but the resolution is 16ms on Windows" a few lines below. Could that have some impact here?? Florian, as original creator of this patch, any ideas?
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 8•1 year ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #4)
I don't see what would have caused it.
The windows failure is here: https://searchfox.org/comm-central/rev/94a4fb022ccd5586762df7f422be2e01243b6173/mozilla/toolkit/components/processtools/tests/xpcshell/test_total_cpu_time.js#41
"The CPU time reported through Glean should be at least as much as the CPU time reported by ProcInfo before asking Glean for the data - 346 >= 349"
I see a note "50 is an arbitrary value, but the resolution is 16ms on Windows" a few lines below. Could that have some impact here?? Florian, as original creator of this patch, any ideas?
This bug feels very similar to bug 1880373, but I don't see why the fixes we landed there wouldn't work on comm-central.
Are you running these tests on real hardware or on virtual machines?
Virtual machines usually don't report having a constant_tsc, which means we can't get a resolution higher than 1/64 s for CPU times on them. There's a hack at https://searchfox.org/mozilla-central/rev/906cf04e249dd79ee496f01f9ed79cc16b1ff78c/toolkit/components/processtools/ProcInfo_win.cpp#61-67 to force using a high resolution in automation. I don't see a reason for that hack to not work on comm-central.
Is there any chance xpc::IsInAutomation could be broken on comm-central? (I assume not, as that would likely break many other things)
| Assignee | ||
Comment 9•1 year ago
|
||
Are you running these tests on real hardware or on virtual machines?
Rob, do you know?
The test does not fail locally (at least for me).
Comment 10•1 year ago
|
||
(In reply to Florian Quèze [:florian] from comment #8)
Is there any chance
xpc::IsInAutomationcould be broken on comm-central? (I assume not, as that would likely break many other things)
I'm pretty sure it's not broken. Using it for something at the moment and it works as expected.
Comment 12•1 year ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #9)
Are you running these tests on real hardware or on virtual machines?
Rob, do you know?
The test does not fail locally (at least for me).
Windows tests run on virtual. It's the same basic "win11-64-2009" image that Firefox tests run on. (No gpu or anything fancy)
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 15•1 year ago
|
||
Updated•1 year ago
|
| Comment hidden (Intermittent Failures Robot) |
Comment 17•1 year ago
|
||
Comment 18•1 year ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•1 year ago
|
Description
•