Closed
Bug 2082602
Opened 1 month ago
Closed 3 days ago
Make ./mach perftest <alert> use the CI options by default and start the emulator for Android tests
Categories
(Testing :: mozperftest, enhancement, P1)
Testing
mozperftest
Tracking
(firefox163 fixed)
RESOLVED
FIXED
163 Branch
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: aglavic, Assigned: aglavic)
References
Details
(Whiteboard: [fxp])
Attachments
(1 external file)
./mach perftest <alert> only reproduces alerts correctly with --alert-exact. Without it:
- mozperftest alerts never run (the
alertlayer requires the CI options for them). - Raptor/browsertime alerts from Android devices run on desktop Firefox, because the plain command is just
./mach raptor -t <suite>with no--app. - Raptor alerts on variants (e.g.
no-nova) lose the prefs that define the variant. - Talos alerts lose the CI prefs and variant flags.
The regression bugs tell people to run ./mach perftest <alert>, so the default should be the command that reproduces the alert.
Proposed changes:
- Use the options of the CI task that produced the alert by default, so
--alert-exactbecomes a no-op kept for compatibility. - Add
--alert-basicto run the plain command instead. Raptor tests keep the--appfrom the CI task so Android alerts still run on the device; mozperftest tests always use the CI options since they cannot run without them. - When an Android test is about to run and no device is connected, start the Mozilla test emulator (prompting when interactive). This has to happen in the
alertlayer, because the childmachcommands pipe their output and would hide the emulator prompt.
The KeyError: 'task_id' crash when the alerting push has no task is handled separately in bug 2079947.
| Assignee | ||
Comment 1•1 month ago
|
||
Without the CI options, mozperftest alerts could not run and raptor alerts ran
desktop Firefox or dropped variant prefs. --alert-basic runs the plain command
instead, keeping the app for raptor tests. --alert-exact is now a no-op.
| Assignee | ||
Updated•1 month ago
|
Severity: -- → S2
Priority: -- → P1
Updated•26 days ago
|
Whiteboard: [fxp]
Updated•26 days ago
|
Pushed by aglavic@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/9983c480a741
https://hg.mozilla.org/integration/autoland/rev/d901fccb2c29
Use the CI options by default in mach perftest <alert> and start the emulator for Android tests. r=mozperftest-reviewers,perftest-reviewers,sparky
Comment 3•3 days ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 days ago
status-firefox163:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•