Commit Graph
173 Commits
Author SHA1 Message Date
Alin Selagea e7edb19c44 Backed out a938d79a7ef8 due to stylo-disabled tests not starting, a=backout 2017-10-03 14:38:18 +03:00
Alin Selagea 0f8e5cef93 Bug 1397829 - fix variant name for 'stylo-disabled', r=aobreja 2017-10-03 12:43:00 +03:00
Alin Selagea 034d7820fc Bug 1397829 - Fix bb buildernames for 'stylo-disabled' tests, r=kmoir 2017-10-02 16:32:21 +03:00
Ralph Giles 39d118d03b Bug 1391427 - Add script 'arguments' key to toolchain tasks. r=glandium
Add an optional 'arguments' key to the yaml description for toolchain
tasks. This is a list of strings to be passed to the script invocation.

This lets us set behaviour, e.g. selecting the version to build or
selecting targets from the task description instead of having to
hard-code those things in the build script itself. Where the same
script otherwise works for multiple configurations, that is easier
to update and simplifies supporting variants.

MozReview-Commit-ID: 30oJYnQaZ7A
2017-09-12 16:06:15 -07:00
Ralph Giles 104e663cd6 Bug 1391427 - Execute python toolchain scripts with mach. r=glandium
Run scripts with a `.py` filename extension through `./mach python`
so the normal enviroment with in-tree python libraries is available.

This is helpful for the Rust upstream release download and repackaging
steps, which are more easily expressed in python than in an sh-based
build script like we use for clang and other tools.

Invocation of `mach python` on Windows-hosted generic workers fails
because of some missing environment pieces. For the purposes of this
bug we can just run the script for Windows targets in a docker-worker
so Python support was left unimplemented for generic workers.

MozReview-Commit-ID: 4XUQ1XrVBc2
2017-09-12 16:01:26 -07:00
Wes Kocher 6952cfe436 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Alin Selagea 63c27e4619 Bug 1397829 - add buildernames for stylo-disabled tests which run on hardware, win7 and win10, r=jmaher 2017-09-26 14:19:48 +03:00
Justin Wood c7708e135d Bug 1402457 - Actually schedule periodic file updates. r=dustin
MozReview-Commit-ID: BJsNs86kNJu
2017-09-25 14:14:59 -04:00
Justin Wood 51d92af27f Bug 1402457 - Add periodic file update task, but don't run it yet. r=dustin
MozReview-Commit-ID: GD7qRLxwDn5
2017-09-22 14:25:28 -04:00
Gregory Szorc 3733bf6095 Bug 1401725 - Use sparse checkouts for toolchain tasks; r=glandium
Strictly speaking we don't need all files in the directories listed
in the profile. But the checkout is still small enough and it is far
less effort than cherry-picking every file needed by every toolchain
task.

This brings the checkout down to ~3700 files, which only takes 1-2s.

MozReview-Commit-ID: 2BpKdZ2Pvx9
2017-09-21 07:30:49 -07:00
Dustin J. Mitchell 19cecfbbba Bug 1383880: allow only one optimization per task; r=ahal,glandium
It is not at *all* clear how multiple optimizations for a single task should
interact. No simple logical operation is right in all cases, and in fact in
most imaginable cases the desired behavior turns out to be independent of all
but one of the optimizations. For example, given both `seta` and
`skip-unless-files-changed` optimizations, if SETA says to skip a test, it is
low value and should be skipped regardless of what files have changed. But if
SETA says to run a test, then it has likely been skipped in previous pushes, so
it should be run regardless of what has changed in this push.

This also adds a bit more output about optimization, that may be useful for
anyone wondering why a particular job didn't run.

MozReview-Commit-ID: 3OsvRnWjai4
2017-08-01 20:02:59 +00:00
Gregory Szorc fadaa6a1f9 Backed out changeset af6c2544903e (bug 1401725) for uncovering a taskgraph bug 2017-09-21 07:43:49 -07:00
Gregory Szorc 148b82d1e4 Bug 1401725 - Use sparse checkouts for toolchain tasks; r=glandium
Strictly speaking we don't need all files in the directories listed
in the profile. But the checkout is still small enough and it is far
less effort than cherry-picking every file needed by every toolchain
task.

