Граф коммитов

75 Коммитов

Автор SHA1 Сообщение Дата
Wander Lairson Costa 4b4fde67ec Bug 1266624: apply backoff mozharness fixes to macosx script. r=dustin 2016-12-07 10:29:00 +01:00
Wander Lairson Costa 5d5f326c05 Bug 1266624: Apply exponential backoff for mozharness download. r=dustin
MozReview-Commit-ID: Ip4MjVJFwT6

--HG--
extra : rebase_source : 62a0c16da8804df0dfcb8d194b6bbc0f1d74b8f8
2016-12-06 15:27:40 -10:00
Ted Mielczarek 1c52e9500b bug 1269355 - Enable sccache for taskcluster linux32/64 builds. r=dustin,gps
MozReview-Commit-ID: LGqpNDb7uHN

--HG--
extra : rebase_source : dfd3d0c7208178d7a44cd49a84cd1ead194e8095
2016-11-10 13:02:54 -05:00
Ting-Yu Chou aa40a97c47 Bug 1316537 part 1 - Add 64-bit clang-cl toolchain build. r=dustin
MozReview-Commit-ID: 5EKWZ94TrMD

--HG--
rename : taskcluster/scripts/misc/build-clang-windows.sh => taskcluster/scripts/misc/build-clang32-windows.sh
extra : rebase_source : 369d9da0dd0527833cc900fe56abd27d64953ebf
2016-11-15 09:06:08 +08:00
Wander Lairson Costa 9950817294 Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: 5ZaYYRueRVr

--HG--
extra : rebase_source : f81b3d97d44797a323431a640b1f8e29bf192606
2016-11-08 12:11:15 -02:00
Sebastian Hengst ebc8c22b60 Backed out changeset 6228dfcfac3b (bug 1274980) 2016-11-07 17:57:04 +01:00
Wander Lairson Costa 41ed0a2cdf Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: CxT3BP3sydG

--HG--
extra : rebase_source : 25e16bf5b5d5a8121fd431788185d318612d7ea5
2016-11-07 09:20:50 -02:00
Gregory Szorc dbb85be2ac Bug 1314807 - Use vendored tooltool.py; r=dustin
Do not speak to github.com as part of CI. Do not open ourselves to a
MitM attack. Be more deterministic.

MozReview-Commit-ID: JRGbraQtqJi

--HG--
extra : rebase_source : b03c36f0c604995f396d49ab3d046637ef864613
2016-11-02 16:26:49 -07:00
Nathan Froyd 93f9a4dc41 Bug 1306650 - part 7 - add SVN, CMake, and Ninja to the clang-cl toolchain build; r=ehsan
We need these tools to build, and they are no longer installed on the build
machines for us.
2016-10-26 16:18:23 -04:00
Nathan Froyd a26d31f69e Bug 1306650 - part 6 - use a different tooltool manifest for clang-cl builds; r=ehsan
It doesn't seem good to tie ourselves to the Gecko tooltool manifest for
building clang-cl; we want to stick with something we can update on
clang-cl's schedule, not Gecko's.
2016-10-26 16:18:24 -04:00
Nathan Froyd 27dc2c9c56 Bug 1306650 - part 5 - modify clang-cl toolchain config to look for just cl.exe; r=ehsan
We cannot depend on a fixed location for cl.exe in a taskcluster world.
We therefore need to make our build-clang.py script accomodate relative
path names for cc/cxx and assume those are binaries that should be
looked up on PATH.

We also need to modify the Linux build script so that the virtualenv is
used to look up the new 'which' package.
2016-10-26 16:18:24 -04:00
Nathan Froyd 684ffb2f54 Bug 1306650 - part 4 - modify build-clang-windows.sh for running under taskcluster; r=ehsan
There are a number of changes here:

- Taskcluster machines don't have MSVC installed, so we have to setup all
  the MSVC infrastructure ourselves;
- Gecko contains useful Python packages to use, so we need to setup a
  python virtualenv to have access to those.  Fortunately, mach handles all
  of that for us;
- We need to add build tools to our PATH, as they are not pre-installed;
- We need to define UPLOAD_PATH ourself.
2016-10-26 16:18:24 -04:00
Nathan Froyd 86798869c9 Bug 1306650 - part 3 - add clang-cl toolchain builds; r=dustin
The build-clang-windows.sh is basically an exact copy of the Linux one
at the moment; we'll fix it up for all the Windows-specific taskcluster
bits in a future commit.
2016-10-26 16:18:24 -04:00
Gregory Szorc 1deb8dd0e5 Bug 1311791 - Explicitly declare path to shared hg store; r=dustin
332a08725ed0 changed the store path logic in a quick and crude manner.
The code could lead to multiple shared stores existing on a cache
if checkouts were in different parent directories.

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

