Commit Graph
622 Commits
Author SHA1 Message Date
Andrew Halberstadt 9d85bdcbc9 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc
2017-09-26 10:47:22 -04:00
Wes Kocher faa6e08cb7 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Nathan Froyd 2c2bfd895b Bug 1373878 - part 5 - taskcluster configuration for rusttest builds; r=dustin 2017-10-02 09:21:22 -04:00
Alin Selagea 034d7820fc Bug 1397829 - Fix bb buildernames for 'stylo-disabled' tests, r=kmoir 2017-10-02 16:32:21 +03:00
Aki Sasaki f5286670d1 bug 1345619 - sorted locales. r=Callek
Diffing `target-graph`s was difficult because the locales kept shuffling.
This patch will keep the locales in alphabetical order.

MozReview-Commit-ID: GvGYF7j9ftq
2017-09-25 10:17:07 -07:00
Aki Sasaki f5c3f232fa bug 1345619 - look for build_platform in l10n-changesets.json. r=Callek
Stop hardcoding `android`, since we want to use this for desktop too.
We could potentially remove the `android` platform from the bumper configs
at this point.

We strip `-nightly` from the `build_platform` before comparing against the
`l10n-changesets.json` platform list. If we want to support different sets
of ci and nightly locales, we could either:

- point at a second changesets file for ci. This could either be a flatfile
or json; either works. or,
- explicitly name `win32-nightly` etc. in the platform list, and stop removing
the `-nightly` from the `build_platform` before comparing. This means some
locales may have up to 10 different platforms listed. This may get unwieldy,
but would be explicit.

MozReview-Commit-ID: Fvpby92cXdg
2017-09-25 10:16:32 -07:00
Sebastian Hengst 95c011a9f0 Backed out changeset ddfc127526b2 (bug 1403222) for failing python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules, at least for Linux asan opt builds. r=backout on a CLOSED TREE 2017-10-02 16:03:12 +02:00
Andrew Halberstadt 5c9a4c3849 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc
2017-09-26 10:47:22 -04:00
Wes Kocher 32c77eed4a Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Brian Stack 74ceb528a9 Bug 1393277 - Record information about action tasks to support cot r=aki
MozReview-Commit-ID: Kyyh6G6yw2W
2017-09-22 12:48:33 -07:00
Peter Moore 88b1f2e351 Bug 1403490 - disable superseding for worker type gecko-t-win10-64-gpu,r=grenade 2017-09-28 18:30:37 +02:00
Ralph Giles 39d118d03b Bug 1391427 - Add script 'arguments' key to toolchain tasks. r=glandium
Add an optional 'arguments' key to the yaml description for toolchain
tasks. This is a list of strings to be passed to the script invocation.

This lets us set behaviour, e.g. selecting the version to build or
selecting targets from the task description instead of having to
hard-code those things in the build script itself. Where the same
script otherwise works for multiple configurations, that is easier
to update and simplifies supporting variants.

MozReview-Commit-ID: 30oJYnQaZ7A
2017-09-12 16:06:15 -07:00
Ralph Giles 104e663cd6 Bug 1391427 - Execute python toolchain scripts with mach. r=glandium
Run scripts with a `.py` filename extension through `./mach python`
so the normal enviroment with in-tree python libraries is available.

This is helpful for the Rust upstream release download and repackaging
steps, which are more easily expressed in python than in an sh-based
build script like we use for clang and other tools.

Invocation of `mach python` on Windows-hosted generic workers fails
because of some missing environment pieces. For the purposes of this
bug we can just run the script for Windows targets in a docker-worker
so Python support was left unimplemented for generic workers.

