Commit Graph

2225 Commits

Author SHA1 Message Date
Joel Maher
9d79dcb07b Bug 1397689 - stop running talos on linux64-stylo-sequential builds. r=jryans 2017-09-08 11:24:28 -04:00
Joel Maher
db9fd56702 Bug 1397435 - allow SETA to work on stylo-disabled jobs. r=armenzg 2017-09-08 11:24:25 -04:00
Gregory Szorc
a10afb7289 Bug 1397503 - Vary cache name when using out-of-tree Docker images; r=dustin
We currently vary the cache name for run-task tasks whenever run-task
changes. This allows us to not worry about backwards or forwards
compatibility of caches in run-task tasks.

This strategy doesn't work for out-of-tree Docker images because
the content of run-task cannot be determined at Taskgraph time:
the content of run-task was determined when that Docker image was
built and there is no way to get that content efficiently during
Taskgraph.

So, for out-of-tree Docker images we now vary the cache name by
the Docker image value, which includes its name and a tag or
hash. This means that out-of-tree run-task tasks will get separate
caches for each distinct Docker image.

This isn't ideal. Ideally we would share caches if run-task doesn't
vary between Docker images. But without any way of proving that
at Taskgraph time, we take the safe road and force cache separation.

MozReview-Commit-ID: FMiQBqfvjqW

--HG--
extra : rebase_source : b2763625a3a69e0cf11b6d648a6fcca379234f02
2017-09-06 16:09:15 -07:00
Gregory Szorc
bdc5122002 Bug 1397503 - Perform cache sanitization for image_builder tasks; r=dustin
The image_builder Docker image doesn't set a "command" in its task
definition. The image instead relies on a RUN in its Dockerfile to
control the started command. This command is a shell script which
eventually runs run-task.

This all means that image_builder tasks are executing run-task but
the cache sanitization implemented in bug 1391476 isn't getting
applied to those tasks. This means run-task could barf due to
constraint violations due to improperly configured caches.

The fix for this is to teach the generic task transform that
image_builder tasks use run-task. The effect of this is that
some environment variables get set and the cache name changes
depending on the contents of run-task.

MozReview-Commit-ID: IFqsDxD0eDh

--HG--
extra : rebase_source : 280983eae7d6a44dfd70f0da8ce325e90e9555c4
2017-09-06 15:35:13 -07:00
Joel Maher
9fbe3c3b85 Bug 1390858 - run mochitest-gpu and mochitest-chrome and mochitest-clipboard on windows 10. r=ahal 2017-09-07 10:23:48 -04:00
Dustin J. Mitchell
d7b6f0148a Bug 1397318: mozlint -l py2 for taskcluster/; r=ahal
MozReview-Commit-ID: 1ZUOrIfxQef

--HG--
extra : rebase_source : c398af2faa83812a70213679d5cb4ad0024d8f7d
2017-09-06 17:29:32 +00:00
J. Ryan Stinnett
aa01270ba7 Bug 1396997 - Update try pretty names for stylo-disabled jobs. r=froydnj
MozReview-Commit-ID: 9N54Hot4LdF

--HG--
extra : rebase_source : 3170a42139eecd25a8a50d6e51fdebbf7496f459
2017-09-05 15:52:52 -05:00
Andrew Halberstadt
d54399c111 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

--HG--
rename : taskcluster/ci/source-test/python-tests.yml => taskcluster/ci/source-test/python.yml
extra : rebase_source : 89010f00a96f88a4eecc8b37028f26b483b820ec
2017-08-31 16:38:08 -04:00
Dustin J. Mitchell
4c07e1df91 Bug 1396657: really, finally, use /builds for old action tasks; r=wcosta
This is basically a revert
https://hg.mozilla.org/mozilla-central/rev/6490ba9e0ec7 that should have been
included in https://hg.mozilla.org/mozilla-central/rev/081f830cf285

MozReview-Commit-ID: HtO5b6WPYnB

--HG--
extra : rebase_source : a0b046c26fe75214d21043623e5459425aed867f
2017-09-05 13:27:06 +00:00
Gregory Szorc
7be30dd863 Bug 1395752 - Define and use sparse profile for Sphinx docs; r=dustin
The Sphinx documentation only needs access to a relatively small number
of files in the repo in order to be generated. It is a good candidate
for using sparse profiles.

This commit defines and uses a "sphinx-docs" sparse profile containing
only the files relevant to Sphinx documentation generation.

There are some quirks with the profile:

* All moz.build files are included. This bloats the profile
  by >1000 files. Worse, it realizes directories that have no business
  being realized. This clutters the checkout and makes it harder to
  find things. There is a moz.build reader that knows how to retrive
  file data from Mercurial. We could use that. This feels like follow-up
  fodder.

* All mach_commands.py files are included. `mach help` says you can do
  things that you aren't able to do in the sparse checkout. There isn't
  a good way to add all *.py files while excluding mach_commands.py
  files. We /could/ do it with regular expressions. But those are slow.
  Let's leave it as is for now and come up with a better solution later.

MozReview-Commit-ID: 7yiqGGE1nAh

--HG--
extra : rebase_source : c148040ea3618e8bfdd369b6f48fc60c6d179285
extra : source : b76e2f6204b20de137f2566dff8121ff3abe5760
2017-08-22 22:25:38 -07:00
Sebastian Hengst
4d2231acf0 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 23:58:08 +02:00
Sebastian Hengst
01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Nick Fitzgerald
dbf3ca4b81 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
fcac089386 Bug 1330412 - Clean up Stylo Treeherder symbols. r=jmaher
Clean up and standardize Treeherder symbols for Talos and AWSY tasks:

* Stylo disabled groups include `sd`
* Stylo sequential groups include `ss`

MozReview-Commit-ID: 7cl6e0XvXNO

--HG--
extra : rebase_source : a7b4e7c78af673e204d7ff7479ce5fc87614248c
2017-09-01 13:07:48 -05:00
J. Ryan Stinnett
22df5aef06 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

--HG--
extra : rebase_source : 0f3a6a1f6807dbb90c00d060a3a7f220c2141c64
2017-08-31 11:18:46 -05:00
J. Ryan Stinnett
3b56163041 Bug 1330412 - Schedule Linux Stylo Talos like others. r=jmaher
Make Linux Stylo Talos jobs explicit in the task list, like they are for macOS
and Windows.  This way we avoid have different approaches per platform.

(This is still the Stylo enabled form.  The next patch coverts to Stylo
disabled for all platforms.)

MozReview-Commit-ID: K4CcWvR9tlJ

--HG--
extra : rebase_source : 3727ddb09114e56493b5ee42df1b45a830a3a6dc
2017-08-31 12:10:48 -05:00
J. Ryan Stinnett
15a0f40522 Bug 1330412 - Limit reftest-stylo to linux64. r=jmaher
MozReview-Commit-ID: 4GIr1fIoils

--HG--
extra : rebase_source : dcbd763b617eb0dba3901317333a46ca19eb6c26
2017-08-31 11:57:27 -05:00
J. Ryan Stinnett
fb81e3161b Bug 1330412 - Stylo seq. runs for memory / perf only. r=jmaher
We no longer need to run unit / integration tests on Stylo sequential, but we'd
like to retain it for memory and performance checks.

In addition, we no longer need to explicitly `--enable-stylo` since it is the
default.  This also drops the `stylo` tag in Perfherder.

MozReview-Commit-ID: 3OI8Y7Q5PW

--HG--
extra : rebase_source : d80103b3c7991a833dc4603d1df4a6c4b62fd6c9
2017-08-31 11:28:17 -05:00
Aki Sasaki
3c26537de4 bug 1394130 - point osx l10n at the repackage task to avoid re-signing widevine. r=callek
The signing pool is a limited resource. We already have logic to avoid re-signing
widevine if the .sig files are there, and we're taking advantage of that on linux
and windows. OSX was the lone desktop os still pointing at the unsigned bits for
l10n.

We're pointing at repackage instead of signing because the l10n logic expects a dmg.

MozReview-Commit-ID: FtWa4o5s7aJ

--HG--
extra : rebase_source : f704a97293a231d26a4806543f53fc7e83eb9ca9
2017-08-30 09:50:07 -07:00
Nathan Froyd
24e95d7e5e Bug 1395722 - link openssl statically when building sccache; r=ted.mielczarek
Our current sccache build links in openssl's libraries dynamically.  The
sonames of the dynamic libraries linked in are specific to the
CentOS/Fedora-ish systems that we build on; attempting to run the
generated sccache binaries on different systems (e.g. Debian-ish) will
result in failure.  All of our current automation images are
CentOS-based, but for various reasons, Debian-based images may be used
in the future, and it would be great to have an sccache binary to run on
such systems as well.  (It might also be interesting to distribute the
sccache binary we use to local developers as well, but that's a bit
further off.)

Therefore, this patch alters the sccache build on Linux to use static
linking for openssl.  We cannot use the system openssl we build on
because the system openssl links to libkrb5, and the distribution we use
for the system images does not provide static libraries of libkrb5.
Building openssl ourself enables us to eliminate the libkrb5 dependency.

An sccache binary from builds with this patch depends on the following
libraries:

froydnj@hawkeye:~$ ldd sccache2/sccache
	linux-vdso.so.1 =>  (0x00007ffe02b39000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff0e7403000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff0e71fb000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff0e6fdd000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff0e6dc6000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff0e69fc000)
	/lib64/ld-linux-x86-64.so.2 (0x0000557c8540b000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff0e66f2000)

which are standard on any Linux distribution.
2017-09-05 11:37:51 -04:00
Dustin J. Mitchell
d48cf7661e Bug 1396022: combine docker docs, talk about hsahes; r=garndt
MozReview-Commit-ID: A27Qoemw2T3

