Commit Graph

202 Commits

Author SHA1 Message Date
Andrew Halberstadt
93128f0dc2 Bug 1576812 - [tryselect] Re-order header shortcuts in an order that makes more sense (given they don't all fit), r=iain
Differential Revision: https://phabricator.services.mozilla.com/D46181

--HG--
extra : moz-landing-system : lando
2019-09-17 18:56:25 +00:00
Andrew Halberstadt
dcbb6094c1 Bug 1576812 - [tryselect] Increase width of fzf preview pane in |mach try fuzzy| r=gbrown
Depends on D44911

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

--HG--
extra : moz-landing-system : lando
2019-09-06 14:59:54 +00:00
Andrew Halberstadt
1719cc129d Bug 1576812 - [tryselect] Improve mach try fuzzy documentation r=iain
Differential Revision: https://phabricator.services.mozilla.com/D44911

--HG--
extra : moz-landing-system : lando
2019-09-17 16:32:40 +00:00
Julian Descottes
c56df517ed Bug 1578468 - Skip fission mochitests and sw-e10s xpcshell tests for DevTools try presets r=ochameau
Depends on D45843

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

--HG--
extra : moz-landing-system : lando
2019-09-17 09:08:59 +00:00
Julian Descottes
0521d90c71 Bug 1578468 - Add devtools-linux preset r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D45843

--HG--
extra : moz-landing-system : lando
2019-09-16 07:08:35 +00:00
Edwin Takahashi
e40edba52f Bug 1565332 - add option to toggle linux desktop tests to run on debian 10 r=ahal
Adds command line option for developers to run tests against experimental debian 10 image (from D42597).

This is an experimental flag and will be removed once debian 10 image is used for production CI tests.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 01:07:23 +00:00
Geoff Brown
be67d46e14 Bug 1577037 - Stop running all Fennec functional tests; r=bc
Stop running all Fennec functional (non-performance) tests:
 - stop running all Android 4.3 tests
 - switch android-em-7 cppunit and android-hw jittest from the Fennec apk to the
   geckoview apk (no difference in behavior expected)
 - stop running Android 7.0 marionette tests, since they also run against Fennec
 - remove android-em-4.* references from taskcluster configs
 - remove android instance: extra-large references from taskcluster configs,
   since they only affect aws, which is no longer used for Android

Android-hw raptor tests running against Fennec remain; I will prepare a separate
patch for those.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 15:58:36 +00:00
Barret Rennie
a9de9d21e2 Bug 1563090 - Fetch visual metrics task definition from a template r=nalexander,tomprince,ahal
The `./mach try {fuzzy,chooser}` commands now support a `--visual-metrics-jobs`
option which can be used to pass the job descriptions to the visual-metrics
task.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 16:42:45 +00:00
Narcis Beleuzu
3fca079bae Backed out 2 changesets (bug 1563090) for Linting failure on run-visual-metrics.py . CLOSED TREE
Backed out changeset 1b2389663474 (bug 1563090)
Backed out changeset 9071c90b2e84 (bug 1563090)
2019-09-04 19:03:58 +03:00
Barret Rennie
08de8af0da Bug 1563090 - Fetch visual metrics task definition from a template r=nalexander,tomprince,ahal
The `./mach try {fuzzy,chooser}` commands now support a `--visual-metrics-jobs`
option which can be used to pass the job descriptions to the visual-metrics
task.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 13:16:57 +00:00
Julian Descottes
1c1f9ee308 Bug 1578156 - Add mac opt tests to devtools preset r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D44352

--HG--
extra : moz-landing-system : lando
2019-09-02 08:54:40 +00:00
Nick Alexander
49401b728f Bug 1573208 - Part 2: Add --browsertime flag to Raptor test jobs. r=glandium
For now, this just:

- updates the TreeHerder symbol
- includes the `--browsertime` extra option

The actual test jobs will react to the `--browsertime` extra option
and add dependencies, etc, as appropriate.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 22:51:17 +00:00
James Graham
33d659728e Bug 1574864 - Make resolve_tests_by_suite prefix match paths, r=ahal
The current behaviour of resolve_tests_by suite is to look for exact
matches between the passed in path and the paths associated with each
test. But that doesn't work for cases where you want to path in an
ancestor path and run all the tests under that path.

This changeset makes resolve_tests_by_suite return a list of the input
paths that prefix-match one or more tests in a given suite, sorted by
suite. It is assumed that the harness itself will be able to handle
such inputs even when they don't correspond to a directory that
actualy contains tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 16:57:25 +00:00
championshuttler
9316d7c7ca Bug 1569472 - Enable RST linter for browser/docs/ and tools/tryselect/docs/. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D41991

--HG--
extra : moz-landing-system : lando
2019-08-16 20:05:58 +00:00
championshuttler
ca9164e8bd Bug 1536103 - Fix Sphinx Warning for not referenced hyperlinks. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39057

--HG--
extra : moz-landing-system : lando
2019-07-28 12:08:11 +00:00
Edwin Gao
233b2d7fc7 Bug 1541424 - ensure path expansion in mach try respects manifest annotations r=ahal,marco
Differential Revision: https://phabricator.services.mozilla.com/D38771

--HG--
extra : moz-landing-system : lando
2019-07-25 17:10:43 +00:00
Nicolas Silva
9a0de7396e Bug 1565168 - Add a webrender try preset. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D37688

--HG--
extra : moz-landing-system : lando
2019-07-11 17:23:08 +00:00
Sylvestre Ledru
8abb9a8efd Bug 1562642 - Part 4 - Add missing MPL2 headers in tools r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37579

--HG--
extra : moz-landing-system : lando
2019-07-10 19:12:07 +00:00
Simon Giesecke
5ed4b363cd Bug 1564068 - removing reference to trychooser web page which no longer exists; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37229

--HG--
extra : moz-landing-system : lando
2019-07-09 07:58:19 +00:00
Simon Giesecke
480ef5885c Bug 1564073 - fix reference to history files; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37228

--HG--
extra : moz-landing-system : lando
2019-07-09 07:58:23 +00:00
Tom Prince
ef2f3feb68 Bug 1563671: [tryselect] Adjust expectations of mach try empty test to include TRY_SELECTOR; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37074

--HG--
extra : moz-landing-system : lando
2019-07-05 18:04:09 +00:00
Victor Porof
5c7cdbd4ba Bug 1561435 - Format tools/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d214f0c82813e5a8d3987debc490a2c11f1308ff
2019-07-05 11:18:19 +02:00
Tom Prince
cc334f7f17 Bug 1562287: Add an option to mach try to disable 3-tier PGO; r=mshal,ahal
Often times, PGO builds aren't required for testing things (in particular,
testing release automation). However, at least when testing release automation,
we do need to use the shippable build type.

