Commit Graph
65 Commits
Author SHA1 Message Date
Nathan Froyd 2c2bfd895b Bug 1373878 - part 5 - taskcluster configuration for rusttest builds; r=dustin 2017-10-02 09:21:22 -04:00
Marco Castelluccio d61d67d59f Bug 1401230 - Apply compiler-rt patch to avoid crashes on shutdown when unloading shared libraries. r=glandium 2017-09-20 22:52:15 +02:00
Ralph Giles 0207fcff0f Bug 1391427 - Package upstream rust in taskcluster. r=glandium
Add a toolchain job description which calls the
repack_rust.py script to package the requested
upstream build of Rust and its standard libraries
for use in gecko builds.

Links are added to these new toolchains for various build
and analysis tasks as appropriate. The base-toolchain
tasks use an explicitly-versioned toolchain since those
can be different from the current release used for most builds.

The corresponding tooltool manifest entries are removed
now that taskcluster artifact versions are available.
This simplifies the update process since new toolchains
can be packaged and used automatically by just updating
the versions in the task descriptions.

A 'linux64-rust' toolchain can be added to other tasks
as a dependency and artifact. It supports linux64-
hosted builds of Rust code targeting linux64 or linux32.

A 'linux64-rust-macos' toolchain targets linux64-hosted
builds of Rust code targeting macOS on x86_64.

A 'linux64-rust-android' toolchain targets linux64-hosted
builds of Rust code targeting various Android architectures.

Two 'win64-rust' and 'win32-rust' toolchain tasks create
similar entries for Windows-hosted builds. All our automation
builds are hosted on win64, so we could use one artifact
with support for both targets, but currently this doesn't
work because of cross-compilation issues in some crates.
This patch maintains the previous separation between
win32 and win64 rust toolchains until that can be addressed.

MozReview-Commit-ID: GRiJml8CtzO
2017-09-12 16:30:19 -07:00
Christian Holler 7fef89b0ee Bug 1399917 - Create --enable-address-sanitizer-reporter TC build. r=aobreja,mtabara
MozReview-Commit-ID: 7tYSTeU8D73
2017-09-14 17:52:09 +02:00
Peter Moore aeb85d1bb4 Bug 1382204 - enable coalescing on macOS/win10-gpu tests and disable on linux builds,r=dustin 2017-09-13 12:30:07 +02:00
Sebastian Hengst 0abfc11153 Backed out changeset 5428066436e7 (bug 1382204) for busting test on OS X. r=backout 2017-09-06 14:54:26 +02:00
Peter Moore 998b89d3ba Bug 1382204 - enable coalescing on tests and disable on builds,r=dustin 2017-09-01 15:11:32 +02:00
Mike Hommey 56ecb5de61 Bug 1388573 - Imply needs-sccache from toolchain dependencies. r=dustin
After bug 1388569 and bug 1388572, all jobs that have needs-sccache set
have a dependency on either linux64-sccache or win64-sccache, and
vice-versa. Which means they are now redundant, and one should imply the
other.
2017-08-09 09:22:43 +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 25b379df98 Bug 1386589 - Remove the linux64 tooltool manifests that look the same as releng.manifest. r=gps 2017-08-04 06:07:43 +09:00
Mike Hommey 700e329b36 Bug 1386610 - Use the clang 4 toolchain job for fuzzing builds. r=gps 2017-08-02 19:55:11 +09:00
Mike Hommey d57901042c Bug 1386588 - Rename the linux64-clang and linux64-gcc jobs to include a version number. r=gps
We're soon going to build multiple versions of clang and gcc for linux,
and we need to differentiate them. Furthermore, there is a need for the
base-toolchains builds to use a fixed version of clang and gcc. So
rename the clang and gcc toolchain jobs to include their version, add
aliases to satisfy all existing jobs, and adjust the base-toolchains
jobs to use the explicit version.
2017-08-03 08:12:43 +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
J. Ryan Stinnett edd8cf908f Bug 1374748 - Use regular builds for Stylo via env var. r=catlee
MozReview-Commit-ID: BCMAuSRH1sQ
2017-07-11 13:39:22 -05:00
Chris AtLee e8497aa0e3 Bug 1371038: Add configs for doing DMD builds r=Callek
This adds the mozconfigs, mozharness configs and taskcluster changes required
to create optimized DMD builds for linux64, win32, win64 and macosx64.

These builds will happen nightly on mozilla-central

We also add support for custom build variants on Windows (or other generic
worker environments).

