3687 Commits

Author SHA1 Message Date
Andrew Halberstadt
b7b4be8d91 Bug 1657769 - [taskgraph] Add ability to 'defer' some keys in resolve_keyed_by, r=taskgraph-reviewers,aki
It's often useful to nest 'by-*' statements in the CI configs. However, calling
'resolve_keyed_by' will keep drilling down and resolving these statements all
at once. Normally this is fine, but sometimes we may want to use, e.g 'by-foo'
when 'foo' hasn't been resolved yet (i.e, it is being set by a later transform
or something like that).

Currently, this means that we'll hit the 'default' case as 'foo' doesn't exist.
This revision adds the ability to 'defer' evaluation of 'foo' until a later
time.

While running into this scenario might be a code smell, re-organizing
transforms to untangle these kinds of ordering dependencies will be a major
undertaking.  Plus, there are legitimate reasons we might want one kind of
ordering with certain tasks, then another ordering for other tasks.

Differential Revision: https://phabricator.services.mozilla.com/D88191
2020-08-26 13:39:51 +00:00
Tom Prince
bcca419aba Bug 1492362: [taskgraph] Only use absolute paths for checkouts in docker; r=glandium
We define a value `run.workdir` to point to the defaut directory to use for
all sorts of paths, including checkouts, in the job transform. However, that
directory only makes sense for docker-worker tasks, and relative paths should
be used elsewhere. Adjust the paths on non-docker-worker linux tasks to match
macOS paths.

Differential Revision: https://phabricator.services.mozilla.com/D86668
2020-08-19 11:02:29 +00:00
Aki Sasaki
16c7337f1e Bug 1600657 - l10n-bumper should use the latest revisions. r=releng-reviewers,bhearsum DONTBUILD
- disable esr l10n-bumper on 81
- use l10n-repo-url instead of revision-url (l10n-central instead of elmo)

Differential Revision: https://phabricator.services.mozilla.com/D87693
2020-08-21 03:14:19 +00:00
Joel Maher
09c938e9e8 Bug 1660221 - migrate windows hardware tasks to new 1803 image. r=taskgraph-reviewers,aki
migrate windows hardware tasks to the new 1803 image.

Differential Revision: https://phabricator.services.mozilla.com/D87740
2020-08-20 15:47:18 +00:00
Andrew Halberstadt
38e3b0a2ae Bug 1659187 - [taskgraph] Require '--run-slow' for test_util_chunking.py, r=taskgraph-reviewers,aki
This test takes a long time and is annoying when it's included by default.

Depends on D87772

Differential Revision: https://phabricator.services.mozilla.com/D87773
2020-08-20 16:50:16 +00:00
Andrew Halberstadt
54dac3bfb2 Bug 1659187 - [taskgraph] Move optimization reason logging to the _log_optimizations function, r=taskgraph-reviewers,aki
This is needed as future revisions will refactor the optimization process to be
two pass. So we can't be sure if a task is optimized or not until the very end.

Depends on D87771