Add an option to mach try that will disable using the 3-tier PGO jobs.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 19:03:04 +00:00
Tom Prince
770166e1f5 Bug 1562287: Allow setting other try_task_config settings than templates; r=ahal
Templates invoke the `morph` logic, which is somewhat confusing and inflexible.
Update the machinery to support setting other `try_task_config` values.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 06:25:18 +00:00
Tom Prince
225b100443 Bug 1562287: Factor out generation of try_task_config; r=ahal
Factor out the logic for calculating `try_task_config` from `push_to_try`,
so it can be called only for those selectors that need it.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 06:25:11 +00:00
Tom Prince
a5001a64e1 Bug 1562287: Don't advertise chemspill-prio in try syntax, since it isn't supported; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D36362

--HG--
extra : moz-landing-system : lando
2019-07-04 06:24:58 +00:00
Adam Gashlin
2b3a91bf60 Bug 1508430 - Add option to list tasks in try again history r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D36145

--HG--
extra : moz-landing-system : lando
2019-06-28 19:17:11 +00:00
Alexandre Poirot
d73b8a9739 Bug 1545147 - Run remote agent's mochitests in a distinct "remote" job. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D32028

--HG--
extra : moz-landing-system : lando
2019-06-17 13:57:03 +00:00
Edwin Gao
0da1d200eb Bug 1555458 - require --full for android-hw job scheduling with fuzzy r=jmaher,gbrown
Changes:
- require `--full` keyword for `./mach try fuzzy` in order to schedule android-hw jobs to hopefully reduce the backlog

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

