Commit Graph

48 Commits

Author SHA1 Message Date
Mark Banner
f40a0e536c Bug 1359604 - Enable the ESLint recommended rules for taskcluster/docker/index-task/. r=dustin
MozReview-Commit-ID: EOX2SvofSS5
2017-04-25 21:54:13 +01:00
Ralph Giles
26cba0dde9 Bug 1358590 - Update rust-build to v0.4.5. r=ted
Update the repack_rust script for packaging upsteam
rust builds for tooltool use in our build automation:

- Add --cargo-channel switch.
- Remove 32-bit macOS targets.
- Add aarch64 Android target.
- Update for cargo tarball name changes.
- Remove obsolete b2g target manifests.

MozReview-Commit-ID: 2ajGO8jPpWD
2017-04-21 12:03:33 -07:00
Mike Hommey
187e7f6ebc Bug 1355731 - Move tooltool to mozbuild.action. r=gps 2017-02-22 17:20:41 +09:00
Mike Hommey
0af7f13607 Bug 1356123 - Add missing locales package to the lint docker image. r=gps
For some reason, the locales package is not installed anymore during the
docker image build, which leads to the locale-gen command failing, since
it's not there.
2017-04-13 15:16:05 +09:00
Rail Aliiev
5ec109fb1d Bug 1355992 - Firefox snap requires libmirclient9. r=aki a=release DONTBUILD
MozReview-Commit-ID: 3gK7ck87tGr
2017-04-12 16:15:42 -04:00
Gregory Szorc
14f8d04103 Bug 1355624 - Make Mercurial require TLS 1.2+ connections; r=dustin
Mercurial uses the latest version of TLS that is both supported by
Python and the server.

In automation, the servers we care about should all support TLS 1.2.

The Python side is trickier. Modern versions of Python (typically 2.7.9+)
support TLS 1.1 and 1.2. Mercurial will default to allowing TLS 1.1+ -
explicitly disallowing TLS 1.0. However, legacy versions of Python
don't support TLS 1.1+, so Mercurial will allow TLS 1.0+ rather than
prevent connections at all.

TLS 1.0 is borderline secure these days. I think it is a bug for TLS
1.0 to be used anywhere in the Firefox release process. This simple
patch changes our default Mercurial config in TaskCluster to require
TLS 1.2+ for all https:// communications. For modern Python versions,
this effectively prevents potential downgrade attacks to TLS 1.1
(connections before should have negotiated the use of TLS 1.2).

I expect this change to break things. Finding and fixing automation
that isn't capable of speaking TLS 1.1+ should be encouraged.

MozReview-Commit-ID: 876YpL5vB3T
2017-04-11 14:52:39 -07:00
Gregory Szorc
d8df67efb8 Bug 1354224 - Upgrade to Mercurial 4.1.2; r=dustin
This is a pretty straightforward change. Just bumping package versions
and hashes. Behavior should be almost identical to the previous 4.1.1+
packages.

MozReview-Commit-ID: CaVjM0JHYKi
2017-04-06 11:28:02 -07:00
Jonas Finnemann Jensen
b3a2cf4826 Bug 1353121 - Fix error message from indexing-task. r=dustin
In short shouldn't call err.stack(), it's a property.

MozReview-Commit-ID: 2HpPgsdctTv
2017-04-03 11:44:20 -07:00
Gregory Szorc
9333c53580 Bug 1350437 - Bump image_builder version and hash; r=aki
We recently changed how image compression works (bug 1350447) and
upgraded to Mercurial 4.1.1 (this bug). It's time to roll a new
image_builder Docker image.

This commit updates the version and hash of the image. The image
is already pushed to Docker Hub/Cloud. We just need to whitelist
it and deploy this change.

MozReview-Commit-ID: KQwJZ2OSGlt
2017-03-29 09:32:46 -07:00
Gregory Szorc
8b026b720e Bug 1350437 - Install Mercurial 4.1.1+; r=dustin
We've been running Mercurial 3.9 in automation for a while. Mercurial
4.1 is out. It has the usual performance improvements and bug fixes,
making it an attractive upgrade. But what really makes it enticing
is support for zstandard compression over the wire protocol. This will
reduce server-side CPU load and make transfers between 4.1+ servers
faster.

