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

174 Коммитов

Автор SHA1 Сообщение Дата
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
Geoff Brown cea888163f Bug 1318091 - Add Android 7.0 gtest tasks; r=bc
Add Android 7.0 gtests, opt and debug, running against the geckoview
TestRunnerActivity.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 20:49:33 +00:00
Andrew Halberstadt a47c68c32c Bug 1523303 - [tryselect] Extend test_mozharness_integration.py to include the 'android_emulator_unittest' script, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D26133

--HG--
extra : moz-landing-system : lando
2019-04-08 14:34:59 +00:00
Andrew Halberstadt 99da408e98 Bug 1523303 - [mozharness] Remove definitions for defunct *-addons suites, r=gbrown
Depends on D25432

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

--HG--
extra : moz-landing-system : lando
2019-03-29 18:48:05 +00:00
Andrew Halberstadt 152788c6ab Bug 1523303 - [tryselect] Also read mac/win_unittest.py configs in test_mozharness_integration.py, r=gbrown
There are a few windows/mac-only suites that were missed since we were only
reading the linux variant.

Depends on D25401

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

--HG--
extra : moz-landing-system : lando
2019-03-29 18:47:48 +00:00
Andrew Halberstadt 6c4d83431a Bug 1539957 - [fuzzy] Fix |mach try --preset foo -xq bar| when running a preset, r=jgraham
While running presets + intersection queries works with 'mach try fuzzy
--preset <foo>', it is still broken with 'mach try --preset <foo>'.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 13:27:34 +00:00
Andrew Halberstadt 92e089081b Bug 1529048 - Add '--rebuild=5' to the perf preset, DONTBUILD, r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D24887

--HG--
extra : moz-landing-system : lando
2019-03-28 16:55:56 +00:00
Andrew Halberstadt 574b9b89ea Bug 1523303 - [tryselect] Define 'mozharness_name' key in relevant TEST_SUITE definitions, r=gbrown
Some of these were working with the '<flavor>-<subsuite>' mechanism that was
previously being used, but better to be explicit wherever possible.

Depends on D25077

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

--HG--
extra : moz-landing-system : lando
2019-03-27 18:42:48 +00:00
Andrew Halberstadt 5d91672933 Bug 1523303 - [mozharness] Normalize '-chunked' out of suite name when reading MOZHARNESS_TEST_PATHS in desktop_unittest.py, r=gbrown
Mozharness appends -chunked/-coverage to some suites, but the build system/test
resolver don't have any concept of these things. We need to normalize these out
for the purposes of MOZHARNESS_TEST_PATHS.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 15:59:55 +00:00
Andrew Halberstadt 573782c2eb Bug 1523303 - [tryselect] Add test making sure |mach try fuzzy <path>| generates suite names that mozharness recognizes, r=gbrown
It turns out bug 1489100 regressed the ability to specify test paths for most
suites by naively assuming that mozharness uses suite names that look like:

<flavor>-<subsuite>

In reality, there is no consistency to how suite names are generated. This test
does a few things:

1) Patches the moztest.TestResolver to return a list of all possible
suites/subsuites (assuming the lists in moztest.resolve are up to date).

2) Finds all the suites defined in the mozharness configs (e.g
linux_unittest.py), and uses these are parametrized inputs.

3) Checks that for each test suite,
DesktopUnittest._get_mozharness_test_paths() returns something.

I've marked all of the test suites that currently fail as expected. This way I
have a good sense of what needs to be fixed, and can validate my changes as I
move through the list.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 15:55:31 +00:00
Justin Wood f45b1ff0aa Bug 1352113 - Shippable Builds - amend debugger tests presets. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23437

--HG--
extra : moz-landing-system : lando
2019-03-27 13:45:30 +00:00
Cosmin Sabou a93c1714d4 Backed out 19 changesets (bug 1352113) for causing upload symbol bustages. CLOSED TREE
Backed out changeset 4943b23813fe (bug 1352113)
Backed out changeset 4b9413d05816 (bug 1352113)
Backed out changeset 3e2b6a495e8c (bug 1352113)
Backed out changeset 51ab82722846 (bug 1352113)
Backed out changeset 4b027c970719 (bug 1352113)
Backed out changeset 6b65273fab78 (bug 1352113)
Backed out changeset d7deec98601a (bug 1352113)
Backed out changeset b95b3f4e5243 (bug 1352113)
Backed out changeset 7cefe92f88d5 (bug 1352113)
Backed out changeset f64dfaf86a2e (bug 1352113)
Backed out changeset 686c228e3579 (bug 1352113)
Backed out changeset dd2eddef8b43 (bug 1352113)
Backed out changeset fc16a3ecfe68 (bug 1352113)
Backed out changeset b31cbe91bdf7 (bug 1352113)
Backed out changeset 694eac65a72e (bug 1352113)
Backed out changeset 6044aedac9c4 (bug 1352113)
Backed out changeset 456538d78b36 (bug 1352113)
Backed out changeset 01699fb72384 (bug 1352113)
Backed out changeset 4a2e544fea0d (bug 1352113)
2019-03-26 22:26:29 +02:00
Justin Wood 2666b10daf Bug 1352113 - Shippable Builds - amend debugger tests presets. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23437

