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

417 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt f9c69a3a90 Bug 1714178 - Don't hardcode the project to 'autoland/central' in 'try_select_tasks', r=taskgraph-reviewers,aki
The two 'target_tasks_try_select' target task methods use a hardcoded
"autoland" | "mozilla-central" as the project. This means that you get the set
of tasks for autoland/central even if you e.g, update to beta and pass in
'./mach try fuzzy --parameters project=mozilla-beta'.

This patch ensures we use the proper target tasks method if passing in
non-default parameters. It also fixes the caching to account for this
new project.

Differential Revision: https://phabricator.services.mozilla.com/D117941
2021-06-16 15:53:51 +00:00
Mitchell Hentges e389cc4cc4 Bug 1714684: Remove usages of vendored "mock" library r=perftest-reviewers,ahal,sparky
Python 3 has access to `unittest.mock` in the standard library.

Differential Revision: https://phabricator.services.mozilla.com/D117073
2021-06-14 15:34:46 +00:00
Julian Descottes e21ba61a3d Bug 1715969 - [devtools] Remove debugger-tests try preset r=bomsy
Depends on D117524

This preset is redundant with the main devtools preset and not maintained

Differential Revision: https://phabricator.services.mozilla.com/D117530
2021-06-11 12:55:32 +00:00
Julian Descottes abc180d3a7 Bug 1715969 - [devtools] Fix devtools try preset to include macos jobs r=bomsy
macos jobs moved from macosx1014 to macosx1015. Use a more generic string to match osx jobs

Differential Revision: https://phabricator.services.mozilla.com/D117524
2021-06-11 12:55:31 +00:00
championshuttler 1f56db85d5 Bug 1715612 - Attempt to migrate try select to py3.r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D117276
2021-06-09 20:01:22 +00:00
Andrey Bienkowski 888618300d Bug 1714376 - Replace a number of "exception.message" usages. r=mhentges,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D116723
2021-06-08 15:50:10 +00:00
Julian Descottes 8e5bb0f75d Bug 1693640 - Run devtools fission tests on opt builds on trunk (instead of shippable) r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D105691
2021-06-07 16:30:10 +00:00
Dorel Luca f021feb29f Backed out changeset 68f73772f51e (bug 1714376) for Xpcom failures in builds/worker/checkouts/gecko/xpcom/idl-parser/xpidl/runtests.py. CLOSED TREE 2021-06-04 02:19:33 +03:00
Mitchell Hentges c5b2d0cad8 Bug 1604531: Fix broken "Add try job to review" doc link r=sylvestre
Also tweaks section title to improve grammar where it's linked.

Differential Revision: https://phabricator.services.mozilla.com/D116772
2021-06-03 21:26:25 +00:00
Andrey Bienkowski a7a4542e20 Bug 1714376 - Replace a number of "exception.message" usages. r=mhentges,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D116723
2021-06-03 20:08:51 +00:00
Andrew Halberstadt c6fc95b9fd Bug 1713391 - Make 'mach try again --index' list the options, r=releng-reviewers,bhearsum
This is a minor quality of life improvement. Prior to this, one needs to:

  1. Type out 'mach try again --list'
  2. Find index
  3. Type out 'mach try again --index <index>'

With this patch, it becomes:

  1. Type out 'mach try again --index'
  2. Find index
  3. Press up + space + <index>

Yes, it is minor :).

Differential Revision: https://phabricator.services.mozilla.com/D116289
2021-05-31 13:52:57 +00:00
Alex Lopez 1ee8086c02 Bug 1696251 - Refactor constructors in MachCommandBase subclasses to remove them. r=mhentges,remote-protocol-reviewers
Another step towards avoiding the need for classes in mach commands;
here we are removing constructors either by changing them into helpers
or by simple refactorings.

Differential Revision: https://phabricator.services.mozilla.com/D112434
2021-05-28 18:30:03 +00:00
Butkovits Atila 6bb47ac424 Backed out changeset 4b889750da57 (bug 1696251) for causing lint failures. CLOSED TREE 2021-05-28 01:43:11 +03:00
Alex Lopez 2e8613720d Bug 1696251 - Refactor constructors in MachCommandBase subclasses to remove them. r=mhentges,remote-protocol-reviewers
Another step towards avoiding the need for classes in mach commands;
here we are removing constructors either by changing them into helpers
or by simple refactorings.