MozReview-Commit-ID: 19Aa1QVrVQ8

--HG--
extra : rebase_source : f74c0ab9cba2bf18e335f24c86dd095335961723
2016-10-20 12:56:43 -07:00
Gregory Szorc 0363e0cffb Bug 1306641 - Remove TaskCluster automation related to b2g; r=dustin
This definitely isn't all of it. But I got the obvious chunks. Still
need to clean up mozharness.

MozReview-Commit-ID: JTZBydP3i2r

--HG--
extra : rebase_source : 782401359036751896ef6c153a81a06cb14031bb
2016-09-30 09:21:09 -07:00
Gregory Szorc f67f676a52 Bug 1292071 - Put Mercurial store on same cache as checkout; r=dustin
We were seeing issues with the Mercurial working directory not being
pristine. While I can't reproduce this, I have a hunch it is due to
mixing and matching stores and checkouts in TaskCluster. For example,
if a worker supports running concurrent tasks and 2 tasks arrive at
the same time, the caches for the store and checkout may look like:

  (store0, checkout0)
  (store1, checkout1)

However, the next task may get:

  (store1, checkout0)

This may confuse Mercurial.

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

MozReview-Commit-ID: 8SzyS6wWf9C

--HG--
extra : rebase_source : 6205f3fe944a6ad2cb833a5a7c0ae5ba136eaea6
2016-10-18 09:46:55 -07:00
Steve Fink e4e517faa7 Bug 1310819 - Fix developer runs of hazard analysis, r=fitzgen
--HG--
extra : rebase_source : 5aab1ed27703342fbabeadcde258f94a497de5a5
2016-10-17 14:04:38 -07:00
Nick Fitzgerald e2cccedfb2 Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
Justin Wood 8b611ab64b Bug 1308950 - L10n in taskcluster is broken due to run-task landing. r=dustin
MozReview-Commit-ID: FKNYqhNoevP

--HG--
extra : rebase_source : 90d493bf6812350e531a2b2389e0b25e747ce8d0
2016-10-10 15:01:28 -04:00
Dustin J. Mitchell 3466fe0ae3 Bug 1307177: print recognizable error when unzip fails; r=philor
MozReview-Commit-ID: DAi2cOdugE

--HG--
extra : rebase_source : 48539802056e2dbb556c0f655c3294b4dc9e4a20
2016-10-03 17:47:16 +00:00
Gregory Szorc 499204ccb9 Bug 1289249 - Make build-linux.sh executable; r=dustin
Currently, it is executed via another shell script (build.sh from
the desktop-build image). build.sh is going away and this will be
the main script called by run-task. It already has a shebang. So
make it executable.

MozReview-Commit-ID: GT4Ix4xdx88

--HG--
extra : rebase_source : e1298db624bedf67f00cec5237a5256624cccf62
2016-09-28 22:43:35 -07:00
Gregory Szorc 110de002ce Bug 1289249 - Use vendored tooltool.py in SpiderMonkey tasks; r=dustin
Previously, SpiderMonkey tasks were using tc-vcs to clone the tooltool
repository so they could have access to tooltool.py. tooltool.py is
already in the execution environment courtesy of being part of the
source checkout. So use it from there.

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

MozReview-Commit-ID: JmavaBG4vii

--HG--
extra : rebase_source : 5f6c56d1398268ceba867bb47645281465949246
2016-09-29 18:13:36 -07:00
Gregory Szorc 51703443c7 Bug 1289249 - Ensure cwd is /home/worker; r=dustin
When we switch to run-task in a subsequent commit, we can no longer
rely on cwd being /home/worker. So have build-linux.sh change the cwd
explicitly.

MozReview-Commit-ID: 5sYAjHCFi3s

--HG--
extra : rebase_source : 35e1ceafb6dc880f7f28ee152ae7c78d67ca2f29
2016-09-29 15:40:54 -07:00
Carsten "Tomcat" Book 4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Ted Mielczarek 3cb006a783 bug 1303980 - update minidump_stackwalk.sh to build Breakpad from git repo (NPOTB)
MozReview-Commit-ID: DA80ulpEaJt

