Commit Graph
192 Commits
Author SHA1 Message Date
Chris Manchester d178307738 Bug 1386782 - Add toolchain tasks to build gn in automation. r=ted
MozReview-Commit-ID: 7dDwsQJnzRL
2017-07-25 15:33:44 -07: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
Gregory Szorc 13fbc64bc2 Bug 1391476 - Don't install nexus.xml in a Docker volume; r=mshal
We're about to ban files in Docker volumes so they behave almost
identically to caches (which start empty).

We move the install of nexus.xml from Docker image time to
task time. This also means that changes to nexus.xml don't result
in having to rebuild the Docker image.

MozReview-Commit-ID: JIjeJN4mt2
2017-08-23 10:34:14 -07:00
Rok Garbas 9d7ac6a8ed Bug 1284475 - migrate ToolTool blueprint to new codebase of relengapi r=KWierso
UPGRADE_NSS_RELEASE a=kaie
MozReview-Commit-ID: 7CB1VYb8OJP
2017-08-08 10:55:52 +02:00
Mike Hommey bab8b07397 Bug 1391533 - Update sccache to 0.2.1. r=ted 2017-08-19 06:48:01 +09:00
Ted Mielczarek 8c5a1716fa bug 1385386 - update sccache to revision 210bc791513ed8362b17a492a1f35a621cca64ff. r=glandium
This picks up a fix we need to update the OS X SDK we build with.

MozReview-Commit-ID: 8dvq4JV1o7q
2017-08-16 11:19:35 -07:00
Gregory Szorc 6e5b339435 Bug 1389715 - Remove legacy Ubuntu 12.04 desktop-test image; r=jmaher
AFAICT there are no more in-tree references to this image. That
should mean we can nuke it. So do that.

MozReview-Commit-ID: 9LUGjt46ZCi
2017-08-14 16:04:18 -07:00
Nick Alexander 9128ef6ae1 Bug 1383973 - Introduce single build script for run: using: mozharness. r=dustin
The old process ran "before" and "after" steps as root.  The
mozharness script doesn't run as root, which required some small
changes to not run Sonatype Nexus as root.  Everything else is a
straight-forward move of the scripts out of the `android-gradle-build`
image and into `taskcluster/scripts`.

MozReview-Commit-ID: CqnNI33OKmb
2017-08-02 16:41:15 -07:00
Mike Hommey d3f9a99ee3 Backout changeset 25420b520b68 (part of bug 1386588) for asan bustage. a=bustage. 2017-08-03 12:11:40 +09:00
Mike Hommey 9a620197fa Bug 1386588 - Add a toolchain job for Clang 4. r=gps 2017-08-03 08:13:07 +09:00
Mike Hommey 709316595d Bug 1386588 - Add a toolchain job for GCC 6. r=gps 2017-08-03 08:13:02 +09:00
Mike Hommey d656cb623e Bug 1386588 - Add a toolchain job for GCC 4.8, and build clang against it. r=gps
While this looks like going backwards, it is desirable to build clang
against GCC 4.8, such that it contains its libgcc. This, in turn, will
solve problems using clang 3.9 with static-analysis builds (details in
bug 1356926). Another way to fix those problems would be to build clang
3.8 but that too would require GCC 4.8. Upgrading those builds to clang
3.9 will also allow to enable stylo on them.
2017-08-03 08:12:52 +09:00
Mike Hommey 4ee77ba26c Bug 1386588 - Change the GCC build script to be future-proof. r=gps
It becomes a library of some sort, so that multiple scripts can benefit
from it to build different versions of GCC.

The GPG key associated with GCC is also refreshed from keys.gnupg.net,
adding a new subkey, used to sign newer versions of GCC (and
postprocessed with pgpstrip to make it smaller).
2017-08-03 08:12:47 +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 e14ea56140 Bug 1386588 - Rename the clang build manifests. r=gps
The clang toolchains have not been static-analysis-specific for a while.
2017-08-03 08:12:29 +09:00
Nick Alexander 70b7340f0a Bug 1376306 - Bootstrap and upload java_home.tar.xz; bump Java to 1.8. r=dustin,sebastian
MozReview-Commit-ID: 3EOsrOp924f
2017-07-25 20:43:14 -07:00
Ralph Giles 1d7030c926 Bug 1384258 - Ease the hazard tolerance for stylo. r=xidorn
Allow an extra heap write hazard introduced by enabling stylo
in default builds until it can be addressed. See bug 1384625.