MozReview-Commit-ID: 4XUQ1XrVBc2
2017-09-12 16:01:26 -07:00
Wes Kocher 6952cfe436 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Alin Selagea 63c27e4619 Bug 1397829 - add buildernames for stylo-disabled tests which run on hardware, win7 and win10, r=jmaher 2017-09-26 14:19:48 +03:00
Tom Ritter 32e47f847b Bug 1330608 Add the MinGW32 toolchain build to Taskcluster r=glandium
MozReview-Commit-ID: JHS6y8kqr4T
2017-09-22 00:24:58 -05:00
Justin Wood c7708e135d Bug 1402457 - Actually schedule periodic file updates. r=dustin
MozReview-Commit-ID: BJsNs86kNJu
2017-09-25 14:14:59 -04:00
Justin Wood 51d92af27f Bug 1402457 - Add periodic file update task, but don't run it yet. r=dustin
MozReview-Commit-ID: GD7qRLxwDn5
2017-09-22 14:25:28 -04:00
Gregory Szorc 3733bf6095 Bug 1401725 - Use sparse checkouts for toolchain tasks; r=glandium
Strictly speaking we don't need all files in the directories listed
in the profile. But the checkout is still small enough and it is far
less effort than cherry-picking every file needed by every toolchain
task.

This brings the checkout down to ~3700 files, which only takes 1-2s.

MozReview-Commit-ID: 2BpKdZ2Pvx9
2017-09-21 07:30:49 -07:00
Dustin J. Mitchell 3fba84ab2d Bug 1383880: add only-if-dependencies-run optimization for follow-ons; r=ahal
MozReview-Commit-ID: JuhwyQIx3Mh
2017-08-25 21:18:13 +00:00
Dustin J. Mitchell 97b812cb0a Bug 1383880: Annotate builds and tests with SCHEDULES-related optimizations; r=ahal
This means that a push to try affecting only Android will only run android builds
and tests, for example.

MozReview-Commit-ID: HVUvIg0EUZn
2017-08-25 19:15:12 +00:00
Dustin J. Mitchell 218cc73f50 Bug 1383880: add support for optimizing tasks based on SCHEDULES; r=ahal
This adds some new optimization strategies.  For tests, we use Either(SETA,
SkipUnlessSchedules), thereby giving both mechanisms a chance to skip tasks. On
try, SETA is omitted.

MozReview-Commit-ID: GL4tlwyeBa6
2017-08-23 16:21:06 +00:00
Dustin J. Mitchell d08f492fb6 Bug 1383880: parse try config during the decision task; r=ahal
This sets the try_mode property, and parses the try message (if given), early
in the decision task and puts the results into the parameters.

The proximate need is to set optimze_target_tasks for some try modes and not
others. This also replaces the existing logic for parsing messages for certain
kinds, and makes the distinction between the different try modes a little
clearer.

MozReview-Commit-ID: AXJEGLh6pEV
2017-08-21 23:14:14 +00:00
Dustin J. Mitchell 19cecfbbba Bug 1383880: allow only one optimization per task; r=ahal,glandium
It is not at *all* clear how multiple optimizations for a single task should
interact. No simple logical operation is right in all cases, and in fact in
most imaginable cases the desired behavior turns out to be independent of all
but one of the optimizations. For example, given both `seta` and
`skip-unless-files-changed` optimizations, if SETA says to skip a test, it is
low value and should be skipped regardless of what files have changed. But if
SETA says to run a test, then it has likely been skipped in previous pushes, so
it should be run regardless of what has changed in this push.

This also adds a bit more output about optimization, that may be useful for
anyone wondering why a particular job didn't run.

MozReview-Commit-ID: 3OsvRnWjai4
2017-08-01 20:02:59 +00:00
Gregory Szorc fadaa6a1f9 Backed out changeset af6c2544903e (bug 1401725) for uncovering a taskgraph bug 2017-09-21 07:43:49 -07:00
Gregory Szorc 148b82d1e4 Bug 1401725 - Use sparse checkouts for toolchain tasks; r=glandium
Strictly speaking we don't need all files in the directories listed
in the profile. But the checkout is still small enough and it is far
less effort than cherry-picking every file needed by every toolchain
task.

This brings the checkout down to ~3700 files, which only takes 1-2s.

MozReview-Commit-ID: 2BpKdZ2Pvx9
2017-09-21 07:30:49 -07:00
Phil Ringnalda b76b48b887 Backed out 12 changesets (bug 1383880) for decision task bustage
CLOSED TREE