--HG--
extra : rebase_source : c5f278e2b8e87bf4e70140d721871ff24e9732cf
2016-09-20 06:56:01 -04:00
Gregory Szorc 4ac2e8dbdc Bug 1302907 - Run mozharness from source checkout if available; r=dustin
Currently, build tasks produce a zip file artifact containing the
content of testing/mozharness.  This zip file is downloaded and applied
by any test using mozharness (which is most of them).

Now that some tests have a source checkout, we don't need to download
a mozharness zip because we can just use the source checkout.

This commit teaches test-ubuntu.sh to accept a custom path to
mozharness files. If that path is defined, we skip downloading the
mozharness zip.

The taskgraph has been updated to pass the path of mozharness in the
checkout to test-ubuntu.sh when a source checkout is available.

MozReview-Commit-ID: 2P17Wx1oytI

--HG--
extra : rebase_source : a631a87737b253aece3bbc550ce58168212ae87c
extra : source : 21fdf73bbb17e34cfe00e372695c4f21e4ba3e6a
2016-09-14 18:20:57 -07:00
Gregory Szorc 92ca1ebc2f Bug 1302907 - Use relative path to mozharness configs; r=dustin
Same deal as the last commit except for config paths.

MozReview-Commit-ID: 3AXwc3i3Iqu

--HG--
extra : rebase_source : 588020b22853f669d9b9ec1b368d82f4b6f14a97
extra : source : dda84d1fb12b3416c81aab675c58b95ecb9f37cd
2016-09-14 17:07:04 -07:00
Gregory Szorc 2316b36f83 Bug 1302907 - Use relative path to mozharness script; r=dustin
Mozharness scripts all live in "mozharness/scripts." So, we don't need
to redundantly define this path. Let's define the script as the relative
path within "mozharness/scripts" instead.

IMO this cosmetic improvement can stand on its own. However, the real
reason for this change is to pave the way for running mozharness from
a source checkout instead of downloading a zip archive of it.

MozReview-Commit-ID: FUnMiLlCcGK

--HG--
extra : rebase_source : 8e11f98dc2f63fa7d7fbd893d68e3c6d475a5759
extra : source : 11ffdc56f5becfeb2ee03423f67749f4baf1f3a7
2016-09-14 16:56:55 -07:00
Gregory Szorc 6598b921fb Bug 1302907 - Merge test-ubuntu1204.sh and test-ubuntu1604.sh; r=dustin
The only difference in these files was the order that pulseaudio is
started and whether compiz is started. We rename test-ubuntu1604.sh
to test-ubuntu.sh, add some distro release detection, and add
some conditional branches so it works on both Ubuntu 12.04 and 16.04.

MozReview-Commit-ID: CaSfuDxss3d

--HG--
rename : taskcluster/scripts/tester/test-ubuntu1604.sh => taskcluster/scripts/tester/test-ubuntu.sh
extra : rebase_source : 29040c1cf7baedda0aaeff4bd788d5d400c127f1
extra : source : f227ea4d52fed84e3e682de0aa4cb8869539d645
2016-09-20 17:17:18 -07:00
Enes Goktas 2f65f683e3 Bug 1272629 - Add taskcluster task to build binutils package; r=glandium
MozReview-Commit-ID: AEOShpN8ZMI

--HG--
extra : rebase_source : fc8b99002c4944ae666b1a6922edc42d2b0805f4
extra : source : 86d07e6bd5b7197f249e5064ee600fe83b808fb1
2016-09-14 18:47:50 -07:00
Wes Kocher cdf9010674 Backed out changeset f227ea4d52fe (bug 1302907) because it caused some updated packages to get built, causing linux64 failures a=backout CLOSED TREE
--HG--
rename : taskcluster/scripts/tester/test-ubuntu.sh => taskcluster/scripts/tester/test-ubuntu1604.sh
2016-09-15 14:40:10 -07:00
Gregory Szorc 9a92ffbf3d Backed out changesets 11ffdc565be, dda84d1fb12b, and 21fdf73bbb17 (bug 1302907) for Windows build bustage
Because Windows.

--HG--
extra : histedit_source : 738d1b89cf5638d31324efd01545c9963df9a174
2016-09-15 12:49:03 -07:00
Gregory Szorc 7d5dcf8909 Bug 1302907 - Run mozharness from source checkout if available; r=dustin
Currently, build tasks produce a zip file artifact containing the
content of testing/mozharness.  This zip file is downloaded and applied
by any test using mozharness (which is most of them).

