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

546 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt c4edc875e3 Bug 1635444 - Bump timeout when querying bugbug service, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D73891
2020-05-05 14:33:56 +00:00
Andrew Halberstadt 984515c753 Bug 1633866 - [taskgraph.optimize] Move logic to query 'bugbug' service to a utility file, r=marco
With dynamic-test-selection, we'll also need to query the bugbug service from
the transforms. Let's move the querying logic to a utility file to share it
more easily.

Differential Revision: https://phabricator.services.mozilla.com/D73088
2020-04-30 13:53:01 +00:00
Andrew Halberstadt 45c245a6e3 Bug 1629642 - [taskgraph] Implement a 'disperse' platform optimization strategy r=marco
Differential Revision: https://phabricator.services.mozilla.com/D72465
2020-04-28 15:05:31 +00:00
Andrew Halberstadt 85fdc991a0 Bug 1629642 - [taskgraph] Split 'test' optimization strategy arg into two r=marco
The default way to split the 'arg' parameter for CompositeStrategies, is to
duplicate it across all substrategies. By setting 'split_arg=tuple', we instead
break the arg up so the first index goes to the first substrategy, the second
index goes to the second substrategy, etc.

This means that the length of the 'test' arg must be at least as long as the
number of substrategies.

Differential Revision: https://phabricator.services.mozilla.com/D72464
2020-04-28 14:53:20 +00:00
Bob Clary 145ac575a5 Bug 1621764 - Define push-interval-{10,25} Backstop optimization strategies, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D72020
2020-04-24 12:58:06 +00:00
Andrew Halberstadt 6706e24d66 Bug 1624859 - [ci] Rename 'fuzzing-builds' optimization alias to 'build-fuzzing', r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D71822
2020-04-22 15:52:53 +00:00
Andrew Halberstadt 5454fdd8bb Bug 1624859 - [taskgraph] Always optimize build tasks with ./mach try auto, r=tomprince
This ensures we don't run every build with every push via ./mach try auto. It
introduces a new 'optimization-overrides' try_config that can be used to
replace optimizations. For now, there is no user interface to pass this in via
the 'mach try' command line.

Differential Revision: https://phabricator.services.mozilla.com/D68207
2020-04-22 15:51:35 +00:00
Tom Prince 54007d46a3 No bug: Use worker aliases for osx test workers; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D71665
2020-04-20 22:02:54 +00:00
Tom Prince 4fd158fabf Bug 1626795: Use revision rather than push-id to look up existing tasks; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D70568

--HG--
extra : moz-landing-system : lando
2020-04-10 22:29:39 +00:00
Tom Prince 65638c70af No bug: Don't get full changesets when getting pushlog info; r=aki
Since we don't look at the changesets, there is no need for hgmo to generate
them for us.

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

--HG--
extra : moz-landing-system : lando
2020-04-10 22:19:03 +00:00
Geoff Brown dd0512984b Bug 1610886 - Make it easier to run test-verify on try; r=bc
Ensure a minimum of 1 chunk for "per-file" tests like test-verify when run on try, even when
no local file changes are detected. --full is still required.

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

--HG--
extra : moz-landing-system : lando
2020-03-25 19:32:42 +00:00
Edwin Takahashi 7bdb90fc43 Bug 1623462 - fix incorrect check of windows platform value in chunking.py r=ahal
Changes:

While stepping through the debugger for Bug 1608837, it was found that for `platform = windows` the conditional was always evaluating to `False` thereby loading the fallback `unix` runtimes.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 00:32:54 +00:00
Andrew Halberstadt b395876bc4 Bug 1603459 - [taskgraph] Add an optimizer that queries the bugbug /push/schedules endpoint, r=tomprince
Creates an optimizer that queries https://bugbug.herokuapp.com/push/<branch>/<rev>/schedules
to determine which tasks to run.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:30:34 +00:00
Bob Clary 252bb6f8b4 Bug 1618622 - Use fuzzing-builds optimization strategy fuzzing builds, r=aki.
Define and use fuzzing-builds optimization strategy that allows either
skip-unless-schedules or seta strategies.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 01:21:35 +00:00
Rob Lemley 9dc5cd5b86 Bug 1609987 - Allow checking additional paths in verify_docs. r=tomprince
There's no way for Thunderbird to define a new task kind at the moment because
the verify_docs function only checks one base path.

