Граф коммитов

477 Коммитов

Автор SHA1 Сообщение Дата
Florin Strugariu e37204a6cb Bug 1590563 - Incorrect subtest name for yandex cold page-load test r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D50169

--HG--
extra : moz-landing-system : lando
2019-10-23 09:00:12 +00:00
Rob Wood be2b8eab04 Bug 1520463 - Raptor python unit tests: add support for python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D48768

--HG--
extra : moz-landing-system : lando
2019-10-21 20:26:15 +00:00
Bogdan Tara 4736ee716a Backed out changeset a4ed297ed157 (bug 1520463) for raptor failures complaining about StringIO 2019-10-19 15:02:15 +03:00
Rob Wood cec1bc2e1d Bug 1520463 - Raptor python unit tests: add support for python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D48768

--HG--
extra : moz-landing-system : lando
2019-10-18 17:48:52 +00:00
Florin Strugariu 481c8f933e Bug 1589070 - Raptor desktop cold load tests are reusing the initial profile and so are not cold loads r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D49421

--HG--
extra : moz-landing-system : lando
2019-10-16 14:44:14 +00:00
Andrew Halberstadt c858034fd8 Bug 1587826 - [raptor] Rename raptor configs to <test>-cold r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D48980

--HG--
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-1.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-1-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-10.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-10-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-11.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-11-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-12.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-12-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-13.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-13-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-14.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-14-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-15.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-15-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-16.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-16-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-17.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-17-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-18.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-18-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-19.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-19-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-2.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-2-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-20.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-20-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-21.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-21-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-22.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-22-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-23.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-23-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-24.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-24-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-25.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-25-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-26.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-26-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-27.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-27-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-28.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-28-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-29.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-29-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-3.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-3-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-30.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-30-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-4.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-4-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-5.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-5-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-6.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-6-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-7.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-7-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-8.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-8-cold.ini
rename : testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-cold-9.ini => testing/raptor/raptor/tests/tp6/desktop/raptor-tp6-9-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-1.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-1-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-1-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-1-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-10.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-10-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-10-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-10-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-11.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-11-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-11-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-11-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-12.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-12-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-12-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-12-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-13.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-13-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-13-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-13-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-14.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-14-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-14-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-14-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-15.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-15-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-16.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-16-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-17.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-17-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-18.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-18-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-19.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-19-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-2.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-2-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-2-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-2-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-20.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-20-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-21.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-21-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-22.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-22-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-23.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-23-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-24.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-24-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-25.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-25-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-26.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-26-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-27.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-27-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-28.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-28-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-3.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-3-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-3-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-3-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-4.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-4-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-4-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-4-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-5.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-5-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-5-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-5-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-6.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-6-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-6-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-6-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-7.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-7-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-7-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-7-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-8.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-8-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-8-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-8-fennec68-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-9.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-9-cold.ini
rename : testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-cold-9-fennec68.ini => testing/raptor/raptor/tests/tp6/mobile/raptor-tp6m-9-fennec68-cold.ini
extra : moz-landing-system : lando
2019-10-15 19:15:37 +00:00
Andrew Halberstadt 91116caeac Bug 1587206 - [lint.flake8] Enable E117 across the tree, r=sylvestre
Prevents over-indentation.

Depends on D48611

Differential Revision: https://phabricator.services.mozilla.com/D48612

--HG--
extra : moz-landing-system : lando
2019-10-10 18:51:45 +00:00
Gregory Mierzwinski 48a0396380 Bug 1578542 - Fail the tests when a subtest is missing from the results. r=perftest-reviewers,stephendonner,rwood
This patch adds the ability to check if all subtests were run and ensures that we fail the task when at least one test is missing from the expected set of tests. It also modifies how the return code is computed in output.output to check that all checks passed and that none of them failed.

Differential Revision: https://phabricator.services.mozilla.com/D47630

--HG--
extra : moz-landing-system : lando
2019-10-10 15:51:07 +00:00
Nick Alexander fa0a34f56b Bug 1587637 - Strip "#MozRunner" from Gecko profile prefs in Android Browsertime. r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D48794

--HG--
extra : moz-landing-system : lando
2019-10-10 15:44:45 +00:00
Florin Strugariu f752a3a05d Bug 1581829 - Expand desktop cold page load tests to full suite of sites r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D47585