Backed out changeset fd3615e7e0a3 (bug 1383880)
Backed out changeset 8cceb6a82bfb (bug 1383880)
Backed out changeset 571a6c9054a5 (bug 1383880)
Backed out changeset ec2b8ba5a949 (bug 1383880)
Backed out changeset 8e5847d9acda (bug 1383880)
Backed out changeset b354fdf6e233 (bug 1383880)
Backed out changeset ebdd6ccbcfca (bug 1383880)
Backed out changeset ebcc9d20981a (bug 1383880)
Backed out changeset 97eedc84d6e8 (bug 1383880)
Backed out changeset a3116da52b4e (bug 1383880)
Backed out changeset b3eb0c939720 (bug 1383880)
Backed out changeset 7c07cb798530 (bug 1383880)

MozReview-Commit-ID: EPDuQHr7w2y
2017-09-20 19:57:39 -07:00
Dustin J. Mitchell 59febcd0f2 Bug 1383880: add only-if-dependencies-run optimization for follow-ons; r=ahal
MozReview-Commit-ID: JuhwyQIx3Mh
2017-08-25 21:18:13 +00:00
Dustin J. Mitchell 7b8c1e56e7 Bug 1383880: Annotate builds and tests with SCHEDULES-related optimizations; r=ahal
This means that a push to try affecting only Android will only run android builds
and tests, for example.

MozReview-Commit-ID: HVUvIg0EUZn
2017-08-25 19:15:12 +00:00
Dustin J. Mitchell 78986c786d Bug 1383880: add support for optimizing tasks based on SCHEDULES; r=ahal
This adds some new optimization strategies.  For tests, we use Either(SETA,
SkipUnlessSchedules), thereby giving both mechanisms a chance to skip tasks. On
try, SETA is omitted.

MozReview-Commit-ID: GL4tlwyeBa6
2017-08-23 16:21:06 +00:00
Dustin J. Mitchell a7457a95f7 Bug 1383880: parse try config during the decision task; r=ahal
This sets the try_mode property, and parses the try message (if given), early
in the decision task and puts the results into the parameters.

The proximate need is to set optimze_target_tasks for some try modes and not
others. This also replaces the existing logic for parsing messages for certain
kinds, and makes the distinction between the different try modes a little
clearer.

MozReview-Commit-ID: AXJEGLh6pEV
2017-08-21 23:14:14 +00:00
Dustin J. Mitchell 8f421b7a25 Bug 1383880: allow only one optimization per task; r=ahal,glandium
It is not at *all* clear how multiple optimizations for a single task should
interact. No simple logical operation is right in all cases, and in fact in
most imaginable cases the desired behavior turns out to be independent of all
but one of the optimizations. For example, given both `seta` and
`skip-unless-files-changed` optimizations, if SETA says to skip a test, it is
low value and should be skipped regardless of what files have changed. But if
SETA says to run a test, then it has likely been skipped in previous pushes, so
it should be run regardless of what has changed in this push.

This also adds a bit more output about optimization, that may be useful for
anyone wondering why a particular job didn't run.

MozReview-Commit-ID: 3OsvRnWjai4
2017-08-01 20:02:59 +00:00
Geoff Brown 60c88bed97 Bug 1400979 - Follow-up: Skip test-verify on linux64-ccov; r=gmierz a=merge
The previous patch was ineffective, because the noted transform over-wrote
the yml configuration.