Now that some tests have a source checkout, we don't need to download
a mozharness zip because we can just use the source checkout.

This commit teaches test-ubuntu.sh to accept a custom path to
mozharness files. If that path is defined, we skip downloading the
mozharness zip.

The taskgraph has been updated to pass the path of mozharness in the
checkout to test-ubuntu.sh when a source checkout is available.

MozReview-Commit-ID: 2P17Wx1oytI

--HG--
extra : rebase_source : 5d97079f054f3cd236a1c2a3039c3894207377f9
2016-09-14 18:20:57 -07:00
Gregory Szorc 1c561bad1d Bug 1302907 - Use relative path to mozharness configs; r=dustin
Same deal as the last commit except for config paths.

MozReview-Commit-ID: 3AXwc3i3Iqu

--HG--
extra : rebase_source : c249f77289e24aceaae73dbca0c994b949215814
2016-09-14 17:07:04 -07:00
Gregory Szorc 30433a1b9b Bug 1302907 - Use relative path to mozharness script; r=dustin
Mozharness scripts all live in "mozharness/scripts." So, we don't need
to redundantly define this path. Let's define the script as the relative
path within "mozharness/scripts" instead.

IMO this cosmetic improvement can stand on its own. However, the real
reason for this change is to pave the way for running mozharness from
a source checkout instead of downloading a zip archive of it.

MozReview-Commit-ID: FUnMiLlCcGK

--HG--
extra : rebase_source : 3a0093f1995120264fed89dc4af94eea3554bfe5
2016-09-14 16:56:55 -07:00
Gregory Szorc 4c216e4cdb Bug 1302907 - Merge test-ubuntu1204.sh and test-ubuntu1604.sh; r=dustin
The only difference in these files was the order that pulseaudio is
started and whether compiz is started. We rename test-ubuntu1604.sh
to test-ubuntu.sh, add some distro release detection, and add
some conditional branches so it works on both Ubuntu 12.04 and 16.04.

MozReview-Commit-ID: CaSfuDxss3d

--HG--
rename : taskcluster/scripts/tester/test-ubuntu1604.sh => taskcluster/scripts/tester/test-ubuntu.sh
extra : rebase_source : 2153d24fbf8208851a6df8728b8a820166278751
2016-09-14 16:29:25 -07:00
Andrew Halberstadt 7c5b309a37 Bug 1292561 - Use robustcheckout from the wizard on interactive loaners, r=gps
Robust checkout is the preferred method to clone a mercurial repository. This should
speed up the cloning process a bit and reduce storage size.

MozReview-Commit-ID: 92rcwMwRLYN

--HG--
extra : rebase_source : 33a2349d636a07ad1643798bf798bdb175c4f1ca
2016-09-04 10:33:22 -04:00
Justin Wood 45e087064b Bug 1293789 - Single Local TC, mozharness bits. r=rail
MozReview-Commit-ID: mH5MKaUodA

--HG--
extra : rebase_source : cd223902bb8fcd4f0d4d926ad5d17dbf69d760f2
2016-09-03 10:27:46 -04:00
Gregory Arndt fa4f868ca7 Bug 1263815 - retry xvfb startup. r=dustin
Sometimes xvfb will not start up with the current retry/delay settings. This will
attempt to retry more and delay for longer to ensure xvfb has started up. Common
pieces of this have been factored out into a recipe that all docker images can schare
that need this functionality.

MozReview-Commit-ID: BTXkJkBWLZX

--HG--
extra : rebase_source : 7554d7784768a65deb2c9ccb89586e5f77550e9f
2016-07-06 09:06:58 -05:00
Gregory Szorc fb9d600ab0 Backed out changeset e6e5569551be (bug 1263815) for valgrind failures because Docker image generation isn't deterministic 2016-08-18 15:50:28 -07:00
Gregory Arndt d908af3f6a Bug 1263815 - retry xvfb startup. r=dustin
Sometimes xvfb will not start up with the current retry/delay settings.  This will
attempt to retry more and delay for longer to ensure xvfb has started up.  Common
pieces of this have been factored out into a recipe that all docker images can schare
that need this functionality.

MozReview-Commit-ID: 2ww0eT3cIt6