--HG--
extra : rebase_source : 786095ff03ef8866bbaf01c55975e89d7d7f90ac
2017-09-01 17:47:46 +00:00
Wes Kocher
5f157c17dc Merge inbound to central, a=merge
MozReview-Commit-ID: 3JxUEFuinHY
2017-09-01 16:29:10 -07:00
Andrew Halberstadt
a3099c6d81 Bug 1391019 - Fix typo in py-compat linter's 'when.files-changed', r=bustage
MozReview-Commit-ID: CZhWCyTr9Qv

--HG--
extra : rebase_source : 4a906dc7db2c2fe5730ddd520e83cd5ba0f5e528
2017-09-01 08:55:47 -04:00
Dustin J. Mitchell
782761a8c5 Bug 1394883: update docs about docker hashes; r=wcosta
MozReview-Commit-ID: AwMWyCWs4aS

--HG--
extra : rebase_source : 6ca7fc583ecddd7adb651f622f655f9cfd77ccd1
2017-08-30 16:05:10 +00:00
Dustin J. Mitchell
16488779cd Bug 1394883: use /builds/worker in decision images; r=wcosta
MozReview-Commit-ID: 29cnSAr3zCW

--HG--
extra : rebase_source : dab573ee114729822c5ad9bd2674062f7ee24502
2017-08-30 15:55:35 +00:00
Dustin J. Mitchell
2e7ca17010 Bug 1394883: use /builds/worker in image building; r=gps
This includes adding TASKCLUSTER_VOLUMES to docker image builds directly.  The
env variable is not added as part of the task transform because `run-task` is
not in payload.command.  In fact, build-image.sh calls run-task after doing
some other housekeeping.

Ideally image builds would be turned into jobs and all of this would occur
automatically, but that turns out to be quite a bit too complex for this
incidental fix -- perhaps best solved in another bug.

MozReview-Commit-ID: FYHvafJras7

--HG--
extra : rebase_source : 4e3b9ae9900727e7932c13ced34b3f8596d755d9
2017-08-30 16:30:13 +00:00
Dustin J. Mitchell
1a96992551 Bug 1394883: clean up some leftover uses of /home/worker; r=wcosta
MozReview-Commit-ID: BssKG9QNVe1

--HG--
extra : rebase_source : ea54d7c33c78bb7b36be4df7cdc364c3a1d5d648
2017-08-30 15:19:19 +00:00
Phil Ringnalda
2c559035f7 Backed out 4 changesets (bug 1394883) for Windows signing chain-of-trust failures
CLOSED TREE

Backed out changeset e3f42eca51c1 (bug 1394883)
Backed out changeset 081f830cf285 (bug 1394883)
Backed out changeset 9426705a05af (bug 1394883)
Backed out changeset 3a579a5054ef (bug 1394883)

MozReview-Commit-ID: 2viO8A8arHd
2017-08-31 20:02:34 -07:00
Wes Kocher
cf93b6ca0d Merge m-c to autoland, a=merge
MozReview-Commit-ID: BlE0HFQUP9c
2017-08-31 16:56:58 -07:00
Geoff Brown
0768e73e60 Bug 1394418 - Add reminder of job visibility policy to tests.yml; r=jmaher 2017-08-31 07:50:30 -06:00
Geoff Brown
252c7092bf Bug 1395148 - More test chunks for linux32 xpcshell tests; r=jmaher 2017-08-31 07:50:27 -06:00
Sebastian Hengst
444f7c3600 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-31 14:39:13 +02:00
Johan Lorenzo
fb7ce1747e Bug 1384482 - Comply to Treeherder's nomenclature r=mtabara
MozReview-Commit-ID: 8bh8gI577sr
2017-08-31 11:17:54 +02:00
Wes Kocher
940bdbc699 Merge autoland to central, a=merge
MozReview-Commit-ID: Jz9iBkuBrpV
2017-08-30 19:52:39 -07:00
Dustin J. Mitchell
a77e898223 Bug 1394952: it's /builds/worker, not /home/builds; r=wcosta
MozReview-Commit-ID: C6CuekloQIN

--HG--
extra : rebase_source : 975dcfa2c47deb4152322a7e5867036aaac587ec
2017-08-29 21:34:54 +00:00
Sebastian Hengst
b5538f07a1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-30 11:07:58 +02:00
Joel Maher
c92742dbbc Bug 1375039 - Enable AWSY for linux64/osx nightly builds. r=bc 2017-08-30 03:34:29 -04:00
Kartikaya Gupta
bc05e4ceb7 Bug 1394932 - Enable the g1 talos test on linux64-qr. r=jmaher
MozReview-Commit-ID: HzFQQzNNU4N

--HG--
extra : rebase_source : 78da4e4e5526d540224225eb1fc4f1f424e49adf
2017-08-29 15:42:23 -04:00
J. Ryan Stinnett
73a38d6e65 Bug 1394887 - Enable Stylo Linux debug M(cl) and M(a11y). r=emilio
MozReview-Commit-ID: Bg4Ak8yTHau
2017-08-29 17:13:37 -05:00
Wes Kocher
80bdfcfdd0 Backed out 4 changesets (bug 1394026) for busted decision tasks a=backout
Backed out changeset 951cfc00293a (bug 1394026)
Backed out changeset 0ad4c9bbfc1f (bug 1394026)
Backed out changeset eb47ff423f2e (bug 1394026)
Backed out changeset 58c64dc1a7d1 (bug 1394026)

MozReview-Commit-ID: 7PHWSW9WxVD
2017-08-29 12:54:59 -07:00
Brian Stack
186a009cc1 Bug 1394026 - Add docs for new action tasks definition format r=dustin
MozReview-Commit-ID: IeB9QGwI761

--HG--
extra : rebase_source : abe23c045943ff1e13881b8206d1f99ba7ea978d
2017-08-29 10:53:13 -07:00
Brian Stack
9ebdf74bf9 Bug 1394026 - Make an interactive loaner action task for linux. r=dustin
MozReview-Commit-ID: 3Jbbo7VvuDl

--HG--
extra : rebase_source : fca4569a7dd7508d227b152e921eaab902e35cce
2017-08-28 13:53:56 -07:00
Brian Stack
f97fcdfd4b Bug 1394026 - Enable yaml-based simple actions. r=dustin
MozReview-Commit-ID: 3RC2MaxcsQp

--HG--
extra : rebase_source : 7db5ccc7b9eba43dd2ac8d30775ab02965a7605c
2017-08-28 13:53:30 -07:00
Brian Stack
119bd583db Bug 1394026 - Tag tasks with os and worker implementation. r=dustin
MozReview-Commit-ID: GWNiq6a3hlZ

--HG--
extra : rebase_source : 2dbae1591ec5190f9e058bf786e755fdb5f00da6
2017-08-25 15:30:34 -07:00
Sebastian Hengst
ca3d97b658 merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02:00
Sebastian Hengst
2a9cc8e3be merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Joel Maher
86dc1351bb Bug 1393583 - reduce chunks of reftest on osx; remove reftest-stylo for osx; r=jryans 2017-08-29 05:52:30 -04:00
Johan Lorenzo
a716c447c0 Bug 1384482 - Rename android-api-15 into android-api-16 r=mtabara
MozReview-Commit-ID: 4j66pTZEJzq

--HG--
rename : mobile/android/config/mozconfigs/android-api-15-frontend/nightly => mobile/android/config/mozconfigs/android-api-16-frontend/nightly
rename : mobile/android/config/mozconfigs/android-api-15-gradle-dependencies/nightly => mobile/android/config/mozconfigs/android-api-16-gradle-dependencies/nightly
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-16-gradle/nightly
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly-artifact => mobile/android/config/mozconfigs/android-api-16-gradle/nightly-artifact
rename : mobile/android/config/mozconfigs/android-api-15/debug => mobile/android/config/mozconfigs/android-api-16/debug
rename : mobile/android/config/mozconfigs/android-api-15/debug-artifact => mobile/android/config/mozconfigs/android-api-16/debug-artifact
rename : mobile/android/config/mozconfigs/android-api-15/l10n-nightly => mobile/android/config/mozconfigs/android-api-16/l10n-nightly
rename : mobile/android/config/mozconfigs/android-api-15/nightly => mobile/android/config/mozconfigs/android-api-16/nightly
rename : mobile/android/config/mozconfigs/android-api-15/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-artifact
rename : mobile/android/config/mozconfigs/android-api-15/nightly-old-id => mobile/android/config/mozconfigs/android-api-16/nightly-old-id
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_artifact.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_artifact.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_debug.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_debug.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_debug_artifact.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_debug_artifact.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_gradle.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_gradle.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_gradle_artifact.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_gradle_artifact.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_gradle_dependencies.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_gradle_dependencies.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_old_id.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_old_id.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_partner_sample1.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_partner_sample1.py
rename : testing/mozharness/configs/single_locale/ash_android-api-15.py => testing/mozharness/configs/single_locale/ash_android-api-16.py
rename : testing/mozharness/configs/single_locale/date_android-api-15.py => testing/mozharness/configs/single_locale/date_android-api-16.py
rename : testing/mozharness/configs/single_locale/jamun_android-api-15.py => testing/mozharness/configs/single_locale/jamun_android-api-16.py
rename : testing/mozharness/configs/single_locale/mozilla-aurora_android-api-15.py => testing/mozharness/configs/single_locale/mozilla-aurora_android-api-16.py
rename : testing/mozharness/configs/single_locale/mozilla-beta_android-api-15.py => testing/mozharness/configs/single_locale/mozilla-beta_android-api-16.py
rename : testing/mozharness/configs/single_locale/mozilla-central_android-api-15.py => testing/mozharness/configs/single_locale/mozilla-central_android-api-16.py
rename : testing/mozharness/configs/single_locale/mozilla-release_android-api-15.py => testing/mozharness/configs/single_locale/mozilla-release_android-api-16.py
rename : testing/mozharness/configs/single_locale/staging_release_mozilla-beta_android_api_15.py => testing/mozharness/configs/single_locale/staging_release_mozilla-beta_android_api_16.py
rename : testing/mozharness/configs/single_locale/staging_release_mozilla-release_android_api_15.py => testing/mozharness/configs/single_locale/staging_release_mozilla-release_android_api_16.py
rename : testing/mozharness/configs/single_locale/tc_android-api-15.py => testing/mozharness/configs/single_locale/tc_android-api-16.py
rename : testing/mozharness/configs/single_locale/try_android-api-15.py => testing/mozharness/configs/single_locale/try_android-api-16.py
extra : rebase_source : d24bd3b0298e4fc21e9e8029e5f69a65fd1012f9
2017-08-09 16:18:15 +02:00
Dustin J. Mitchell
0e3aba2f71 Bug 1394779: decision image still uses /home; r=wcosta
MozReview-Commit-ID: 77d7Mze0CRJ

