Commit Graph
644 Commits
Author SHA1 Message Date
Nick Alexander 08403075ba Bug 1372075 - Make android-* Gradle test suites tier 1. r=gbrown
This adds a new `tc-A` Tree Herder group, similar to the `A` Autophone
(or Android) group.  (I don't want to include a `g` for Gradle because
eventually there will be nothing that is _not_ Gradle.)

Per https://bugzilla.mozilla.org/show_bug.cgi?id=1371445#c31, the
sheriffs are satisfied with the test output.

As to the rest of
https://bugzilla.mozilla.org/show_bug.cgi?id=1372075#c0, the
documentation is in place, and |mach try fuzzy| has eclipsed
trychooser, so I think we should not update trychooser.

MozReview-Commit-ID: 2OWDEmGCd11
2017-10-16 19:54:52 -07:00
Mike Hommey cc19cad53a Bug 1409260 - Remove tc-vcs caches. r=dustin,gps 2017-10-17 15:12:18 +09:00
Sebastian Hengst e126c9c4c3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IIgLYyM2O1l
2017-10-14 23:56:50 +02:00
Sebastian Hengst dfce02d562 Bug 1396260 - run reftest in smaller browser sessions on windows 7 to reduce font loading/rendering issues: fix indentation. r=linting-fix 2017-10-14 16:37:14 +02:00
Joel Maher 7016bc8b86 Bug 1396260 - run reftest in smaller browser sessions on windows 7 to reduce font loading/rendering issues. r=jfkthame 2017-10-14 08:09:48 -04:00
Nick Alexander 92267c9df6 Bug 1405412 - Pre: Allow toolchain task images to not cache tc-vcs. r=dustin
Not all Docker images are configured for tc-vcs caches: in particular,
android-build is not configured.  Until we fully remove tc-vcs, this
will let toolchain tasks use non-tc-vcs caching images.

MozReview-Commit-ID: CYSdn2kpF3S
2017-10-05 15:55:23 -07:00
Tom Prince 418068d917 Bug 1408145: Report comm-central revision to treeherder when building from a comm branch; r=dustin
MozReview-Commit-ID: A1HUqmit7ew
2017-10-10 09:47:28 -06:00
Nick Alexander 0461ab6df1 Bug 1405413 - Pre: Allow toolchain tasks to (un)set sparse-profile. r=glandium
Specifying anything but "toolchain-build" appears to have cache
errors, which I cannot understand.  These cache errors can be
addressed in follow-up, if and when toolchain tasks require new sparse
profiles.  But specifying `null` avoids the sparse profile details
entirely, which works nicely for `android-gradle-dependencies`, which
is build-like and requires a fairly complete checkout.

MozReview-Commit-ID: L3R8UIDjgqW
2017-10-13 10:27:37 -07:00
Sebastian Hengst 592e4a2f3e Backed out changeset 5bd941606a64 (bug 1405412) 2017-10-12 23:41:36 +02:00
Nick Alexander 67a5ad7c7c Bug 1405412 - Pre: Allow toolchain task images to not cache tc-vcs. r=dustin
Not all Docker images are configured for tc-vcs caches: in particular,
android-build is not configured.  Until we fully remove tc-vcs, this
will let toolchain tasks use non-tc-vcs caching images.

MozReview-Commit-ID: CYSdn2kpF3S
2017-10-05 15:55:23 -07:00
Dustin J. Mitchell 1d340ded1c Bug 1403322 - remove support for when.files-changed in tests; r=ahal
MozReview-Commit-ID: 9Tx76V5VcqW
2017-10-11 17:40:10 +00:00
Dustin J. Mitchell 839ffa1740 Bug 1403322 - schedule jsreftests inclusively; r=ahal
This is just one flavor of the "reftets" suite, so we need to add a distinct
scheduling component for it.

MozReview-Commit-ID: AtKuvuUCk1l
2017-10-11 17:31:20 +00:00
Nick Alexander 4c24977226 Bug 1407672 - Add docker-image and toolchain support to l10n leaf jobs. r=Callek
This approach allows to specify the `docker-image` and set of
`toolchains` to the l10n leaf jobs using the `by-platform:` override
mechanism.  We don't support anything but in-tree docker images at
this time, and the schema will warn if a different type of docker
configuration block is used.  It wouldn't be hard to grow the
additional blocks, but let's reduce duplication for now.

It might be considered better to inherit the `docker-image` and set of
`toolchains` from the underlying `dependent-task`, but we don't do
that for two reasons.  The main reason is that it's an explicit goal
to be able to "cross repack": to repack, say, a Windows binary on a
Linux worker.  In that situation, the docker-image and toolchains
differ between the builder and the repack worker.

A smaller technical obstruction is that by the time the l10n transform
sees the dependent task, the docker image and set of toolchains have
been processed.  The l10n transform would have to "reconstitute" the
docker image changes and the set of toolchains; it would be very
fragile.

Taken together, it's better to be explicit, reduce unexpected
interactions, and repeat the information in the l10n leaf tasks.

MozReview-Commit-ID: TmgJyYU5dx
2017-10-10 15:57:57 -07:00
Ryan VanderMeulen 7496e4294f Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Nick Alexander b9c57e3c1e Bug 1405408 - Part 2: Add taskcluster-proxy and scopes to tasks consuming non-public/ toolchains. r=dustin
MozReview-Commit-ID: BIGjLXmTSli
2017-10-05 16:41:43 -07:00
Nick Alexander 9a8150831c Bug 1405408 - Part 0: Let toolchain tasks create non-public/build artifacts. r=dustin
There's code that carefully uses `setdefault('artifacts', [])` in the
same file, but then stomps on 'artifacts' before that's invoked.  This
allows tasks to change where public/build is sourced from, and to add
additional artifact locations (including private locations).

MozReview-Commit-ID: JqyHew5bGv5
2017-10-05 16:02:20 -07:00
Dustin J. Mitchell 72136a4618 Bug 1403342 - use try_job transform for source tests too; r=ahal
Just a minor refactor

MozReview-Commit-ID: 2YdOtO2sGEc
2017-10-03 21:09:22 +00:00
Geoff Brown 88f7308d37 Bug 1390893 - Add GECKO_HEAD_REPOSITORY/REV to mozharness environment for tests on generic worker; r=jmaher 2017-10-11 10:12:25 -06:00
Tom Prince 79d01593e3 Bug 1385055 - Add taskgraph support for checking out comm-central and related branches. r=dustin
MozReview-Commit-ID: 1eU567Cuc8a
2017-07-27 12:39:08 -06:00
Sebastian Hengst 5a50c5cb42 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Tom Ritter 55b9ab426d Bug 1403058 Add the MinGW32 browser build to Taskcluster r=glandium
MozReview-Commit-ID: EGWX1EfqBNJ
2017-10-05 11:46:32 -05:00
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
Alin Selagea b68c05edc9 Bug 1397829 - add buildernames for stylo-disabled tests which run on hardware, r=aobreja 2017-10-06 15:13:19 +03: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