MozReview-Commit-ID: 2N3z6FVHa0G
2017-07-26 13:04:57 -07:00
Mike Hommey b828c6ac72 Bug 1384744 - Allow toolchain tasks not to have a tooltool manifest at all. r=gps
With the support added in bug 1382564, toolchains can be downloaded
without a tooltool manifest at all, and it's desirable to get rid of
tooltool manifests on jobs that don't need one.
2017-07-27 07:56:14 +09:00
Mike Hommey bfb16a3cfe Bug 1384436 - Update sccache to version 0.2.0. r=ted 2017-07-26 15:56:56 +09:00
Mike Hommey 5937b178ee Bug 1381772 - Add taskcluster jobs to build sccache for automation. r=ted
The MinGit tooltool package used for Windows builds comes straight from
https://github.com/git-for-windows/git/releases/

This builds the version currently used on automation.
2017-07-14 11:07:40 +09:00
Mike Hommey a41204467f Bug 1383996 - Make most calls to mach artifact toolchain output a manifest. r=gps
And upload it as artifact.
2017-07-20 17:56:22 +09:00
Cameron McCormack 5beeab7932 Bug 1382964 - Part 5: Restore allowed heap write hazards to 3. r=xidorn
MozReview-Commit-ID: LEJh0Gi2ltf
2017-07-21 16:44:23 +08:00
Mike Hommey daaefe8df9 Bug 1382860 - Use docker_worker_add_public_artifacts for toolchain docker-worker jobs. r=dustin
This affects the location of the artifacts directory, so adjust the
scripts and artifact definitions as a consequence.
2017-07-21 07:30:14 +09:00
Mike Hommey 3e2fbffd22 Bug 1382564 - Use the information from bug 1374940 with mach artifact toolchain. r=gps
Bug 1374940 adds 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.

We want to use that to pull artifacts instead of tooltool packages.
2017-06-21 15:18:33 +09:00
Jeremy Chen f6b0707c7e Bug 1382956 - ease the hazard tolerance number for Bug 1380133. r=jeremychen
This is a quick work around for not blocking the progress of Bug 1380133.
We should definely investigate the real root cause sooner than later.

MozReview-Commit-ID: 8X1FH6f2GyN
2017-07-21 16:04:30 +08:00
Sebastian Hengst 11418adb03 Backed out changeset 498c1859cee1 (bug 1382956) for containing unrelated changes. r=backout on request from jeremychen 2017-07-21 10:16:49 +02:00
Jeremy Chen 0d1cf47d68 Bug 1382956 - ease the hazard tolerance number for Bug 1380133. r=jeremychen
This is a quick work around for not blocking the progress of Bug 1380133.
We should definely investigate the real root cause sooner than later.

MozReview-Commit-ID: 8X1FH6f2GyN
2017-07-21 16:07:50 +08:00
Gregory Szorc 6346b71471 Bug 1377216 - Unset MOZ_AUTOMATION when building SpiderMonkey from package; r=glandium
We're about to make MOZ_AUTOMATION more strict about things like having
a source checkout.

The whole point of build-sm-package.sh is to verify that SpiderMonkey
can be built outside of Mozilla's source repo and automation from a
standalone package. Since the presence of MOZ_AUTOMATION can influence
so much behavior in the build system, unset it so that the job
tests a !Mozilla environment more accurately.

MozReview-Commit-ID: EMfyLKfY0uU
2017-07-18 17:39:27 -07:00
Ryan VanderMeulen a97112e33f Backed out 6 changesets (bug 1377216) for SM(pkg) bustage on a CLOSED TREE.
Backed out changeset b5701f3ce506 (bug 1377216)
Backed out changeset 1f37aebe0f43 (bug 1377216)
Backed out changeset c8931588f674 (bug 1377216)
Backed out changeset ded5328ba74c (bug 1377216)
Backed out changeset 6cb234539746 (bug 1377216)
Backed out changeset ce836965fd58 (bug 1377216)
2017-07-19 22:14:03 -04:00
Gregory Szorc ff3d3d8547 Bug 1377216 - Unset MOZ_AUTOMATION when building SpiderMonkey from package; r=glandium
We're about to make MOZ_AUTOMATION more strict about things like having
a source checkout.

The whole point of build-sm-package.sh is to verify that SpiderMonkey
can be built outside of Mozilla's source repo and automation from a
standalone package. Since the presence of MOZ_AUTOMATION can influence
so much behavior in the build system, unset it so that the job
tests a !Mozilla environment more accurately.