--HG--
extra : rebase_source : 3903121d194d577303ca41702afa67a4b41220b3
2017-08-29 12:55:11 +00:00
Dustin J. Mitchell
8ff9eec55c Bug 1390968: python-3 compatibility for taskcluster/**/*.py; r=Alex_Gaynor,gps
MozReview-Commit-ID: Hyfn2PlXvhd

--HG--
extra : rebase_source : 504337cd3742c36f37c059ef2b8cd04067f58277
2017-08-28 21:53:04 +00:00
Dustin J. Mitchell
8f96075410 Bug 1390968: add a py(3) job; r=gps
MozReview-Commit-ID: 1BkOEvPKjSD

--HG--
extra : rebase_source : 5b330030b5961cf8557a33346c2b8b7208aaf99c
2017-08-28 20:55:55 +00:00
Wes Kocher
81b02e9618 Bug 1384433 - Fix yaml lint job a=bustage CLOSED TREE 2017-08-28 16:35:49 -07:00
Mike Hommey
be2befe9f2 Bug 1384433 - Add a verification that tiers are consistent across dependencies. r=dustin 2017-08-29 07:53:59 +09:00
Mike Hommey
7d14206e34 Bug 1384433 - Generalize verifications done on task graphs. r=dustin 2017-08-29 07:53:57 +09:00
Mike Hommey
7897fb7596 Bug 1384433 - Make clang-cl toolchain jobs tier 1. r=dustin
Tier 1 Firefox builds are using those toolchain jobs for stylo, so they
need to be tier 1.
2017-08-29 07:53:56 +09:00
Mike Hommey
ac45a74af4 Bug 1384433 - Make Windows ASAN tests tier 3. r=ting
The Windows ASAN builds are tier 3, while the corresponding tests,
currently are tier 2. So we make them tier 3 for consistency.
2017-08-29 07:53:52 +09:00
Xidorn Quan
4750451d3d Bug 1387993 - Enable chrome mochitests on linux debug build. r=jmaher
MozReview-Commit-ID: Aj0movJBDI9

--HG--
extra : rebase_source : c33c2386fd0ca2e9eed9cb7fc137caf41629f7e4
2017-08-30 10:18:30 +10:00
Andrew Halberstadt
c451dcfe84 Bug 1391075 - Add template to modify task env from |mach try fuzzy|, r=dustin
This adds a new morph template for modifying a task's env and the corresponding glue
to specify it from |mach try fuzzy|. It can be used like:

./mach try fuzzy --env FOO=1 --env BAR=baz

This will simply set those environment variables in *all* tasks. We could add the
ability to only specify it for a subset of tasks in the future, but that seems like
a hard problem that probably isn't worth it.

MozReview-Commit-ID: C4sokv886PU

--HG--
extra : rebase_source : 64c9105848e6becd33fae63aeabc3423cfda3bdf
2017-08-25 15:24:22 -04:00
Chris Manchester
696a8e5320 Bug 1386782 - Add toolchain tasks to build gn in automation. r=ted
MozReview-Commit-ID: 7dDwsQJnzRL

--HG--
extra : rebase_source : be14a5af5648ae0cc0e571ca098307a4d84a7c14
2017-07-25 15:33:44 -07:00
J. Ryan Stinnett
48454a3642 Bug 1400329 - Run stylo-disabled for default branches. r=jmaher
Remove stylo-disabled branch customizations so that it runs everywhere we expect
for tier 1, including beta and release.

MozReview-Commit-ID: DbbiHTvCCyW
2017-09-20 22:26:32 -05:00
J. Ryan Stinnett
bc4d4c8f5e Bug 1399742 - Use default branch list for reftest-stylo. r=jmaher
This adds inbound as well as release branches.  This test is Linux 64 only, so
the added cost and load is hopefully minimized.

MozReview-Commit-ID: AYSmqj0q6jB

--HG--
extra : rebase_source : 50f5766d310db6a7f44f70a45071ca1b99d596c7
2017-09-20 18:14:16 -05:00
Phil Ringnalda
aad01e0dc2 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
4c7134dced Bug 1383880: use a vcs-compatible reader in decision tasks; r=gps
This continues to use a file-based reader when run locally.

MozReview-Commit-ID: CJuYKDj2E3n

--HG--
extra : rebase_source : 8532c2cd8bff035b6b7f497947356383713944d7
2017-09-07 18:28:22 +00:00
Dustin J. Mitchell
157dffcb8e Bug 1383880: add only-if-dependencies-run optimization for follow-ons; r=ahal
MozReview-Commit-ID: JuhwyQIx3Mh

--HG--
extra : rebase_source : 553eabc3ac408710bd8c0124232985cc4b01e705
extra : source : 4b3fa9587e88431cc28331d129dd7ef4d1a793c2
2017-08-25 21:18:13 +00:00
Dustin J. Mitchell
a1742c3495 Bug 1383880: Annotate builds and tests with SCHEDULES-related optimizations; r=ahal
This means that a push to try affecting only Android will only run android builds
and tests, for example.

MozReview-Commit-ID: HVUvIg0EUZn

--HG--
extra : rebase_source : 80a41a86ba892ccfe56bcbf6b4daf03a60424a5f
extra : source : b41cd667697e13c989659b16bf649090a3908ecd
2017-08-25 19:15:12 +00:00
Dustin J. Mitchell
0ad6fa01b1 Bug 1383880: add support for optimizing tasks based on SCHEDULES; r=ahal
This adds some new optimization strategies.  For tests, we use Either(SETA,
SkipUnlessSchedules), thereby giving both mechanisms a chance to skip tasks. On
try, SETA is omitted.

MozReview-Commit-ID: GL4tlwyeBa6

--HG--
extra : rebase_source : 4cf3efc9c57bb14d2f44147c8881d0a0a18703d6
extra : source : 046d705929f7a41e977eec19c8503afccdec7592
2017-08-23 16:21:06 +00:00
Dustin J. Mitchell
7e1b6b079a Bug 1383880: parse try config during the decision task; r=ahal
This sets the try_mode property, and parses the try message (if given), early
in the decision task and puts the results into the parameters.

The proximate need is to set optimze_target_tasks for some try modes and not
others. This also replaces the existing logic for parsing messages for certain
kinds, and makes the distinction between the different try modes a little
clearer.

MozReview-Commit-ID: AXJEGLh6pEV

--HG--
extra : rebase_source : 03a10610aa3337269fe76a1196bb9b1665e1ab20
extra : source : b53ff084c2d7968a1d9864d1343f2d9381fb652b
2017-08-21 23:14:14 +00:00
Dustin J. Mitchell
8009d846d4 Bug 1383880: optimize in three phases; r=ahal
In preparation for much more thorough optimization of task-graphs, this
makes a few changes:

 * optimization is split into thre phases, with task removal in one phase
   (following dependency links) and task replacement in the next (in the
   reverse order).
 * optimization uses class instances instead of functions for optimizations;
   this allows different functions for different phases, and also leaves open
   the possibility of composing optimizations.
 * the replacement phase can also support removal; this is when utility tasks
   like symbol uploads can be optimized away iff their parent task is
   optimized.

MozReview-Commit-ID: C5QznNpwqXn

--HG--
extra : rebase_source : c6e2ff90316d43cd93826de5c30a1936f19c01ca
extra : source : c25af2c111a5be4e3381d0b002641691d15fe4e8
2017-08-20 20:00:17 +00:00
Dustin J. Mitchell
027f91d5f6 Bug 1383880: add Graph.visit_preorder; r=ahal
MozReview-Commit-ID: BWGqLUuWlN9

--HG--
extra : rebase_source : e92203e9fb0430d4fde0d24667b12318cd26465a
extra : source : 804e6c7f441cfcf3761e0721a9a58ef29ef91a3e
2017-08-20 16:29:12 +00:00
Dustin J. Mitchell
938bafc956 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

--HG--
extra : rebase_source : d5bce42fc0ea24616d885eed62e5e5a42b4fce24
extra : source : a3b7bdfdb116300daa3f49e0dfc96177e1369440
2017-08-01 20:02:59 +00:00
Wes Kocher
1ea82f66aa Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHxJvcR2Tpa
2017-09-20 17:47:16 -07:00
Justin Wood
e05b3b286b Bug 1401546 - Flip windows spidermonkey jobs in taskcluster to tier 1. r=sfink
MozReview-Commit-ID: Ejcb0P5moju

