Commit Graph
119 Commits
Author SHA1 Message Date
Gregory Szorc 279a3a881b Bug 1269355 - Insert blank line to appease the flake8 linting overlord; r=me
Fixes bustage from c1b55d39dd28.
2016-11-22 18:54:16 -08:00
Ted Mielczarek b61e8c8660 bug 1316329 - build from a symlink dir in generic-worker builds. r=pmoore,gps
MozReview-Commit-ID: EXp08oIquPF
2016-11-14 11:47:59 -05:00
Ted Mielczarek 45193dbc8f bug 1269355 - Enable sccache for taskcluster linux32/64 builds. r=dustin,gps
MozReview-Commit-ID: LGqpNDb7uHN
2016-11-10 13:02:54 -05:00
Carsten "Tomcat" Book fe2ded117c Merge mozilla-central to mozilla-inbound 2016-11-22 16:28:50 +01:00
HAMMAD AKHTAR 13ca375640 Bug 1311810: changing desktop-test-* to gecko-t*; r=dustin
MozReview-Commit-ID: WuXZWOsK5z
2016-11-21 20:55:48 +00:00
Wander Lairson Costa 14dde0a8a2 Bug 1316077 part 1: Support buildbot-bridge for talos tests. r=dustin
While we don't have physical machines running taskcluster-worker, we
want to schedule talos tests on Taskcluster and run them on buildbot.

buildbot-bridge acts as a worker that runs its tasks in buildbot
machines. Any talos task is redirected to buildbot-bridge.

MozReview-Commit-ID: Im9IhhT0Mr1
2016-11-18 16:52:15 -02:00
Julian Seward 420a84be6d Bug 1254964 - Enable manual taskcluster scheduling for valgrind-mochitest runs. [email protected]. 2016-11-22 11:25:01 +01:00
Gregory Szorc 901d1f3286 Bug 1318200 - TaskCluster CI for Stylo; r=dustin
This commit introduces support for performing build and test variations
with Stylo enabled.

From a high level, this is similar to the e10s/non-e10s variations that
we currently run. However, it is different in that Stylo is a build
time (not run time) flag. So, we need to perform separate builds for
Stylo.

In the current implementation of the task graph, we can either
introduce a new platform or a new build type/configuration. I've
chosen to introduce a new platform if nothing else so the Treeherder
results clearly separate Stylo from non-Stylo. This decision can be
revisited in the future once Stylo becomes more stable and visible
outside the "stylo" repository.

Stylo functionality is limited to layout functionality and Stylo
developers aren't very interested in many tests not related to layout
at the moment. So we introduce a new test set running a limited
functionality of tests in Stylo builds.

In the current state of this commit, Stylo builds will permafail.
This is because Stylo builds require a vendored copy of Servo. Logic
for pruning the task graph of Stylo/Servo related tasks will be
implemented in subsequent commits.

MozReview-Commit-ID: JivhkpXDjIw
2016-11-17 09:52:39 -08:00
Rob Thijssen 42b553dd5f Bug 1311966 - symlink rather than copy artifacts; r=pmoore
MozReview-Commit-ID: 5cFjuwtUgEr
2016-11-16 13:31:48 +00:00
Jonas Finnemann Jensen 2bae2cad08 Bug 1316183 - Compress docker images with zstd. r=dustin
* Compress docker images with zstd
 * Removed need for context.tar from decision task
 * Index images by level rather than project

MozReview-Commit-ID: 4RL4QXNWmpd
2016-11-07 11:26:27 -08:00
Wander Lairson Costa 128810b5c8 Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: 5ZaYYRueRVr
2016-11-08 12:11:15 -02:00
Sebastian Hengst 9bbe4e779f Backed out changeset 6228dfcfac3b (bug 1274980) 2016-11-07 17:57:04 +01:00
Sebastian Hengst 99d4638eba Backed out changeset c45f2ebe0e66 (bug 1274980) 2016-11-07 17:56:41 +01:00
Wander Lairson Costa b68547f0ba Bug 1274980 part 3: Fix flake8 errors. r=tomcat 2016-11-07 05:15:00 +01:00
Wander Lairson Costa fd6322d2df Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: CxT3BP3sydG
2016-11-07 09:20:50 -02:00
Jordan Lund 9b9318450f Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin
MozReview-Commit-ID: AviPKtw3BiY
2016-11-02 19:23:27 -07:00
Wes Kocher c92af64732 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Nathan Froyd 257905b3e1 Bug 1306650 - part 15 - update windows toolchain builds to use |hg robustcheckout|; r=pmoore
This change is needed after recent changes removed the shared hg checkout on C:.
2016-11-04 20:24:38 -04:00
Wes Kocher 31246681f9 Backed out changeset 36b1cce63e74 (bug 1314795) for lint failures a=backout CLOSED TREE 2016-11-03 17:04:16 -07:00
Jordan Lund 068597ee4b Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin
MozReview-Commit-ID: AviPKtw3BiY
2016-11-02 19:23:27 -07:00
Gregory Szorc 82411a1d06 Bug 1314807 - Change ownership of files in workspace; r=dustin
The other changesets for this bug worked on Try but failed on
autoland due to permissions failures in /home/worker/workspace.
Ensure the files have the proper permissions.

