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

413 Коммитов

Автор SHA1 Сообщение Дата
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
alexandru.ionescu 7e04db4516 Bug 1560861 Fix ini for re-record wikipedia.org r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D35637

--HG--
extra : moz-landing-system : lando
2019-06-26 09:25:44 +00:00
Arnold Iakab 9dea54581e Bug 1559926 Re-record paypal.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D35663

--HG--
extra : moz-landing-system : lando
2019-06-25 11:53:03 +00:00
alexandru.ionescu fde78d4e4e Bug 1560489 Fix youtube mobile recording archive r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D35514

--HG--
extra : moz-landing-system : lando
2019-06-26 07:22:21 +00:00
Alexandru Irimovici 362a4dbee9 Bug 1559934 - Re-record yandex.ru desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D35779

--HG--
extra : moz-landing-system : lando
2019-06-26 07:17:10 +00:00
Rob Wood 6ee9f5bea3 Bug 1546661 - Enable cold page loads tests for Reference Browser on Try r=perftest-reviewers,Bebe,sparky
Differential Revision: https://phabricator.services.mozilla.com/D35568

--HG--
extra : moz-landing-system : lando
2019-06-25 08:28:58 +00:00
Arnold Iakab a105e5d2c9 Bug 1559952 Re-record office.live.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D35660

--HG--
rename : testing/raptor/raptor/playback/mitm4-linux-firefox-netflix.manifest => testing/raptor/raptor/playback/mitm4-linux-firefox-office.manifest
extra : moz-landing-system : lando
2019-06-25 11:53:44 +00:00
Arnold Iakab 811b6f3395 Bug 1559953 Re-record pinterest.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D35666

--HG--
extra : moz-landing-system : lando
2019-06-25 11:48:45 +00:00
Florin Strugariu 4ca6687292 Bug 1559930 Re-record sheets desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D35520

--HG--
extra : moz-landing-system : lando
2019-06-25 10:24:31 +00:00
Florin Strugariu da775a1209 Bug 1559929 Re-record slides desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D35519

--HG--
extra : moz-landing-system : lando
2019-06-25 10:25:24 +00:00
Florin Strugariu 1b0ff14373 Bug 1559928 Re-record docs desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D35518

--HG--
extra : moz-landing-system : lando
2019-06-25 10:26:39 +00:00