Граф коммитов

41 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 583727a597 Bug 1478813 - Auto-generate ServoStyleConsts. r=xidorn,ted
Differential Revision: https://phabricator.services.mozilla.com/D2447
2018-08-17 19:48:23 +02:00
Dan Mosedale d2201e2b26 Bug 1478995 - Add node toolchains to each automated build, r=gps
MozReview-Commit-ID: BQCAVP0nk4S

--HG--
extra : rebase_source : bcd0d3a8b26058ed3354f72d626362660bf7b5b9
2018-07-26 13:34:44 -07:00
Mike Hommey de808cbccf Bug 1465659 - Move perfherder extra options from mozharness to taskcluster. r=nalexander
While some builds have a PERFHERDER_EXTRA_OPTIONS environment set on the
taskcluster side, many others have the equivalent set at the mozharness
level. But only the former are actually linted against, which,
unsurprisingly, translates to conflicting values between some of the
mozharness configs.

So we move those configurations to taskcluster, enable the lint on all
the kinds that look like builds (based on them using the build_attrs
transform), and adjust the values to stop conflicting. Notably, for
searchfox and static-analysis-autotest.

--HG--
extra : rebase_source : 097333608e61e1df66e5d8f914e15784f35e58f2
2018-05-31 13:02:38 +09:00
Gregory Szorc cbf0a8af3e Bug 1460650 - Rename sixgill task name so it has "gcc" in it; r=nalexander
Mainly so searching "toolchain" + "gcc" yields something useful in the
taskgraph.

MozReview-Commit-ID: HWiT3AwwYQ2

--HG--
extra : rebase_source : b1ba0dfb4f99b6f8abe42506e8b37db68ed03590
2018-05-09 14:36:45 -07:00
Dorel Luca 72fd8fbd90 Backed out changeset afe7cbee7576 (bug 1460650) for breaking toolchain. CLOSED TREE 2018-05-10 21:19:42 +03:00
Gregory Szorc 0c68d84bc0 Bug 1460650 - Rename sixgill task name so it has "gcc" in it; r=nalexander
Mainly so searching "toolchain" + "gcc" yields something useful in the
taskgraph.

MozReview-Commit-ID: HWiT3AwwYQ2

--HG--
extra : rebase_source : b1ba0dfb4f99b6f8abe42506e8b37db68ed03590
2018-05-09 14:36:45 -07:00
Steve Fink b1be1f1ac9 Bug 1449066 - Switch hazard builds to GCC 6, r=froydnj
--HG--
extra : rebase_source : 312938733bbf76c3c9c2fc2ec35ba0b88e6f89de
2018-03-28 18:15:51 -07:00
Mike Hommey 4ddb944ee0 Bug 1399679 - Use debian7-*-build instead of desktop-build. r=gps
Switch almost all builds currently using the desktop-build image to use
the right debian7-*-build image instead. The only exception is the rust
bindgen spidermonkey builds, that require cmake being installed, but I
don't want to add it to the base images because that involves risking a
cmake dependency unwantedly slipping in Firefox (rust-bindgen ironically
requires cmake to build a single C++ file...)
2018-01-23 13:14:18 +09:00
Andrew Halberstadt 7d764294a7 Bug 1386857 - [ci] Remove the 'tc' treeherder group prefix from all tasks, r=dustin
There are now only a handful of buildbot jobs remaining and the concern over
outdated treeherder exclusion profiles has largely been resolved.

This does remove the tc() group from a substantial number of tasks which will
now show up as top level tasks, potentially adding clutter. In some cases, we
might want to re-add a new group (e.g group builds or compiled tests together).
However rather than try to predict the best group names for tasks I'm unfamiliar
with, I think it's best to land this as is. Then if things are looking too
cluttered at the root namespace, file follow-up bugs as needed.

MozReview-Commit-ID: 8SMwjDwAOzV

--HG--
extra : rebase_source : 2f6d89d11c139bdcd404e7537db799d0e36ee4c3
2018-01-12 15:49:58 -05:00
Mike Hommey 035f2cbe49 Bug 1426785 - Remove uses of the gtk+3 tooltool package. r=gps
It turns out that in all cases it was the last tooltool manifest entry,
so we can remove the tooltool manifests entirely, and remove all
references to them.

