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

39 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo 83bfe6cee0 Bug 1590857 - Don't prompt to install Android app if the user is running 'mach install'. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54381

--HG--
extra : moz-landing-system : lando
2019-11-25 22:17:59 +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
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
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
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
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
Chris Hartjes 4aedd52bab Bug 1544470 - Added in code that can be used to take a snapshot of CPU usage on Android devices r=rwood,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D33662

--HG--
extra : moz-landing-system : lando
2019-06-06 16:57:34 +00:00
Henrik Skupin 4af7918854 Bug 1509877 - [raptor] Refactor mach script for code readability and PEP 8. r=perftest-reviewers,Bebe
Depends on D32801

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

--HG--
extra : moz-landing-system : lando
2019-05-31 14:43:39 +00:00
Henrik Skupin cb6ce127a9 Bug 1509877 - [raptor] Allow the use of a custom binary for desktop browsers. r=sparky
Depends on D32800

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

--HG--
extra : moz-landing-system : lando
2019-05-31 00:04:35 +00:00
Henrik Skupin 7ab8eca5d6 Bug 1509877 - [raptor] Fix detection of Android as platform. r=Bebe
Differential Revision: https://phabricator.services.mozilla.com/D32800

--HG--
extra : moz-landing-system : lando
2019-05-31 14:43:05 +00:00
Ivan Yung b4030f9fc6 Bug 1545117: added message which includes the local perf-automation github repo clone path r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D31177

--HG--
extra : moz-landing-system : lando
2019-05-15 14:27:57 +00:00
Stephen Donner 4a55597f03 Bug 1550828: String fixes and minor cleanup for power.py and Raptor's mach_commands.py. r=bc
Differential Revision: https://phabricator.services.mozilla.com/D30775

--HG--
extra : moz-landing-system : lando
2019-05-11 08:13:29 +00:00
Stephen Donner d229732882 Bug 1548987: pypi.python.org should now just be pypi.org in mach_commands.py. r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D29985

--HG--
extra : moz-landing-system : lando
2019-05-08 17:50:21 +00:00
Bob Clary 752022eeda Bug 1533848 - Implement Android memory test using control server waits, r=rwood.
Depends on D26973

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

--HG--
extra : moz-landing-system : lando
2019-04-16 18:55:34 +00:00
Ionut Goldan e0060de75c Bug 1539437 - Replace Chrome with Chromium mentionings where needed r=sparky,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D25094

--HG--
rename : taskcluster/ci/test/raptor-chrome.yml => taskcluster/ci/test/raptor-chromium.yml
extra : moz-landing-system : lando
2019-04-12 10:33:24 +00:00
Nick Alexander 7a1c539e39 Bug 1521967 - Part 1: Use MOZ_HOST_BIN to find certutil in `mach raptor-test` for Android. r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D17396

--HG--
extra : moz-landing-system : lando
2019-03-18 16:50:57 +00:00
Rob Wood 47c7bf42ec Bug 1522100 - Add Raptor support for running tests locally on the android-components reference browser; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D20414

--HG--
extra : moz-landing-system : lando
2019-02-21 14:14:05 +00:00
Florin Strugariu b4402089b6 Bug 1520447 For raptor tp6 on windows use mitmproxy executable instead of creating a separate python environment r=rwood,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D16802

--HG--
extra : moz-landing-system : lando
2019-02-13 19:55:30 +00:00
Cosmin Sabou 75d8d540ab Backed out changeset a5ad662d5bbb (bug 1520447) for android build bustages. CLOSED TREE 2019-02-13 17:04:19 +02:00
Florin Strugariu 604b72af80 Bug 1520447 For raptor tp6 on windows use mitmproxy executable instead of creating a separate python environment r=rwood,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D16802

--HG--
extra : moz-landing-system : lando
2019-02-12 14:33:49 +00:00
Andrew Halberstadt 8bc7850637 Bug 1483228 - [mozboot] Simplify get_state_dir()'s return value r=nalexander
mozboot.util.get_state_dir() returns a tuple of (<path>, <bool). The bool
denotes whether or not the state dir came from an environment variable.

But this value is only used in a single place, and is very easy to test for
anyway. It's not worth the added complexity it imposes on all other consumers
of this function. Let's just make this function return the path.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 20:52:31 +00:00
Rob Wood d64a93fbd2 Bug 1511356 - Run speedometer on fennec via Raptor; r=jmaher,jlund
Differential Revision: https://phabricator.services.mozilla.com/D13946

