Commit Graph
27 Commits
Author SHA1 Message Date
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
Wander Lairson Costa 6b7f9ef0d1 Bug 1338651 part 1: Change docker image home dir to /build. r=dustin,mshal
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: 554IPMRWgzK
2017-08-28 08:44:51 -03:00
Mike Hommey 3c60525e6f Bug 1389435 - Explicitly use GCC 4.9 for hazard builds. r=me
The GCC plugin used for hazard builds was built for GCC 4.9. Until a new
plugin is built by a toolchain job for the "default" version of GCC we
build Firefox with, the builds using the plugin need to stay with the
version the plugin was built for.
2017-08-22 13:45:54 +09:00
Mike Hommey 492381d547 Bug 1388569 - Remove sccache dependencies on jobs that don't use it. r=gps
There are essentially four categories of jobs that have dependencies on
sccache currently and that shouldn't:
- jobs that don't compile anything. They just inherited the dependency
  because they were using the same tooltool manifests as compiling
  builds.
- jobs that don't use sccache. Ideally, we'd make them use sccache, but
  things are not currently setup to make that easy, so we'll keep that for
  later.
- jobs that explicitly disable sccache through needs-sccache: false.
  Like above, ideally, they would use sccache.
- jobs that can't use sccache. Those are hazard jobs, that rely on a GCC
  plugin and AIUI on a global knowledge of the code, which the plugin needs
  to see. Caching would break that.
2017-08-09 09:05:35 +09:00
Mike Hommey 8a91c993bc Bug 1384422 - Use toolchain dependencies for clang. r=gps
This leaves out fuzzing and linux static analysis builds, which are
using, respectively, clang 4.0.1 and clang 3.8, while linux64-clang
produces a 3.9 and win*-clang a 5.0
2017-07-26 16:32:15 +09:00
Mike Hommey 94d8e72f00 Bug 1384418 - Use toolchain dependencies for gcc. r=gps 2017-07-26 15:27:09 +09:00
Mike Hommey e79ca64ba0 Bug 1384417 - Use toolchain dependencies for sccache. r=gps 2017-07-20 17:56:49 +09:00
Mike Hommey 6b76fa9e72 Bug 1374940 - Allow to define a list of toolchains to use for a given TC job. r=dustin
Such a definition automatically sets up the corresponding dependencies
in the taskgraph, and adds the necessary artifact definitions for use in
the corresponding jobs. The jobs end up with a MOZ_TOOLCHAINS
environment variable with a list of path@task-id strings, where task-id
is corresponding to the (possibly optimized) toolchain job, and path
corresponding to the toolchain-artifact defined for that toolchain job.
2017-06-21 15:38:21 +09:00
Wes Kocher 87809bff97 Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
Wander Lairson Costa 484b2f6d33 Bug 1338651: Change docker image home dir to /build. r=dustin,mshal a=hopefullyavoidingmergebustagelater
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: zehcGJrUQX
2017-06-29 15:45:01 -07:00
Mike Hommey caf3d96cf6 Bug 1356952 - Use environment variable to define tooltool manifest in hazard builds. r=mshal
Hazard jobs use a specific tooltool-manifest field in their definition.
Since there is no post-processing happening on those definitions, and
since generalizing it would require adding the field to a bunch of
validation schemas, and the same code to various transforms, it's just
simpler to move to use environment variable definitions here too.

Eventually, tooltool manifests won't be necessary anyways, and those
environment variables will go away.
2017-06-06 16:20:09 +09:00
Dustin J. Mitchell f3f59ca1c7 Bug 1359976: base worker payload generation on worker-type; r=wcosta r=aki
To date we have variously specified both worker-type and worker-implementation,
often manually coordinated. We also embedded a few awkward assumptions such as
that the native engine only runs on OS X.

But a worker type has one and only one implementation, and that implementation
is stable over time (as changing it would require simultaneous landings on all
trees).

Instead, this change makes worker-type the primary configuration, and derives
both a worker implementation (defining the payload format) and worker OS
(determining what to include in the payload) from that value. The derivation
occurs when deciding how to implement a particular job, where the run_using
functions are distinguished by worker implementation.