--HG--
extra : rebase_source : d8447b5422e63e88444008fddb76d658829694de
2017-12-22 07:54:58 +09:00
Coroiu Cristina dbb27acb6d Backed out 5 changesets (bug 1426785) for failing repackage the nightly build on Linux a=backout.
Backed out changeset 08b5850633de (bug 1426785)
Backed out changeset 61453b6473f1 (bug 1426785)
Backed out changeset 851ce8944b41 (bug 1426785)
Backed out changeset 386cd0532519 (bug 1426785)
Backed out changeset 2a52bf9e0898 (bug 1426785)
2017-12-24 14:03:02 +02:00
Mike Hommey 370b8cf0ff Bug 1426785 - Remove uses of the gtk+3 tooltool package. r=gps
It turns out that in all cases it was the last tooltool manifest entry,
so we can remove the tooltool manifests entirely, and remove all
references to them.

--HG--
extra : rebase_source : 0aa9ef8151c2fccf62507dfecc0bc57b157772e1
2017-12-22 07:54:58 +09:00
Steve Armand f9ec1d54e7 Bug 1414824 - Enable stricter linting in taskcluster yaml files. r=Callek
MozReview-Commit-ID: AX1cDUkwrBh

--HG--
extra : rebase_source : 4e3d0f5e4b7d1b4d2196c431ae03bc2e9b95387b
2017-11-11 00:36:41 -05:00
Steve Fink 2a91809c78 Bug 1339989 - Create a sixgill compilation toolchain job, r=glandium
--HG--
extra : rebase_source : ccd11f3522b6c87a59bb9837a6a1d338cfbb8608
2017-10-09 17:49:29 -07:00
Dustin J. Mitchell f2c8898f06 Bug 1401180: rename 'toolchain' transform to 'use_toolchains'; r=glandium
MozReview-Commit-ID: 5vKM5dRBuZt

--HG--
rename : taskcluster/taskgraph/transforms/toolchain.py => taskcluster/taskgraph/transforms/use_toolchains.py
extra : rebase_source : 71b3528c4d0d124d0bdb06c1bcab92f8bcabad83
extra : source : 4d29e16b186e836db589c6b80cb7b50631e8ebc4
2017-09-14 20:12:59 +00:00
Wander Lairson Costa 6332ed5b0a 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

--HG--
extra : rebase_source : 00827d3f6bd705419bc801eb05b543af1ddc274f
2017-08-28 08:44:51 -03:00
Mike Hommey e9c90cf459 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 474d5de300 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.

--HG--
extra : rebase_source : 77455b9f0a58919838c8c64c36aa1db99baf8c7e
2017-08-09 09:05:35 +09:00
Mike Hommey 02f8b2de18 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

--HG--
extra : rebase_source : 45128ac74bf4fe7e6a2ace57043c34ecdf0fe929
2017-07-26 16:32:15 +09:00
Mike Hommey bc784842fe Bug 1384418 - Use toolchain dependencies for gcc. r=gps
--HG--
extra : rebase_source : 187010d47e94d53abf18cd9acd7073269744d818
2017-07-26 15:27:09 +09:00
Mike Hommey cfb8502a7f Bug 1384417 - Use toolchain dependencies for sccache. r=gps
--HG--
extra : rebase_source : 46eb4903d4d918e93b77b17124025253cda28d04
2017-07-20 17:56:49 +09:00
Mike Hommey 780768bc06 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.

--HG--
extra : rebase_source : b2d297bd75d9c416b30d2a6c6d61efcb64681727
2017-06-21 15:38:21 +09:00
Wes Kocher 62d8e4f4fa Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
Wander Lairson Costa c0abc737f5 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

--HG--
extra : source : feedcde68c2a54da210f03eb287ab5c862fc982b
extra : intermediate-source : 485d1af7805ad9fa0e701c3571fc1291fbfc6850
2017-06-29 15:45:01 -07:00
Mike Hommey 06ad247787 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.

--HG--
extra : rebase_source : bd619024bde051424a2d811a1996caaf0f853247
2017-06-06 16:20:09 +09:00
Dustin J. Mitchell f8a58269bd 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

--HG--
extra : rebase_source : 4cdfe6b8d9874b0c156671515b213d820b48482f
2017-05-08 22:53:50 +00:00
Mike Hommey 8e811ce9b6 Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal
--HG--
extra : rebase_source : 06b5e16e7c142878296699a4aa6bc17a4f1ab4c7
2017-04-15 07:36:59 +09:00
Sebastian Hengst ad536f3e81 Backed out changeset 8b43c62ad836 (bug 1356700) 2017-04-18 00:50:15 +02:00
Mike Hommey efc709d6bf Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal
--HG--
extra : rebase_source : 06b5e16e7c142878296699a4aa6bc17a4f1ab4c7
2017-04-15 07:36:59 +09:00
Dustin J. Mitchell 449d528cf3 Bug 1333255: rename taskgraph.task to taskgraph.loader; r=jonasfj
MozReview-Commit-ID: 6aPdGbxn0D1