This brings the checkout down to ~3700 files, which only takes 1-2s.

MozReview-Commit-ID: 2BpKdZ2Pvx9
2017-09-21 07:30:49 -07:00
Phil Ringnalda b76b48b887 Backed out 12 changesets (bug 1383880) for decision task bustage
CLOSED TREE

Backed out changeset fd3615e7e0a3 (bug 1383880)
Backed out changeset 8cceb6a82bfb (bug 1383880)
Backed out changeset 571a6c9054a5 (bug 1383880)
Backed out changeset ec2b8ba5a949 (bug 1383880)
Backed out changeset 8e5847d9acda (bug 1383880)
Backed out changeset b354fdf6e233 (bug 1383880)
Backed out changeset ebdd6ccbcfca (bug 1383880)
Backed out changeset ebcc9d20981a (bug 1383880)
Backed out changeset 97eedc84d6e8 (bug 1383880)
Backed out changeset a3116da52b4e (bug 1383880)
Backed out changeset b3eb0c939720 (bug 1383880)
Backed out changeset 7c07cb798530 (bug 1383880)

MozReview-Commit-ID: EPDuQHr7w2y
2017-09-20 19:57:39 -07:00
Dustin J. Mitchell 8f421b7a25 Bug 1383880: allow only one optimization per task; r=ahal,glandium
It is not at *all* clear how multiple optimizations for a single task should
interact. No simple logical operation is right in all cases, and in fact in
most imaginable cases the desired behavior turns out to be independent of all
but one of the optimizations. For example, given both `seta` and
`skip-unless-files-changed` optimizations, if SETA says to skip a test, it is
low value and should be skipped regardless of what files have changed. But if
SETA says to run a test, then it has likely been skipped in previous pushes, so
it should be run regardless of what has changed in this push.

This also adds a bit more output about optimization, that may be useful for
anyone wondering why a particular job didn't run.

MozReview-Commit-ID: 3OsvRnWjai4
2017-08-01 20:02:59 +00:00
Nick Alexander 65ad8c7736 Bug 1396098 - part 0b - rename android-gradle-build to android-build; r=glandium,dustin
The name `android-gradle-build` is an accident of history; let's rename it
before we attempt major surgery on it.
2017-09-18 15:38:22 -04: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
Joel Maher 918b06ca66 Bug 1390858 - run mochitest-gpu and mochitest-chrome and mochitest-clipboard on windows 10. r=ahal 2017-09-07 10:23:48 -04:00
Andrew Halberstadt ada64d6ce5 Bug 1395717 - Use filename source-test tasks are defined in as part of their label, r=dustin
This creates a new "job-from" field that contains the relative filename the job was defined
in. The filename is relative to 'config.path'. If the task came from the 'jobs' key defined
in kind.yml, this field will be set to 'kind.yml'.

MozReview-Commit-ID: 9e1tEb6XuZT
2017-08-31 16:38:08 -04:00
Sebastian Hengst 86ee221870 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 23:58:08 +02:00
Nick Fitzgerald 6af810fd84 Bug 1277338 - Part 10: Add the SM-tc(rust) taskcluster task; r=sfink
This adds a new SpiderMonkey taskcluster test task that builds and tests the
js/rust crate.
2017-09-05 09:26:21 -07:00
J. Ryan Stinnett 01b2168ab5 Bug 1330412 - Convert Stylo jobs to Stylo disabled. r=jmaher
Convert all jobs that were exercising Stylo enabled to Stylo disabled instead.

Stylo enabled is now handled by the default jobs.

In Perfherder, Stylo enabled jobs will be untagged and take over the existing
Gecko series.  Stylo disabled jobs will have a new `stylo-disabled` tag and
create a new series.