This adds a 'documentation_paths' registry that holds a list of paths to check
for documentation files. Calling documentation_paths() with a filename later
will read all the files it finds with that name under all of the base paths,
returning them in one chunk. This minimizes the necessary changes to verify_docs
itself.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 18:32:19 +00:00
Justin Wood 047ab655d1 Bug 1618216 - When doing test packaging test for the nightly attribute as well, and validate against it. r=mshal
Future work should hopefully find a way to not assume tests are packaged with beetmover, and to have a solution for w64's emefree design.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 19:16:42 +00:00
Aki Sasaki ae47f37814 Bug 1562412 - build-signing multi_dep. r=Callek
Also adjust artifacts based on dep_kind, and make build-notarization-part-1
a build-signing dependency.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 03:31:29 +00:00
Mike Shal b1dbf109ed Bug 1606922 - Move MOZ_AUTOMATION_PACKAGE_TESTS from mozconfigs to taskcluster; r=tomprince,chmanchester
We don't need to package tests for builds that we don't actually run
tests from, but it is tricky to align this correctly by setting
MOZ_AUTOMATION_PACKAGE_TESTS=0 in relevant mozconfigs. Instead we can
set the environment variable in the task definition, and use a full
taskgraph verification check to ensure that the flag is only set on
builds that have tests.

The one tricky area is the win64-aarch64 builds, which have a workaround
by specifying the new skip-verify-test-packaging attribute.

In one case, win64-aarch64-shippable has tests that run against it, but
it copies those tests from a win64-aarch64-shippable-no-eme task, which
itself has no tests. Both of those tasks need to skip the verify check
as a result.

In another case, the win64-aarch64-eme task is an artifact build that
grabs test packages from the win64-aarch64 build. Since the win64-aarch64
build doesn't have tests, it needs to skip the verify check.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 20:13:12 +00:00
Andreea Pavel ed684420f3 Backed out changeset bc9bf388d476 (bug 1606922) for failing gecko decision task on a CLOSED TREE 2020-02-25 19:54:53 +02:00
Mike Shal 0bff663e83 Bug 1606922 - Move MOZ_AUTOMATION_PACKAGE_TESTS from mozconfigs to taskcluster; r=tomprince,chmanchester
We don't need to package tests for builds that we don't actually run
tests from, but it is tricky to align this correctly by setting
MOZ_AUTOMATION_PACKAGE_TESTS=0 in relevant mozconfigs. Instead we can
set the environment variable in the task definition, and use a full
taskgraph verification check to ensure that the flag is only set on
builds that have tests.

The one tricky area is the win64-aarch64 builds, which have a workaround
by specifying the new skip-verify-test-packaging attribute.

In one case, win64-aarch64-shippable has tests that run against it, but
it copies those tests from a win64-aarch64-shippable-no-eme task, which
itself has no tests. Both of those tasks need to skip the verify check
as a result.

In another case, the win64-aarch64-eme task is an artifact build that
grabs test packages from the win64-aarch64 build. Since the win64-aarch64
build doesn't have tests, it needs to skip the verify check.

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

--HG--
extra : moz-landing-system : lando
2020-02-24 19:08:23 +00:00
Dorel Luca fd844326f2 Backed out 17 changesets (bug 1562412) for for build-notarization failures.
Backed out changeset 9c3d85e9b9fe (bug 1562412)
Backed out changeset e39e5d6a77a8 (bug 1562412)
Backed out changeset aa62038d5d76 (bug 1562412)
Backed out changeset 2143a26de372 (bug 1562412)
Backed out changeset 5b7ca7cf6649 (bug 1562412)
Backed out changeset 7870fa417606 (bug 1562412)
Backed out changeset bf7896916b91 (bug 1562412)
Backed out changeset cd6f0176af52 (bug 1562412)
Backed out changeset af8ccde58367 (bug 1562412)
Backed out changeset 9be172fa19e1 (bug 1562412)
Backed out changeset 9ccdef3b8c9d (bug 1562412)
Backed out changeset 0fc1845ea46c (bug 1562412)
Backed out changeset 861e4a4a13aa (bug 1562412)
Backed out changeset 32f31a6daaa8 (bug 1562412)
Backed out changeset b51ce1cea46d (bug 1562412)
Backed out changeset b8ddcf8368c5 (bug 1562412)
Backed out changeset 19ac1668f0db (bug 1562412)
2020-02-25 02:54:24 +02:00
Aki Sasaki ac46474bee Bug 1562412 - build-signing multi_dep. r=Callek
Also adjust artifacts based on dep_kind, and make build-notarization-part-1
a build-signing dependency.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 23:53:15 +00:00
Justin Wood 58b6e80452 Bug 1614999 - remove devedition-nightly references now that labels are renamed. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D63704