--HG--
extra : rebase_source : 9a59cb6e4e333af95bd0311c36d4f0f132b3842b
2017-09-20 10:09:27 -04:00
Dustin J. Mitchell
3dd5e9419e Bug 1401183: raise KeyError from list_artifacts when none is found; r=glandium
MozReview-Commit-ID: TqON8joEd6

--HG--
extra : rebase_source : c075a609ac5d0a0ecc91997922e98fde537f9822
extra : source : 19b510af2b7a6fe8b71f55fbb3d51d0a7696b54c
2017-09-14 23:30:58 +00:00
Rob Wood
bb1171515f Bug 1387377 - Don't run gtest or awsy on devedition builds; r=jmaher
MozReview-Commit-ID: 2siiOBftTYs

--HG--
extra : rebase_source : 65af91eca6e686ddc7700ad3fbbdcc6dd92000cf
2017-08-24 12:49:28 -04: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
Phil Ringnalda
e300bc2504 Merge autoland to m-c, a=merge
MozReview-Commit-ID: BFVS6hRAxIb
2017-08-26 18:12:15 -07:00
Aki Sasaki
8e6740ad55 bug 1394130 - 2 locales per chunk to avoid signing timeouts. r=bustage a=release DONTBUILD
MozReview-Commit-ID: 36iGm6Rxtda

--HG--
extra : histedit_source : b10c8c259960ccfd11205f230839bb45a5ffc4f2
2017-08-26 14:23:30 -07:00
Gregory Szorc
10773f0d43 Bug 1390693 - Upload docs to project and version specific locations; r=dustin
Previously, we uploaded the main Firefox tree docs to /.

In reality, there are multiple Sphinx projects in the repo. In
addition, it is sometimes desirable to access docs for an older
version of Firefox.

In this commit, we add support for specifying the S3 key prefix
for uploads. Then we change the upload code to upload to multiple
locations:

* <project>/latest (always)
* <project>/<version> (if a version is defined in the Sphinx config)
* / (for the main Sphinx docs project)

For the Firefox docs, ``version`` corresponds to a sanitized value from
``milestone.txt``. Currently, it resolves to ``57.0``.

While we're here, we add support for declaring an alternate project
name in the Sphinx conf.py file. If ``moz_project_name`` is defined,
we use that as the project name. For Firefox, we set it to ``main``.
This means our paths (local and uploaded) are now ``main`` instead of
``Mozilla_Source_Tree_Docs``. That's much more pleasant.

MozReview-Commit-ID: 8Gl6l2m6uU4

--HG--
extra : rebase_source : e56885092c12eb8cc76e5e7300f938be566e3e5a
extra : intermediate-source : 8509af1e135177a93460270b27f263c10a62d996
extra : source : 71b4f32caf209fe9dffc340c0b8ccb51ac79c7de
2017-08-24 11:12:21 -07:00
Gregory Szorc
17296bc970 Bug 1390693 - Fold mach doc-upload into mach doc; r=dustin
We now have an --upload flag to control whether upload is performed.

We don't inline it because we want to maintain a "firewall" between
regular docs and all the extra packages and imports needed for S3.

MozReview-Commit-ID: DVKhsS545gp

--HG--
extra : rebase_source : 7fee832145189be882db0f0ca057eda6158e0492
2017-08-24 11:31:54 -07:00
Gregory Szorc
4b1e2d4a2e Bug 1390693 - Generate docs archive within mach command; r=dustin
By using mozpack, we get deterministic archives. This also makes the
task command simpler.

MozReview-Commit-ID: EPI7tuGQuso

--HG--
extra : rebase_source : babcbf3d5607480321106b40eaa4598c0faee188
2017-08-24 10:37:53 -07:00
Gregory Szorc
b6b11591af Bug 1390693 - Run documentation generation everywhere; r=dustin
We want to verify that Sphinx docs work on all repos. It is only
uploading that should be limited.

MozReview-Commit-ID: An6EZ7jpaWh

--HG--
extra : rebase_source : 86400968630b3ab1c09c43d5fa42d456cec159c4
2017-08-24 11:58:28 -07:00
J. Ryan Stinnett
4cd937870c Bug 1393819 - Enable M(bc) for linux64-stylo/debug. r=xidorn
MozReview-Commit-ID: FsZJn6AWHeP

--HG--
extra : rebase_source : 3b278a62459d20abfcbc1dccddb65d3779a7e091
2017-08-24 19:02:52 -05:00
Wes Kocher
7ea5ed6e6a Merge m-c to autoland, a=merge
MozReview-Commit-ID: LEKykpTAKjv
2017-08-25 17:32:33 -07:00
Maja Frydrychowicz
fbfedce632 Bug 1393865 - Add try aliases for web-platform-tests-wdspec; r=dustin
This fixes the issue where "-u web-platform-tests-wdspec" scheduled
nothing. Now it will schedule a e10s-enabled run of wdspec tests.

MozReview-Commit-ID: AdHZqtk1hLy

--HG--
extra : rebase_source : 8d5926277b37952616c4dffdb20133868913bab2
2017-08-25 15:52:07 -04:00
Gregory Szorc
6bf25db065 Bug 1390700 - Use sparse checkouts for decision task; r=dustin
The updated Docker image contains robustcheckout and run-task support
for sparse checkouts, which are obvious prerequisites.

We change the cache name so sparse and non-sparse checkouts don't
use the same working directory. If we didn't do this, tasks running
from images with old Mercurial clients or without a sparse aware
robustcheckout would fail.

The effect of using a sparse checkout is that we reduce the number
of files in the checkout from ~234,000 to ~3,600. This reduces time
for a fresh checkout from several dozen seconds to under 2s.

MozReview-Commit-ID: IJz794g8ZKH

--HG--
extra : source : 9923fffd4f64a1aa9d762e6027e0e2424a19c49c
2017-08-23 12:09:00 -07:00
Joel Maher
20d6994825 Bug 1383789 - enable stylo talos tests on osx. r=rwood 2017-08-25 11:15:40 -04:00
Johan Lorenzo
66ee2c99b9 Bug 1390123 - Snap: Automate uploads to Ubuntu Store r=mtabara
MozReview-Commit-ID: 7JVwiUaxk0G

--HG--
extra : amend_source : d3c88b2018f4fb195597151b69389e59f17525e2
2017-08-14 15:00:33 +02:00
Gregory Szorc
a22927dbb3 Backed out changeset 9923fffd4f64 (bug 1390700) for somehow breaking chain of trust on some Windows builds
CLOSED TREE

--HG--
extra : amend_source : e039e6840e52ee3186f4c8c0ae20d75cdccdee5a
2017-08-24 21:42:18 -07:00
Gregory Szorc
d4da1b9397 Bug 1390700 - Use sparse checkouts for decision task; r=dustin
The updated Docker image contains robustcheckout and run-task support
for sparse checkouts, which are obvious prerequisites.

We change the cache name so sparse and non-sparse checkouts don't
use the same working directory. If we didn't do this, tasks running
from images with old Mercurial clients or without a sparse aware
robustcheckout would fail.

The effect of using a sparse checkout is that we reduce the number
of files in the checkout from ~234,000 to ~3,600. This reduces time
for a fresh checkout from several dozen seconds to under 2s.

MozReview-Commit-ID: IJz794g8ZKH

--HG--
extra : rebase_source : d262c8314381a136cf5cdc5c33669c8c61818d1d
2017-08-23 12:09:00 -07:00
Gregory Szorc
22bae15639 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

--HG--
extra : rebase_source : babe9b42e2796c2341bffc6ecfe829f4daff9e0f
2017-08-23 18:54:14 -07:00
Gregory Szorc
605775b621 Bug 1390700 - Fix some error messages in run-task; r=dustin
Include "error:" so Treeherder log parser picks things up (hopefully).

Also, actually include cache path in string.

MozReview-Commit-ID: 8b8ou7TJYZs

--HG--
extra : rebase_source : 52b43dd18419a6a8cfb096a6bf4262852c7c0ccc
2017-08-24 09:06:45 -07:00
Wes Kocher
e8f7cc0bb3 Backed out 2 changesets (bug 1392787) for build bustage a=backout CLOSED TREE
Backed out changeset 2ce8a387fa80 (bug 1392787)
Backed out changeset bf5a6ff97a8f (bug 1392787)

MozReview-Commit-ID: 2cA5bdnNDIe
2017-08-24 14:00:42 -07:00
Andrew Halberstadt
b24f01064e Bug 1392787 - Add a linter to prevent comment-disabling tests in manifestparser manifests, r=jmaher
MozReview-Commit-ID: LG47ASBMA17

--HG--
extra : rebase_source : df925b5d234a889bfb472eb33a3204465aa64f79
2017-08-23 09:33:18 -04:00
J. Ryan Stinnett
d86c63be6d Bug 1393229 - Enable tp6s and tp6st for macOS with Stylo. r=jmaher
MozReview-Commit-ID: 9G1Jcc4duRj

--HG--
extra : rebase_source : 958dc364347501c77c51b5d0aeed5a1bb72d4a27
2017-08-22 12:52:31 -05:00
Dustin J. Mitchell
98a3631d7b Bug 1391776: cleanup of taskgraph docs; r=ahal
* eliminate heading for test kinds, of which there is now only one
* make the caches document have a single heading in the TOC
* break out mach commands into a separate document, add ./mach taskgraph morphed
* remove docs for YAML templates support (the .yml file wasn't actually
  used -- I expect it was a merge leftover); these are still used for actions.yml,
  but once that is gone the code should be removed, too.
* break try out into its own document, edit to distinguish "how to run try"
  from "how to generate config"

MozReview-Commit-ID: 76ZopWA9TPL