Differential Revision: https://phabricator.services.mozilla.com/D112434
2021-05-27 21:03:46 +00:00
Alex Lopez 07cf832a8a Bug 1696251 - Turn all properties in MachCommandBase subclasses into methods. r=mhentges,perftest-reviewers,sparky
As a step towards moving mach commands outside of classes, this converts all
properties into methods so that they can later become top-level helper functions.

Differential Revision: https://phabricator.services.mozilla.com/D112196
2021-05-26 18:08:02 +00:00
Mitchell Hentges 27bd6970fe Bug 1694531: Clarify try docs regarding signing and OS signatures r=glandium DONTBUILD
* Don't use a separate heading level for the signature-resolution
  section, since RST thought it was more important than the others (the
  original goal was for it to be a lesser header).
* Clarify that the "damaged" error is caused by the app being
  quarantined, and not because of the key used to sign the app.

Differential Revision: https://phabricator.services.mozilla.com/D112249
2021-05-18 15:00:45 +00:00
Alex Lopez 455d9a088b Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-05-17 16:15:58 +00:00
Steve Fink 975831564a Bug 1709918 - Process --gecko-profile* options correctly. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D114527
2021-05-13 15:46:59 +00:00
Matt Woodrow 97cdf4f16e Bug 1707513 - Add reftest-snapshot task using the 'drawSnapshot' reftest mode. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D114189
2021-05-10 00:28:01 +00:00
Alexandru Michis 4b2cad43d1 Backed out 2 changesets (bug 1707513) for causing reftest failures in partial-prerender-expansion-with-resolution-1.html
Backed out changeset f9bdd1b929f2 (bug 1707513)
Backed out changeset b76d28f3a159 (bug 1707513)
2021-05-08 22:13:23 +03:00
Matt Woodrow 2f98b2305c Bug 1707513 - Add reftest-snapshot task using the 'drawSnapshot' reftest mode. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D114189
2021-05-08 05:52:19 +00:00
Marco Castelluccio 3704fab7e3 Bug 1639164 - Use bugbug's config selection results by default when using 'mach try auto'. r=ahal DONTBUILD
By making the new strategy with bugbug's config selection and a low confidence threshold the
default for 'mach try auto'.

Differential Revision: https://phabricator.services.mozilla.com/D114365
2021-05-06 15:52:28 +00:00
Alexandru Michis 5a9064f6fa Backed out 3 changesets (bug 1639164) for causing python flake8 and ci failures.
CLOSED TREE

Backed out changeset 7a4401a358e8 (bug 1639164)
Backed out changeset f1377ee7e2d2 (bug 1639164)
Backed out changeset f9c73976484d (bug 1639164)
2021-05-06 11:49:01 +03:00
Marco Castelluccio c1190c06f7 Bug 1639164 - Use bugbug's config selection results by default when using 'mach try auto'. r=ahal DONTBUILD
By making the new strategy with bugbug's config selection and a low confidence threshold the
default for 'mach try auto'.

Depends on D114364

Differential Revision: https://phabricator.services.mozilla.com/D114365
2021-05-06 08:17:44 +00:00
Henrik Skupin 808d8e61ec Bug 1700454 - [geckodriver] Add geckodriver try preset. r=webdriver-reviewers,ahal,sparky,jdescottes DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113465
2021-05-05 19:35:37 +00:00
Joel Maher ff43e8acc0 Bug 1577013 - turn off reftest-gpu jobs as they are not testing what they intend to and are being deprecated in the short term. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D112091
2021-04-27 15:32:46 +00:00
Steve Fink a45b73b47e Bug 1702310 - Add --gecko-profile-features and similar options to `mach try fuzzy` and `mach raptor` etc. to make it easier to generate marker-only profiles, configure threads and sampling interval, etc. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D110451
2021-04-26 21:59:29 +00:00
Butkovits Atila 2e34e363b9 Backed out 2 changesets (bug 1696251) for causing js-bench-sm failures. CLOSED TREE
Backed out changeset 1c84c9a34575 (bug 1696251)
Backed out changeset e169193b7423 (bug 1696251)
2021-04-23 02:53:36 +03:00
Alex Lopez 41687360e8 Bug 1696251 - Turn all properties in MachCommandBase subclasses into methods. r=mhentges,perftest-reviewers,sparky
As a step towards moving mach commands outside of classes, this converts all
properties into methods so that they can later become top-level helper functions.