The two-part logic to determine how and where to run a test task based on its
platform is combined into a single transform, `set_worker_type`.

This contains some other related changes:
 - MOZ_AUTOMATION is set in specific jobs, rather than everywhere docker-worker
   is used
 - the URL to test packages is factored out into a shared function
 - docker-worker test defaults are applied in `mozharness_test.py`
 - the WORKER_TYPE array in `task.py`, formerly mixing two types of keys, is
   split
 - the 'invalid' workerType is assigned an 'invalid' implementation
 - all tasks that do not use job descriptions but use docker-worker, etc. have
   `worker.os` added

Tested to not produce a substantially different taskgraph for a regular push, a
try push, or a nightly cron.

MozReview-Commit-ID: LDHrmrpBo7I
2017-05-08 22:53:50 +00:00
Mike Hommey f6865516d6 Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal 2017-04-15 07:36:59 +09:00
Sebastian Hengst e2bbb89ccf Backed out changeset 8b43c62ad836 (bug 1356700) 2017-04-18 00:50:15 +02:00
Mike Hommey 82ec9daa23 Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal 2017-04-15 07:36:59 +09:00
Dustin J. Mitchell 7b617b9156 Bug 1333255: rename taskgraph.task to taskgraph.loader; r=jonasfj
MozReview-Commit-ID: 6aPdGbxn0D1
2017-03-09 19:00:49 -05:00
Dustin J. Mitchell 37dca4a3be Bug 1333255: always transform tasks; r=jonasfj
MozReview-Commit-ID: 3A5wzXKG0Yp
2017-03-09 16:40:33 -05:00
Dustin J. Mitchell a0095736a7 Bug 1333255: use normal old functions to load tasks; r=jonasfj
Instead of using a class's static method, use a simple function, specified by
the `loader` key.

MozReview-Commit-ID: IeOl9qiSCXf
2017-03-09 23:14:40 -05:00
Mike Hommey 41c7534338 Bug 1324998 - Set MOZ_AUTOMATION on rooting hazards builds. r=mshal 2016-12-22 15:02:45 +09:00
Mike Shal 8a8e178274 Bug 1279221 - Remove buildbot routes for Taskcluster tasks; r=dustin
MozReview-Commit-ID: A2YxsnWo9ek
2016-11-29 15:02:00 -05:00
Gregory Szorc 9b9f9d7295 Bug 1314807 - Use run-task in hazard kind; r=dustin
As part of this, we eliminate tc-vcs since it is redundant with run-task.

MozReview-Commit-ID: 8HAFSM73BOU
2016-11-02 15:45:40 -07:00
Gregory Szorc f277d5ebce Bug 1306641 - Remove TaskCluster automation related to b2g; r=dustin
This definitely isn't all of it. But I got the obvious chunks. Still
need to clean up mozharness.

MozReview-Commit-ID: JTZBydP3i2r
2016-09-30 09:21:09 -07:00
Mike Shal 292fcd319b Bug 1277881 - Remove all gecko.v1 routes; r=dustin
MozReview-Commit-ID: HyZO2sKFuJD
2016-09-20 18:09:00 -04:00
Dustin J. Mitchell f677566ebf Bug 1286075: adjust the branches where haz tasks run; r=sfink
MozReview-Commit-ID: Ips0u2PBiPO
2016-09-09 21:14:55 +00:00
Dustin J. Mitchell a8c2b765cd Bug 1286075: use the default gecko-b-* workerType for all haz builds; r=sfink
MozReview-Commit-ID: 1d2w3rhb0qj
2016-09-07 16:01:22 +00:00
Dustin J. Mitchell 6410b28f7f Bug 1286075: do not use secrets for hazard jobs; r=sfink
Secrets are accessed via http://taskcluster/secrets, and the hazard scripts
show no evidence of such calls.

MozReview-Commit-ID: 6xp6D2ybwap
2016-09-07 15:58:29 +00:00
Dustin J. Mitchell 2d6fd8f1cc Bug 1286075: add hazard kind; r=sfink
MozReview-Commit-ID: qvFg2O6OwB
2016-09-12 18:04:09 +00:00