--HG--
rename : taskcluster/taskgraph/task/__init__.py => taskcluster/taskgraph/loader/__init__.py
rename : taskcluster/taskgraph/task/balrog.py => taskcluster/taskgraph/loader/balrog.py
rename : taskcluster/taskgraph/task/beetmover.py => taskcluster/taskgraph/loader/beetmover.py
rename : taskcluster/taskgraph/task/beetmover_checksums.py => taskcluster/taskgraph/loader/beetmover_checksums.py
rename : taskcluster/taskgraph/task/checksums_signing.py => taskcluster/taskgraph/loader/checksums_signing.py
rename : taskcluster/taskgraph/task/post_build.py => taskcluster/taskgraph/loader/post_build.py
rename : taskcluster/taskgraph/task/repacks.py => taskcluster/taskgraph/loader/repacks.py
rename : taskcluster/taskgraph/task/signing.py => taskcluster/taskgraph/loader/signing.py
rename : taskcluster/taskgraph/task/test.py => taskcluster/taskgraph/loader/test.py
rename : taskcluster/taskgraph/task/transform.py => taskcluster/taskgraph/loader/transform.py
rename : taskcluster/taskgraph/task/base.py => taskcluster/taskgraph/task.py
extra : rebase_source : 42a183bae9aedfa04876d99a59119fd08bbf7d73
2017-03-09 19:00:49 -05:00
Dustin J. Mitchell 7e3408a70e Bug 1333255: always transform tasks; r=jonasfj
MozReview-Commit-ID: 3A5wzXKG0Yp

--HG--
extra : rebase_source : 10063aa354d18b08db182b41e9ae61f2f884becd
2017-03-09 16:40:33 -05:00
Dustin J. Mitchell b0117f4f53 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

--HG--
extra : rebase_source : 72e0a9dd8385b250a46c9f4adf8a8a0e5b01c156
2017-03-09 23:14:40 -05:00
Mike Hommey 1ede24adb4 Bug 1324998 - Set MOZ_AUTOMATION on rooting hazards builds. r=mshal
--HG--
extra : rebase_source : 115285041faf873f709db522af19f16ab3259380
2016-12-22 15:02:45 +09:00
Mike Shal 2214443444 Bug 1279221 - Remove buildbot routes for Taskcluster tasks; r=dustin
MozReview-Commit-ID: A2YxsnWo9ek

--HG--
extra : rebase_source : 2f979352c9ef2adbb33f386eb45a383cc142832b
2016-11-29 15:02:00 -05:00
Gregory Szorc 7a61d25ab6 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

--HG--
extra : rebase_source : 92947b92ce23a7ca4aa885d4dfd073d72410ae16
2016-11-02 15:45:40 -07:00
Gregory Szorc 0363e0cffb 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

--HG--
extra : rebase_source : 782401359036751896ef6c153a81a06cb14031bb
2016-09-30 09:21:09 -07:00
Mike Shal 34419a456f Bug 1277881 - Remove all gecko.v1 routes; r=dustin
MozReview-Commit-ID: HyZO2sKFuJD

--HG--
extra : rebase_source : c22d8f5f094a1a41f569ebb58395ccba96db5330
2016-09-20 18:09:00 -04:00
Dustin J. Mitchell f66f7fa02e Bug 1286075: adjust the branches where haz tasks run; r=sfink
MozReview-Commit-ID: Ips0u2PBiPO

--HG--
extra : rebase_source : fc57046f4d0a289703fcfbe478df1d2e52fe79b6
2016-09-09 21:14:55 +00:00
Dustin J. Mitchell 6238dab03d Bug 1286075: use the default gecko-b-* workerType for all haz builds; r=sfink
MozReview-Commit-ID: 1d2w3rhb0qj

--HG--
extra : rebase_source : 8332496948570c59c2b5f2216a61886acf7faa67
2016-09-07 16:01:22 +00:00
Dustin J. Mitchell 72b1a307ee 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

--HG--
extra : rebase_source : 5bfe02773f26768c7e79621a43515d6bf8b921ca
2016-09-07 15:58:29 +00:00
Dustin J. Mitchell fd289830f7 Bug 1286075: add hazard kind; r=sfink
MozReview-Commit-ID: qvFg2O6OwB

--HG--
extra : rebase_source : 0f118b793b2ff1078a72c2a60bda36d51f25ad70
2016-09-12 18:04:09 +00:00