--HG--
extra : moz-landing-system : lando
2020-02-21 19:52:58 +00:00
Justin Wood ffd1bab715 Bug 1614999 - Add extra entries for 'devedition' instead of 'devedition-nightly' in places that can support both. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D62642

--HG--
extra : moz-landing-system : lando
2020-02-12 22:42:30 +00:00
Justin Wood ef154407eb Bug 1614998 - Allow copy attributes in taskgraph to have a denylist. r=aki
Provides denylisted attributes to copy over in the fusing of chunked portions of the taskgraph. Without
denylisting these we have changes on these related kinds in json, due simply to ordering of total tasks.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:39:53 +00:00
Ricky Stewart d259591a1c Bug 1569059 - Run 'mach bootstrap' with Python 3 r=firefox-build-system-reviewers,mshal,Callek
Differential Revision: https://phabricator.services.mozilla.com/D60898

--HG--
extra : moz-landing-system : lando
2020-02-07 18:12:23 +00:00
Christian Holler 1ef81d52c6 Bug 1612741 - Add ASan and TSan to Taskcluster chunking logic. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D61571

--HG--
extra : moz-landing-system : lando
2020-02-05 15:11:33 +00:00
Edwin Takahashi 3782907cb3 Bug 1611541 - support python3 in taskcluster/docker and taskcluster/schema r=Callek
Changes:

Use `six.moves.urllib` instead of `urllib`.

Use `six.iteritems` instead of `iteritems`.

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

--HG--
extra : moz-landing-system : lando
2020-01-31 12:42:14 +00:00
Justin Wood b627a90bcf No Bug - Remove taskcluster.net references in the tree. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D58297

--HG--
extra : moz-landing-system : lando
2020-01-24 15:52:50 +00:00
Noemi Erli 8c4ff0fb12 Backed out changeset cf3d74d0cf82 per Callek's request DONTBUILD CLOSED TREE 2020-01-24 17:48:10 +02:00
Justin Wood 19e5f06716 No Bug - Remove taskcluster.net references in the tree.
Differential Revision: https://phabricator.services.mozilla.com/D58297
2020-01-24 00:16:37 +02:00
Andreea Pavel 38dd93c9be Backed out changeset c5a138a88095 on request on a CLOSED TREE 2020-01-24 00:29:17 +02:00
Justin Wood e38c52acbe No Bug - Remove taskcluster.net references in the tree.
Differential Revision: https://phabricator.services.mozilla.com//D58297
2020-01-24 00:16:37 +02:00
Tom Prince c697547b5f Bug 1605275: [taskgraph] Use worker aliases for beetmover and balrog workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D60780

--HG--
extra : moz-landing-system : lando
2020-01-23 16:54:13 +00:00
Tom Prince ba57164174 Bug 1605275: [taskgraph] Use worker alias for treescript workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D60779

--HG--
extra : moz-landing-system : lando
2020-01-23 16:53:58 +00:00
Ricky Stewart 0fa8a98bdb Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-21 17:12:08 +00:00
Razvan Maries ffc90b2ec8 Backed out changeset a57aed49dc58 (bug 1524639) for beetmover bustages. a=backout 2020-01-16 14:04:31 +02:00
Andrew Halberstadt d9b4c566a2 Bug 1608833 - [taskgraph] Add 'ccov' to the mozinfo guess when chunking tests, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D59559