So, let's upgrade to Mercurial 4.1.1.

The produced packages are built from the current tip of the
stable Mercurial branch, not exactly 4.1.1. Specifically, they
correspond to revision ed5b25874d99. I did this because there is
a patch in the stable branch that drastically improves performance
on repos with many heads. When 4.1.2 is released in a few days, we
can upgrade to it and do away with the one-off.

MozReview-Commit-ID: 6BPhVheHQXI
2017-03-29 09:17:56 -07:00
Gregory Szorc
72387f9965 Bug 1351031 - Fix flake8 failures in taskcluster/docker; r=me
These are trivial, whitespace only fixups. Self reviewing.
2017-03-29 09:25:06 -07:00
Gregory Szorc
ce4a90375f Bug 1350447 - Use --no-install-recommends in image_builder; r=dustin
Using --no-install-recommends prevents installation of unwanted
packages and helps reduce image bloat. Using it in image_builder
reduces the image size from ~212.5 MB to ~203.6 MB. Not the
biggest savings. But savings nonetheless.

I kept python-pip separate because using --no-install-recommends with
it fails to pull in setuptools, gcc, and other packages required for
building Python packages. Since these packages are only needed
for generating the Docker image, I didn't feel like teasing out
the actual dependencies. It takes a little longer to install
temporary packages and build the image. But the end result should
mostly be the same.

MozReview-Commit-ID: EVURGKFuWzb
2017-03-28 16:49:43 -07:00
Gregory Szorc
014fdc7a1c Bug 1350447 - Use python-zstandard for Docker image compression; r=dustin
The goal of this change is to switch to python-zstandard for Docker
image compression so we can employ multi-threaded compression. This will
cut down the wall time it takes to compress images, decreasing end-to-end
times.

In order to use python-zstandard, I needed to write a Python script
for doing the compression. Since I was writing a Python script, I
figured I'd move Docker image downloading to that script as well.
This way, the raw Docker image never hits disk: it is streamed straight
from Docker into a zstandard compressor and that output is written to
disk. For large images, this will eliminate a few gigabytes of disk
writes.

The one extra complication about this I don't care for is you need a
special Python package to teach the "requests" package how to download
from UNIX domain sockets.

MozReview-Commit-ID: EufaRzR6A4Y
2017-03-28 16:19:24 -07:00
Ralph Giles
bcdeb05d35 Bug 1351031 - Update rust-build container. r=mshal
Update rust-build docker image source to v0.4.3. This includes
some recent to how verification and taskcluster work to maintain
working scripts, and some changes for the newer cargo-building-
cargo build system, which aren't sufficient for bootstrapping.

MozReview-Commit-ID: 4IdbKVvco8m
2017-03-27 14:02:44 -07:00
Dustin J. Mitchell
e9602d2c01 Bug 1350045: rebuild the decision image to use the newest run-task; r=jonasfj
MozReview-Commit-ID: DeRoLfDjquc
2017-03-23 19:48:32 +00:00
Dustin J. Mitchell
8257cadc71 Bug 1349208: temporary fix to get flashplayer out of the 16.04 image while we find a better fix; r=jmaher, a=testers-only
MozReview-Commit-ID: IR2PVFXHlEa
2017-03-21 18:19:26 +00:00
Ralph Giles
192455dcb9 Bug 1346897 - Indent tooltool manifests. r=mshal
Apply a 2-character indent to in-tree tooltool manifests to make
them easier to read, and to make the formatting more consistent
so automating updates is simpler.

Modern editors will maintain json indentation. The only long
lines we have are already over 80 characters, so the extra space
shouldn't create new long lines.

Also update mercurial installer script to generate json with
the same indentation, even though its output is temporary.

Tooltool itself was updated to generate manifests with this
indentation in Bug 1325225.

MozReview-Commit-ID: DKj6nL9OENv
2017-03-15 12:27:51 -07:00
Jonas Finnemann Jensen
f34da84969 Bug 1333255: Task for indexing other tasks. r=jonasfj
This introduces a new docker image: `index-task`,
which given a taskId and a set of namespaces will
index the given taskId under said namespaces.

