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

444 Коммитов

Автор SHA1 Сообщение Дата
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
Florin Strugariu 82ae7c326f Bug 1572716 Re record outlook and wikipedia destop tests r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D41374

--HG--
extra : moz-landing-system : lando
2019-08-09 18:10:07 +00:00
Florin Strugariu fe8a69e1cd Bug 1564060 Re-record mobile aframe.io tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D41190

--HG--
extra : moz-landing-system : lando
2019-08-09 08:21:48 +00:00
Marian Raiciof d9a973527e Bug 1542046 - Allow running JetStream2 via Raptor r=rwood,perftest-reviewers
Changed the required yml, ini, json, js and html files to add Jetstream2 benchmark test to Raptor.
The changes on the javascript files are on github.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 09:19:18 +00:00
Gregory Mierzwinski 36210f5278 Bug 1567311 - Consolidate supporting raptor measurements into one perfherder output and artifact per type. r=perftest-reviewers,rwood
This patch fixes four things at once:

(1) Consolidate supporting raptor measurements into one PERFHERDER_DATA output per type. For example, with this change, all power data will be grouped into one PERFHERDER_DATA output.

(2) Output perfherder-data-<DATA_TYPE>.json for each supporting measurement instead of overwriting perfherder-data.json which contains the regular raptor test results.

(3) Take an average of the supporting measurements when particular unit's are specified. In this case, the '%' unit makes us take the average instead of the sum of the measurements.

(4) Remove the redundant test name entry that prefixes all power subtest entries.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 16:09:25 +00:00
Florin Strugariu 2986dc047b Bug 1564063 Re-record mobile ebay-kleinanzeigen.de tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu,Marian
Differential Revision: https://phabricator.services.mozilla.com/D40192

--HG--
extra : moz-landing-system : lando
2019-08-01 12:03:05 +00:00
Alexandru Irimovici cb092c29dc Bug 1558456 - stop tracking >1080p youtube-playback-test on motoG5 r=sparky,perftest-reviewers,davehunt
Add functionality for being able to send extra parameters for the test_url query of a test, directly from a taskcluster config.

Also, the PR adds logic in the `setup-raptor` taskgraph transform for dynamically changing the subset of youtube-playback tests based on the platform and project

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

--HG--
extra : moz-landing-system : lando
2019-07-31 16:36:21 +00:00
Florin Strugariu d63f86c8b1 Bug 1554679 Re-record all mobile tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D39141

--HG--
extra : moz-landing-system : lando
2019-07-31 10:18:32 +00:00
Nick Alexander 8306db5c30 Bug 1566171 - Part 3: Add browsertime executable arguments to Raptor command line. r=rwood
The goal is to configure browsertime in Raptor in two ways:

1) locally, just like `mach browsertime` does;

2) in automation, at taskgraph creation time, using fetches and
mozharness suite artifacts (for geckodriver).