MozReview-Commit-ID: HrVT9PLSWVx
2017-06-22 12:49:03 -04:00
rforbes 53bda04cc8 Bug 1376978 - Add separate tooltool manifest for TC fuzzing build. r=decoder
MozReview-Commit-ID: BXEX5uHzjRx
***
Bug 1359328 - Add fuzzing.manifest file

MozReview-Commit-ID: 4ggQvY1yISY
2017-06-30 09:38:54 -07:00
Gregory Szorc c25ba28a29 Bug 1372721 - Add a "trunk" alias for run-on-projects; r=dustin
{central, autoland, inbound} are logically treated as a single unit for
many tasks and policies. Let's formalize that collection via a "trunk"
alias.

MozReview-Commit-ID: H4JPTyu2J2F
2017-06-13 14:42:04 -07:00
Gregory Szorc 4df6c7f861 Bug 1372721 - Remove "stylo" from run-on-projects lists; r=dustin
This refers to the incubator/stylo repo, which has been dead for a
few months ever since Stylo was merged into mozilla-central. Let's
remove references to it.

MozReview-Commit-ID: 35vWUdlqqus
2017-06-13 14:13:39 -07:00
Mike Hommey f12d79c24c Bug 1356952 - Add tooltool manifests defined in mozharness configurations to taskcluster job definitions. r=mshal
Since bug 1321847, mozharness tooltool manifests can be overriden from
the environment. We use that possibility to now define tooltool
manifests from taskcluster job definitions. Ideally, we'd also remove
the definitions from the mozharness configs, but with things still
running on buildbot, it's not clear what things might break because of
that. We'll do it in a separately back-out-able followup.
2017-06-06 16:17:40 +09:00
Gregory Szorc f04c6fe434 Bug 1370421 - Differentiate Perfherder buckets for Linux64 ASAN builds; r=mshal
Previously, these jobs were both writing to the same Perfherder
bucket keyed off linux64/asan. We introduce 2 new buckets, each with
the actual "opt" or "debug" configuration in their name.

MozReview-Commit-ID: J18VqxWFPsK
2017-06-06 17:31:18 -07:00
Gregory Szorc bd1c75d741 Bug 1370421 - Define Perfherder bucket for asan-fuzzing; r=mshal
linux64-asan-fuzzing/opt and linux64-asan/opt currently share the same
platform and mozharness config and therefore write to the same Perfherder
bucket.

This commit differentiates asan-fuzzing so it writes to its own bucket.

MozReview-Commit-ID: EV3a5LLwJWm
2017-06-06 17:29:06 -07:00
Gregory Szorc 402bcd89bc Bug 1370421 - Put base-toolchains builds into own perfherder bucket; r=mshal
Perfherder metrics are by default put in a bucket according to their
platform name. e.g. linux64/opt. Similar jobs emitting otherwise
identical metric names must differentiate the metrics by inserting
extra metadata.

Before this commit, we defined extra metadata in mozharness
sub-configs, as appropriate. As long as the sub-config remembers
to define the metadata, we're good.

However, some tasks don't use mozharness sub-configs. Instead, they
create variations in the taskgraph. The base toolchains builds
are an example. These share the same platform name (e.g. linux64/opt)
and the base mozharness config. Therefore there's no way to
distinguish these builds as being "base toolchains" from mozharness.

This commit teaches mozharness to look for an environment variable
defining extra perfherder keys to use to bucket results. We define
this variable in taskgraph for relevant tasks.

MozReview-Commit-ID: 8oGHGyx6Zn5
2017-06-06 16:23:14 -07:00
Gregory Szorc 18dc0b122b Bug 1362148 - Always collect build metrics; r=ted
Previously, mozharness defined a separate action to collect build
metrics. This required the script and/or config to define that
action.

Metrics collection for CI is important. So it should be enabled by
default.

This commit changes the "build" action/method to always call the
metrics collection function after successful build. References to
the "generate-build-stats" action have been removed because it is
redundant.

A side-effect of this change is we may generate build metrics where
we weren't before. This could lead to e.g. duplicate entries in some
Perfherder series. Let's see what breaks ;)

MozReview-Commit-ID: 42UQI5YQTMC
2017-05-04 12:28:52 -07:00
Sebastian Hengst a82a6c091f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Nathan Froyd 7d068869f2 Bug 1341404 - add linux64 noopt debug builds; r=dustin,mshal
A number of developers find it convenient to build with
--disable-optimize --enable-debug for an improved debugging experience.
We don't currently have a configuration in CI that ensures this
combination of options works, so various changes break builds with this
configuration every so often.  We should test such configurations to
ensure they build to provide a smooth experience for developers.
2017-06-02 16:56:56 -04:00
Mike Hommey b5ed9f2c15 Bug 1321847 - Add new linux jobs using the baseline of supported toolchains. r=mshal
For a long time, we've kind of forced the GCC version used to compile
Firefox on automation to the minimum version we do support, because
using a newer version would pretty much guarantee that builds with older
versions would break.