The path is a cache with the repo and build type keyed into it.
So there should be no problem with this change causing permissions
issues for other tasks.
2016-11-03 08:10:15 -07: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
Dustin J. Mitchell 59c1ff6c63 Bug 1313678: rename task description chainOfTrust to chain-of-trust; r=aki
Note that this does not affect task.extra.chainOfTrust, and thus has no impact
on the generated task JSON.

MozReview-Commit-ID: ERSVZlQUMpK
2016-10-28 14:36:09 +00:00
Phil Ringnalda cae49cab13 Merge m-i to m-c, a=merge
MozReview-Commit-ID: CysKZsvYf69
2016-10-26 18:40:50 -07:00
Brian Stack 6a75ec8b3f Bug 1304180 - Set taskcluster artifact expiration to 28 days on try r=dustin
MozReview-Commit-ID: ECXCs9EkOYI
2016-10-25 11:47:50 -07:00
Gregory Szorc d8c36bdacc Bug 1312475 - Add a version parameter to checkouts cache; r=dustin
ff5a4bab0813 (bug 1311791) and 332a08725ed0 (bug 1292071) changed
behavior of the VCS caches. First, the store cache / path was merged
into the checkouts cache. Then the path of the Mercurial shared store
was moved within the cache to always be rooted at the cache root.

Caches are shared across tasks. Tasks can execute on any revision
configured to use a cache. So, when interacting with caches, it is
important to consider how every revision configured to use that
cache will interact with it.

Take this scenario for example.

A worker executes a task where the hg shared store is rooted at
/home/worker/checkouts/src/hg-shared. Then the worker executes a
task where the hg shared store is rooted at
/home/worker/checkouts/hg-store. `hg robustcheckout` will see the
checkout from the first task. But then it sees that the store
it is pointing to is at an unexpected location
(checkouts/src/hg-shared instead of checkouts/hg-store). `hg
robustcheckout` aggressively normalizes state to ensure
consistency. So when it sees this mismatch, it blows away the
checkout and creates one from checkouts/hg-store to replace it.
That's a lot of overhead. And this cycle can repeat itself if
the right combination of revisions run on the worker!

A solution to this problem is to create a clean break from caches
when cache semantics change. In TaskCluster, that means using a
different cache.

This commit introduces a "version" component to the checkouts
cache name. By doing so, we create a clean break from all previous
caches, ensuring all revisions this point forward won't encounter
an hg shared store at an unexpected location. This also paves the
road for easily making additional clean breaks in the future.

MozReview-Commit-ID: JT8yuULKpch
2016-10-24 09:58:01 -07:00
Geoff Brown 012da2e315 Bug 1312552 - Better chunking support for TC Windows; r=grenade 2016-10-25 08:53:32 -06:00
Gregory Szorc ca434f80a4 Bug 1311791 - Explicitly declare path to shared hg store; r=dustin
332a08725ed0 changed the store path logic in a quick and crude manner.
The code could lead to multiple shared stores existing on a cache
if checkouts were in different parent directories.

This commit refactors the code to explicitly declare a path to the
shared hg store. This restores the behavior of ensuring there is only
a single shared store per cache.

MozReview-Commit-ID: 19Aa1QVrVQ8
2016-10-20 12:56:43 -07:00
Rob Thijssen 8da61db27b Bug 1280474 - enable tc win cpp; r=dustin
MozReview-Commit-ID: 36rmfGExOx8
2016-10-20 10:51:48 +01:00
Wes Kocher 0e898f33dd Backed out changeset d15798b73b9e (bug 1302763) for taskcluster build issues a=backout CLOSED TREE 2016-10-20 15:59:47 -07:00
CuriousLearner 54ec174129 Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
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
Gregory Szorc af5fb4af80 Bug 1292071 - Put Mercurial store on same cache as checkout; r=dustin
We were seeing issues with the Mercurial working directory not being
pristine. While I can't reproduce this, I have a hunch it is due to
mixing and matching stores and checkouts in TaskCluster. For example,
if a worker supports running concurrent tasks and 2 tasks arrive at
the same time, the caches for the store and checkout may look like:

  (store0, checkout0)
  (store1, checkout1)