MozReview-Commit-ID: EMfyLKfY0uU
2017-07-18 17:39:27 -07:00
Mike Hommey 4e4fddccc4 Bug 1381770 - In tooltool-download.sh, automatically setup the relengapi authentication file. r=mshal 2017-07-18 16:13:26 +09:00
Mike Hommey 32193cedb0 Bug 1381770 - In tooltool-download.sh, only use the relengapi proxy when it's configured. r=mshal 2017-07-18 16:12:58 +09:00
Mike Hommey e28de2946c Bug 1381770 - Enable multiple download retries in tooltool-download.sh. r=mshal
The scripts that use tooltool-download.sh don't run regularly, but when
they do, they might hit some download problems (the relengapi proxy
tends to be rather unreliable for some reason), and in that case, it
would be better to retry a few times, like other job types, rather than
fail directly.
2017-07-18 14:51:04 +09:00
Mike Hommey d9682ba406 Bug 1381770 - Use $WORKSPACE instead of $HOME/workspace in tooltool-download.sh. r=mshal
All the current users of tooltool-download.sh set $WORKSPACE. This will
allow to reuse the script on different types of workers, that don't have
$WORKSPACE set to $HOME/workspace, but still have the source in
$WORKSPACE/build/src.
2017-07-18 14:49:05 +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
Manish Goregaokar 5e9838b6e3 Bug 1370734 - Fix hazards ; r=bustage
MozReview-Commit-ID: 1H4VwQ3Jdg6
2017-06-08 08:25:10 -07:00
Wes Kocher 6933057ee2 Bug 1370734 - Temporarily increase the number of allowed write hazards until issues can be sorted out a=me
MozReview-Commit-ID: EmfQim9kpIw
2017-06-07 17:53:50 -07:00
Mike Hommey dbb90186c0 Bug 1356952 - Move tooltool manifests defined in toolchain build scripts to taskcluster job definitions. r=mshal
The toolchain build scripts are currently defining the tooltool
manifest they use on their own. We move the definitions to the
taskcluster job definitions to normalize on everything using that.
2017-06-06 16:33:36 +09:00
Mike Hommey efa0ed2395 Bug 1356952 - Use environment variable to define tooltool manifest in spidermonkey builds. r=mshal
Like hazard jobs.
2017-06-06 16:55:28 +09: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 7d28831859 Bug 1357753: create (correct) artifact directories with native-engine; r=wcosta
The mozharness_test job was using the wrong artifact path for native-engine.
Native-engine also enforces that artifact directories exist, so include some
mkdir calls to keep it happy.

MozReview-Commit-ID: Evw34gzzLev
2017-05-12 19:24:24 +00:00
Dustin J. Mitchell af4ef3ee08 Bug 1357753: optionally run linux Talos on native-engine; r=wcosta
This makes talos obey the `-w` try syntax flag.

MozReview-Commit-ID: 2v6X3ko2t9K
2017-05-10 21:12:02 +00:00
Dustin J. Mitchell 18cec45027 Bug 1357753: rename test-ubuntu.sh to test-linux.sh; r=wcosta
It was previously renamed in the Dockerfile, and that's unnecssarily confusing
when looking for the file in hg.

MozReview-Commit-ID: 7bwD4cjk4Pj
2017-04-26 21:36:45 +00:00
Mike Hommey b964f25405 Bug 1356140 - Enable tooltool cache on jobs that define one but don't use it. r=chmanchester 2017-04-13 16:26:33 +09:00
Mike Hommey db0a94f438 Bug 1356683 - Use new tooltool wrapper in Linux and OSX clang toolchain builds. r=chmanchester 2017-04-12 17:59:21 +09:00
Mike Hommey 994e910e80 Bug 1356683 - Use new tooltool wrapper in Windows clang toolchain builds. r=chmanchester 2017-04-12 17:55:56 +09:00
Mike Hommey 80da25fe04 Bug 1356683 - Use new tooltool wrapper in Linux Spidermonkey builds. r=chmanchester 2017-04-12 17:52:25 +09:00
Mike Hommey 3dffd334f7 Bug 1356683 - Use new tooltool wrapper in Linux hazard builds. r=chmanchester 2017-04-12 17:51:01 +09:00
Wes Kocher a05bc5e206 Bug 1362599 - Bump number of allowed hazards until it can be sorted out a=bustage
MozReview-Commit-ID: LmGmsNWBaDC
2017-05-05 16:20:05 -07:00