Ideally, the same would be true of rust, but it's not the case, and sure
enough, building with older versions breaks. The most recent example is
bug 1367734 making rustc 1.17.0 required but leaving configure checking
for version 1.15.1.

There are multiple reasons why we'd want to use newer versions of rust
to build shipping versions of Firefox other than language requirements,
but we should still ensure building with supported versions of rust
doesn't break silently.

Here we add a set of new linux jobs that build opt and debug build with
the baseline of supported toolchains. At the moment, that's GCC 4.9,
rust 1.15.1, and clang 3.9 (for bindgen). That's a copy of the current
toolchains used for normal linux jobs, with rustc downgraded to the
package used after bug 1338311.

Further down the line, we'll be able to bump the versions of GCC, rust
and/or clang for the shipped Firefox builds, while keeping those jobs on
GCC 4.9, rust 1.15.1 and clang 3.9, until we do intentionally want to
bump those versions (as well as the corresponding configure checks).
2017-06-02 11:34:46 +09:00
Ryan VanderMeulen 583179f7a9 Merge inbound to m-c. a=merge 2017-05-30 20:36:44 -04: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
Kartikaya Gupta a9e0e17641 Bug 1368684 - Stop building webrender-enabled builds in automation. r=dustin
As of bug 1342503 being fixed, all of our desktop firefox builds have
webrender compiled in by default. Webrender can therefore be enabled at
runtime either by a pref or environment variable on any desktop firefox
build. The old builds that we originally used to stand up webrender are
no longer needed, as the *only* difference between them and the regular
builds are that they build with the pref turned on instead of turned
off. This doesn't warrant keeping around these extra builds, and this
patch removes them along with all the associated goop that was needed to
configure them.

MozReview-Commit-ID: 5wlOWo11fEk
2017-05-30 09:41:19 -04:00
rforbes fc6443669c Bug 1359328 - Updates for fuzzing taskcluster build r=aobreja,decoder
MozReview-Commit-ID: 1RDQYnGTE2s
2017-05-25 15:36:21 -07:00
rforbes d50c1f1790 Bug 1359328 - Add a fuzzing build to taskcluster r=aobreja,decoder
MozReview-Commit-ID: BYbycnB5wdV
2017-05-25 12:47:59 -07:00
Chris Manchester 4eb9911ecd Bug 1337667 - Add need-xvfb to stylo build Taskcluster configs. r=dustin
This allows `make check` to pass when run against these builds.

MozReview-Commit-ID: BVs6BPifbfW
2017-05-17 12:28:23 -07:00
Kartikaya Gupta 8616fd932d Bug 1342488 - Run the linux64-qr test platforms using the regular linux64 build platform, and remove the linux64-qr build platform. r=dustin
MozReview-Commit-ID: 1zrGgWNYwQ9
2017-05-13 07:48:54 -04:00
Kartikaya Gupta e34225e640 Bug 1363344 - Update linux64-qr test jobs on central and integration branches. r=dustin,catlee
This patch affects the following linux64-qr test jobs (for both opt and debug):
- Stops running reftest-no-accel on central, since they don't seem to provide
  much value over regular reftests.
- Starts running mochitest-gpu on central.
- Starts running crashtests, reftests, jsreftests, mochitest-gpu and
  mochitest-webgl on mozilla-inbound and autoland (this matches the set of
  tests on central).
- Promotes all the tests running on central/autoland/inbound to tier-1.

MozReview-Commit-ID: LgU4VgGz7S
2017-05-09 10:12:27 -04:00
Ben Hearsum 8b8f3880dc bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - fix build configuration and signing of DevEdition-on-beta builds. r=aki,rail
MozReview-Commit-ID: 2oaCCHJWU8W
2017-05-05 16:56:57 -04:00
Gregory Szorc 5234f4c63b Bug 1361436 - Emit build stats immediately after build; r=ted
The "generate-build-stats" mozharness action collects a bunch of build
system metrics, including build_resources.json, ctors count, and
installer size and reports them by writing special messages that
log parsers read.