Modified to include a script with a descriptive name that curious users can
find in the source code.

MozReview-Commit-ID: KPHVT0XPfsb
2017-03-14 15:25:57 +00:00
Dustin J. Mitchell
4e0aee3873 Bug 1337903: add support for OS X in run-task; r=ahal
* add run.using = 'run-task' for native-engine
* modify run-task to run on OS X
  - not as root
  - without assuming /home/worker (using ~ and os.expanduser instead)
  - hg is in /usr/local/bin on OS X; trust the PATH
* add_build_dependency isn't docker-worker specific, so just rename
* support_vcs_checkout modified to omit caches on native-engine
* don't download fingerprints on OS X; these hosts are configured with
  the proper fingerprint via puppet

MozReview-Commit-ID: C83XClXtcn4
2017-03-03 22:49:23 +00:00
Henrik Skupin
b8b2464540 Bug 1345105 - Disable gnome-software-service on desktop1604-test. r=dustin
MozReview-Commit-ID: I14cViRPsl8
2017-03-07 15:42:52 +01:00
Rail Aliiev
f6ba0e725a Bug 1343107 - Fix linter failures r=nthomas a=release
MozReview-Commit-ID: B0Z81CkOtIq
2017-03-02 22:40:09 -05:00
Rail Aliiev
191ba14f51 Bug 1343107 - Move release images under taskcluster/docker r=nthomas a=release
MozReview-Commit-ID: 1gcpANznKNU
2017-03-02 19:37:51 -05:00
Ralph Giles
7ae5ab0dc4 Bug 1336155 - Update rust repack script for 1.15.0 stable. r=mshal
Revert the bump to beta for the android builders now that 1.15.0
is in stable release.

Generalize the cargo tarball name mangling to use a regular
expression to hand the tiny revision added for the stable
release, as suggested by mshal in bug 1332759.