--HG--
extra : moz-landing-system : lando
2019-03-26 17:59:25 +00:00
Andrew Halberstadt 422288906f Bug 1530038 - [tryselect] Move taskgraph cache to new srcdir state location, r=tomprince
Depends on D24187

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

--HG--
extra : moz-landing-system : lando
2019-03-20 15:33:56 +00:00
Andrew Halberstadt 20deb1451e Bug 1530038 - [tryselect] Use target_task_set instead of target_task_graph, r=tomprince
The graph contains some extra things like toolchains, fetches and packaging
tasks that people will almost never want to run on their own. This change gets
them out of the default fuzzy selection interface, and makes it so --full is
needed to schedule them.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:38 +00:00
Andrew Halberstadt da7628c7e8 Bug 1536621 - [tryselect] Limit the 'sample-suites' preset to a single raptor/talos task, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D24097

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:36 +00:00
Dustin J. Mitchell f488d1b253 Bug 1534283 - use default parameters for mach try fuzzy r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23225

--HG--
extra : moz-landing-system : lando
2019-03-14 19:32:05 +00:00
Andrew Halberstadt 52d1bf00c2 Bug 1531360 - [try] Add a 'perf' preset for selecting raptor and talos tasks, r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D22374

--HG--
extra : moz-landing-system : lando
2019-03-13 14:53:24 +00:00
Andrew Halberstadt 15fdaae87b Bug 1534375 - Fix intermittent failure in tools/tryselect/test/test_presets.py, r=gbrown
This makes sure this test doesn't actually generate tasks.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 14:53:26 +00:00
Andrew Halberstadt a6193bafa0 Bug 1533043 - [chooser] Add a test for |mach try chooser|, r=gbrown
Depends on D22785

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

--HG--
extra : moz-landing-system : lando
2019-03-12 13:49:25 +00:00
Andrew Halberstadt 246ff42fac Bug 1533043 - [chooser] Use a requirements file to install |mach try chooser| dependencies, r=davehunt
Not only is it best practice to pin dependencies and check hashes, but this
will allow tests to install these dependencies as well.

Depends on D22784

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

--HG--
extra : moz-landing-system : lando
2019-03-13 14:44:30 +00:00
Jason Laster a00df3516c No bug - Add damp tests to debugger-tests.
Differential Revision: https://phabricator.services.mozilla.com/D23305

--HG--
extra : moz-landing-system : lando
2019-03-13 12:49:19 +00:00
Andrew Halberstadt ea09d14bd4 Bug 1533770 - [fuzzy] Fix query intersection when running presets with multiple queries, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D22741

--HG--
extra : moz-landing-system : lando
2019-03-12 19:33:36 +00:00
Jason Laster b0162f4644 No bug - Add xpcshell tests to the preset. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D23019

--HG--
extra : moz-landing-system : lando
2019-03-11 22:14:31 +00:00
Jason Laster d0e5e67b0b Bug 1532809 - There should be Try preset debugger tests. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D22724

--HG--
extra : moz-landing-system : lando
2019-03-08 21:40:39 +00:00
Andrew Halberstadt 6df1fbd570 Bug 1533474 - [fuzzy] Fix paths with |mach try fuzzy|, r=gbrown
This fixes a regression from bug 1531886 and adds a test.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 00:12:41 +00:00
Andrew Halberstadt 5b8dcfd113 Bug 1533157 - [fuzzy] Document how to use -q/--query with various shells, DONTBUILD, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D22388

--HG--
extra : moz-landing-system : lando
2019-03-07 10:05:21 +00:00
Andrew Halberstadt 6ee8586201 Bug 1531360 - [fuzzy] Add ability to intersect queries, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D22028

--HG--
extra : moz-landing-system : lando
2019-03-06 16:14:00 +00:00
Andrew Halberstadt 029b7b915f Bug 1531886 - [tryselect] Stop allowing **kwargs in subcommand run functions, r=gbrown
This forces us to be more strict with what gets passed into the try selector.
This change means test_preset.py will error if someone makes a typo in an
in-tree preset.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 16:13:01 +00:00