Differential Revision: https://phabricator.services.mozilla.com/D87772
2020-08-20 16:39:19 +00:00
Andrew Halberstadt
cf9986de30 Bug 1659187 - [taskgraph] Add clarifying note to the TaskGraph docstring, r=taskgraph-reviewers,aki
I got tripped up by the docs for Graph.visit_preorder/visit_postorder which
talks about nodes linking to and from other nodes, but makes no mention of
which direction the linking happens practically (in my mind I thought "linking
to" meant going from task -> dependent).

This blurb would have helped me catch my mistake.

Differential Revision: https://phabricator.services.mozilla.com/D87771
2020-08-20 17:24:46 +00:00
Aki Sasaki
04d714ebd6 no bug - fix try taskgraph-gen r=taskgraph-reviewers,jmaher DONTBUILD
taskgraph-gen.py dies on try.yml currently.
I'm not sure what the underlying issue is, but this gets things working again.

Differential Revision: https://phabricator.services.mozilla.com/D87691
2020-08-20 15:23:54 +00:00
Narcis Beleuzu
9b1cd3b0bd Backed out 4 changesets (bug 1492362) for android wpt failures. CLOSED TREE
Backed out changeset ac0fdd0c661e (bug 1492362)
Backed out changeset 89ecd6ee8edd (bug 1492362)
Backed out changeset ae17b683bf71 (bug 1492362)
Backed out changeset 485f333bc3b7 (bug 1492362)
2020-08-19 13:54:36 +03:00
Tom Prince
4a99315c95 Bug 1492362: [taskgraph] Only use absolute paths for checkouts in docker; r=glandium
We define a value `run.workdir` to point to the defaut directory to use for
all sorts of paths, including checkouts, in the job transform. However, that
directory only makes sense for docker-worker tasks, and relative paths should
be used elsewhere. Adjust the paths on non-docker-worker linux tasks to match
macOS paths.

Differential Revision: https://phabricator.services.mozilla.com/D86668
2020-08-19 01:05:50 +00:00
Narcis Beleuzu
6cc48251bb Backed out changeset 3755692f8d5f (bug 1649987) as per glandium req 2020-08-19 10:32:09 +03:00
Csoregi Natalia
2dd1b9f726 Backed out 4 changesets (bug 1492362) for gecko decision bustage. CLOSED TREE
Backed out changeset 8e6cf79c70f7 (bug 1492362)
Backed out changeset 225a6bfe8cbf (bug 1492362)
Backed out changeset ea667ccd4b19 (bug 1492362)
Backed out changeset a20562dbfece (bug 1492362)
2020-08-19 04:01:35 +03:00
Tom Prince
dbe6d42aca Bug 1492362: [taskgraph] Only use absolute paths for checkouts in docker; r=glandium
We define a value `run.workdir` to point to the defaut directory to use for
all sorts of paths, including checkouts, in the job transform. However, that
directory only makes sense for docker-worker tasks, and relative paths should
be used elsewhere. Adjust the paths on non-docker-worker linux tasks to match
macOS paths.

Differential Revision: https://phabricator.services.mozilla.com/D86668
2020-08-18 07:43:33 +00:00
Joel Maher
955e4bc421 Bug 1649987 - Set default task expiry to 12 weeks r=bhearsum
Set default task expiry for artifacts

Differential Revision: https://phabricator.services.mozilla.com/D87496
2020-08-18 20:39:58 +00:00
Ricky Stewart
9719a9a5a9 Bug 1636797 - In hash.py, enumerate files from the VCS rather than searching the filesystem directly r=ahal
This resolves a long-standing issue in development where `mach artifact` (and therefore `mach bootstrap`) would fail unpredictably if you had dirty, but ignored, files in your checkout. Resolving this problem often required unwieldy `hg purge`/`git ignore` incantations that are easy to get wrong.

This patch addresses the problem by doing what we "should" have been doing all along, and consulting the VCS to list tracked files rather than listing EVERY file on disk and applying heuristics to determine whether they should be included in the hash.

Differential Revision: https://phabricator.services.mozilla.com/D86780
2020-08-17 15:19:34 +00:00
Mihai Alexandru Michis
df36200714 Backed out changeset d244e80dc826 (bug 1649987) for causing builds to fail as exceptions.
CLOSED TREE
2020-08-13 17:56:12 +03:00
Chris AtLee
08158e2184 Bug 1649987: Set default task expiry to 12 weeks r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82229
2020-08-12 20:54:39 +00:00
Bogdan Tara
c203033e7b Backed out changeset 49da43027193 (bug 1649987) for gecko decision bustage CLOSED TREE 2020-08-12 18:18:23 +03:00
Chris AtLee
547fc35411 Bug 1649987: Set default task expiry to 12 weeks r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82229
2020-08-12 14:51:05 +00:00
Razvan Maries
6fa43f1893 Backed out changeset 9251996ce8c9 (bug 1657939) for Gecko Decision Task failures. CLOSED TREE 2020-08-11 00:32:44 +03:00
Justin Wood
b78899c21d Bug 1657939 - Output an artifact that identifies replaced taskID's. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D86379
2020-08-10 19:20:28 +00:00
Simon Fraser
6f3132e158 Bug 1658079 Disable resource-monitor support for aarch64 workers r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D86525
2020-08-10 12:49:08 +00:00
Kimberly Sereduck
66f2b807f4 Bug 1656979 - Add chromedriver for Chrome 84 r=perftest-reviewers,sparky
fixed browsertime.yaml file

Differential Revision: https://phabricator.services.mozilla.com/D85906
2020-08-06 17:28:04 +00:00
Geoff Brown
17aa606fd7 Bug 1656811 - Run linux64/debug reftests with software webrender; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D86284
2020-08-07 19:59:57 +00:00
Marco Castelluccio
3fe74901e4 Bug 1656465 - Run fuzzing builds on backstop pushes. r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86357
2020-08-07 15:08:53 +00:00
Andrew Halberstadt
5c5ab01583 Bug 1657649 - [taskgraph] Remove the SETA optimizer, r=jmaher
Depends on D86251

Differential Revision: https://phabricator.services.mozilla.com/D86252
2020-08-06 20:01:39 +00:00
Andrew Halberstadt
1be2069331 Bug 1657649 - [taskgraph] Fallback to relevant_tests instead of seta in the bugbug optimizer, r=jmaher
Depends on D86250

Differential Revision: https://phabricator.services.mozilla.com/D86251
2020-08-06 20:14:59 +00:00
Andrew Halberstadt
8733547d93 Bug 1657649 - [ci] Remove the SETA shadow-scheduler, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D86250
2020-08-06 20:27:26 +00:00
Andrew Halberstadt
31d5259a1a Bug 1657622 - [taskgraph] Revert to 'bugbug-reduced-fallback' optimization strategy on autoland, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D86219
2020-08-06 19:52:05 +00:00
Marco Castelluccio
893866a2ee Bug 1657097 - Stop running all builds on autoland, only run builds selected by bugbug and builds that are dependencies of test tasks. r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D85976
2020-08-06 14:25:17 +00:00
Simon Fraser
27e5ba55f3 Bug 1648051 Task resource monitor r=mtabara,tomprince
I've left the monitor disabled for now, so that we can have a smaller pushes for enabling and disabling it if needed. It should allow more fine grained control.

We may also want to include extracting the monitor tool from a github version instead, and also removing the assumption and it being forked from the parent, so that it's instead given a process ID to treat as the parent it should watch.

Differential Revision: https://phabricator.services.mozilla.com/D84374
2020-08-06 01:21:24 +00:00
Tom Prince
6b70269804 Bug 1604749: Get misc worker-type from graph config; r=Callek
The original patch calculated the worker type, but didn't use it in the
generated task.

Differential Revision: https://phabricator.services.mozilla.com/D61643
2020-08-05 19:54:49 +00:00
Florin Strugariu
53d2757276 Bug 1656475 - Activate performance alerting on multi commit Fenix performance tests r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D86020
2020-08-05 16:06:17 +00:00
Marco Castelluccio
eea7750416 Bug 1657192 - Add a 'tests_grouped' tag to tasks for suites that are chunked in the taskgraph. r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D85908
2020-08-05 14:27:31 +00:00
Marco Castelluccio
1f770c10a5 Bug 1655515 - Remove temporary workaround to consider shippable tasks returned by bugbug as opt tasks. r=bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D85159
2020-08-05 12:32:49 +00:00
Marco Castelluccio
ba8d99b8aa Bug 1648723 - Run full backstops every 20 pushes, and backstops optimized by bugbug every 10 pushes. r=ahal,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D81874
2020-08-05 11:25:20 +00:00
Tom Prince
e20e896219 Bug 1657199: Generate the same docker-image digests locally as in automation; r=Callek
In bug 1626058, I changed how the docker image digest was generated:

- I used the same directory structure to generate the digest as was used for generating the context
- I moved context generation to the decision task, and used the hash of that as part of the digest.

Unfortunately, it turns out the file name in the gzip header of the context
.tar.gz differed between when we are creating a context to write out, and when
were just generating the hash.

This adjust the name used in the gzip header to be consistent.

Differential Revision: https://phabricator.services.mozilla.com/D84753
2020-08-04 19:50:05 +00:00
Tom Prince
0fe74d5a31 Bug 1653171: Run windows L10n repacks on linux; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D85894
2020-08-04 18:47:55 +00:00
Tom Prince
e74feb3286 No bug: [taskgraph] Remove unused scriptengine-autophone worker support; r=bc DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D84046
2020-08-04 17:59:27 +00:00
Anny Gakhokidze
e93d7c8e15 Bug 1654922 - Part 4: Remove DocumentChannel pref usage from taskcluster, raptor and talos tools, r=mattwoodrow,perftest-reviewers,sparky
Depends on D85485

Differential Revision: https://phabricator.services.mozilla.com/D85486
2020-07-31 14:33:54 +00:00
Geoff Brown
697ca6ed56 Bug 1617684 - Run existing fission web-platform tests as tier 1; r=jmaher
For all fission web-platform tests currently running on mozilla-central as tier 2,
promote to tier 1 and run on all trunk trees.

Differential Revision: https://phabricator.services.mozilla.com/D85512
2020-08-04 14:12:11 +00:00
Gregory Mierzwinski
4f1cccc879 Bug 1656855 - Make perfherder-metrics character escapes OS-specific. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D85761
2020-08-04 14:40:02 +00:00
Tom Ritter
e6b8454b50 Bug 1616925 - Support a taskcluster-based ssh key for fetch jobs r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D81448
2020-08-03 15:33:01 +00:00
Noemi Erli
e91002b722 Backed out changeset 359f9a3acc75 (bug 1616925) for causing failures in test_2_conformance2__glsl3__matrix-row-major-dynamic-indexing.html CLOSED TREE 2020-08-03 22:35:34 +03:00
Tom Ritter
58fc2fa062 Bug 1616925 - Support a taskcluster-based ssh key for fetch jobs r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D81448
2020-08-03 15:33:01 +00:00
Gregory Mierzwinski
a4e1ebe204 Bug 1656540 - Allow specifying perfherder settings on a per-metric basis. r=tarek
This patch fixes an issue where the metric settings were not being used because they don't use the test name. It also handles some changes (from a bad copy-paste) that didn't make it into the last live-site patch series.

Differential Revision: https://phabricator.services.mozilla.com/D85609
2020-08-01 16:13:28 +00:00
Mike Hommey
38cc2e0609 Bug 1654994 - Switch full symbols archive to tar.zst. r=firefox-build-system-reviewers,rstewart,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D85252
2020-07-31 20:27:54 +00:00
Mike Hommey
13b57c569e Bug 1654994 - Make full symbols archive opt-in rather than opt-out. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D85354
2020-07-31 10:01:54 +00:00
Joel Maher
abf17d06e7 Bug 1643689 - disable 1st round of manifest scheduling. r=aryx
disable 1st round of manifest scheduling

Differential Revision: https://phabricator.services.mozilla.com/D85621
2020-07-31 20:15:34 +00:00
Joel Maher
0d05d91906 Bug 1652881 - filter out remaining debug tasks on beta/release. r=Callek
filter out remaining debug tasks on beta/release.

Differential Revision: https://phabricator.services.mozilla.com/D85511
2020-07-31 20:10:37 +00:00