--HG--
extra : rebase_source : 6946d866f9df6eec591b9a05ddedc6467dd69e4b
2017-08-23 15:22:10 -04:00
Mike Hommey
e5f075d9b4 Bug 1391744 - Make tooltool manifests influence the index path for toolchain jobs. r=dustin
--HG--
extra : rebase_source : 6fc636fbd8cd8d55d0912cb8a429415a43707c53
2017-08-23 14:53:56 +09:00
Gregory Szorc
5fb99cdfc3 Bug 1391476 - Add UID and GID to cache parameters; r=dustin
The UID and GID that a task executes under is dynamic. As a result,
caches need to be aware of the UID and GID that owns files otherwise
subsequent tasks could run into permission denied errors. This is
why `run-task --chown-recursive` exists. By recursively changing
ownership of persisted files, we ensure the current task is able
to read and write all existing files.

When you take a step back, you realize that chowning of cached
files is an expensive workaround. Yes, this results in cache hits.
But the cost is you potentially have to perform hundreds of thousands
of I/O system calls to mass chown. The ideal situation is that
UID/GID is consistent across tasks on any given cache and
potentially expensive permissions setting can be avoided. So, that's
what this commit does.

We add the task's UID and GID to run-task's requirements. When we
first see a cache, we record a UID and GID with it and chown the
empty cache directory to that UID and GID. Subsequent tasks using
this cache *must* use the same UID and GID or else run-task will
fail.

Since run-task now guarantees that all cache consumers use the same
UID and GID, we can avoid a potentially expensive recursive chown.

But there is an exception. In untrusted environments (namely Try),
we recursively chown existing caches if there is a uid/gid mismatch.
We do this because Try is a sandbox and any random task could
experiment with a non-standard uid/gid. That populated cache would
"poison" the cache for the next caller. Or vice-versa. It would be
annoying if caches were randomly poisoned due to Try pushes that
didn't realize there was a UID/GID mismatch. We could outlaw "bad"
UID and GIDs. But that makes the barrier to testing things on Try
harder. So, we go with the flow and recursively chown caches in
this scenario.

This change will shine light on all tasks using inconsistent UID
and GID values on the same cache. Bustage is anticipated.
Unfortunately, we can't easily know what will break. So it will be
one of those things where we will have to fix problems as they arise.
Fortunately, because caches are now tied to the content of run-task,
we only need to back out this change and tasks should revert to caches
without UID and GID pinning requirements and everything will work
again.

MozReview-Commit-ID: 2ka4rOnnXIp

--HG--
extra : rebase_source : ccb2b0a9230694f989775b26d5276fd3ac928af3
extra : source : 083d2e1cc8fe44b04e44f74bda3dd8bc75ba826c
2017-08-22 16:49:26 -07:00
Gregory Szorc
4e063535e6 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

--HG--
extra : rebase_source : 82c9ccb33f09d3ce50a6b7c6021e1e5b77d1b738
2017-08-23 12:07:18 -07:00
Gregory Szorc
8711c29066 Bug 1391476 - Tell run-task about volumes so it can sanitize them; r=dustin
We recently introduced support for telling run-task about caches so
it could sanitize them automatically. We also recently taught
docker-worker and docker-engine how to declare volumes.

Building on that work, we now pass a list of paths corresponding
to Docker volumes to run-task.

run-task now verifies volumes behave as expected. Unless the volume
paths correspond to caches, run-task verifies they are empty and chowns
them to an appropriate owner.

Requiring empty volumes is an arbitrary decision. But as the inline
comment says, it keeps things simpler and makes caches and volumes
behave more like each other.

MozReview-Commit-ID: 5lm2uIitrS3

--HG--
extra : rebase_source : abb0be1a36f24d8d818515885dd2a75d13aed48a
2017-08-23 10:47:37 -07:00
Gregory Szorc
3f5ebbd098 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

--HG--
rename : taskcluster/docker/android-gradle-build/nexus.xml => taskcluster/scripts/builder/build-android-dependencies/nexus.xml
extra : rebase_source : 53848f06820bda7979b2ae15456e07f8aed2363d
2017-08-23 10:34:14 -07:00
Gregory Szorc
4e98543647 Bug 1391476 - Require that all cache paths be declared as volumes; r=dustin
See the inline comment for the rationale here.

This check may not catch all volumes and caches. But after subsequent
commits refactor how permissions for caches and volumes are handled,
this edge case will likely result in permissions errors in the task,
so it isn't worth worrying about.

Several Dockerfile have been updated to add missing VOLUME so the check
passes.

In the case of desktop1604-test, we stopped removing
/home/worker/.cache because you can't remove a mount point, which is
what volumes are inside Docker containers.

MozReview-Commit-ID: GEyNkkX00kN

--HG--
extra : rebase_source : 19b3165d8c6e4431aa43dca51828be255e82e34f
2017-08-23 08:57:59 -07:00
Gregory Szorc
d0e06fff99 Bug 1391476 - Capture Docker volumes in docker-worker config; r=dustin
Docker volumes are host-mounted filesystems. We typically mount
caches at their location. But not always. The reason we define
VOLUME in Dockerfiles is we're guaranteed to get a fast host
filesystem instead of AUFS when a cache isn't mounted.

In this commit, we teach the docker-worker payload builder about
the existence of Docker volumes. Docker volumes can be declared
inline in the YAML. More conveniently, we automatically parse out
VOLUME lines from corresponding in-tree Dockerfile.

We'll do useful things with this data in subsequent commits.

MozReview-Commit-ID: BNxp8EDEYw

--HG--
extra : rebase_source : 1aa6dbb000386cd2789d526708ce369640d532c9
2017-08-23 08:53:56 -07:00
Gregory Szorc
29d31d4990 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

--HG--
extra : rebase_source : 69469014dcc92d4de98d5e887b10542af00e05be
2017-08-22 15:06:40 -07:00
Gregory Szorc
f470161083 Bug 1391476 - Print cache info; r=dustin
For forensic purposes.

MozReview-Commit-ID: 6pcOm90cPdw

--HG--
extra : rebase_source : d4da9e48152e2ecc1ac90b9eef2ccf65ddf29dfc
2017-08-22 16:48:03 -07:00
Gregory Szorc
ffc20b23b1 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

--HG--
extra : rebase_source : dd997a5d9c1123beecaa14bc5458a9338b3e07db
2017-08-21 17:11:49 -07:00
Gregory Szorc
86bd8a5bb8 Bug 1391476 - Dedent block; r=dustin
MozReview-Commit-ID: 1l8gWfBNBMs

--HG--
extra : rebase_source : 5a2fd9c97379cbfd5f2db5d460a27648f1f60d80
2017-08-22 12:40:44 -07:00
Gregory Szorc
148577452a 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

--HG--
extra : rebase_source : e3ffc4f7961dfd90767b6d1af2b93ad7551de3be
2017-08-21 10:55:10 -07:00
Gregory Arndt
85a855ffff Bug 1391288 - Rebuild decision task image with new robustcheckout r=dustin,gps
MozReview-Commit-ID: J53XXqBQsJw

--HG--
extra : rebase_source : bca5f697f049a6a3f85168aaa667ae7509e60243
2017-08-17 14:32:42 -05:00
Aki Sasaki
8d6f733276 bug 1392803 - fix bm-r. r=aki
MozReview-Commit-ID: 87Zdbh7o3lH

--HG--
extra : rebase_source : 9dcab195a8ce5cf1ec39b7333f32aa4cfac8b3b0
2017-08-23 14:57:10 -07:00
Rok Garbas
f3a3affcf2 Bug 1284475 - migrate ToolTool blueprint to new codebase of relengapi r=KWierso
UPGRADE_NSS_RELEASE a=kaie
MozReview-Commit-ID: 7CB1VYb8OJP

--HG--
extra : rebase_source : 04751620add813cd1780898d109d9f7fa89d7b2d
2017-08-08 10:55:52 +02:00
Andrew Halberstadt
a4a6ffdd99 Bug 1391675 - [tryselect] Add a test for 'mach try fuzzy' and associated task, r=gps
Basic test to get the ground work laid out.

MozReview-Commit-ID: LmjA3Kq7xKN

--HG--
extra : rebase_source : c32e1954b6b5b88c825075c64c8b9993be3035c6
2017-08-21 11:52:28 -04:00
Gregory Szorc
0ef27f30cd Bug 1392886 - Enable sparse extension in Docker images; r=mshal
This needs to be globally enabled to support sparse checkouts
and accessing repos using sparse checkouts.

Having the extension enabled should no-op unless sparse checkouts
are being used. i.e. it should be harmless to globally enable.

MozReview-Commit-ID: AKNUOXfYQPx

--HG--
extra : rebase_source : d32b8a89c56c39923d7b0cd61583c2828a29a872
2017-08-22 20:44:57 -07:00
J. Ryan Stinnett
560715eee2 Bug 1385025 - Enable Stylo tests on Linux32. r=kmoir
MozReview-Commit-ID: FVVh9kyVSgT
2017-08-22 14:54:21 -05:00
Gregory Szorc
0c0f6ca8db Bug 1392700 - Use Mercurial 4.3 in mozharness tests; r=aki
We use Mercurial 4.3.1 pretty much everywhere in CI now.
Mozharness should be testing with it as well.

MozReview-Commit-ID: HT2rocEvdIe

--HG--
extra : rebase_source : 148a9cd82b18e693ee570f31fc961373e8466a3c
2017-08-22 10:14:32 -07:00
Sebastian Hengst
75955d0246 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8fJX1xXgzhD
2017-08-22 11:49:04 +02:00
Mike Hommey
fe086521ec Bug 1389435 - Use GCC 6 to build the Firefox we ship on Linux. r=froydnj 2017-08-22 13:46:00 +09: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
9239c39c7c Bug 1389435 - Forbid toolchain dependencies on aliases. r=dustin
This extends bug 1386920 in a more general way on toolchain jobs.
2017-08-22 13:45:44 +09:00
Gregory Szorc
e50add9dfc Bug 1391789 - Set relengapi-proxy on correct object; r=bustage
This corrects a bug introduced in 265873cf1388.