--HG--
extra : moz-landing-system : lando
2019-10-08 10:53:30 +00:00
Rob Wood eb26015662 Bug 1581990 - Have raptor-browsertime tests use the raptor browser profile/prefs r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D48099

--HG--
extra : moz-landing-system : lando
2019-10-07 13:41:56 +00:00
Marian Raiciof e05c27c965 Bug 1547943 - Intermittent mozrunner.errors.RunnerNotStartedError r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D47290

--HG--
extra : moz-landing-system : lando
2019-10-03 16:20:02 +00:00
Rob Wood 68186d1a2f Bug 1581990 - Align page-load test delays and timeouts under --browsertime with Raptor r=nalexander,tarek
Differential Revision: https://phabricator.services.mozilla.com/D47833

--HG--
extra : moz-landing-system : lando
2019-10-02 19:26:38 +00:00
octavian.negru 79fee602e5 Bug 1583624 - Unclear error message in stylebench raptor output. r=perftest-reviewers,Marian
Differential Revision: https://phabricator.services.mozilla.com/D47771

--HG--
extra : moz-landing-system : lando
2019-10-02 08:17:14 +00:00
Tarek Ziadé a460e9917d Bug 1585330 - Add more log in browsertime_pageload.js r=rwood
Adds log info in browsertime_pageload.js

Differential Revision: https://phabricator.services.mozilla.com/D47784

--HG--
extra : moz-landing-system : lando
2019-10-01 15:53:19 +00:00
Marian Raiciof 97377aca1d Bug 1581042 - Intermittent TypeError: a float is required r=perftest-reviewers,sparky,Bebe,stephendonner
Differential Revision: https://phabricator.services.mozilla.com/D47085

--HG--
extra : moz-landing-system : lando
2019-10-01 07:08:51 +00:00
Tarek Ziadé 392875b20c Bug 1577905 - Support warmload tests under --browsertime r=nalexander,rwood
Support warmload tests under --browsertime

Differential Revision: https://phabricator.services.mozilla.com/D46443

--HG--
extra : moz-landing-system : lando
2019-09-30 07:27:22 +00:00
Gregory Mierzwinski f62dd43b6a Bug 1575575 - Add fullscreen and windowed youtube-playback power tests. r=perftest-reviewers,stephendonner,dhouse,rwood
This patch adds fullscreen and windowed youtube tests for the V9 and H264 encoding at 1080p30 and 1080p60. Each subtest runs for 20 page cycles which amounts to about 5 minutes each. It also begins adding these to power test tasks running on the macosx-1014 reference hardware.

Differential Revision: https://phabricator.services.mozilla.com/D45067

--HG--
extra : moz-landing-system : lando
2019-09-26 22:18:54 +00:00
Gregory Mierzwinski 4834fc615b Bug 1583246 - Fix supporting data summarizing changes regressed by bug 1565316. r=perftest-reviewers,stephendonner
This patch re-adds code that was removed by the patch in bug 1565316 - the summarize_supporting_data function. It also fixes the construct_summary function to accept a unit argument for summarizing the values in supporting data measurements.

Differential Revision: https://phabricator.services.mozilla.com/D46995

--HG--
extra : moz-landing-system : lando
2019-09-25 14:47:58 +00:00
Gregory Mierzwinski 73c3d687d1 Bug 1579528 - Add Google Chrome test tasks for all platforms. r=perftest-reviewers,stephendonner
This patch adds google chrome release tests for windows10-64, windows7-32, linux64, and macosx. It will run anywhere chromium is currently running, and uses the same settings as chromium for tier, max-run-time, etc.. All chromium test tasks will remain as they are - they will be run in a cron task in the future.

Differential Revision: https://phabricator.services.mozilla.com/D45385

--HG--
extra : moz-landing-system : lando
2019-09-24 20:45:16 +00:00
Andrew Halberstadt 898dfb96b4 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417

--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Geoff Brown 66b180e290 Bug 1577037 - Stop running all Fennec performance tests; r=perftest-reviewers,stephendonner,sparky,Bebe
Stop running all Raptor tests that run against Fennec. Raptor tests running
against geckoview and geckoview products continues.

Differential Revision: https://phabricator.services.mozilla.com/D44511