--HG--
extra : moz-landing-system : lando
2019-01-02 20:43:21 +00:00
Bob Clary bea8a390ce Bug 1512038 - Enable raptor-speedometer-geckoview-power for android-hw-{p2,g5} on try, r=rwood.
Rap-P treeherder group for Raptor power tests.

Emit separate PERFHERDER_DATA for power in addition to the performance measurements.

Use magic --host HOST_IP value to have framework load host ip from environment
variable HOST_IP.
2018-12-21 06:12:18 -08:00
Rob Wood c2349ad0f8 Bug 1473997 - find a way to measure the battery usage of geckoview (:bc's initial patch); r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D14997

--HG--
extra : moz-landing-system : lando
2018-12-19 20:52:28 +00:00
Bob Clary 91a1fd6dbd Bug 1499352 - [raptor] Allow the use of wifi and adb over tcp to serve pages, r=rwood. 2018-11-10 03:10:08 -08:00
florin.strugariu 2c1a3776aa Bug 1502483 raptor-test should test for presence of Git and emit an error message if it's not found r=rwood rwood
Differential Revision: https://phabricator.services.mozilla.com/D10054

--HG--
extra : moz-landing-system : lando
2018-10-29 16:43:22 +00:00
Rob Wood 24a553e036 Bug 1466648 - add unity3d benchmark to raptor/android; r=bc,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D7114

--HG--
extra : moz-landing-system : lando
2018-10-01 19:01:57 +00:00
Geoff Brown 111bbc5fbe Bug 1488544 - Do not check for android device when running desktop raptor-test; r=rwood 2018-09-04 15:16:18 -06:00
Bob Clary 1155dedeb1 Bug 1487244 - Remove mach's --debug-command argument before starting Raptor, r=gbrown. 2018-08-30 19:04:46 -07:00
Bob Clary df0e8c3957 Bug 1486908 - ./mach raptor-test should prompt to install geckoview_example if needed, r=gbrown. 2018-08-30 19:04:46 -07:00
Bob Clary a09d9d7eaf Bug 1486892 - Do not check for binary path when calling raptor via mach, r=jmaher. 2018-08-30 19:04:45 -07:00
Andrew Halberstadt 3d3d8fe5f7 Bug 1482057 - [raptor] Fix benchmark setup on Windows, r=jmaher
This fixes a bug where the benchmarks weren't being copied properly on Windows.
While it is slightly slower to add every file to the manifest (~0.2 seconds), it
still outperforms shutil.copytree and is more robust (will use links on Linux/Mac
while using copy on Windows).

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

--HG--
extra : moz-landing-system : lando
2018-08-14 18:06:20 +00:00
Rob Wood c9ecdec925 Bug 1473365 - migrate AWFY assortedDOM tests to a raptor benchmark r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D3046

--HG--
extra : moz-landing-system : lando
2018-08-13 21:30:33 +00:00
Andrew Halberstadt a357cacbdb Bug 1472800 - [raptor] Bootstrap webkit-benchmarks to the user's state dir r=rwood
Currently the benchmarks raptor runs are checked into the tree at:
third_party/webkit/PerformanceTests

However, some benchmarks are too big to vendor (200+MB). This patch will
clone a repo containing the benchmarks that *aren't* checked into the tree,
into the user's ~/.mozbuild directory. If the repo already exists, an update
will be run.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 18:21:08 +00:00
Rob Wood 978d9b823c Bug 1460743 - Add 'speedometer' benchmark to raptor for google chrome; r=jmaher
Includes a temporary downloading/installing Chrome 'hack' just so we can get going on try, until 'official' chrome builds are available in CI. Also some small raptor fixes/changes to support speedometer on chrome.

MozReview-Commit-ID: 8ZBlOg0BOE4

--HG--
extra : rebase_source : 8271a7b9efd6b1d30e363eb47876d82f243d5ca7
2018-06-04 15:42:44 -04:00
Rob Wood 8b76a9ff3c Bug 1455107 - Integrate raptor into mach; r=gbrown
MozReview-Commit-ID: 84vIqU2NWkE

--HG--
extra : rebase_source : ac5454192271d19b4da448e6be2f97dbb3420828
2018-04-23 16:43:30 -04:00