--HG--
extra : moz-landing-system : lando
2019-06-05 20:26:36 +00:00
Brian Grinstead
1a65cc7e89 Bug 1555421 - Include 'other' and 'g5' test suites in perf-chrome preset;r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D33049

--HG--
extra : moz-landing-system : lando
2019-05-31 15:53:48 +00:00
Tom Prince
428ae7cea5 Bug 1551738: [try-staging] Add release-to-esr migration for staging release; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D31185

--HG--
extra : moz-landing-system : lando
2019-05-15 18:04:45 +00:00
Matthew Gaudet
69feb249f9 Bug 1539814 - An initial pair of try presets for SpiderMonkey r=jandem,ahal
- sm-shell: Selects shell only test cases that shouldn't require a full browser build.
- sm-all: Selects test cases that may require a full browser build.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 13:40:06 +00:00
Julian Descottes
efc5cfeb74 Bug 1550213 - Fix devtools try preset r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30430

--HG--
extra : moz-landing-system : lando
2019-05-08 22:14:20 +00:00
Mike Shal
34df9ef9e5 Bug 1548785 - Remove suggestion to pass '--git' to 'mach vcs-setup'; r=froydnj
Bug 1484243 removed the --git argument and made the VCS auto-detected,
so we should no longer suggest passing in that argument in error
messages.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:33:43 +00:00
Matthew Noorenberghe
fb5759c88d Bug 1546757 - Output statedir in code snippet for testing taskgraph watchman trigger. r=ahal
Otherwise `statedir` is always ""

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

--HG--
extra : moz-landing-system : lando
2019-05-03 18:29:57 +00:00
Andrew Halberstadt
4eeb57f7c1 Bug 1546757 - [tryselect] Always cache both the full_task_set and target_task_set when generating tasks, r=tomprince
Since we need to generate the full_task_set as a prereq to the target_task_set,
and since getting from full_task_set -> target_task_set is trivial.. we might
as well save both computed sets to the cache while we have them. This means users
that run:

$ ./mach try fuzzy

and then run:

$ ./mach try fuzzy --full

(or vice versa)

Will only incur task generation once. It also means that the 'watchman' trigger
will cache both taskgraphs.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:26:57 +00:00
Andrew Halberstadt
86e7b04de4 Bug 1546757 - [tryselect] Add a watchman trigger to rebuild the taskgraph cache in the background, r=tomprince
This adds a 'watchman.json' file to /tools/tryselect and some documentation on
how to use it. Tl;dr, install watchman and then:

$ cd path/to/gecko
$ watchman -j < tools/tryselect/watchman.json

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:45:19 +00:00
Andrew Halberstadt
a33e10de46 Bug 1546757 - [tryselect] Provide defaults to generate_tasks arguments, r=Callek
This allows consumers to call 'generate_tasks()' without arguments.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 16:41:47 +00:00
Joel Maher
6611f95ab0 Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
remove subsuite=clipboard from manifests

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:16:44 +00:00
Geoff Brown
105f46a3c6 Bug 1250737 - Update android mozharness 'chunked' handling, for jittest; r=bc
It turns out there are several places where the change to suite 'jittest-chunked'
causes problem. I am abandoning that approach.
Desktop uses this trick, and this returns android '-chunked' handling to a state
similar to what it was before I started messing around!

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

--HG--
extra : moz-landing-system : lando
2019-04-25 21:17:59 +00:00
Geoff Brown
450e774300 Bug 1546922 - Update tryselect unit test name for android jittest; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D28836

--HG--
extra : moz-landing-system : lando
2019-04-25 13:46:48 +00:00
Andrew Halberstadt
165e3bd55b Bug 1546718 - [tryselect] Add ability to post-filter fuzzy presets interactively, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D28713