--HG--
extra : moz-landing-system : lando
2019-09-23 16:49:29 +00:00
Marian Raiciof b82fefd873 Bug 1580722 - Create cold tests for all mobile websites r=perftest-reviewers,stephendonner
This task has been added to create all the missing cold tests for mobile websites.

Differential Revision: https://phabricator.services.mozilla.com/D45634

--HG--
extra : moz-landing-system : lando
2019-09-16 18:47:46 +00:00
Florin Strugariu b776b14b16 Bug 1577037 Add fennec tests for esr-68 latest r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45836

--HG--
extra : moz-landing-system : lando
2019-09-17 14:35:20 +00:00
Tarek Ziadé 845c6c26bd Bug 1565316 - Process browsertime results and dump out for perfherder. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40100

--HG--
extra : moz-landing-system : lando
2019-09-17 06:53:14 +00:00
stephendonner 30543f34f3 Bug 1581676. Fix misspellings of 'Gecko profiling' in Talos and Raptor code. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D46097

--HG--
extra : moz-landing-system : lando
2019-09-17 07:37:43 +00:00
Mihai Alexandru Michis 2c2409c49e Backed out changeset 67e5d2425c75 (bug 1565316) for causing raptor wasm failures. CLOSED TREE 2019-09-17 04:49:42 +03:00
Tarek Ziadé 2bf41754c0 Bug 1565316 - Process browsertime results and dump out for perfherder. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40100

--HG--
extra : moz-landing-system : lando
2019-09-16 21:02:26 +00:00
Nick Alexander 93d82bb882 Bug 1581197 - Remove unused Android device parameter from `mozproxy`. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D45885

--HG--
extra : moz-landing-system : lando
2019-09-16 18:35:15 +00:00
Gregory Mierzwinski 57bbacf298 Bug 1578733 - Implement AndroidCpuProfiler for CPU usage measurements. r=stephendonner
This patch modifies how CPU usage is measured. First, it swaps out `dumpsys cpuinfo` in favor of `top` for android 7 devices. Next, a new class AndroidCpuProfiler is created for CPU polling since `top` only returns a snapshot and is not representative of what the browser has been doing (previously, we only measured CPU usage before the test started).

The CPU profiler/poller is started where the snapshot used to be generated and the perfherder data is now generated before the browser shuts down to prevent recording noise from the shutdown. The poller gathers a data point every 10 seconds, but this can be modified. It then produces perfherder-data for the average, minimum, and maximum CPU usage over the course of the test. The existing CPU tests have also been modified to accomodate these changes.

Differential Revision: https://phabricator.services.mozilla.com/D44919

--HG--
extra : moz-landing-system : lando
2019-09-11 19:38:52 +00:00
Nick Alexander 19d52d9edc Bug 1566174 - Part 2: Add browsertime dependencies to Raptor tasks when --browsertime flag is present. r=rwood,tomprince
This commit prepares the decks for turning specific Raptor tasks into
Raptor + browsertime tasks.  The `--browsertime` flag to `mach try
...` flips the switch; eventually, the Raptor harness will recognize
the `--browsertime` flag and use browsertime to perform the pageload
measurements.

To run browsertime, we need:

1) Node.js
2) the browsertime `node_modules` (provided by the
   `toolchain-browsertime` task)
3) ffmpeg (for producing videos from captured frames)
4) chromedriver (in the future, when targeting Chrome/Chromium)
5) geckodriver (provided by the `toolchain-*-geckodriver` tasks)
6) `PATH` configured

This commit arranges those things.

Since the configuration varies by test platform, and eventually we
expect the changes implemented by the flag to be moved into YAML task
definitions, we elect to use `by-test-platform` conditionals as much
as possible.  The end expression is pleasant, thanks to
`evaluate_keyed_by`.

