Commit Graph

52 Commits

Author SHA1 Message Date
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
Andrew Halberstadt
dc3d031216 Bug 1289879 - Activate the mozharness virtualenv when running tests on interactive workers, r=armenzg
There are some packages like 'requests' that are bundled in the mozharness venv, but not in the test
package. It would be easy to manually add these to sys.path in the mach bootstrap script, but it's
much nicer to simply activate this virtualenv in the first place.

MozReview-Commit-ID: 8xeJEIgUbLj

--HG--
extra : rebase_source : b87e5ef46041d9d5a89d419e97fe3a316de6c8c2
2016-07-20 16:40:40 -04:00
Andrew Halberstadt
9587255e24 Bug 1285582 - Make sure Xvfb is running for interactive tasks, r=dustin
Normally we start Xvfb as a background task, then run the tests from the
same script. However, in interactive mode we were starting Xvfb, the script
would exit, and then we would potentially run tests later on from another
script. Unforunately this meant that Xvfb was dying with the first script
and tests would fail.

This patch runs Xvfb in a screen session so that it will still be available
later on when running an interactive shell.

MozReview-Commit-ID: EduVyglo2BG

--HG--
extra : rebase_source : 6e2c40ee16f80792f038fd581168e181a2c4bf51
2016-07-11 11:14:46 -04:00
Joel Maher
65771e9829 Bug 1281179 - Create a docker image for Ubuntu 16.04 for use in tests. r=dustin
MozReview-Commit-ID: ApHhev5J21x

--HG--
rename : taskcluster/scripts/tester/test-linux.sh => taskcluster/scripts/tester/test-ubuntu1204.sh
2016-07-25 10:44:37 -04:00
Carsten "Tomcat" Book
2abb8cc385 Backed out changeset 86d07e6bd5b7 (bug 1272629) 2016-07-22 08:35:06 +02:00
Enes Goktas
2c5f1632a6 Bug 1272629 - Add taskcluster task to build binutils package. r=glandium
MozReview-Commit-ID: HxM7MzUDG5j
2016-07-22 11:00:42 +09:00
Steve Fink
1fca5e3aec Bug 1280637 - Implement tsan (thread sanitizer), asan (address sanitizer), and msan (uninitialized memory) jobs, r=terrence
MozReview-Commit-ID: JuFVqAb9C4s

--HG--
rename : browser/config/tooltool-manifests/linux64/asan.manifest => browser/config/tooltool-manifests/linux64/msan.manifest
extra : rebase_source : 1a5e77992388b0323bb639ee2fd4285a68b94505
2016-07-15 12:33:40 -07:00
Andrew Halberstadt
97becf10e0 Bug 1285550 - Ensure 'run-mozharness' binary exists before invoking from interactive wizard, r=armenzg
This fixes a race condition between the 'test-linux.sh' process and the 'taskcluster-interactive-shell'
process in interactive tasks.

MozReview-Commit-ID: GhqKpq5pAtj

--HG--
extra : rebase_source : 67b756d0373432404a4f7cc928bac09fc3f82e8a
2016-07-08 10:28:07 -04:00
Carsten "Tomcat" Book
02ea56d596 merge mozilla-inbound to mozilla-central a=merge 2016-07-12 10:58:33 +02:00
Dustin J. Mitchell
ddb2747bf1 Bug 1278445: do not try to upload symbols from beta; r=mshal
MozReview-Commit-ID: 9YZvV2cIA1s

--HG--
extra : rebase_source : 477332ec9e1cf36ba1dfefa052287e5cac79f6c7
2016-07-11 17:31:26 +00:00
Steve Fink
6eaee4fec1 Bug 1283911 - Convert autospider.sh to autospider.py, and switch to using JSON for the variants files, r=terrence
MozReview-Commit-ID: mH0JViAB6r

--HG--
extra : transplant_source : lC%B6%F8PV%CDb%DBqD%A0%01%B1Q.%A2%21%FD%AF
extra : histedit_source : 4743781db9dda61f17068b21c907fda835b348f7
2016-06-30 15:38:00 -07:00
Steve Fink
ef2b29f031 Bug 1283914 - Remove now-unnecessary hazard analysis annotations, r=terrence
--HG--
extra : rebase_source : e69c049cbdfdac3200317ec1aa24587de097cdd6
extra : histedit_source : e14fd18c9462833f70c12980c77b4b71e83e8f14
2016-06-03 13:11:19 -07:00
Andrew Halberstadt
b892f58bdc Bug 1279020 - Symlink mach binary to $HOME/bin after mozharness setup on interactive workers, r=armenzg
When running an interactive worker (aka one-click loaner), developers have the option of setting
up the mozharness environment without running tests. When they do this, we should automatically
symlink the mach binary found in the tests.zip to their path. This way developers don't need to
go searching for $HOME/workspace/build/tests/mach to run their tests.