MozReview-Commit-ID: LkZlTVAM17E

--HG--
extra : rebase_source : bf442e620abd6b47adee3d4c56e6f0c19964aea1
2017-08-21 10:30:42 -07:00
Gregory Szorc
e23a086148 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

--HG--
extra : rebase_source : 9d562ec3977fea7920039a66be13cfae8980475e
2017-08-18 17:05:26 -07:00
Gregory Szorc
ffba62a0c4 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

--HG--
extra : rebase_source : 9a290470088a8d55693dfbadc5186a018d3669b6
2017-08-18 15:30:32 -07:00
Gregory Szorc
02d1cf283b Bug 1391789 - Improve cache coherence via run-task integration; r=dustin
Today, cache names are mostly static and are brittle as a result.

In theory, when a backwards incompatible change is performed on
something that touches a cache, the cache name needs to be changed
to ensure tasks running the old code don't see cached data from the
new task. (Alternatively, all code is forward compatible, but that is
hard to implement in practice.)

For many things, the process works as planned. However, not everyone
knows that cache names need changed. And, it isn't always obvious
that some things require fresh caches. When mistakes are made, tasks
break intermittently due to cache wonkiness.

One area where we get into trouble is with UID and GID mismatch.
Task A will use a Docker image where our standard "worker" user/group
is UID/GID 1000:1000. Then Task B will use UID/GID 500:500. (This is
common when mixing Debian and RedHel based distros.) If they use the
same cache, then Task B needs to chown/chmod all files in the cache
or there could be a permissions problem. This is exactly why
run-task recursively chowns certain paths before dropping root
privileges.

Permissions setting in run-task solves permissions problems. But
it doesn't solve content incompatibility problems. For that, you
need to change cache names, not use caches, or blow away content
when incompatibilities are detected.

This commit starts the process of adding a little bit more coherence
to our caching story.

There are two main features in this commit:

1) Cache names tied to run-task content
2) Cache validation in run-task

Taskgraph now detects when a task is using caches with run-task. When
caches and run-task are both being used, the cache name is adjusted to
contain a hash of run-task's content. When run-task changes, the cache
name changes. So, changing run-task ensures that all caches from that point
forward are "clean." This frees run-task and any functionality related
to run-task (such as maintaining version control checkouts) from
having to maintain backwards or forwards compatibility with any other
version of run-task. This does mean that any changes to run-task
effectively wipe out caches. But changes to run-task tend to be
seldom, so this should be acceptable.

The second part of this change is code in run-task to record per-cache
properties and validate whether a populated cache is appropriate for
use. To enable this, taskgraph passes a list of cache paths via an
environment variable. For each cache path, run-task looks for a
well-defined file containing a list of "requirements." Right now,
that list is simply a version string. But other features will be
worked into it. If the cache is empty, we simply write out a new
requirements file and are done. If the file exists, we compare
requirements and fail fast if there is a mismatch. If the cache
has content but not this special file, then we abort (because this
should never happen).

The "requirements" validation isn't very useful now because the only
entry comes from run-task's source code and modifying run-task will
change the hash and cause a new cache to be used. The implementation
at this point is more demonstrating the concept than doing anything
terribly useful with it.

MozReview-Commit-ID: HtpXIc7OD1k

--HG--
extra : rebase_source : 2424696b1fde59f20152617a6ebb2afe14b94678
2017-08-18 14:07:03 -07:00
Gregory Szorc
303f662591 Bug 1391789 - Extract permission setting to own functions; r=dustin
I must have been in a closure mood when I wrote this code. The
main function is getting a bit heavyweight. So let's extract
these closures to make things less dense.

MozReview-Commit-ID: 4p5yKB1tTxn

--HG--
extra : rebase_source : 3c3e0b352da6290043013aa36c783e21e01460ba
extra : source : 053f0b0b48635c6a87aefe15ad73f361f0f64f79
2017-08-17 17:06:16 -07:00
Gregory Szorc
ecdc35a7eb Bug 1391789 - Make hash_path() a "public" API; r=dustin
So we can use it from another module without feeling dirty.

MozReview-Commit-ID: 1TCk9dda6mL

--HG--
extra : rebase_source : 15c2ee0e4d6aa812ab8acc3564da0c3e7ba45e19
2017-08-18 13:30:05 -07:00
Gregory Szorc
f114aa8c35 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

--HG--
extra : rebase_source : dfe97f92a726059200ed79afe215ef2cf1fd7bf1
2017-08-18 16:15:44 -07:00
Gregory Szorc
fc6c71dc35 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

--HG--
extra : rebase_source : 72b9c6e4b42369720a19bab42c9ea40c942b5494
2017-08-18 16:06:19 -07:00
Justin Wood
942758c3e4 Bug 1391643 - Make sure we use dep signing worker when using the dep signing scope. r=aki
MozReview-Commit-ID: Aeaa1CxN0aJ

--HG--
extra : rebase_source : a016d8a304cd141c2ff4edc78ea8049dd18e450e
2017-08-18 11:17:25 -04:00
Wander Lairson Costa
2f3d031392 Bug 1391806: Move valgrind task to its own docker image. r=ted
bug 1382280 tripled the size of desktop-build image because of
installation of debug symbols. It is only used for valgrind, so let's
move valgrind task to use its own image.

MozReview-Commit-ID: 16St7dDj8tr

--HG--
rename : taskcluster/docker/desktop-build/Dockerfile => taskcluster/docker/valgrind-build/Dockerfile
extra : rebase_source : cc66813cab430d906643fbadf63c661e14784f6f
2017-08-21 08:50:08 -03:00
Andrew Halberstadt
115f346cd8 Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin
This makes configuration files for yamllint work a bit better. It's still not perfect, but it's an improvement
on the current situation.

MozReview-Commit-ID: IKxgQm1a7bP

--HG--
extra : rebase_source : 051fafe21337f0557ee39ec71c90e74fd61d3da7
2017-08-23 11:28:28 -04:00
Andrew Halberstadt
974d001d8a Bug 1391019 - Replace the py(3) task with py-compat lint task, r=gps
MozReview-Commit-ID: ABtq9dnPo9T

--HG--
extra : rebase_source : 55a7b43f0630481956104dad01f09ae69f97be77
2017-08-31 10:12:30 -04:00
Andrew Halberstadt
3c2a0965ed Bug 1391019 - Move tools/lint/flake_/__init__.py to tools/lint/python/flake8.py, r=gps
This will allow us keep python related linting files in the same place.

MozReview-Commit-ID: ABtq9dnPo9T

--HG--
rename : tools/lint/flake8_/__init__.py => tools/lint/python/__init__.py
rename : tools/lint/flake8_/__init__.py => tools/lint/python/flake8.py
rename : tools/lint/flake8_/flake8_requirements.txt => tools/lint/python/flake8_requirements.txt
extra : rebase_source : 2568bc0bf8f4adbf8e0be73a54d5da068a8d81b0
2017-08-31 10:06:08 -04:00
Dustin J. Mitchell
4db2070dbc Bug 1394883: update docs about docker hashes; r=wcosta
MozReview-Commit-ID: AwMWyCWs4aS

--HG--
extra : rebase_source : 6ca7fc583ecddd7adb651f622f655f9cfd77ccd1
2017-08-30 16:05:10 +00:00
Dustin J. Mitchell
aafeb9d9fd Bug 1394883: use /builds/worker in decision images; r=wcosta
MozReview-Commit-ID: 29cnSAr3zCW

--HG--
extra : rebase_source : dab573ee114729822c5ad9bd2674062f7ee24502
2017-08-30 15:55:35 +00:00
Dustin J. Mitchell
77b187b766 Bug 1394883: use /builds/worker in image building; r=gps
This includes adding TASKCLUSTER_VOLUMES to docker image builds directly.  The
env variable is not added as part of the task transform because `run-task` is
not in payload.command.  In fact, build-image.sh calls run-task after doing
some other housekeeping.

Ideally image builds would be turned into jobs and all of this would occur
automatically, but that turns out to be quite a bit too complex for this
incidental fix -- perhaps best solved in another bug.

MozReview-Commit-ID: FYHvafJras7

--HG--
extra : rebase_source : 4e3b9ae9900727e7932c13ced34b3f8596d755d9
2017-08-30 16:30:13 +00:00
Dustin J. Mitchell
d3d84c812e Bug 1394883: clean up some leftover uses of /home/worker; r=wcosta
MozReview-Commit-ID: BssKG9QNVe1

--HG--
extra : rebase_source : ea54d7c33c78bb7b36be4df7cdc364c3a1d5d648
2017-08-30 15:19:19 +00:00
Brian Stack
d0d646af5f Bug 1394026 - Add docs for new action tasks definition format r=dustin
MozReview-Commit-ID: IeB9QGwI761

--HG--
extra : rebase_source : 26f067183f6835e2e29411eeed880aa4951aae0e
2017-08-29 10:53:13 -07:00
Brian Stack
b00e5eccd1 Bug 1394026 - Make an interactive loaner action task for linux. r=dustin
MozReview-Commit-ID: 3Jbbo7VvuDl

--HG--
extra : rebase_source : 54987fb37aed814f9655062dba1939774535f496
2017-08-28 13:53:56 -07:00
Brian Stack
2de4e3eefb Bug 1394026 - Enable yaml-based simple actions. r=dustin
MozReview-Commit-ID: 3RC2MaxcsQp