--HG--
extra : moz-landing-system : lando
2020-01-13 16:42:51 +00:00
Ricky Stewart fecc988cc6 Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-15 20:33:20 +00:00
Ryan VanderMeulen e85d9fea06 Bug 1606889 - Clean up references to obsolete ESR branches. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D58949

--HG--
extra : moz-landing-system : lando
2020-01-10 23:18:50 +00:00
Daniel Varga 3215317bdc Backed out changeset dd2f16711aba (bug 1606922) for causing build failures
CLOSED TREE
2020-01-11 03:08:34 +02:00
Mike Shal f5adc4762e Bug 1606922 - Move MOZ_AUTOMATION_PACKAGE_TESTS from mozconfigs to taskcluster; r=firefox-build-system-reviewers,tomprince,chmanchester
We don't need to package tests for builds that we don't actually run
tests from, but it is tricky to align this correctly by setting
MOZ_AUTOMATION_PACKAGE_TESTS=0 in relevant mozconfigs. Instead we can
set the environment variable in the task definition, and use a full
taskgraph verification check to ensure that the flag is only set on
builds that have tests.

The one tricky task is win64-aarch64-shippable/opt, which copies tests
from another build rather than building them itself. For this reason, it
explicitly sets MOZ_AUTOMATION_PACKAGE_TESTS: '0' in the environment
even though that is now the default. This is why the exception is only
raised if MOZ_AUTOMATION_PACKAGE_TESTS is not set at all, rather than
checking that it is set to 1.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 22:46:11 +00:00
Andrew Halberstadt ee1497a26e Bug 1583353 - [taskgraph] Run test task chunking through manifestparser's skip-if filter, r=gbrown
Previously we simply ignored skipped tests when performing test chunking in the
taskgraph. This could sometimes result in a task that runs a single manifest
that happens to be skipped on that task's configuration. This results in an error
that no tests were run from the harness.

This patch attempts to guess a mozinfo based on a task's definition. Then it
uses those values to take skipped tests into account when running the chunking
algorithm. That way the chances of scheduling a manifest that would be skipped
anyway are much lower.

Depends on D58987

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

--HG--
extra : moz-landing-system : lando
2020-01-07 21:15:02 +00:00
Andrew Halberstadt c8e7917e5f Bug 1583353 - [taskgraph] Move test chunking logic to a utility file, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D58987

--HG--
extra : moz-landing-system : lando
2020-01-07 19:42:42 +00:00
Simon Fraser bc2f4a9ed9 Bug 1607857 Change platform field used in partials tasks r=mtabara
The new code is a superset of the old, so I've left it much the same to avoid conflicts until we come up with a more long term solution.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 15:37:35 +00:00
Tom Prince 83d95abcbe Bug 1605275: [taskgraph] Provide a function to get all tasks from a previous set of graphs; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D58450

--HG--
extra : moz-landing-system : lando
2020-01-07 18:08:42 +00:00
Sebastian Hengst e2dd028d86 Backed out changeset bbd910f6301a because it only landed to build toolchains and docker images. CLOSED TREE DONTBUILD
It will be relanded once these are complete. This prevents from those tasks
getting scheduled for every push until the initial ones have been completed.
2020-01-06 17:09:20 +01:00
Justin Wood 3835fde8ca No Bug - Remove taskcluster.net references in the tree. r=aki CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D58297

--HG--
extra : amend_source : 0bcd812ae330be7a69ec60f60034533f15e58769
2020-01-03 20:52:34 +01:00
Tom Prince 042f857f81 Bug 1605275: Adjust how signing workers are selected; r=Callek
When I was working on release-promotion for Thunderbird, I needed a way to
control the scriptworker worker-types used on try vs. on release branches.
At the time, there did not exist a way to vary worker types so I introduced
a scriptworker-specific way to vary the worker type.

Since then, we add support for worker aliases, which can currently vary by
level. This reuses that machinery for selecting signing workers.

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

--HG--
extra : moz-landing-system : lando
2019-12-27 23:44:06 +00:00
Gurzau Raul f5133f8208 Backed out 2 changesets (bug 1605275, bug 1605277) for build sign bustage on a CLOSED TREE.
Backed out changeset af16e71c6922 (bug 1605277)
Backed out changeset 4534f3e46f6e (bug 1605275)
2019-12-24 03:37:17 +02:00