MozReview-Commit-ID: 1JKPYSsYKlN

--HG--
extra : rebase_source : 1b9bd2a201641fee168778268c3612020d7ee868
2016-06-09 17:20:19 -04:00
Alexandre Lissy
7da816954a Bug 1284447 - Cleanup Gecko and mozharness configs r=jlund,wcosta
MozReview-Commit-ID: 6R7vet77cyk

--HG--
extra : rebase_source : 2c990957531bf0389e85b1aa1683b3f8ea0f7198
2016-07-05 13:10:08 +02:00
Steve Fink
17949f19d3 Bug 1283309 - Fix the hazard output, fix a local build problem with new build checking, and point to hazard analysis docs on failure, r=terrence
--HG--
extra : rebase_source : 9c6df115f24bbae9da21a6529debbde0b815a34a
extra : amend_source : 890ad99d2bbe571b47cd1e344ab92e4b06169060
2016-06-29 00:14:39 +01:00
Alexandre Lissy
2eb2535e97 Bug 1282226 - Kill secrets from phone-builder image and fix aries/hammerhead r=wcosta
MozReview-Commit-ID: LOZHgih2TrM

--HG--
extra : rebase_source : e17d08683891ca5c74bb8b3930d0aa5e62121c4f
2016-06-28 19:46:40 +02:00
Dustin J. Mitchell
52f7225820 Bug 1277957: fix tooltool URLs to not include .git; r=garndt a=bustage
MozReview-Commit-ID: 8F3zW2pKfyb
2016-06-28 21:05:38 +00:00
Jonathan Griffin
50e458a92b Bug 1277957 - Point to tooltool at GitHub, r=dustin
MozReview-Commit-ID: 8VPih4tpYYy
2016-06-27 14:51:41 -07:00
Wes Kocher
41d7dbd446 Backed out changeset 912ea9267130 (bug 1277957) for SM-tc failures CLOSED TREE 2016-06-27 15:45:56 -07:00
Jonathan Griffin
d907d0be30 Bug 1277957 - Point to tooltool at GitHub, r=dustin
MozReview-Commit-ID: DniWWGVlOiL

--HG--
extra : rebase_source : bfc80e894d58737be5a60c1aec45039c22c73741
2016-06-27 14:51:41 -07:00
Andrew Halberstadt
3b5152d79e Bug 1279040 - Move 'run-wizard' binary out of docker image, r=dustin
The run-wizard binary (used by interactive workers) will likely need to
change relatively frequently. Therefore, it should be baked directly into
the docker image. This patch instead downloads it from the appropriate
commit on hg.mozilla.org, only when needed.

MozReview-Commit-ID: 70hlloywCSj

--HG--
rename : testing/docker/desktop-test/bin/run-wizard => taskcluster/scripts/tester/run-wizard
extra : rebase_source : 871c24b2eec26962e88c852b5ec85a09382f21a1
2016-06-23 10:00:54 -04:00
Justin Wood
15b23fced1 Bug 1280956 - Use in-tree linter job to flake8 test taskcluster directory. r=dustin
MozReview-Commit-ID: FsWmAnnycZ2

--HG--
extra : rebase_source : 04a32cea2de133cb75472092cffb8a215f7dc603
2016-06-20 21:06:55 -04:00
Mike Hommey
8a3b88f341 Bug 1278415 - Also write a mozinfo for js standalone builds. r=gps
Historically, a mozinfo for js standalone build has not been necessary,
but with the move towards a) having things work with mach and b)
buildconfig using the MozbuildObject.from_environment in next patch,
mozinfo becomes necessary (it's required for
MozbuildObject.from_environment to find the directory is an objdir).

Interestingly, hazard builds do both a js standalone build and a desktop
Firefox build at the same time, both of which are done with MOZCONFIG
set in the environment... with the Firefox mozconfig. The result of now
writing a mozinfo for js standalone builds is that in that case, they
end up with a reference to the mozconfig, which the build system then
reads, and finds a MOZ_OBJDIR, which then doesn't match the js
standalone build objdir. So for those builds, reset MOZCONFIG.
2016-06-16 11:43:23 +09:00
Nick Fitzgerald
1c383e41a7 Bug 1275638 - Move libmozjs to the upload directory; r=sfink 2016-06-12 08:01:26 -07:00