--HG--
extra : rebase_source : d814540fe3e6e631fc7cc24eea60c4a5b0b5ad39
2017-08-28 13:53:30 -07:00
Brian Stack
f13ceefd1e Bug 1394026 - Tag tasks with os and worker implementation. r=dustin
MozReview-Commit-ID: GWNiq6a3hlZ

--HG--
extra : rebase_source : 8364c22eebd8bd0dafb81db82518114b041a459e
2017-08-25 15:30:34 -07:00
Ryan VanderMeulen
ba4112b112 Backed out changeset 314ffe5d7d40 (bug 1385055) for decision task bustage. 2017-08-20 21:59:03 -04:00
Tom Prince
576f681017 Bug 1385055 - Add taskgraph support for checking out comm-central and related branches. r=dustin
MozReview-Commit-ID: 1eU567Cuc8a

--HG--
extra : rebase_source : 9356e86151982e17496b4d10e8f3a1834a80e298
2017-07-27 12:39:08 -06:00
Brian Stack
c98baa001f Bug 1391417 - Make retrigger act like it does in mozilla-taskcluster r=dustin
MozReview-Commit-ID: 1UAjWqQvwy5

--HG--
extra : rebase_source : ae5fd595ecc266c000f287a063be7b8ef6c4f781
2017-08-17 17:11:44 -07:00
Brian Stack
20f43fb860 Bug 1391323 - Make action tasks have task group and scheduler set by default r=dustin
MozReview-Commit-ID: G7oPskaFBVO

--HG--
extra : rebase_source : fadac724061db39c9e89c4cf17fe9845b5638e27
2017-08-17 11:53:55 -07:00
Phil Ringnalda
9359f5bf39 Merge inbound to m-c, a=merge
MozReview-Commit-ID: LCCoXUsCtmv
2017-08-19 15:29:10 -07:00
Wes Kocher
bb19458d5f Merge m-c to inbound, a=merge
MozReview-Commit-ID: EgYue63nSkv
2017-08-18 16:29:11 -07:00
Wes Kocher
b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Ted Mielczarek
c4f93428a7 bug 1259832 - add a post-build task to upload generated source files. r=dustin
This change adds an upload-generated-sources task kind that runs after nightly
builds, fetches their `target.generated-files.tar.gz` artifact, and uploads
all the contained files to an S3 bucket. For actual nightly and release builds
on SCM level 3 trees, the S3 bucket is configured to be publicly accessible,
so that tools like Socorro will be able to fetch generated source files that
appear in crash reports, and debuggers will be able to fetch generated sources
when they show up while debugging Nightly or Release builds.

There are also level-2 and level-1 S3 buckets configured for builds happening
on trees of other levels such as try. They are not configured as publicly
accessible, but they exist so that these tasks can be tested in try.

MozReview-Commit-ID: Js1HRftbtep

--HG--
extra : rebase_source : b1172c9cc8b8be437d3b94a6bf0ff6b2f7d3508b
extra : source : 73bf88110b3821d62a3d393e85b56896a12f2930
2017-08-09 14:32:05 -04:00
Justin Wood
d11db1f68c 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

--HG--
extra : rebase_source : b86c6ffd527dc8af963967c2722a3cee66a6ed3f
2017-08-16 15:27:30 -04:00
Wes Kocher
c043502159 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7sFZmPUXSx6
2017-08-18 17:21:29 -07:00
Mike Hommey
4931d14f9b Bug 1391533 - Update sccache to 0.2.1. r=ted
--HG--
extra : rebase_source : 29ad12d985b9861146b4d29c621eaf49e9d238ed
2017-08-19 06:48:01 +09:00
Brian Stack
508767f9d0 Bug 1391051 - Allow requesting multiple runs of talos tasks r=dustin
MozReview-Commit-ID: 6dB4zDaDuAF

--HG--
extra : rebase_source : e5fd3e54e51314b51fb311c3004b12a6bf737929
2017-08-16 13:34:14 -07:00
Wes Kocher
c1383cebf3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KLrOCT1a7El
2017-08-17 16:23:45 -07:00
Joel Maher
a4e30a204e Bug 1391371 - turn on non-e10s tests for windows7-debug. r=ahal
MozReview-Commit-ID: 9CzUf6Omk38
2017-08-17 15:46:03 -04:00
Andrew Halberstadt
b949847b39 Bug 1387135 - Add an 'artifact' try_task_config template to schedule artifact builds, r=dustin
This will change all build symbols to 'Ba' and set the USE_ARTIFACTS=1 environment variable.
Mozharness will detect this env to decide whether to perform an artifact build or not.

MozReview-Commit-ID: J8HVZzOt4mX

--HG--
extra : rebase_source : 453028d9be5cb2ad07e9a2a8b769cb6aac9893fe
2017-08-15 11:37:40 -04:00
Andrew Halberstadt
6b52a9427c Bug 1387135 - Tag all tasks with their kind, r=dustin
MozReview-Commit-ID: DqMKNbSmgj3

--HG--
extra : rebase_source : 3228cc9077a3db327596d933ffaa0bbc394ee63b
2017-08-16 15:52:18 -04:00
Andrew Halberstadt
d042e4c525 Bug 1387135 - Add ability to apply templates to task definitions via try_task_config.json, r=dustin
This provides a mechanism to modify the behaviour of tasks from a try push. The try_task_config.json
looks something like:

{
  "tasks": ["build-linux64/opt", "test-linux64/opt-mochitest-e10s-1"],
  "templates": {
    "artifact": {"enabled": 1}
  }
}

This tells taskgraph to apply the 'artifact' template to all tasks. Templates are JSONe based
.yml files that live under taskcluster/taskgraph/templates. Taskgraph will render every template
against every task definition. The templates themselves can then use JSONe condition statements to
filter out which tasks they should or shouldn't apply to.

MozReview-Commit-ID: J8HVZzOt4mX

--HG--
extra : rebase_source : 95a78bc56d3f90ff1b34aabd84ed92aff1e3d954
2017-08-15 11:36:29 -04:00
Rob Wood
1721a468a7 Bug 1387265 - Expand talos tp6 to macosx; r=jmaher
MozReview-Commit-ID: 78LGHEJNGz4

--HG--
extra : rebase_source : ad7189968b15ea7cd830d18a0e7033df65d8489f
2017-08-15 15:30:23 -04:00
Joel Maher
37e666d005 Bug 1361891 - migrate devtools from windows 8 -> windows 10. r=Callek
MozReview-Commit-ID: G2ftAb5Egqo
2017-08-17 14:45:08 -04:00
Geoff Brown
866a0cbc3b Bug 1380121 - Add a test task for modified test verification; r=jmaher
tc-e10s(TV) task is added as tier 3.
2017-08-17 06:54:48 -06:00
Tom Prince
23aba0f9de Bug 1385094 - Don't include docker image in chain of trust for builds if not using an in-tree image; r=aki,dustin
MozReview-Commit-ID: J6RkxSUqZrx

--HG--
extra : rebase_source : 10aac1f463e3b2a79c58cdc9daf0f4e77e1abe70
2017-08-16 13:14:39 -06:00
Tom Prince
ce1e2d5ae8 Bug 1385094 - Allow support for taskgraph taks to refer to indexed docker images, in addition to in-tree and docker-hub images. r=dustin
MozReview-Commit-ID: HFmsBswwsA1

--HG--
extra : rebase_source : cd209a5b7af8e96fc6aca35fbfa4d17c377540ae
2017-07-27 14:39:51 -06:00
Tom Prince
b9905248e2 Bug 1384210 - Add comm-central checkout support to taskcluster's run-task; r=gps
MozReview-Commit-ID: LxjYLdzmNO3

--HG--
extra : source : bdad4ba95b6da5bd63db5f3edd8f70dfb6711ed3
2017-07-25 10:17:03 -06:00
Wes Kocher
366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher
9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Ted Mielczarek
6e49037ae3 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

--HG--
extra : rebase_source : a07f13992f30a29ede29a2167e7f1da8d533fd09
2017-08-16 11:19:35 -07:00
Joel Maher
527cb9bd76 Bug 1383789 - Enable Stylo Talos tests on more desktop platforms. r=rwood
MozReview-Commit-ID: IcJc46A3izI
2017-08-16 10:21:06 -04:00
Wes Kocher
6fc856c286 Merge m-c to autoland, a=merge
MozReview-Commit-ID: DihMPQQtOlw
2017-08-15 23:17:09 -07:00
Aki Sasaki
9d3cf9697f bug 1383771 - back out d25db0546c92 (reland ffc2e43aa834). r=backout a=release
MozReview-Commit-ID: LlNo4Npariw

--HG--
extra : transplant_source : %86Z0%DF%CA%04%B6%AB%2B%0Dz%AF%D6%16%D2%ED%B6%A0%93%F6
2017-08-15 22:54:08 -07:00
Wes Kocher
5a4fb82b72 Merge autoland to central, a=merge
MozReview-Commit-ID: FOw9Q98gVXH
2017-08-15 18:51:25 -07:00
Aki Sasaki
03c0e3b9cb bug 1383771 - back out ffc2e43aa834 until we fix bug 1390552. r=backout a=release 2017-08-15 14:25:04 -07:00
Aki Sasaki
00338fa7fc bug 1390266 - l10n repack the linux signed tarball. r=Callek
MozReview-Commit-ID: LAJoFkS9jga

--HG--
extra : rebase_source : 348a520d065dd973eea282df479ab3369acbd347
2017-08-14 16:10:43 -07:00
Kartikaya Gupta
76a7ce0f17 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

--HG--
extra : rebase_source : 09f1fe7aeb76403b986d13594f0e017c40d058f1
2017-08-14 16:51:26 -04:00
Wes Kocher
3945278423 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Brian Stack
443ea3ff58 Bug 1379171 - Add an add-all-talos action r=dustin
MozReview-Commit-ID: GdLagQfUjeJ