However, the next task may get:

  (store1, checkout0)

This may confuse Mercurial.

This commit eliminates the "hg-shared" cache and places the shared
stores as a sibling directory of the checkout.

MozReview-Commit-ID: 8SzyS6wWf9C
2016-10-18 09:46:55 -07:00
Joel Maher 31983c2150 Bug 1311442 - remove /home/worker/workspace cache from marionette-harness jobs. r=garndt
MozReview-Commit-ID: 2ptRmk9kWtc
2016-10-19 13:00:10 -04:00
Rob Thijssen ddadada566 Bug 1305485 - use robustcheckout with ephemeral storage (tc windows); r=gps
MozReview-Commit-ID: 1jatmsVJsDM
2016-10-12 16:06:17 +01:00
Nathan Froyd 4f6e216694 Bug 1306650 - part 2 - add windows toolchain build transform; r=dustin
We need an toolchain-script runner for generic-worker worker types.
2016-10-26 16:18:24 -04:00
Nathan Froyd 7467132ef7 Bug 1309337 - add schemas for in-tree generic-worker tasks for mounting directories; r=pmoore 2016-10-26 16:18:24 -04:00
Nick Fitzgerald 2a1f07b50c Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
Aki Sasaki ca7bfd15d0 bug 1309293 - fix flake8. r=bustage 2016-10-12 14:21:22 -07:00
Aki Sasaki facecddb4b bug 1309293 - task.extra.chainOfTrust.inputs for build tasks. r=dustin 2016-10-12 14:01:24 -07:00
Justin Wood e9d11c6ed8 Bug 1308950 - L10n in taskcluster is broken due to run-task landing. r=dustin
MozReview-Commit-ID: FKNYqhNoevP
2016-10-10 15:01:28 -04:00
Geoff Brown 614b2c2f67 Bug 1280570 - Retrigger tc tasks when mozharness returns TBPL_RETRY; r=dustin 2016-10-07 10:20:15 -06:00
Carsten "Tomcat" Book 4b9350d45c merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Aki Sasaki 01828de0a0 bug 1298553 - enable cot in docker-image and docker-worker build tasks. r=dustin
MozReview-Commit-ID: JEZ1Q0FgjEY
2016-10-04 14:04:21 -07:00
Justin Wood 841a2bce27 Bug 1306598 - update l10n kind to not hardcode 'try' in options. r=dustin
MozReview-Commit-ID: Hmj51RZSkf6
2016-09-29 14:59:49 -04: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
Gregory Szorc 0898ee76b9 Bug 1289249 - Use run-task for mozharness jobs on docker-worker; r=dustin
This transform appears to always be executed on desktop-build.
build.sh always calls checkout-sources.sh and checkout-sources.sh
always performs a Gecko checkout. It /may/ perform a build/tools
checkout unless an environment variable is set.

Now that desktop-build is ready to use run-task, we switch this
transform to run-task. A gecko and tools checkout is *always*
performed. There is room to make the tools checkout optional.
But it completes nearly instantly. So I'm inclined to do this
as a follow-up enhancement, if needed.

Ideally, the checkout would be on a cache so subsequent tasks on
the worker only need to perform a purge+update as opposed to a
full checkout. However, many tasks make assumptions about the
VCS behavior and modifying the checkout path is a non-trivial
amount of work. This can be deferred to a follow-up bug.

MozReview-Commit-ID: 5Auerl4OL9x
2016-09-29 16:51:15 -07:00
Gregory Szorc 75ff38bebe Bug 1289249 - Use run-task in spidermonkey tasks; r=dustin
This is a pretty straightforward port.

MozReview-Commit-ID: HaQ6EyrdoKT
2016-09-28 23:36:26 -07:00
Gregory Szorc 82f9419bdd Bug 1289249 - Use vendored tooltool.py in SpiderMonkey tasks; r=dustin
Previously, SpiderMonkey tasks were using tc-vcs to clone the tooltool
repository so they could have access to tooltool.py. tooltool.py is
already in the execution environment courtesy of being part of the
source checkout. So use it from there.

One less dependency on a 3rd party service at run-time. One less
point for a MITM attack against our automation.

MozReview-Commit-ID: JmavaBG4vii
2016-09-29 18:13:36 -07:00
Rob Thijssen 05a6c75962 Bug 1304998 - enable tc win pgo; r=dustin
MozReview-Commit-ID: 8X9aj19Kp13
2016-09-29 07:49:30 +01:00