Closed Bug 1573940 Opened 4 months ago Closed 4 months ago

Integrate mozpower into Raptor for Desktop builds

Categories

(Testing :: Raptor, task, P1)

Version 3
task

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: sparky, Assigned: sparky)

References

Details

Attachments

(1 file)

This bug is for integrating mozpower power measurements into raptor for macOS power usage measuring.

This patch integrates mozpower into raptor desktop testing. It can be used for MacOS power testing by supplying the --power-test command at the command line.

Some changes to how the --power-test command is parsed are also made so that we don't check for the --host argument when it is supplied. Now, it is only checked when --app is an android browser, in the near future this --host argument will no longer be needed for power testing on android.

Another change in this patch is the addition of the self.artifact_dir property which returns the current directory that should be used to output the artifacts.

Power usage data is output into this artifact directory in a 'power-measurements' folder and this data is zipped when we are running in CI.

Priority: -- → P1
Depends on: 1572190
Blocks: 1575575

Failed parsing args in the last try push, new one with the latest changes is here: https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=44447eff027b4d7b4660273421f0fafdb4ad24d2

I made some small changes to the patch (and fixed a lint error), new try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d28843feda562ee5427e181ccba1fdf94574c51d

No longer depends on: 1572190
Pushed by gmierz2@outlook.com:
https://hg.mozilla.org/integration/autoland/rev/1c8286c5178c
Integrate mozpower into raptor desktop. r=perftest-reviewers,rwood
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.