MozReview-Commit-ID: BMXBRg3A95j
2017-08-31 11:18:46 -05:00
Ryan VanderMeulen c41dc43ff0 Backed out 9 changesets (bug 1383880) for decision task bustage.
Backed out changeset 53f5d47a7cb0 (bug 1383880)
Backed out changeset a0abda41172a (bug 1383880)
Backed out changeset 729a7e2091e8 (bug 1383880)
Backed out changeset a33f5a14a471 (bug 1383880)
Backed out changeset 5b10d321cfee (bug 1383880)
Backed out changeset 8056488d8aed (bug 1383880)
Backed out changeset e62c90e3c1e8 (bug 1383880)
Backed out changeset 91f116ce6c2a (bug 1383880)
Backed out changeset 045498bc36c4 (bug 1383880)
2017-09-01 15:37:08 -04:00
Dustin J. Mitchell 18da9b3836 Bug 1383880: allow only one optimization per task; r=ahal
It is not at *all* clear how multiple optimizations for a single task should
interact. No simple logical operation is right in all cases, and in fact in
most imaginable cases the desired behavior turns out to be independent of all
but one of the optimizations. For example, given both `seta` and
`skip-unless-files-changed` optimizations, if SETA says to skip a test, it is
low value and should be skipped regardless of what files have changed. But if
SETA says to run a test, then it has likely been skipped in previous pushes, so
it should be run regardless of what has changed in this push.

This also adds a bit more output about optimization, that may be useful for
anyone wondering why a particular job didn't run.

MozReview-Commit-ID: 3OsvRnWjai4
2017-08-01 20:02:59 +00:00
Brian Stack 5cbbcfb49d Bug 1394026 - Tag tasks with os and worker implementation. r=dustin
MozReview-Commit-ID: GWNiq6a3hlZ
2017-08-25 15:30:34 -07:00
Johan Lorenzo 9d82d58d34 Bug 1384482 - Rename android-api-15 into android-api-16 r=mtabara
MozReview-Commit-ID: 4j66pTZEJzq
2017-08-09 16:18:15 +02: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 a7ff09d251 Bug 1390700 - Support sparse checkouts in run-task; r=dustin
`run-task` is taught a --sparse-profile argument to be passed down
to `hg robustcheckout` for the main source checkout. It does what
you expect: performs a sparse checkout using the named profile.

The Taskgraph YAML for run-task is taught a "sparse-profile"
property to define the sparse profile. When defined, --sparse-profile
will be passed down to `run-task` and the cache name will be updated
to reflect the use of sparse checkout.

Our cache checking transform is updated to audit for the use of
--sparse-profile without the corresponding "-sparse" cache name
variation.

The reason we need a distinct cache name for sparse is because
clients that aren't sparse aware will be unable to read checkouts
that are sparse. By forcing sparse and non-sparse into different
cache pools, we avoid compatibility issues.

In the ideal world, we probably support sparse profiles on all the
VCS checkouts that `run-task` supports (e.g. --tools-checkout).
Perfect is the enemy of done. All of this is defined in-tree and
it is easy enough to change atomically.

MozReview-Commit-ID: 79k7Vul0hHO
2017-08-23 18:54:14 -07:00
Mike Hommey 39382419e1 Bug 1391744 - Make tooltool manifests influence the index path for toolchain jobs. r=dustin 2017-08-23 14:53:56 +09:00
Gregory Szorc 5e32e83855 Bug 1391476 - Automatically set cache/volume permissions in run-task; r=dustin
run-task's --chown and --chown-recursive are only used on volumes and
caches - the only locations that aren't controlled by the Docker image
itself and thus whose permissions could be "undefined."

Previous commits have taught run-task about the locations of all caches
and volumes. Therefore, we no longer need to manually define paths to
chown. Instead, we can chown as a side-effect of the path being a
cache or a volume.

So, this commit changes run-task to chown caches and volumes
automatically. Since we no longer have a use for --chown and
--chown-recursive, those arguments are removed.

There /could/ be some paths that are caches or volumes but aren't
getting defined as such in Taskgraph. I consider this a bug in
Taskgraph and the recourse is to properly define a path as a cache or
a volume there.

MozReview-Commit-ID: 1yqrhjil6gy
2017-08-23 12:07:18 -07:00
Gregory Szorc c122832581 Bug 1391476 - Track whether caches should be used in untrusted environments; r=dustin
Previously, we conditionally added caches to a task if the current
parameters warranted it.

In order to audit that all caches fulfill basic requirements, we need
to have unconditional knowledge of all caches.

This commit introduces an optional key on each cache entry stating
whether it should be skipped in "untrusted" environments. When we
convert a task definition to a worker payload, we filter out these
caches if necessary.