Differential Revision: https://phabricator.services.mozilla.com/D112196
2021-04-22 19:44:52 +00:00
Alex Lopez d1a82b8092 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-22 18:56:15 +00:00
Cosmin Sabou 785f9b8a87 Backed out changeset d4a5d8567977 (bug 1696251) for non-unified build bustages. CLOSED TREE 2021-04-19 19:43:31 +03:00
Alex Lopez 75dfe35468 Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers
As an intermediate step to allow mach commands as standalone functions, the MachCommandBase
subclass instance that currently corresponds to self has to be made available as a separate
argument (named command_context).

Differential Revision: https://phabricator.services.mozilla.com/D109650
2021-04-19 16:15:11 +00:00
Mitchell Hentges 9d79c31fbe Bug 1694531: Add docs for quarantined Try builds r=sheehan
Removes irrelevant mercurial-specific information about
pushing to try, adds note about removing the qurantine
attribute from Try builds.

Differential Revision: https://phabricator.services.mozilla.com/D107298
2021-04-14 16:59:47 +00:00
Alexandru Michis 09b48c2afd Backed out changeset aab899c222a0 (bug 1702310) for causing talos failures. 2021-04-09 05:26:23 +03:00
Steve Fink be4388946e Bug 1702310 - Add --gecko-profile-features and similar options to `mach try fuzzy` and `mach raptor` etc. to make it easier to generate marker-only profiles, configure threads and sampling interval, etc. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D110451
2021-04-08 20:41:34 +00:00
Steve Fink ffb8698cf3 Bug 1702766 - Add settings to `mach try again --list-tasks` output r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D110678
2021-04-06 14:44:35 +00:00
Marco Castelluccio 1237bc5325 Bug 1692421 - Update fuzzy test to use the Python 3 taskgraph tests task instead of the Python 2 one. r=jmaher DONTBUILD
The Python 2 taskgraph tests task was removed in bug 1691731.

Differential Revision: https://phabricator.services.mozilla.com/D104985
2021-02-12 13:19:39 +00:00
Johan Lorenzo 43412d8254 Bug 1676130 - part 2: Let `mach try release` overwrite the content of build/defines.sh r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D96410
2020-11-19 13:28:58 +00:00
Julian Descottes c5072b6139 Bug 1676139 - [devtools] Update devtools presets to include fission jobs r=nchevobbe
The DevTools mochitests on Fission platforms have been promoted to tier 1.

This changeset updates our try presets to increase our coverage of fission platforms.

Differential Revision: https://phabricator.services.mozilla.com/D96407
2020-11-10 09:42:21 +00:00
Barret Rennie ff0f570af6 Bug 1675843 - Direct people to fzf releases instead of fzf-bin releases r=ahal
The fzf-bin repository is now archived and no longer receives new releases.
Releases are published directly to the fzf repository instead.

Differential Revision: https://phabricator.services.mozilla.com/D96238
2020-11-09 21:48:39 +00:00
Andrew Halberstadt 6fd6e30f98 Bug 1676204 - [tryselect] Fix broken try pushes when passing in paths to test manifests, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D96450
2020-11-09 18:52:16 +00:00
Tom Ritter 5ab182e7e6 Bug 1674182 - Support a regex filter for./mach try auto r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D95186
2020-11-05 17:53:31 +00:00
Ricky Stewart 210585edd2 Bug 1672023 - Remove excluded files from `black.yml`
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

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

Depends on D94045
2020-10-26 18:21:44 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Andrew Halberstadt 1761ded69a No Bug - Update tryselect docs around installing watchman, DONTBUILD, r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D94104
2020-10-20 21:55:19 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart fe80718d67 Bug 1672023 - Remove excluded files from `black.yml` r=sylvestre,perftest-reviewers,geckoview-reviewers,agi
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94052
2020-10-23 20:40:44 +00:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Dorel Luca 26941cf2f5 Backed out changeset 94ec15429e21 (bug 1672023) for Backout conflicts with Bug 1654103. CLOSED TREE 2020-10-22 03:43:01 +03:00