MozReview-Commit-ID: ICENT0DGzxy
2017-09-20 18:13:59 -06:00
Dustin J. Mitchell b129f522e9 Bug 1401180: rename 'toolchain' transform to 'use_toolchains'; r=glandium
MozReview-Commit-ID: 5vKM5dRBuZt
2017-09-14 20:12:59 +00:00
Christian Holler 7fef89b0ee Bug 1399917 - Create --enable-address-sanitizer-reporter TC build. r=aobreja,mtabara
MozReview-Commit-ID: 7tYSTeU8D73
2017-09-14 17:52:09 +02:00
Wes Kocher c5dea92656 Merge inbound to central, a=merge
MozReview-Commit-ID: EK8iFR1hSRp
2017-09-18 16:21:01 -07:00
Joel Maher 91ce564d80 Bug 1373578 - split reftest non-e10s into 32 chunks. r=gbrown 2017-09-18 16:12:07 -04:00
Nick Alexander 65ad8c7736 Bug 1396098 - part 0b - rename android-gradle-build to android-build; r=glandium,dustin
The name `android-gradle-build` is an accident of history; let's rename it
before we attempt major surgery on it.
2017-09-18 15:38:22 -04:00
Simon Fraser 0ab9dada04 Bug 1342392 Migrate partial update generation in-tree r=rail
MozReview-Commit-ID: G6EFXY0UzSa
2017-09-18 13:36:36 +01:00
Sebastian Hengst f1bbda3eeb Backed out changeset 0d71c0be62de (bug 1342392) for bustage in partial update generator for docker images: recompress.sh not found. r=backout 2017-09-18 14:15:42 +02:00
Simon Fraser d2b8ac4d0d Bug 1342392 Migrate partial update generation in-tree r=rail
MozReview-Commit-ID: 84fP48sMYhS
2017-09-15 11:04:35 +01:00
Sebastian Hengst ca434b9d52 Backed out changeset a43387ee65d7 (bug 1342392) for failing flake8 and py-compat jobs. r=backout 2017-09-18 13:50:16 +02:00
Simon Fraser 498d6b87a7 Bug 1342392 Migrate partial update generation in-tree r=rail
MozReview-Commit-ID: 84fP48sMYhS
2017-09-15 11:04:35 +01:00
Peter Moore aeb85d1bb4 Bug 1382204 - enable coalescing on macOS/win10-gpu tests and disable on linux builds,r=dustin 2017-09-13 12:30:07 +02:00
Wes Kocher d62fefa0af Backed out 2 changesets (bug 1342392) for bustage a=backout
Backed out changeset b0e86286b173 (bug 1342392)
Backed out changeset 01bf0c29331e (bug 1342392)

MozReview-Commit-ID: 71fcOZ2RgEp
2017-09-11 17:35:09 -07:00
Simon Fraser 278648e798 Bug 1342392 Move partial update generation in-tree r=dustin,jlorenzo 2017-09-11 09:55:52 +01:00
Sebastian Hengst 27461f48cf Backed out 2 changesets (bug 1342392) for adding .orig file and flake lint failures. r=backout on a CLOSED TREE
Backed out changeset bf0bcdc7482e (bug 1342392)
Backed out changeset 7f5ae5ff1181 (bug 1342392)
2017-09-11 10:38:08 +02:00
Simon Fraser e9d9241564 Bug 1342392 Move partial update generation in-tree r=dustin,jlorenzo 2017-09-11 09:24:10 +01:00
Gregory Szorc 9ae6317d4e Bug 1397503 - Vary cache name when using out-of-tree Docker images; r=dustin
We currently vary the cache name for run-task tasks whenever run-task
changes. This allows us to not worry about backwards or forwards
compatibility of caches in run-task tasks.

This strategy doesn't work for out-of-tree Docker images because
the content of run-task cannot be determined at Taskgraph time:
the content of run-task was determined when that Docker image was
built and there is no way to get that content efficiently during
Taskgraph.

So, for out-of-tree Docker images we now vary the cache name by
the Docker image value, which includes its name and a tag or
hash. This means that out-of-tree run-task tasks will get separate
caches for each distinct Docker image.

This isn't ideal. Ideally we would share caches if run-task doesn't
vary between Docker images. But without any way of proving that
at Taskgraph time, we take the safe road and force cache separation.

MozReview-Commit-ID: FMiQBqfvjqW
2017-09-06 16:09:15 -07:00
Gregory Szorc d695303742 Bug 1397503 - Perform cache sanitization for image_builder tasks; r=dustin
The image_builder Docker image doesn't set a "command" in its task
definition. The image instead relies on a RUN in its Dockerfile to
control the started command. This command is a shell script which
eventually runs run-task.

This all means that image_builder tasks are executing run-task but
the cache sanitization implemented in bug 1391476 isn't getting
applied to those tasks. This means run-task could barf due to
constraint violations due to improperly configured caches.

The fix for this is to teach the generic task transform that
image_builder tasks use run-task. The effect of this is that
some environment variables get set and the cache name changes
depending on the contents of run-task.

MozReview-Commit-ID: IFqsDxD0eDh
2017-09-06 15:35:13 -07:00