This change uncovered an inconsistency with filtering caches. In
one location we filtered on the source repo name. In others, we
filtered on the SCM level.

Setting the caches in the spidermonkey kind also changed slightly
to ensure we're not overwriting existing caches. I don't think this
has any behavior changes. But the new method is more correct.

MozReview-Commit-ID: 1crpdWHqQ68
2017-08-22 15:06:40 -07:00
Gregory Szorc f3e600696e Bug 1391476 - Don't use ~ in paths; r=dustin
~ in paths is mostly a shell-ism. Let's not use it.

The real reason for this is it interfes with upcoming commits that
audit cache and volume paths.

MozReview-Commit-ID: AhjMwg5gexx
2017-08-21 17:11:49 -07:00
Gregory Szorc f798a78f67 Bug 1391476 - Inline list append; r=dustin
Static analysis in my editor was complaining about the old pattern.
Why not fix it while I'm here.

MozReview-Commit-ID: HtrGenolNXb
2017-08-21 10:55:10 -07:00
Gregory Szorc a09344b44c Bug 1391789 - Set relengapi-proxy on correct object; r=bustage
This corrects a bug introduced in 265873cf1388.

MozReview-Commit-ID: LkZlTVAM17E
2017-08-21 10:30:42 -07:00
Gregory Szorc 1db4880f89 Bug 1391789 - Stop versioning version control cache; r=dustin
We added this versioning as a mechanism to create clean breaks when
version control mechanisms change in significant ways. Now that
run-task's content influences cache names and this cache name
pattern must be used with run-task, we no longer need this
versioning and can rely on run-task's content and cache requirements
to switch to new caches.

MozReview-Commit-ID: KJ7IF7UzDsg
2017-08-18 17:05:26 -07:00
Gregory Szorc 02ead359ab Bug 1391789 - Validate certain caches are used with run-task; r=dustin
run-task just grew features to aid with cache validation.
Attempts by run-task to use caches not under its control will fail.

So, we add a transform that audits for and ensures that certain
caches are only being used with run-task. This will help catch
stragglers attempting to use e.g. the legacy VCS checkouts or
tooltool caches without run-task. Fortunately, there are no
violations for this policy. Yay!

MozReview-Commit-ID: LBCmDUdgcuM
2017-08-18 15:30:32 -07:00
Gregory Szorc 90bc333dde Bug 1391789 - Make tooltool cache level dependent; r=dustin
Caches shared across levels scare me, even if readers are purported to
perform content verification. We shouldn't take any risks with released
Firefox builds being contaminated by e.g. Try tasks.

Also, the old cache name interferes with my desire to make cache
names dynamic. This requires dynamic scopes. We already have
have level-{{level}}-* scopes for caches. So having all caches
prefixed with this makes things flexible.

MozReview-Commit-ID: LsrcxIYoEh1
2017-08-18 16:15:44 -07:00
Gregory Szorc 5be5579a6a Bug 1391789 - Consolidate tooltool modifications to shared function; r=dustin
This pattern is repeated a number of times. Let's consolidate it.

A few places set relengapi-proxy=False. AFAICT this was a no-op because
the default value in the worker schema is False. So, these assignments
were dropped.

MozReview-Commit-ID: EoNPBhaMT2J
2017-08-18 16:06:19 -07:00
Ryan VanderMeulen 6d43cb38ae Backed out changeset 314ffe5d7d40 (bug 1385055) for decision task bustage. 2017-08-20 21:59:03 -04:00
Tom Prince 655eb0161c Bug 1385055 - Add taskgraph support for checking out comm-central and related branches. r=dustin
MozReview-Commit-ID: 1eU567Cuc8a
2017-07-27 12:39:08 -06:00
Justin Wood fc991d301f Bug 1387199 - Do spidermonkey windows in taskgraph. r=dustin
Set these as tier 3 right now, because there are frequent intermittent test failures.