MozReview-Commit-ID: 2xZWpvKxY77
2017-02-02 11:02:41 -08:00
Botond Ballo
b31a46f3c6 Bug 1334641 - Patch the version of libxcb used by the Ubuntu 12.04 testers. r=jmaher
The patch, taken from upstream libxcb version 1.11, and applied to the libxcb
1.8 version we use on the 12.04 testers, fixes the "xcb_conn.c:186: write_vec:
Assertion `!c->out.queue_len' failed" error that has been plaguing us in bug
1293474.

The Ubuntu 16.04 testers do not need to be patched becaused they are running
a newer version of libxcb that already has the upstream fix.

MozReview-Commit-ID: AoRNonpK0Dr
2017-01-27 17:35:57 -05:00
Ehsan Akhgari
d5784b3ad6 Bug 1331957 - Part 8: Build cctools-port in the infrastructure; r=froydnj,dustin 2017-02-03 10:19:28 -05:00
Iris Hsiao
1f83a308ef Backed out 14 changesets (bug 1331957, bug 1336149) for OS X 10.7 debug static analysis build bustage
Backed out changeset a01bead75258 (bug 1336149)
Backed out changeset 9a64d3102f6b (bug 1331957)
Backed out changeset a10f7732a754 (bug 1331957)
Backed out changeset 82c98214febe (bug 1331957)
Backed out changeset f74c7a543525 (bug 1331957)
Backed out changeset 6631f3582920 (bug 1331957)
Backed out changeset ccefeba51cf6 (bug 1331957)
Backed out changeset a84b26a07369 (bug 1331957)
Backed out changeset fc0b3a0ad1e5 (bug 1331957)
Backed out changeset bbcae89fd7c2 (bug 1331957)
Backed out changeset ffd70d960b9f (bug 1331957)
Backed out changeset a53ecc295eae (bug 1331957)
Backed out changeset d44a0be29686 (bug 1331957)
Backed out changeset a01a373da6a8 (bug 1331957)
2017-02-03 11:16:08 +08:00
Ehsan Akhgari
ba96dbcfac Bug 1331957 - Part 8: Build cctools-port in the infrastructure; r=froydnj,dustin 2017-02-02 20:20:54 -05:00
Ralph Giles
92abef9515 Bug 1332759 - Update android builders to rust 1.15.0-beta.4. r=rillian
Bump the Android builders to the latest beta release to reduce
the variance when we update Firefox 53 to 1.15.0 stable early
in the Aurora phase.

Android builds were moved to 1.15 early to address a code generation
issue with devices without neon.

Work around an issue with tarball naming in the cargo packages.

MozReview-Commit-ID: KQfkWmXV9hQ
2017-01-20 15:18:26 -08:00
Mark Banner
64c50a9ef8 Bug 1331065 - Upgrade the Lint docker image to node v6.9.1. r=jmaher
MozReview-Commit-ID: KOdYXXERO8p
2017-01-20 10:57:47 +00:00
Geoff Brown
3412a05771 Bug 1331455 - Add net-tools to Ubuntu 16 docker image, for netstat; r=jmaher 2017-01-17 08:17:20 -07:00
Carsten "Tomcat" Book
ef8fa78a99 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Wes Kocher
5151364063 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8DYKNuMdzFd
2017-01-09 16:39:02 -08:00
Geoff Brown
1388ee052b Bug 1287099 - Update Ubuntu 12.04 docker image for linux32; r=jmaher 2017-01-09 09:17:49 -07:00
Iris Hsiao
5c8180a84c Backed out changeset 5ddb2e58bb74 (bug 1287099) 2017-01-05 12:21:35 -05:00
Tom Ritter
e170a63a03 Bug 1329701 - robustcheckout.py moved r=gps
MozReview-Commit-ID: FFWHf5TdoMj
2017-01-09 11:29:38 -06:00
Geoff Brown
ec506723a0 Bug 1287099 - Update Ubuntu 16.04 docker image for linux32; r=jmaher 2017-01-09 12:01:11 -07:00
Joel Maher
8705cdfe01 Bug 1287099 - Run linux32 tests in taskcluster; r=jmaher 2016-08-22 11:38:27 -04:00
Ehsan Akhgari
00152967c8 Bug 1324492 - Install CMake 3.7.1 in desktop-build images; r=dustin 2017-01-04 16:50:08 -05:00
Ralph Giles
ff3db86157 Bug 1325445 - Use sha256sum to verify rust releases. r=mshal
Use sha256sum from coreutils instead of shasum to verify
rust releases when not running on MacOS. This makes the
repack script more portable between MacOS and Linux.

MozReview-Commit-ID: BxFDquTVklu
2016-12-23 13:29:13 -08:00
Wes Kocher
17d65d1858 Backed out 2 changesets (bug 1325445) for lint failures and possibly build bustage a=backout
Backed out changeset 26dfb927a58d (bug 1325445)
Backed out changeset 4fcea80bb19e (bug 1325445)
2016-12-23 14:28:27 -08:00
Ralph Giles
0ce678bd5c Bug 1325445 - Use sha256sum to verify rust releases. r=mshal
Use sha256sum from coreutils instead of shasum to verify
rust releases when not running on MacOS. This makes the
repack script more portable between MacOS and Linux.

MozReview-Commit-ID: BxFDquTVklu
2016-12-23 13:29:13 -08:00
Chris Manchester
a8c1640c56 Bug 1323581 - Install Make 4.0 in the desktop build image to take advantage of parallelism during automation steps. r=gps
MozReview-Commit-ID: 3EHbQlrT2vf
2016-12-22 13:45:51 -08:00
Carsten "Tomcat" Book
ef798f401e Merge mozilla-central to mozilla-inbound 2016-12-22 16:25:35 +01:00
Sebastian Hengst
a30693c808 Backed out changeset fe7303de56be (bug 1302763) for failing webdriver tests on Linux x64 debug (geckodriver.manifest fetch failed). r=backout 2016-12-19 21:15:07 +01:00
CuriousLearner
5ad707be1b Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=CuriousLearner
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
Wes Kocher
0e898f33dd Backed out changeset d15798b73b9e (bug 1302763) for taskcluster build issues a=backout CLOSED TREE 2016-10-20 15:59:47 -07:00
CuriousLearner
54ec174129 Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
CuriousLearner
f27a0ad144 Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30