Handling PATH, however, is a rabbit hole.  At this time, it's not
possible to use `fetch` task repackaging, because `releng-hardware`
doesn't support `zstandard` (Bug 1576244) and there's no appetite to
avoid `zstandard` entirely (Bug 1576698).  Generally PATH is
configured using `mozharness` configuration files, which can execute
arbitrary Python and configure the PATH only for browsertime jobs.
However, the Raptor mozharness script itself runs the Raptor harness
in a stripped down environment, throwing away modifications to PATH.
It's not clear what impacts changing that has, so we leave it alone,
and add a `--browsertime-ffmpeg` flag and custom handling in the
Raptor harness.  This can transition smoothly into a browsertime flag
(so that the PATH doesn't need to be set at all) and into a unified
interface for Raptor and `mach browsertime` to configure the
browsertime execution environment.

Differential Revision: https://phabricator.services.mozilla.com/D38781

--HG--
extra : moz-landing-system : lando
2019-09-06 18:53:49 +00:00
Rob Wood f591ad7b03 Bug 1568048 - Lift mozproxy management out of Raptor and into Perftest r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42946

--HG--
extra : moz-landing-system : lando
2019-09-05 13:09:24 +00:00
Florin Strugariu 37d17612f4 Bug 1563164 - Remove option to enable/disable upstream certs in raptor r=perftest-reviewers,tarek,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D44622

--HG--
extra : moz-landing-system : lando
2019-09-04 13:39:19 +00:00
Florin Strugariu 300a8a317b Bug 1563162 - remove mitmproxy 2.0.2 support in raptor r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D43748

--HG--
extra : moz-landing-system : lando
2019-09-03 10:38:10 +00:00
Rob Wood c274d213ea Bug 1572804 - Begin to build browsertime support into Raptor framework (original patch by nalexander) r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D43254

--HG--
extra : moz-landing-system : lando
2019-08-28 20:43:27 +00:00
Stephen Donner 3e05e8ace5 Bug 1554328: Fix minor typos in Raptor's control_server.py r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D43278

--HG--
extra : moz-landing-system : lando
2019-08-23 22:17:12 +00:00
Gregory Mierzwinski 23672d1205 Bug 1573940 - Integrate mozpower into raptor desktop. r=perftest-reviewers,rwood
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.

Differential Revision: https://phabricator.services.mozilla.com/D42014

--HG--
extra : moz-landing-system : lando
2019-08-23 18:27:05 +00:00
Gregory Mierzwinski ee3fe5c6dc Bug 1574574 - Add support to invoke raptor with 'mach raptor'. r=perftest-reviewers,rwood,stephendonner
This patch adds support for using `./mach raptor` instead of `./mach raptor-test`. The old version is left for backwards compatibility.

Differential Revision: https://phabricator.services.mozilla.com/D43051

--HG--
extra : moz-landing-system : lando
2019-08-23 13:11:48 +00:00
Gregory Mierzwinski f528283d3d Bug 1548459 - Use suite name to initialize brower cycle combinations. r=perftest-reviewers,rwood
This patch fixes an issue where if browser_cycle does not equal 1 for the first entry in the raptor results, then it will attempt to access combined_suites with a key entry which would only get created when we had an entry with browser_cycle equal to 1. With this change, we use the suite name to determine when we need to initialize the combined_suites entry. This issue occurs when the first cycle does not produce results.

Differential Revision: https://phabricator.services.mozilla.com/D43060

--HG--
extra : moz-landing-system : lando
2019-08-22 18:14:42 +00:00
Marian Raiciof 61f083bc16 Bug 1568461 - Fix subtest alerting for youtube-playback tests r=rwood,perftest-reviewers
The alert_on values from the test INI were not being passed into the test settings json via manifest.py, this patch will fix this.

Differential Revision: https://phabricator.services.mozilla.com/D43049

--HG--
extra : moz-landing-system : lando
2019-08-23 09:28:04 +00:00
Nick Alexander 4b45d4c635 Bug 1573208 - Part 1: Add `--browsertime` flag to Raptor harness. r=rwood
This requires generalizing the existing flags from paths to possibly
being paths.  The `os.path.expandvars` allows to refer to
`MOZ_FETCHES_DIR` symbolically in the build scripts (which aren't
invoked by the shell before execution, leaving us to expand shell
variables).

Differential Revision: https://phabricator.services.mozilla.com/D41604

--HG--
extra : moz-landing-system : lando
2019-08-21 22:50:47 +00:00
Mark Banner a05a7163d5 Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop
This picks up various improvements, especially to how configurations are handled and some new rules.

Differential Revision: https://phabricator.services.mozilla.com/D37271

--HG--
extra : moz-landing-system : lando
2019-08-21 19:08:44 +00:00
Marian Raiciof c975d5be60 Bug 1568461 - Run raptor-youtube-playback-geckoview jobs on integration branches with alerting enabled. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D40776

--HG--
extra : moz-landing-system : lando
2019-08-21 14:22:31 +00:00
krubin 408cd85cb9 Bug 1555799 - Add new raptor tests in CI for generating cpu and memory info. r=perftest-reviewers,rwood
This patch adds two new test tasks for each of the 4 Android browsers running speedometer, idle, or idle-background. These tests gather (i) cpu+memory usage, or (ii) cpu+memory+power usage information. The power tests are left as they are for now to determine if there is an impact to our measurements if we run all resource-usage tests at once. Furthermore, the cron job for android power tests was also modified to prevent it from picking up these tasks.

The cpu usage functons needed to be fixed here because they were not working on MotoG5/Android7 for two reasons: (i) device version was not being detected properly, and (ii) ADB shell commands can't use the pipe functionality (`|`). Tests needed to be modified to compensate for these changes as well.

Differential Revision: https://phabricator.services.mozilla.com/D42679

--HG--
extra : moz-landing-system : lando
2019-08-21 13:41:24 +00:00
chrmod 47fa3b6cf0 Bug 1562844 - Use correct tabId in Raptor r=robwu,rwood
More info: https://bugzilla.mozilla.org/show_bug.cgi?id=1562844#c9

Differential Revision: https://phabricator.services.mozilla.com/D41768

--HG--
extra : moz-landing-system : lando
2019-08-15 20:02:33 +00:00
Marian Raiciof a0aac768b0 Bug 1554966 - Investigate running raptor-youtube-playback tests always muted on desktop r=perftest-reviewers,sparky
Based on the conclusion from the bug mentioned above, we will run youtube playback always muted on desktop.

Differential Revision: https://phabricator.services.mozilla.com/D41555

--HG--
extra : moz-landing-system : lando
2019-08-13 14:05:54 +00:00
Florin Strugariu a9dde2d93d Bug 1539983 [mozproxy] Move alternate-server-replay script into mozproxy r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D41540

--HG--
rename : testing/mozbase/mozproxy/mozproxy/backends/mitm.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitm.py
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-4.0.4-linux64.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-4.0.4-linux64.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-4.0.4-osx.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-4.0.4-osx.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-4.0.4-win.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-4.0.4-win.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-linux64.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-linux64.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-osx.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-osx.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy-rel-bin-win.manifest => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy-rel-bin-win.manifest
rename : testing/mozbase/mozproxy/mozproxy/backends/mitmproxy_requirements.txt => testing/mozbase/mozproxy/mozproxy/backends/mitm/mitmproxy_requirements.txt
rename : testing/raptor/raptor/playback/alternate-server-replay-2.0.2.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/alternate-server-replay-2.0.2.py
rename : testing/raptor/raptor/playback/alternate-server-replay-4.0.4.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/alternate-server-replay-4.0.4.py
rename : testing/raptor/raptor/playback/scripts/catapult/LICENSE => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/LICENSE
rename : testing/raptor/raptor/playback/scripts/catapult/deterministic.js => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/deterministic.js
rename : testing/raptor/raptor/playback/scripts/inject-deterministic.py => testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/inject-deterministic.py
extra : moz-landing-system : lando
2019-08-14 11:49:35 +00:00
Andrew Creskey f3d824c187 Bug 1572412 - Remove root-requiring chmod on raptor android app config r=rwood
The chmod isn't needed

Differential Revision: https://phabricator.services.mozilla.com/D41193

--HG--
extra : moz-landing-system : lando
2019-08-13 16:06:30 +00:00
Gregory Mierzwinski b6257bf6d0 Bug 1572862 - Disable adaptive brightness when running power tests on android. r=perftest-reviewers,stephendonner
This patch disables adaptive brightness on any android device that runs power tests. It is not restored because it should always be disabled.

Differential Revision: https://phabricator.services.mozilla.com/D41444

--HG--
extra : moz-landing-system : lando
2019-08-12 17:27:29 +00:00
Florin Strugariu dc10950243 Bug 1573189 Fix Instagram recording on mobile tests r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D41572

--HG--
extra : moz-landing-system : lando
2019-08-12 15:38:07 +00:00