Commit Graph

1131 Commits

Author SHA1 Message Date
Tom Ritter
14ad913e94 Bug 1403058 Add the MinGW32 browser build to Taskcluster r=glandium
MozReview-Commit-ID: EGWX1EfqBNJ

--HG--
extra : rebase_source : 4cbe0340bad06d4421cd0b106d1dc7a4ab2ec013
2017-10-05 11:46:32 -05:00
Andrew Halberstadt
6b65448914 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : b81ab806cd2455f4e4fc761863fe699feadd0bb5
2017-09-26 10:47:22 -04:00
Aki Sasaki
cce0182e98 bug 1393277 - fix raw-file link in action tasks. r=bstack
MozReview-Commit-ID: EmJ6Nsivb4H

--HG--
extra : rebase_source : 038268c0d6c98373b071e39b1ee320153f082fe3
2017-10-03 10:30:18 -07:00
Wes Kocher
382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Nathan Froyd
2c4bdd03d0 Bug 1373878 - part 5 - taskcluster configuration for rusttest builds; r=dustin 2017-10-02 09:21:22 -04:00
Alin Selagea
6c72c8afb3 Bug 1397829 - Fix bb buildernames for 'stylo-disabled' tests, r=kmoir 2017-10-02 16:32:21 +03:00
Aki Sasaki
ad67f87efc 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

--HG--
extra : rebase_source : 6a9aef0efd61c4f1aa7df48ca513311da203ccdb
2017-09-25 10:17:07 -07:00
Aki Sasaki
8bc2d3d47d 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

--HG--
extra : rebase_source : 503ce9bd455d9845d6598ce2e06c4a355e737053
2017-09-25 10:16:32 -07:00
Sebastian Hengst
b1575a7d2b 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
ef896de9c0 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : 6c456c91985f2006910bda66fdbc5d18e066d020
2017-09-26 10:47:22 -04:00
Andrew Halberstadt
dd40adad76 Bug 1401199 - [taskgraph] Use default parameter values when strict=False, r=dustin
MozReview-Commit-ID: 9XWlLeGcPeQ

--HG--
extra : rebase_source : 01615bee150787a2c1a9eeb6da8b5dcf17ce1c7c
2017-09-29 11:35:30 -04:00
Mike Hommey
4745a4a62f Bug 1402194 - Don't fail when there is neither try syntax nor try_task_config.json. r=dustin
--HG--
extra : rebase_source : 4eb1aa56f34634592405263d207e4bcffc0c060f
2017-09-30 08:20:07 +09:00
Wes Kocher
eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Brian Stack
5a59c0c1c5 Bug 1393277 - Record information about action tasks to support cot r=aki
MozReview-Commit-ID: Kyyh6G6yw2W

--HG--
extra : rebase_source : 4cbb75fa92104de2a08465d5907f168bb2fa75d9
2017-09-22 12:48:33 -07:00
Peter Moore
f9fc4a4799 Bug 1403490 - disable superseding for worker type gecko-t-win10-64-gpu,r=grenade 2017-09-28 18:30:37 +02:00
Aki Sasaki
d81ad86059 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
17f6f5f45c Bug 1400223 - Merge tasks added by action tasks into graphs used for subsequent tasks r=dustin
MozReview-Commit-ID: 7ZTbS5h0vPA

--HG--
extra : rebase_source : c1acea26ac526c672f6630504ae69bbe7dbd6677
2017-09-20 12:52:29 -07:00
Andrew Halberstadt
776ed09b77 Bug 1404067 - [tryselect] Improve error message on parameter mismatch, r=dustin
MozReview-Commit-ID: GMiGuNApoUF

--HG--
extra : rebase_source : 326df920793b54806cd4423ec0bf0e20df6cd42d
2017-09-28 15:25:34 -04:00
Ralph Giles
c0509cdbaf 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

--HG--
extra : rebase_source : bdd7bdc5f874d1329ff52d900cd1ac93df23c6dc
2017-09-12 16:06:15 -07:00
Ralph Giles
5f0682659e 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