--HG--
extra : rebase_source : f343f8a2bf8370657b63afdd9d739988bbb6261c
2016-07-06 09:06:58 -05:00
Gregory Szorc 5e326fbca7 Backed out changeset 25bc6ca8f19f (bug 1294234) for breaking TC tests
Introduced a (possibly intermittent) permissions failure downloading
mozharness. Might be cache related.
2016-08-12 21:23:41 -07:00
Gregory Szorc d8a853a72c Bug 1294234 - Use run-task for test tasks; r=dustin
Before, test.sh (duplicated between the desktop-test and
desktop1604-test images) was dropping permissions, creating a workspace,
and executing test-linux.sh. This is functionality now provided by
run-task.

So, convert the test tasks to use run-task.

One thing run-task isn't doing is created the workspace. So this
functionality has been moved into test-ubuntu1204.sh and
test-ubuntu1604.sh.

Since the test.sh files are no longer used after this change, they have
been deleted. The desktop-test image no longer has any files in the
bin/ directory, so the Dockerfile entry to copy those files has been
removed.

MozReview-Commit-ID: 1BiskrMs6xW

--HG--
extra : rebase_source : 264efc9b30e62927dece848b9b1eab7542cf2cba
extra : source : 8335aa40265b1d17421d06d9e9a180eb8419fe47
extra : histedit_source : a5ae54a810718d446ded8bab510e6cd605562737
2016-08-09 14:34:58 -07:00
Wes Kocher 5e221f11cb Backed out 3 changesets (bug 1294234) for UnicodeDecodeError failures in various tests a=backout CLOSED TREE
Backed out changeset d118ab526ad8 (bug 1294234)
Backed out changeset 3cfc4041d48d (bug 1294234)
Backed out changeset 710d37b610a8 (bug 1294234)
2016-08-11 16:04:48 -07:00
Gregory Szorc 387ec61b32 Bug 1294234 - Use run-task for test tasks; r=dustin
Before, test.sh (duplicated between the desktop-test and
desktop1604-test images) was dropping permissions, creating a workspace,
and executing test-linux.sh. This is functionality now provided by
run-task.

So, convert the test tasks to use run-task.

One thing run-task isn't doing is created the workspace. So this
functionality has been moved into test-ubuntu1204.sh and
test-ubuntu1604.sh.

Since the test.sh files are no longer used after this change, they have
been deleted. The desktop-test image no longer has any files in the
bin/ directory, so the Dockerfile entry to copy those files has been
removed.

MozReview-Commit-ID: 1BiskrMs6xW

--HG--
extra : rebase_source : 75a937321d1850caebbb1eeaab42d04638ef75d9
extra : source : 8335aa40265b1d17421d06d9e9a180eb8419fe47
2016-08-09 14:34:58 -07:00
Justin Wood 47b16ee23c Bug 1291337 - Export MOZ_AUTOMATION_UPLOAD_SYMBOLS for TC's jobs instead of just setting it. r=dustin
MozReview-Commit-ID: IW04TEogG4O

--HG--
extra : rebase_source : f2ab60bd95a4986416840d02c94b69af6d93dd77
extra : source : b1985f935333a0d5546ce9698b7ebab854542904
2016-08-01 20:14:46 -04:00
Alexandre Lissy 7a97623568 Bug 1290685 - Update TaskCluster to use github.com for B2G r=garndt
MozReview-Commit-ID: EmLzh977XWi

--HG--
extra : rebase_source : 9ef54a5cb83f722bfc5fecee2c2c98e9eea45231
2016-07-31 00:03:51 +02:00
Iris Hsiao 095be1ae13 Backed out changeset 3ebad6b5ce57 (bug 1290685) per developer's request 2016-08-02 14:39:10 +08:00
Alexandre Lissy f361a89027 Bug 1290685 - Update TaskCluster to use github.com for B2G.git r=garndt
MozReview-Commit-ID: EmLzh977XWi

--HG--
extra : rebase_source : cd9aa8b7e4119dd63eb2e31a2b2b745f1c6536ee
2016-07-31 00:03:51 +02:00
Joel Maher 8c814c34a8 Bug 1290459 - port changes from bug 1285582 to test-ubuntu1604.sh. r=ahal
MozReview-Commit-ID: L5HjOIesJCQ

--HG--
extra : rebase_source : c1d9903e01d2be4710f551c451446690180a34b0
2016-07-29 14:56:31 -04:00