Commit Graph
1130 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
Aki Sasaki b50b2b44d6 bug 1393277 - fix raw-file link in action tasks. r=bstack
MozReview-Commit-ID: EmJ6Nsivb4H
2017-10-03 10:30:18 -07: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
Andrew Halberstadt 0bb75a6263 Bug 1401199 - [taskgraph] Use default parameter values when strict=False, r=dustin
MozReview-Commit-ID: 9XWlLeGcPeQ
2017-09-29 11:35:30 -04:00
Mike Hommey eaeb71aa21 Bug 1402194 - Don't fail when there is neither try syntax nor try_task_config.json. r=dustin 2017-09-30 08:20:07 +09: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
Aki Sasaki 68870700f0 bug 1381597 - switch bbb test to a warning until we smooth out the issues. r=callek 2017-09-28 17:11:17 -07:00
Brian Stack 6ad9f15c6b Bug 1400223 - Merge tasks added by action tasks into graphs used for subsequent tasks r=dustin
MozReview-Commit-ID: 7ZTbS5h0vPA
2017-09-20 12:52:29 -07:00
Andrew Halberstadt cb3e21d4f2 Bug 1404067 - [tryselect] Improve error message on parameter mismatch, r=dustin
MozReview-Commit-ID: GMiGuNApoUF
2017-09-28 15:25:34 -04: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
Brian Stack 2fac0a3132 Bug 1395563 - Handle case of missing decision task for backfills r=dustin
MozReview-Commit-ID: BIo948IuUlO
2017-09-20 11:06:57 -07:00
Justin Wood a263208212 Bug 1381597 - create a taskcluster task that tests the decision graph for invalid buildbot-bridge builder names. r=dustin
This adds a download of allthethings.json to the Decision Task (in optimize phase).

If there is a network error, in order to avoid a broken decision task, we treat all buildbot-bridge jobs as valid.

MozReview-Commit-ID: GpKVV5pUwGL
2017-09-19 16:21:19 -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 8ff3f5ff2e Bug 1383880: handle keyError from find_task_id; r=gps
MozReview-Commit-ID: F3mVgKcqZwA
2017-09-21 12:02:44 +00:00
Dustin J. Mitchell 38c002ce31 Bug 1383880: use a vcs-compatible reader in decision tasks; r=gps
This continues to use a file-based reader when run locally.

MozReview-Commit-ID: CJuYKDj2E3n
2017-09-07 18:28:22 +00: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 aff71cd7a6 Bug 1383880: optimize in three phases; r=ahal
In preparation for much more thorough optimization of task-graphs, this
makes a few changes:

 * optimization is split into thre phases, with task removal in one phase
   (following dependency links) and task replacement in the next (in the
   reverse order).
 * optimization uses class instances instead of functions for optimizations;
   this allows different functions for different phases, and also leaves open
   the possibility of composing optimizations.
 * the replacement phase can also support removal; this is when utility tasks
   like symbol uploads can be optimized away iff their parent task is
   optimized.

MozReview-Commit-ID: C5QznNpwqXn
2017-08-20 20:00:17 +00:00
Dustin J. Mitchell d8d12abec9 Bug 1383880: add Graph.visit_preorder; r=ahal
MozReview-Commit-ID: BWGqLUuWlN9
2017-08-20 16:29:12 +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 6b16ccfa82 Bug 1383880: use a vcs-compatible reader in decision tasks; r=gps
This continues to use a file-based reader when run locally.

MozReview-Commit-ID: CJuYKDj2E3n
2017-09-07 18:28:22 +00: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 7c810dfd0c Bug 1383880: optimize in three phases; r=ahal
In preparation for much more thorough optimization of task-graphs, this
makes a few changes:

 * optimization is split into thre phases, with task removal in one phase
   (following dependency links) and task replacement in the next (in the
   reverse order).
 * optimization uses class instances instead of functions for optimizations;
   this allows different functions for different phases, and also leaves open
   the possibility of composing optimizations.
 * the replacement phase can also support removal; this is when utility tasks
   like symbol uploads can be optimized away iff their parent task is
   optimized.

MozReview-Commit-ID: C5QznNpwqXn
2017-08-20 20:00:17 +00:00
Dustin J. Mitchell e31d8bb58d Bug 1383880: add Graph.visit_preorder; r=ahal
MozReview-Commit-ID: BWGqLUuWlN9
2017-08-20 16:29:12 +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
Wes Kocher b08f54f8c2 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHxJvcR2Tpa
2017-09-20 17:47:16 -07: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
Andrew Halberstadt 773e6d6179 Bug 1400424 - [tryselect] Make sure taskgraph generation is run from topsrcdir, r=dustin
This was preventing us from running ./mach try fuzzy from a subdirectory of the
topsrcdir. This also fixes taskgraph/utils/verify.py to find the docs directory
based off of topsrcdir instead of cwd. This was needed as cwd was being set at
import time.

MozReview-Commit-ID: CgQqD6bQ5q4
2017-09-16 00:31:45 -04:00