Closed Bug 1880373 Opened 2 years ago Closed 2 years ago

Cleanup toolkit/components/processtools/tests/browser tests to re-enable them on Windows 11

Categories

(Toolkit :: Performance Monitoring, task)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: florian, Assigned: florian)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

The tests in toolkit/components/processtools/tests/browser are currently failing very frequently on the Windows 11 virtual machines we have in CI. Let's address this.

Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6a577eef01dc make xpc::IsInAutomation() work in all child process types, r=smaug. https://hg.mozilla.org/integration/autoland/rev/f2ed0d42cec7 make ProcInfo use the high precision code path in automation even without constant tsc, r=gerard-majax. https://hg.mozilla.org/integration/autoland/rev/3763d6a255bd cache the CPU frequency in ProcInfo_win before enabling the sandbox in utility processes, r=gerard-majax. https://hg.mozilla.org/integration/autoland/rev/4e6d1d46f4fa re-enable the toolkit/components/processtools/tests/browser tests on Windows 11, r=gerard-majax. https://hg.mozilla.org/integration/autoland/rev/24fe25ac92b6 avoid failing browser_test_powerMetrics.js when a process CPU time is 0ms for both glean and ProcInfo, r=gerard-majax. https://hg.mozilla.org/integration/autoland/rev/1a79b9485bb3 avoid failing browser_test_procinfo.js when none of the threads of a process used more than 0.5ms of CPU time, r=gerard-majax. https://hg.mozilla.org/integration/autoland/rev/dbe553dd13b7 avoid failing browser_test_procinfo.js when a process' CPU time is only 1ms less than the total of its threads' CPU time, r=gerard-majax.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: