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

189 Коммитов

Автор SHA1 Сообщение Дата
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
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