--HG--
extra : rebase_source : df81d2da7e70fffb29e96377f16ab22def9e94e0
2017-09-12 16:01:26 -07:00
Wes Kocher
9d9610f6a3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Alin Selagea
5c5f346188 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
095b4bfda8 Bug 1330608 Add the MinGW32 toolchain build to Taskcluster r=glandium
MozReview-Commit-ID: JHS6y8kqr4T

--HG--
extra : rebase_source : e04692af64312db7028d4123075e02d8b9127ef2
2017-09-22 00:24:58 -05:00
Justin Wood
37e815dba6 Bug 1402457 - Actually schedule periodic file updates. r=dustin
MozReview-Commit-ID: BJsNs86kNJu

--HG--
extra : rebase_source : 01ca41ba33c78032b1bde1cccf1f04aba3070fb0
2017-09-25 14:14:59 -04:00
Justin Wood
66724b3aca Bug 1402457 - Add periodic file update task, but don't run it yet. r=dustin
MozReview-Commit-ID: GD7qRLxwDn5

--HG--
extra : rebase_source : 7a4874f7229a69630cdd3e44815de682678cb1f2
2017-09-22 14:25:28 -04:00
Brian Stack
d19adda111 Bug 1395563 - Handle case of missing decision task for backfills r=dustin
MozReview-Commit-ID: BIo948IuUlO

--HG--
extra : rebase_source : 3f210c5209419bf14b5582cf004d07a6f0be8181
2017-09-20 11:06:57 -07:00
Justin Wood
5e58d2e80a 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

--HG--
extra : rebase_source : 39e853f98dcfafe252504f724cdf84b95b0eece8
2017-09-19 16:21:19 -04:00
Gregory Szorc
ff3d54d6f6 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

--HG--
extra : rebase_source : e9589b29f7e1b60ac7ee4e8050689dc3d5a8f418
extra : source : 2c0d6e566cc719823515ec2403e1d6b2ace955aa
2017-09-21 07:30:49 -07:00
Dustin J. Mitchell
0448e8d8a4 Bug 1383880: handle keyError from find_task_id; r=gps
MozReview-Commit-ID: F3mVgKcqZwA

--HG--
extra : rebase_source : ff3b24ff42caf9a8770e196d7ee80edb25ff0ead
2017-09-21 12:02:44 +00:00
Dustin J. Mitchell
bdd0ccb0a8 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

--HG--
extra : rebase_source : ceb56f3eb5b56fca90f19736ab710696fde86bd1
2017-09-07 18:28:22 +00:00
Dustin J. Mitchell
fab36ce789 Bug 1383880: add only-if-dependencies-run optimization for follow-ons; r=ahal
MozReview-Commit-ID: JuhwyQIx3Mh

--HG--
extra : rebase_source : 9255e352377800998fa8913282e1d5aed1851949
extra : source : 4b3fa9587e88431cc28331d129dd7ef4d1a793c2
2017-08-25 21:18:13 +00:00
Dustin J. Mitchell
5af9079ea6 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

--HG--
extra : rebase_source : 8b080b7648cea5f82cd03c9a7950667277b75118
extra : source : b41cd667697e13c989659b16bf649090a3908ecd
2017-08-25 19:15:12 +00:00
Dustin J. Mitchell
7bddde4cb2 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

--HG--
extra : rebase_source : f208e4960cf76a9dfe77634b87f0058f676e9fa9
extra : source : 046d705929f7a41e977eec19c8503afccdec7592
2017-08-23 16:21:06 +00:00
Dustin J. Mitchell
0ee5e3c281 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

--HG--
extra : rebase_source : 25e9966696d78d899783d9f38533d5ae66f9ccb9
extra : source : b53ff084c2d7968a1d9864d1343f2d9381fb652b
2017-08-21 23:14:14 +00:00
Dustin J. Mitchell
400f6f88ad 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

