Commit Graph

423 Commits

Author SHA1 Message Date
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
Florin Strugariu
293ff815b9 Bug 1559941 Re-record mail.yahoo.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D36735

--HG--
extra : moz-landing-system : lando
2019-07-05 08:51:26 +00:00
Florin Strugariu
74a2e09c79 Bug 1559950 Re-record mail.google.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D36734

--HG--
extra : moz-landing-system : lando
2019-07-05 09:06:49 +00:00
alexandru.ionescu
1aace086a9 Bug 1563660 Fix tp6m-google updated with tp6m-youtube r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D37033

--HG--
extra : moz-landing-system : lando
2019-07-05 08:57:28 +00:00
Victor Porof
2b036e45c5 Bug 1561435 - Format testing/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : c0948f31e520ca087279cf429ca5f1db5a8341b8
2019-07-05 11:01:24 +02:00
Gregory Mierzwinski
c5fd4c93ff Bug 1549033 - Only dump PERFHERDER_DATA when scenario tests are run with a resource usage flag. r=perftest-reviewers,stephendonner,rwood
For the Raptor 'scenario' test type, this patch prevents PERFHERDER_DATA from being output when `--power-test`, `--cpu-test`, or `--memory-test` are not used.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 15:36:40 +00:00
Florin Strugariu
f05f8c08fd Bug 1563496 Fix tp6-5 test ini file r=davehunt,perftest-reviewers,alexandru.irimovici
Differential Revision: https://phabricator.services.mozilla.com/D36898

--HG--
extra : moz-landing-system : lando
2019-07-04 11:59:02 +00:00
Henrik Skupin
45bc14a50b Bug 1550702 - [raptor] Switch to dumpProfileToFile() for saving the Gecko profile. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D33010

--HG--
extra : moz-landing-system : lando
2019-07-03 19:42:40 +00:00
Gregory Mierzwinski
4bc7927e7f Bug 1553335 - Run Android OS baseline test before all power tests. r=perftest-reviewers,rwood
This patch adds an Android OS baseline test which runs before all tests when '--power-test' is supplied. The data is then added to the test's PERFHERDER_DATA blob as power data that is suffixed with '-baseline'.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 14:10:14 +00:00
Alexandru Irimovici
176aeab92f Bug 1561889 - Ignore percentage values from youtube-playback-tests r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D36208

--HG--
extra : moz-landing-system : lando
2019-07-03 13:46:16 +00:00
Gregory Mierzwinski
5b3641e2ac Bug 1562923 - Check if raptor web extension is installed before uninstalling. r=perftest-reviewers,Bebe,alexandru.irimovici
This patch makes Raptor check if the web extension was installed before attempting to uninstall it.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 12:39:55 +00:00
Marian Raiciof
1c86c4412d Bug 1560956 - RaptorLogger class should not inherit from ProxyLogger r=perftest-reviewers,sparky
RaptorLogger class is using object composition to create its logger field.
Because the inheritance is not used to achieve that, there is no need to extend ProxyLogger class.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:18:16 +00:00
Florin Strugariu
97547c1e86 Bug 1562872 Disable raptor tp6 upstream certs r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D36595

--HG--
extra : moz-landing-system : lando
2019-07-03 08:01:07 +00:00
Florin Strugariu
601979c058 Bug 1562871 Clean up desktop test ini files r=perftest-reviewers,alexandru.irimovici,AlexandruIonescu,arnold.iakab
Differential Revision: https://phabricator.services.mozilla.com/D36594

--HG--
extra : moz-landing-system : lando
2019-07-03 08:00:37 +00:00
Ionut Goldan
25f333335f Bug 1559948 - Re-record ebay.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D35400

--HG--
extra : moz-landing-system : lando
2019-07-01 14:47:50 +00:00
Marian Raiciof
2be495865f Bug 1559931 - Re-record fandom.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,Bebe
Wikia.com website has been replaced by fandom.com

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

--HG--
extra : moz-landing-system : lando
2019-07-01 13:19:28 +00:00
Florin Strugariu
9a26a6e64c Bug 1559954 Re-record instagram.com binast desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D35997

--HG--
extra : moz-landing-system : lando
2019-06-28 08:35:32 +00:00
Kartikaya Gupta
c3de0e7d73 Bug 1558598 - Force WebRender on or off in the raptor harness. r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D35857

--HG--
extra : moz-landing-system : lando
2019-06-29 09:49:00 +00:00
Armen Zambrano G.
53bd62e369 Bug 1559975 - Python3 linting changes for raptor r=Callek,rwood
Differential Revision: https://phabricator.services.mozilla.com/D35252

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:14 +00:00
Stephen Donner
18d79cb494 Bug 1549631 - Add new target app (browser) backgrounded, idle-power-use test. r=rwood,AlexandruIonescu
This patch adds idle browser (*-idle-bg)tests to Raptor which have the app running on about:blank in the background for 20 minutes. It adds the 'background_test' flag to 'scenario' type Raptor tests to make a test run in the background. Furthermore, a unit test is added to the Raptor control server tests as well as methods to check if the app was properly backgrounded or foregrounded.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:46:35 +00:00
Gregory Mierzwinski
59458ab5f3 Bug 1555796 - Fix regular expressions for Android power usage parsing. r=perftest-reviewers,davehunt
This patch fixes the regular expressions used to parse power usage info from `batterystats` output on Android 7+. With these changes, we no longer intermittently obtain measurements (such as `proportional`) due to pattern matching failures.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:59:35 +00:00
krubin
77a7501e88 Bug 1559247 - Don't post screenshot data when console logging control server message data r=igoldan
Differential Revision: https://phabricator.services.mozilla.com/D35696

--HG--
extra : moz-landing-system : lando
2019-06-25 06:20:49 +00:00