MozReview-Commit-ID: Gs6AXLKaVrF
2017-08-16 15:27:30 -04:00
Kartikaya Gupta 9fd9300610 Bug 1383149 - Run the talos suite (minus g1 and g2) on linux64-qr/opt, on m-c and try. r=dustin
MozReview-Commit-ID: 94ZcluR2xET
2017-08-14 16:51:26 -04:00
Nick Alexander 66902e9e6d Bug 1383973 - Allow docker-image: that is not 'desktop-build'. r=dustin
There's little value in a more complicated process for setting the
underlying Docker image for a `run: using: mozharness` job.

This uncovered a typo (extraneous comma) in a Mac OS X repackage job.

MozReview-Commit-ID: DGOs1NvuS32
2017-08-01 18:00:26 -07:00
Dustin J. Mitchell 34258f751c Bug 1382729: allow uploading docs at all levels; r=gps
The upload now uses MOZ_SCM_LEVEL to determine which secret and bucket to
upload to, so it can potentially run at any level.

This also modifies task descriptions to allow {level} in scopes, and updates
try syntax to allow `-j doc-upload` even though run-on-tasks says it doesn't
run on try by default.

MozReview-Commit-ID: Dm27TGPa7IM
2017-08-08 19:13:05 +00:00
Justin Wood af5d319478 Bug 1387532 - Enforce that we don't schedule multiple chunks for the same test without passing buildbot the required chunking information. r=catlee
The issue here is that we had marked 'chunked' as false, but were still trying to use 8 chunks for reftest. Because of this we were also sending the unchunked buildbot name to BBB for each chunk we actually tried to run, on e10s and other variants.

MozReview-Commit-ID: Dc5npIq5sxr
2017-08-04 13:59:14 -04:00
Mike Hommey b32d7f19c1 Bug 1386519 - Make the index path for toolchain jobs vary depending on dependencies. r=dustin
The premise for simply using the dependencies task names is that if the
name of dependencies changes, or their number, that will impact the
index path, forcing a new build. If there is no such change, but one or
several of the dependencies themselves have changes, they will get a new
build, which will force a new build for the job that depends on them.

In that latter case, the index path will be the same as before the
changes, but that is already what's happening today.
2017-08-03 08:12:16 +09:00
Mike Hommey d8ebd11158 Bug 1385744 - Stop using a cache for the llvm source. r=gps
The build-clang script doesn't handle properly updating the svn tree
when it already exists and the svn url changed (which happens when using
different branches), so if a clang job somehow gets a host that happen
to have run another clang job before, it may not actually build what
was intended to be built.

That event, however, is rather rare, because clang jobs don't happen
regularly enough. Fast iterations on try can cause the problem to
appear, though.

The former makes the use of a cache kind of useless, and the latter
barely benefits from the cache anyways. So let's just solve this the
easy way and remove the use of the cache. The alternative would be to
fiddle with svn switch, and I don't really feel like it.

Eventually, those jobs should use some other source than svn anyways,
one that is more verifiable (tarballs for releases, and the git mirrors
for trunk).
2017-08-03 08:12:03 +09:00
Mike Hommey 35f3fd9ad6 Bug 1386149 - Allow build jobs to use toolchain aliases instead of toolchain job names. r=dustin
It is desirable for e.g. smooth toolchain transitions, to be able to
refer them with generic name from toolchain jobs, while they have more
specific names, including version numbers. For example, in a near
future, there could be a linux64-gcc-4.9 toolchain and a linux64-gcc-6.
The default would be former, but at some point we'd want to switch to
the latter, without having to change all the toolchain definitions.

Moreover, when the switch happens, it would be desirable to have some
jobs stick with the old version, which is hard to keep track of when
all the toolchain definitions for build jobs use the same versioned
toolchain. With an alias, jobs that want the default use the alias, and
jobs that want to use a specific version use the versioned toolchain
name.
2017-07-27 18:02:38 +09:00
Chris AtLee 201150fd16 Bug 1384792: pass signed_installer_url to xpcshell tests for bbb r=aki
MozReview-Commit-ID: LWleRnEAgoi
2017-07-27 00:01:35 -04:00
J. Ryan Stinnett 154ba216b1 Bug 1380053 - Add Stylo tests for other desktop platforms. r=catlee
Enable Stylo tests for win32, win64, and macosx64.  Talos will be considered
separately.

MozReview-Commit-ID: BvTkddDX2Kk
2017-07-18 14:32:06 -05:00