--HG--
extra : rebase_source : cf1654036041a64398a2cd38e35e8de4f3596ff9
extra : source : c25af2c111a5be4e3381d0b002641691d15fe4e8
2017-08-20 20:00:17 +00:00
Dustin J. Mitchell
8e8ca14a65 Bug 1383880: add Graph.visit_preorder; r=ahal
MozReview-Commit-ID: BWGqLUuWlN9

--HG--
extra : rebase_source : 82e148ed313ba5ddbeb1c98990af7e77cd48ff9d
extra : source : 804e6c7f441cfcf3761e0721a9a58ef29ef91a3e
2017-08-20 16:29:12 +00:00
Dustin J. Mitchell
e8c05596d8 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

--HG--
extra : rebase_source : ba0aa536e8c474b36c63d1447c83ed9885f1e3e6
extra : source : a3b7bdfdb116300daa3f49e0dfc96177e1369440
2017-08-01 20:02:59 +00:00
Gregory Szorc
67018b4be3 Backed out changeset af6c2544903e (bug 1401725) for uncovering a taskgraph bug 2017-09-21 07:43:49 -07:00
Gregory Szorc
9296e16c08 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

--HG--
extra : rebase_source : 916c6722c6d495cdccea0076c673d75e4ee48f28
extra : source : 2c0d6e566cc719823515ec2403e1d6b2ace955aa
2017-09-21 07:30:49 -07:00
Phil Ringnalda
aad01e0dc2 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
4c7134dced 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

--HG--
extra : rebase_source : 8532c2cd8bff035b6b7f497947356383713944d7
2017-09-07 18:28:22 +00:00
Dustin J. Mitchell
157dffcb8e Bug 1383880: add only-if-dependencies-run optimization for follow-ons; r=ahal
MozReview-Commit-ID: JuhwyQIx3Mh

--HG--
extra : rebase_source : 553eabc3ac408710bd8c0124232985cc4b01e705
extra : source : 4b3fa9587e88431cc28331d129dd7ef4d1a793c2
2017-08-25 21:18:13 +00:00
Dustin J. Mitchell
a1742c3495 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

--HG--
extra : rebase_source : 80a41a86ba892ccfe56bcbf6b4daf03a60424a5f
extra : source : b41cd667697e13c989659b16bf649090a3908ecd
2017-08-25 19:15:12 +00:00
Dustin J. Mitchell
0ad6fa01b1 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

--HG--
extra : rebase_source : 4cf3efc9c57bb14d2f44147c8881d0a0a18703d6
extra : source : 046d705929f7a41e977eec19c8503afccdec7592
2017-08-23 16:21:06 +00:00
Dustin J. Mitchell
7e1b6b079a 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

--HG--
extra : rebase_source : 03a10610aa3337269fe76a1196bb9b1665e1ab20
extra : source : b53ff084c2d7968a1d9864d1343f2d9381fb652b
2017-08-21 23:14:14 +00:00
Dustin J. Mitchell
8009d846d4 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

--HG--
extra : rebase_source : c6e2ff90316d43cd93826de5c30a1936f19c01ca
extra : source : c25af2c111a5be4e3381d0b002641691d15fe4e8
2017-08-20 20:00:17 +00:00
Dustin J. Mitchell
027f91d5f6 Bug 1383880: add Graph.visit_preorder; r=ahal
MozReview-Commit-ID: BWGqLUuWlN9

--HG--
extra : rebase_source : e92203e9fb0430d4fde0d24667b12318cd26465a
extra : source : 804e6c7f441cfcf3761e0721a9a58ef29ef91a3e
2017-08-20 16:29:12 +00:00
Dustin J. Mitchell
938bafc956 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

--HG--
extra : rebase_source : d5bce42fc0ea24616d885eed62e5e5a42b4fce24
extra : source : a3b7bdfdb116300daa3f49e0dfc96177e1369440
2017-08-01 20:02:59 +00:00
Wes Kocher
1ea82f66aa Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHxJvcR2Tpa
2017-09-20 17:47:16 -07:00
Geoff Brown
9a92a11760 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

--HG--
extra : source : e024769dac36e22935f1e64a328bb15334d6bdef
2017-09-20 18:13:59 -06:00