It's possible for this to be done using mozharness config settings but
using command line options is more explicit and more likely to be easy
to remove later if and when we transition to a browsertime-specific
mozharness script.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:30:03 +00:00
Nick Alexander 49296e786e Bug 1566171 - Pre: Allow to not re-install Android app in Raptor locally. r=perftest-reviewers,rwood
This is better than `yes n | mach raptor-test ...`.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:29:57 +00:00
Marian Raiciof 0bcdfa9933 Bug 1567177 - Create cold tests for cnn mobile website. r=perftest-reviewers,sparky
The new cold cnn mobile tests can be found in 'raptor-tp6m-cold-27.ini'.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:08:06 +00:00
Nick Alexander dd80e00527 Bug 1564282 - Extract `Perftest` abstract base class. r=rwood,perftest-reviewers
This mechanical transform lays the foundation for generalizing the
underlying test runner.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 00:44:40 +00:00
Narcis Beleuzu eb0c30f254 Backed out changeset 657c0163535f (bug 1564282) for raptor failures. CLOSED TREE 2019-07-24 05:43:55 +03:00
Nick Alexander b9a2db9df5 Bug 1564282 - Extract `Perftest` abstract base class. r=rwood,perftest-reviewers
This mechanical transform lays the foundation for generalizing the
underlying test runner.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 21:58:46 +00:00
Narcis Beleuzu 4db8112c33 Backed out 2 changesets (bug 1561939) as per nalexander`s request.
Backed out changeset 2833ba67a5b9 (bug 1561939)
Backed out changeset 3125e12eee29 (bug 1561939)
2019-07-24 00:41:43 +03:00
Nick Alexander cbf4f4f55e Bug 1561939 - Extract `Perftest` abstract base class. r=rwood,perftest-reviewers
This mechanical transform lays the foundation for generalizing the
underlying test runner.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 23:01:11 +00:00
Nick Alexander 3fb9ca394a Bug 1563074 - Lift Android device performance tuning out of `testing/raptor/raptor.py`. r=rwood
Bug 1547135 added functionality to configure specific Android devices
for performance tests. That code landed as part of device setup in
`testing/raptor/raptor.py` but there is nothing Raptor-specific
(indeed, nothing harness-specific) about this configuration.

Rather than lift it to `mozdevice`, this commit moves it into a
`performance_tuning` module.  That's enough to slim down `raptor.py`.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 20:55:38 +00:00
Marian Raiciof 02a7af7f2c Bug 1564200 - No such file or directory running Raptor against x86 emulator r=perftest-reviewers,Bebe
Handle the exception ADBProcessError raised by
thermal_zone0 = self.device.shell_output('cat sys/class/thermal/thermal_zone0/temp')
on the emulator

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

--HG--
extra : moz-landing-system : lando
2019-07-22 15:38:22 +00:00
Marian Raiciof c0ad375dad Bug 1565438 - Intermittent AttributeError: RaptorLogger instance has no attribute 'crash' r=perftest-reviewers,sparky
Added the crash method for RaptorLogger class,
which will call structuredlog.py crash method.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 18:09:53 +00:00
Gijs Kruitbosch d97bb27fbf Bug 1565908 - ensure we never try to run with e10s enabled on fennec, r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D38358

--HG--
extra : moz-landing-system : lando
2019-07-19 17:13:53 +00:00
Gregory Mierzwinski b88339dfed Bug 1563800 - Output percent-change of test's power usage relative to Android OS baseline. r=perftest-reviewers,alexandru.irimovici
This patch adds an additional data output to android power tests. This data is the power usage of the test calculated as a percentage increase relative to the OS baseline. test_power.py needed to be changed to accommodate these changes as well.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 16:45:26 +00:00
alexandru.ionescu a9d15ed58c Bug 1559951 Re-record outlook.live.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D35659

--HG--
rename : testing/raptor/raptor/playback/mitmproxy-recordings-raptor-outlook.manifest => testing/raptor/raptor/playback/mitm4-linux-firefox-outlook.manifest
extra : moz-landing-system : lando
2019-07-18 16:38:08 +00:00
Florin Strugariu ebdbff7f24 Bug 1558445 Raptor is not raising exception when detecting application timed out r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D34501

--HG--
extra : moz-landing-system : lando
2019-07-12 08:57:47 +00:00
Marian Raiciof 3d73481d61 Bug 1548814 - Migrate ARES6 benchmark to Raptor r=rwood,perftest-reviewers,igoldan,acreskey
Changed the required yml, ini, json, js and html files to migrate ARES6 benchmark test to Raptor.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 11:22:02 +00:00
Marian Raiciof d4b4fa889d Bug 1564046 - Re-record mobile cnn.com tp6 pages using mitmproxy 4 r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D37840

--HG--
extra : moz-landing-system : lando
2019-07-15 12:42:02 +00:00
Alexandru Irimovici 4599bbfc02 Bug 1553486 - Switch raptor-youtube-playback url from dev to prod r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D37401

--HG--
extra : moz-landing-system : lando
2019-07-15 11:09:07 +00:00
Florin Strugariu af988798c3 Bug 1564040 Re-record mobile amazon.com tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D37258

--HG--
extra : moz-landing-system : lando
2019-07-12 08:56:49 +00:00
Rob Wood 4bf2e84568 Bug 1552519 - For geckoview browser apps startup use local configuration file instead of command line args r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D35523

--HG--
extra : moz-landing-system : lando
2019-07-12 16:31:29 +00:00
Alexandru Irimovici 540be94a1c Bug 1559938 - Re-record microsoft.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,Bebe,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D35759

--HG--
extra : moz-landing-system : lando
2019-07-08 07:47:11 +00:00
Geoff Brown 0bf2156985 Bug 1563229 - In raptor, only check for crashes after app launched successfully; r=rwood,perftest-reviewers
This avoids error messages about missing minidump directories when an unrelated failure aborts a run before launching the test app.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 16:54:33 +00:00
Gregory Mierzwinski 89a3cf398b Bug 1561729 - Add unit tests for android power measurement parsing. r=perftest-reviewers,rwood
This patch adds three unit tests (in one file) to the set of the raptor tests. The tests include (i) an Android 8 power parsing test, (ii) an android 7 power parsing test, and (iii) a test for android OS baseline parsing (tested using android 8 data).

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

--HG--
extra : moz-landing-system : lando
2019-07-08 18:30:00 +00:00
Henrik Skupin 6b7efec04c Bug 1547651 - [raptor] shutdown_browser() should not wait 15s before killing the browser. r=perftest-reviewers,stephendonner,rwood
Differential Revision: https://phabricator.services.mozilla.com/D30180

--HG--
extra : moz-landing-system : lando
2019-07-08 17:50:57 +00:00
Rob Wood b8cf99b919 Bug 1561699 - Record the android device temperature for Raptor android test runs r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D36832

--HG--
extra : moz-landing-system : lando
2019-07-04 17:03:34 +00:00
Florin Strugariu a4ef94ddf9 Bug 1559955 Re-record twitch.tv desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D36736

--HG--
extra : moz-landing-system : lando
2019-07-05 08:51:43 +00:00