--HG--
extra : rebase_source : 9d6cab8c84d9fd60e79ade3e86cb060b84667a76
2017-08-14 11:15:32 -07:00
Chris AtLee
693d2ab239 Bug 1390375: Stop extra DE builds on Beta r=Callek
MozReview-Commit-ID: D8iJtNufQ6H

--HG--
extra : rebase_source : 4e8be3ac7aa5c0d1f76b2239c1b2847ef8dc75d0
2017-08-15 11:53:09 -07:00
Xidorn Quan
59c8771a98 Bug 1387995 - Disable failing a11y tests and enable it for stylo. r=jmaher
MozReview-Commit-ID: 6drQyOT7fs4

--HG--
extra : rebase_source : 8040fbd3424e254f551369382378a9520348c0d5
2017-08-15 15:21:28 +10:00
Justin Wood
61a286d358 Bug 1390983 - Keyed-by default shouldn't be the only item, error out if it is. r=dustin
MozReview-Commit-ID: 6AKU4iakl3s

--HG--
extra : rebase_source : 3cd4312e64394f790a7a15fd19b9c8a900bcbe82
2017-08-16 13:48:46 -04:00
Justin Wood
0fe3788d35 Bug 1390983 - Rip out 'by-X: default: ..' when it is the only choice present. r=dustin
MozReview-Commit-ID: 7c30ovW7vZ0

--HG--
extra : rebase_source : a6269aaf2eb5d17e61e0e9808334611330503965
2017-08-16 13:55:19 -04:00
Wes Kocher
2458d6b297 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KfZgcCxrZcg
2017-08-14 17:59:46 -07:00
Johan Lorenzo
d4bd2a28ea Bug 1383771 - Add widevine support to Nightly builds r=aki a=merge
Other related changes:
* Only target.{zip,tar.gz,tar.bz} get the widevine signature (not the various installers).
* Linux{32,64}-nightly are now repackaged. Their mar files are not signed during signed step anymore. It now happens after the repackage.
* As a consequence, funsize routes for linux are now set to repackage-signing (instead of signing)
* Signed upstream artifacts are now defined in a dedicated module (to avoid duplication)
* Platforms defined in beetmover_repackage now allow regex (to reduce duplication too)
* Mozharness configs: Delete unused (and misleading) `src_mozconfig` for windows. This value is actually not used when `run_configure` (in the same dict) is set to False.

MozReview-Commit-ID: COKqevW9Mzn

--HG--
extra : source : ffc2e43aa834e05f0d51d68dfb36317c1b408b08
2017-08-10 19:25:36 +02:00
Brian Stack
9f029d0d00 Bug 1388407 - Fix timeouts in action-task graph submission r=dustin
MozReview-Commit-ID: 5hoFSaiYEXD

--HG--
extra : rebase_source : 5762e478ce0a293b8aae23f3eba48c0e2742b985
2017-08-11 15:31:43 -07:00
Dustin J. Mitchell
cafccc1fed Bug 1390938: only use one top-level heading; r=bstack
MozReview-Commit-ID: DKRdlCx6Ng8

--HG--
extra : rebase_source : 635ad93222038031fa3c41889d1572f56f289f05
2017-08-16 16:26:58 +00:00
Gregory Szorc
daa2f0b603 Bug 1389715 - Upgrade to Mercurial 4.3.1; r=ted
This is pretty straightforward: we just update some version numbers
and hashes.

The tooltool artifacts were produced and uploaded by me, just like
the last ones. I have some patches to establish a proper toolchain
task to build Mercurial. But it is a bit of a rabbit hole due to the
chicken-and-egg problem of Mercurial needing to be in Docker images.
Preserving the existing install mechanism is the simplest path
forward. Plus we need this patch so we can uplift so earlier releases
get a secure Mercurial in their Docker images.

color and pager are enabled by default in 4.2. So remove configuration
options for them that add no value.

MozReview-Commit-ID: 9pkHX044kV8

--HG--
extra : rebase_source : 4b66f05787bc1b46e1e4db2a47439f3d046becf5
2017-08-14 19:03:33 -07:00
Gregory Szorc
07cf2acabf Bug 1389715 - Remove the illusion we support running Mercurial with Python 2.6; r=ted
The comment removed by this commit invited the potential for badness.
Mercurial 4.3 drops support for Python 2.6 anyway. So let's remove
any indication we support running Mercurial with Python 2.6.

MozReview-Commit-ID: 40K10s95FLg

--HG--
extra : rebase_source : 52251ff6d1e4877b1cd5dcbf4eb75c875cffa452
2017-08-14 19:02:06 -07:00
Gregory Szorc
d9f61d15da 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

--HG--
extra : rebase_source : caa9e8f3e355710542794efb7f6f92c2ef43ef0a
2017-08-14 16:04:18 -07:00
Nick Alexander
f27fc91bf7 Bug 1383973 - Use run: using and build transforms to avoid tc-vcs in android-* tasks. r=dustin
MozReview-Commit-ID: aENMcIbglQ

--HG--
rename : taskcluster/ci/android-stuff/kind.yml => taskcluster/ci/build/android-stuff.yml
extra : rebase_source : 2b51e02cd4f77675c42435708c3a579539e6108e
2017-08-01 11:08:14 -07:00
Nick Alexander
0100ff2b4a 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

--HG--
rename : taskcluster/docker/android-gradle-build/bin/after.sh => taskcluster/scripts/builder/build-android-dependencies/after.sh
rename : taskcluster/docker/android-gradle-build/bin/before.sh => taskcluster/scripts/builder/build-android-dependencies/before.sh
rename : taskcluster/docker/android-gradle-build/bin/repackage-jdk-centos.sh => taskcluster/scripts/builder/build-android-dependencies/repackage-jdk-centos.sh
extra : rebase_source : f94e6b9b780f96038c60d3825039a0f94add0404
2017-08-02 16:41:15 -07:00
Nick Alexander
9d2b3f404c Bug 1383973 - "Rebase" android-gradle-build back onto desktop-build. r=dustin
We really want the Android build image to inherit from desktop-build,
but that isn't possible with the current `docker-image: in-tree:`
support.  Therefore, way back in the mists of time, I culted
android-gradle-build from desktop-build.  This moves it back (mostly)
in line with desktop-build, which has advanced.

MozReview-Commit-ID: 6GmuxHjhAbv

--HG--
extra : rebase_source : 265937bc9ba3bc4c18756b6c675100a62929bafe
2017-08-11 15:14:55 -07:00
Nick Alexander
777630cc21 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

--HG--
extra : rebase_source : cd7a8402259139f37ec649bb5dc39317fe2fc3cb
2017-08-01 18:00:26 -07:00
Wes Kocher
a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Wes Kocher
5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Mike Hommey
47bc56acc7 Bug 1389398 - Remove remaining clang entries in windows tooltool manifests. r=gps
Since the buildbot-based Windows builds using releng.manifest are busted
anyways, there is no reason to keep clang entries in there. Which makes
those manifests identical to clang.manifest, so remote the latter.

--HG--
extra : rebase_source : eef7eca4bafc4e348eadc04d6da2bd17ea20deea
2017-08-11 16:16:32 +09:00
Brian Stack
d1e7547331 Bug 1389248 - Move actions spec to taskcluster docs r=dustin
MozReview-Commit-ID: BsYRmivUZZ7

--HG--
extra : rebase_source : 05d3c67f06585f43b224fce9785dbf8f97edd3e5
2017-08-10 13:59:05 -07:00
Wes Kocher
cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Wes Kocher
936a9461f6 Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Aki Sasaki
6a2f68f35c bug 1389260 - split by max # of locales per chunk. fix nightly l10n. r=bustage a=merge
MozReview-Commit-ID: Z4fW5rugEP

--HG--
extra : source : d60f3724f1a79d903f888d5053dcecef8a16e5ba
2017-08-10 17:25:46 -07:00
Wander Lairson Costa
ce276a0927 Bug 1382280 part 2: Install debug information. r=ted
valgrind test will try to load debug information for the modules present
in a stack trace. If it fails to do it, we endup with a stack trace with
only memory addresses.

We install debuginfo for all installed packages and look for all libs
in the system common locations, and try to install the corresponding
debug information package.

These are acomplished with debuginfo-install yum utility script.

MozReview-Commit-ID: 76mHOUKKJud
2017-08-10 13:42:12 -03:00
Wander Lairson Costa
285b4dbffb Bug 1382280 part 1: Upgrade valgrind r=ted
Bug 1338651 was backed out because when building a newer image, there
was a valgrind leak report that couldn't resolve symbols. Further
investigation showed the valgrind package installed had symbols stripped.

We upgrade valgrind version and build it from source with symbols.

We had to build inside the docker image because we need to run
"make install". Using "make dist" to generate a tar ball will also run
"make docs", and it is hard to make it work because of the outdated
texlive package present in CentOS 6.

We also apply a patch [1] to valgrind correctly generate symbols
for unloaded objects.

[1] https://bugs.kde.org/show_bug.cgi?id=79362#c62

MozReview-Commit-ID: 2IhuJY28Ke3
2017-08-10 13:42:11 -03:00
Justin Wood
835ae13672 Bug 1387862 - Add yaml lint to the taskgraph. r=ahal,dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: GN5pOJCXvnz

--HG--
extra : rebase_source : 1dd718a44d103f8c4e25736a7373a342d00e0152
2017-08-06 13:52:24 -04:00
Justin Wood
3f653d8d9b Bug 1387862 - Lint taskcluster yaml files. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: L83j6SODA3w

--HG--
extra : rebase_source : afb1a26e4a6819fc326f3bd1e9b856d6104597a8
2017-08-06 13:26:13 -04:00