Before this commit, this mozharness action occurred sometime after
"build." But relative ordering to other actions was not consistent
and appears to be significantly cargo culted.

4e61e69a383c (bug 1304508) changed the "check" mozharness action to
invoke `mach build check` instead of `make` directly. An unintended
consequence of this is that `mach build` replaced the
build_resources.json file from the build itself with one measuring
`make check`. This made the "build time summary" metric take a nose
dive.

This commit works around the issue introduced by 4e61e69a383c by
reordering the mozharness actions so "generate-build-stats" follows
immediately after the "build" action. Not only does it now occur
before the "check" action, but it also occurs before uploading and
other actions.

I'm not sure why "generate-build-stats" is its own action and not
part of "build" itself. As the diff shows, numerous instances of
"generate-build-stats" are commented out, which means we aren't
collecting metrics. "generate-build-stats" is also missing from a
handful of mozharness configs, including Windows Clang builds. I'm
not sure what the history is (it is likely varied and almost certainly
involves a fair amount of cargo culting), but I think it is a bug that
we aren't collecting build metrics for every build. I would like to
fix this. And moving "generate-build-stats" immediately after "build"
should make that transition easier.

MozReview-Commit-ID: 7jNTVWRvMnh
2017-05-02 14:32:52 -07:00
Ben Hearsum fb5c4a030e bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - enable pgo, fix Linux treeherder symbols, use correct mozconfigs for Mac and Windows. r=rail
MozReview-Commit-ID: LQAzdw7paGf
2017-05-01 16:26:26 -04:00
Ben Hearsum 40c7ff6fc3 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - add linux devedition builds r=aki,kmoir
MozReview-Commit-ID: 9mghIaHomfs
2017-04-27 10:35:36 -04:00
Dustin J. Mitchell 7d80659b2d Bug 1355180: remove special-casing of stylo tests on try; r=dustin
MozReview-Commit-ID: 6sCTNptjIBH
2017-04-18 17:18:37 +00:00
Wes Kocher 579c011ba7 Bug 1357999 - Make CCov and JSDCov builds properly sortable in Treeherder r=dustin,jmaher
MozReview-Commit-ID: DLzdTO7Ttfj
2017-04-19 21:40:43 -07:00
Aki Sasaki 82ede80faa bug 1344321 - enable run-on-projects for nightlies. r=dustin a=release
This patch enables `run-on-projects` to work appropriately for
nightly builds and tests.  Initially, we were setting an empty
`run-on-projects` for nightly `build_platform`s, then explicitly
targeting the platforms in nightly-specific `target_task_method`s.

Instead, this patch enables nightlies to `run-on-projects` everywhere,
but governs the use of nightlies by either the `include_nightly`
parameter, or the `--include-nightly` try option.  This lets us filter
nightly-related `target_task_method`s against `run-on-projects` without
losing all nightly tasks.

Then, enable spidermonkey tests by removing optimization from beta and
release.  This patch also enables everything then disables specific
tasks, rather than disabling everything and enabling specific tasks.
Since we're beginning with a `filter_for_project` call, we should be
able to reduce these if blocks to zero over time, if desired.

MozReview-Commit-ID: A9tolynaChF
2017-03-14 15:31:58 -07:00
Kim Moir 68e58246f9 Bug 1339604 - stylo builds + tests should only run on limited branches to reduce budget impact r=dustin 2017-02-17 13:31:39 -05:00
Kartikaya Gupta d8af8c9735 Bug 1336479 - Add 32-bit linux QR builds. r=kmoir
MozReview-Commit-ID: 3zOp1fQFdxt
2017-02-08 15:02:45 -05:00
Kartikaya Gupta 00ab401e67 Bug 1335748 - Enable QR builds on linux64 on m-c and graphics. r=kmoir
MozReview-Commit-ID: EB6WjIiBARv
2017-02-06 11:42:54 -05:00
Kim Moir 57c9535760 Bug 1333155 - convert buildbot addon devel Linux64 builds to taskcluster r=mtabara 2017-01-31 10:55:44 -05:00
Mitchell Hentges 100c137cff Bug 1334402 - Don't use sccache in taskcluster builds r=gmierz,jmaher+560562
MozReview-Commit-ID: JDldupP7fZN
2017-01-27 00:21:32 -08:00
Kim Moir e6c00ffda9 Bug 1330666 - enable linux64-stylo builds r=kmoir 2017-01-24 16:30:45 -05:00
Kim Moir aae74e5e3e Bug 1330666 - enable linux64-stylo builds r=mtabara 2017-01-23 10:53:26 -05:00