--HG--
extra : moz-landing-system : lando
2019-04-24 19:36:03 +00:00
neha
5f0ca32845 Bug 1545054 - Define a new preset for netmonitor-tests r=Honza,ahal,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D28031

--HG--
extra : moz-landing-system : lando
2019-04-23 18:31:19 +00:00
Brian Grinstead
d71db0e638 Bug 1546471 - Add a new try preset for talos when making changes to the browser chrome r=mconley
This skips a number of talos jobs that are unlikely to be affected
by due a browser-chrome specific change

Run with: `./mach try fuzzy --preset perf-chrome`

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

--HG--
extra : moz-landing-system : lando
2019-04-23 18:24:46 +00:00
Andrew Halberstadt
48648a7344 Bug 1523303 - Align mozharness suite names with the ones in 'moztest.resolve', r=gbrown
This officially makes 'moztest.resolve' the source of truth when it comes to
suite names. It aligns that file with the names used in both the
desktop_unittest and android_emulator_unittest scripts.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 22:32:34 +00:00
Andrew Halberstadt
14be9536c1 Bug 1523303 - [taskgraph] Define suite "categories" rather than flavours task configs, r=gbrown
Currently we have the concept of a "suite" and a "flavour" in our task
configuration.  Typically, the "suite" refers to the high-level test harness
like "mochitest" or "reftest", whereas the flavour is more specific, e.g
"browser-chrome-instrumentation" or "crashtest". However the line between suite
and flavour is not applied with any semblance of consistency which results in
inconsistent naming throughout the tree.

This patch gets rid of the concept of "flavours" entirely (at least when it
comes to task configuration). A suite is a type of test run, for example:

    - mochitest-plain
    - mochitest-devtools-chrome
    - mochitest-browser-chrome-instrumentation
    - jsreftest
    - reftest
    - firefox-ui-functional-remote
    etc

There is no confusion here between suites and flavours because flavours don't
exist. However, there are a couple of places where we *do* need to know what
"test harness" is used to run a suite. These cases are:

    1. For SCHEDULES moz.build rules
    2. For the desktop_unittest.py mozharness script which takes arguments like
       --mochitest-suite=browser (this is not a compelling use of this information
       and should be refactored to work more like the android_emulator_unittest.py
       script)

So to get this information, this patch introduces a new concept of a "category"
which is the overall "test harness" that runs the suite. For many suites, the
"category" is identical to the suite name. Unlike flavours, "categories" have
no bearing on how we call or refer to the suite.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 20:44:01 +00:00
Andrew Halberstadt
a35fbb3478 Bug 1546100 - [tryselect] Fix tools/tryselect/test/test_fuzzy.py, r=jmaher
This was regressed by bug 1544816 but the test never ran on the push that regressed.
This patch also updates the 'files-changed' for the tryselect task.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 18:38:58 +00:00
Edwin Gao
2bd091e8ec Bug 1544441 - prevent selecting windows10-aarch64 jobs using old try syntax and fuzzy unless --full is used r=jmaher
Changes:
- added windows10-aarch64 to the filter for fuzzy, to require `--full` in order to trigger jobs
- return False for any test tasks that contain windows10-aarch64 to prevent users using old try syntax from overwhelming the limited number of hardware

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:14:17 +00:00
Andrew Halberstadt
6b482c7f2e Bug 1541527 - Remove "-e10s" from treeherder group symbols and task labels, r=jmaher,gbrown
Since e10s is the default configuration, we shouldn't explicitly mark things
with the "-e10s" suffix. Instead we should mark things that *don't* run with
'e10s. This patch removes '-e10s' from all treeherder group symbols and task
labels, adds the "-1proc" suffix to tasks that are non-e10s.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 18:18:33 +00:00
Mike Shal
623a6ff7d0 Bug 1543663 - Add $HOME/.mozbuild/fzf/bin to PATH for tryselect cramtests; r=ahal
This helps run the tests locally if fzf is normally installed in
$HOME/.mozbuild. Since the tests set MOZBUILD_STATE_PATH to a temporary
directory, fzf_bootstrap() can't find fzf in the HOME location unless it
is added to PATH.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 22:48:38 +00:00