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

3219 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst d736685486 Bug 1435414 - Demote Windows10 x64 ccov reftests to tier 3 because they permafail. r=Ryan a=annoyance-fix 2018-02-02 22:48:58 +01:00
Brian Grinstead 52325a21da Bug 1425330 - Part 2 - Taskcluster config for XUL flexbox emulation talos tests;r=rwood
MozReview-Commit-ID: 7eEtuzdCi5d

--HG--
extra : rebase_source : 057beb5895176063c1d36286d49160c125d1b8d7
2018-01-30 15:17:50 -08:00
Andrew Halberstadt f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
Gurzau Raul b304596a50 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 23:58:51 +02:00
Gurzau Raul 047564ed7a Merge inbound to mozilla-central. a=merge 2018-02-01 23:53:53 +02:00
Geoff Brown c9855d0638 Bug 1434411 - Allow task configuration of target name; r=dustin 2018-02-01 14:26:54 -07:00
Nathan Froyd f74061c60a Bug 1412006 - part 4 - add ndk toolchain task dependency to without-google-play-services build; r=nalexander; a=Aryx
MozReview-Commit-ID: 5T4FshgoSIi
2018-02-01 13:36:26 -05:00
Johan Lorenzo 275f452928 Bug 1421062 - fixup linter issue r=bustage
--HG--
extra : rebase_source : 8dbc855fa6a236421bb85400e151891bf943490c
2018-02-01 19:11:17 +01:00
Johan Lorenzo 6d4bff6f65 Bug 1421062 - Make signing format dependent of scope-prefix r=tomprince
--HG--
extra : rebase_source : 11eef852140160b85ae30121afc53eb0d0927ccd
2018-02-01 18:21:46 +01:00
Marco Castelluccio 4c242df620 Bug 1417497 - Enable signing for the Windows code coverage build. r=aki
--HG--
extra : rebase_source : 998f9f13cb820b1c6e21ae01e733c45774cdd8c4
2018-01-31 22:39:20 +01:00
Nathan Froyd 38a5bb5c84 Bug 1412006 - part 3 - add an Android NDK repackaging task; r=dustin,nalexander; f=glandium
We'd like to install the NDK through the Android SDK manager.  But we
can't pin versions of the NDK with the SDK manager, and so Google
can silently upgrade the NDK on us.  Since that is undesirable, this is
the next best thing.

With the toolchain task in hand, we can make all the relevant tasks
depend on the toolchain task and remove the download of the NDK from
tooltool as well.
2018-02-01 09:59:23 -05:00
Ciure Andrei 6c09be0569 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-03 00:15:11 +02:00
Geoff Brown 2d7b351c2c Bug 1435079 - Stop running most Android non-gradle tests; r=jmaher
Android non-gradle tests run against an Android apk built without
gradle, "Bng" on treeherder; confusingly, this platform is labelled
"Android API16+ Gradle opt". This patch significantly reduces the
tests run on this platform: now only robocop tests are run.

The full set of Android tests, including mochitests and reftests,
continue to run on the "Android 4.3 API16+ opt" platform.
2018-02-02 11:08:58 -07:00
Mike Hommey e972446107 Bug 1436208 - Avoid infinite loops in llvm-dsymutil when rust produces broken self-referencing DIEs. r=nalexander
See some details on https://bugs.llvm.org/show_bug.cgi?id=36257.

--HG--
extra : rebase_source : 1ffd99e0d52bca74449760e39138af843c837a1b
2018-02-07 08:23:10 +09:00
Mike Hommey 5c6ace2b80 Bug 1436283 - Add the gdb artifact repository to the debian7-base image. r=dustin
We don't actually go install the package, but if a one-click loaner user
goes on to apt-get install gdb, they will get a version that is useful,
rather than the version in wheezy that won't give them e.g. variables
information.

--HG--
extra : rebase_source : 1f1ba607a759fc3136c59513773a043e8e8680c0
2018-02-07 16:57:50 +09:00
Mike Hommey a7182c9720 Bug 1436283 - Build a modern gdb version for Wheezy. r=dustin
The GDB version in Debian wheezy doesn't handle the DWARF data that the
GCC version we use to build Firefox and toolchains produce. So we take
the GDB version from Debian stretch and backport it.

--HG--
extra : rebase_source : dae0e9dcd5dde5a7c74b6cefd560480fccd9c5fa
2018-02-07 16:55:49 +09:00
Mike Hommey b8fc72430b Bug 1436283 - Put package artifact repositories in different sources.lists. r=dustin
When running setup_packages in a docker image that derives from another,
we're currently overwriting the file that contains the apt sources for
the package artifact repositories that were used for the parent docker
image.

This doesn't cause practical problems for the existing docker images,
but in some cases where a user gets a one-click loaner, it might cause
problems when they try to install a package that has a dependency that
can't be fulfilled once those sources are overwritten.

To give a practical example, installing the gdb package from wheezy
requires libpython2.7, but if you try to do that on a derivative of the
debian7-base image, you don't have the deb7-python artifact repository
in your sources.list, and would fail to install gdb because apt can't
install a version of libpython2.7 that can be installed alongside the
python2.7 that is installed.

By putting easy repository in a separate file, named after the task id
of the corresponding package task, we ensure each an every one of them
is uniquely represented in /etc/apt/sources.list.d.

--HG--
extra : rebase_source : efb83b8c292a28c43ede24d5a3879dfbbfe94af7
2018-02-07 16:41:08 +09:00
Narcis Beleuzu eeb7190f9a Merge inbound to mozilla-central. a=merge 2018-02-01 12:05:39 +02:00
Cosmin Sabou 7092b51729 Merge mozilla-central to autoland. a=merge on CLOSED TREE 2018-02-01 01:19:48 +02:00
Cosmin Sabou cbddf62d14 Merge inbound to mozilla-central. a=merge 2018-02-01 01:14:44 +02:00
shindli a9ac1e44cc Merge inbound to mozilla-central. a=merge 2018-02-01 00:32:39 +02:00
Ben Hearsum 793a66b98a bug 1434693: better error message when you forget to add VOLUMEs to docker images. r=dustin 2018-01-31 15:20:11 -05:00
Tom Prince 87ee9494d1 Bug 1434365: Fix yaml lint; r=me CLOSED TREE
--HG--
extra : amend_source : a9107644b22aeb1f30c6a05c6b8ab3abbfc1758d
2018-01-31 12:51:57 -07:00
Tom Prince d8968f156b Bug 1434365: Remove unused by-platform option for L10N config-paths; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D513

--HG--
extra : rebase_source : 3c4345c3442f74d4f86fc2d801c251d93f8b6045
2018-01-30 11:51:23 -07:00
Tom Prince 6b745cb132 Bug 1434365: Add support for specifying mozharness config paths and checking out comm-central to repackage tasks; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D512

--HG--
extra : rebase_source : dc165357115f51475279f90679b89c14ec1c6038
2018-01-30 11:50:57 -07:00
Tom Prince 521c194c6c Bug 1434365: Move repackage mozharness config selection to yaml; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D511

--HG--
extra : rebase_source : 69e82fe6623609412ee6150a32ea0001b07d5c30
2018-01-30 11:44:30 -07:00
shindli f713c5d75e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 00:37:57 +02:00
Mark Banner 68fc105e54 Bug 1434396 - Promote eslint-plugin-mozilla (epm) tests to be tier 1. r=ahal
MozReview-Commit-ID: GqPUWEIodKz

--HG--
extra : rebase_source : 1c85d6c9c9542fcc284c0344fadcfab8606b59c8
2018-01-31 17:08:09 +00:00
shindli 8bf605352e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 00:38:55 +02:00
Joel Maher 79250dba5d Bug 1434715 - remove reftest-no-accel from windows10. r=ahal 2018-01-31 16:14:43 -05:00
Tom Prince ddeeb0fdef Bug 1434361: Inherit optimization of signing tasks from upstream task; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D508

--HG--
extra : rebase_source : 0f05a8ed1bb9d35816db1418e5094338d76c0ab9
2018-01-26 15:37:03 -07:00
Aki Sasaki 28c81a5f8e bug 1430834 - don't add beetmover-checksums to push-apk upstreamArtifacts. r=jlorenzo
MozReview-Commit-ID: 8OMNJyyf5bK
2018-01-24 13:37:26 -08:00
Kim Moir 5b4d564d91 Bug 1430834 - fennec: push-apk should also depend on beetmover-checksums r=mtabara
MozReview-Commit-ID: 2JjnZXSAl7Q

--HG--
extra : source : 50a9a7b47e166ed790070f45209a4757cfd637be
2018-01-18 12:52:57 -05:00
Rob Wood ce234fa0c1 Bug 1431427 - Add tc linux configs for new talos nightly profiling suite; r=jmaher
MozReview-Commit-ID: 78kwx6q0mjc

--HG--
extra : rebase_source : a504c727ecd70399ce784fd878263636b4d451b6
2018-01-29 14:23:29 -05:00
Simon Fraser 5acab0f13e Bug 1432627 Add shellcheck linter to CI r=ahal
MozReview-Commit-ID: 2IYUsXunfab

--HG--
extra : rebase_source : 806ab4abfb1838a1b5eec279f5e93ce5c703685d
2018-01-29 15:27:04 +00:00
Gurzau Raul c380dfe905 Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
Mike Hommey 64dc538bff Bug 1433703 - Remove the libxss-dev package from the build image. r=gps
This will disable libxss-based code in the screenshot tool, like it was
before the switch to Debian-based build images in bug 1399679. There are
other places in the code that use libXss, but they don't require the
development headers, and use dlopen().

--HG--
extra : rebase_source : 4842361b680c70924b9fc0890a7e4f4dcbc7e338
2018-01-30 13:45:17 +09:00
Gregory Szorc 59b5e99b26 Bug 1432395 - Change cache version to force new caches; r=glandium
This is basically the same deal as e331a3b9fae2. Caching is hard.

MozReview-Commit-ID: 9uWHHdnHgq1

--HG--
extra : rebase_source : fc7107a018f067d83dbee3796d8861c5187823b2
2018-01-29 15:15:41 -08:00
Cosmin Sabou 37bb870512 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-30 00:47:39 +02:00
Marco Castelluccio 1d7efd79f2 Bug 1433610 - Increase number of chunks for mochitest-devtools-chrome on windows10-64-ccov. r=jmaher
--HG--
extra : rebase_source : 144a31db13253fcfeb2d4a33b94fc2a004d73f7a
2018-01-29 11:51:17 +01:00
Mike Hommey 1d38c4309b Bug 1432398 - Remove the desktop-build docker image and related files. r=dustin
--HG--
extra : rebase_source : 158e14474ce049343105d2be95aabc03ec0b7854
2018-01-27 11:04:23 +09:00
Mike Hommey 2edd1f5387 Bug 1432398 - Move oauth.txt and buildprops.json to taskcluster/docker/recipes. r=dustin
--HG--
rename : taskcluster/docker/desktop-build/buildprops.json => taskcluster/docker/recipes/buildprops.json
rename : taskcluster/docker/desktop-build/oauth.txt => taskcluster/docker/recipes/oauth.txt
extra : rebase_source : ac6b6c6a2394e3cd2e3be5c9bd48f3f16708eba6
2018-01-27 10:52:39 +09:00
Mike Hommey dd7448479b Bug 1432395 - Switch the valgrind build to a Debian-based docker image. r=dustin
We start from the image used for Firefox builds, and add the debug
packages for all the system libraries.

--HG--
extra : rebase_source : 2c759975d9837beabdc08a15fd926a99fd1cecf8
2018-01-27 10:25:58 +09:00
Mike Hommey be42ffae02 Bug 1433704 - Use system GCC for host compilations on mingw32 builds. r=froydnj
The binutils we currently use as part of our GCC toolchain artifact
doesn't understand some relocations in the CRT objects on Debian
stretch, making the embedded CRT objects from bug 1427344, which we want
to remove in bug 1431251, necessary.

OTOH, there is no benefit from using our GCC toolchain artifact for host
compilations on those builds. In fact, Android builds, which are in a
similar position, being built on Debian stretch and being cross-builds,
don't care to use our GCC toolchain artifact.

It's arguably a good thing that those builds are not tied to the version
of GCC we use to build Firefox for linux, so let's remove this
dependency.

--HG--
extra : rebase_source : a80d4e4fb01a4862b844ebde0c521a635f462c0a
2018-01-27 20:40:36 +09:00
Tom Prince d0a8cfbb8a Bug 1433975: Error out if a parent docker image isn't present in the configuration; r=dustin
MozReview-Commit-ID: ASeCAXLzOEZ

--HG--
extra : rebase_source : f8aabee33e98bc7e76310a24d4cc5ca908b38814
2018-01-29 11:03:06 -07:00
Nick Thomas a696ee8f71 Bug 1433467 - disable binary transparency task, r=bhearsum
--HG--
extra : amend_source : 965b0b3fef3429760dd05bd9f198b4c1315e8c8f
2018-01-30 12:17:03 +13:00
Nick Thomas 4f8f657e10 Bug 1433809 - No SHASUMS or KEY files in 59.0b4 release directories, r=aki 2018-01-30 12:16:04 +13:00
Joel Maher b2e035bcdf Bug 1433702 - run linux64 talos on new moonshot hardware via taskcluster instead of buildbot and IX hardware. r=rwood 2018-01-29 10:56:58 -05:00
Geoff Brown 0cb433c1e0 Bug 1433560 - Run Android opt mochitest in more test chunks; r=jmaher 2018-01-29 08:35:18 -07:00
Tom Ritter 59cfa9d5ce Bug 1432319 Bump MinGW version to incorporate Process Mitigation structs needed by the sandbox r=froydnj
MozReview-Commit-ID: HnYuQa8DflY

--HG--
extra : rebase_source : ed06ff4ffc4938a861afaec833537676e32e1907
2018-01-27 19:44:45 -06:00
Tiberius Oros a530cab0d4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-27 23:56:11 +02:00
Cosmin Sabou 9366900c12 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-01-27 11:58:35 +02:00
Joel Maher 3e42ad5221 Bug 1433276 - adjust non-e10s test scheduling. r=ahal 2018-01-27 04:49:36 -05:00
Joel Maher 5f87938fff Bug 1433075 - removed h1/h2 from test-sets so they are not accidentally run. r=rwood 2018-01-27 04:49:04 -05:00
Tom Prince 6cfd4299c2 Bug 1433415: Get revision from task in floating L10N repack task; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D468

--HG--
extra : rebase_source : 721255f0efcc6be4711236727e80c18e94085bf1
extra : amend_source : 6dc7db63cace3e397bcef90e2ce43020e0acd6f9
2018-01-26 11:09:59 -07:00
Andreea Pavel 1dcfffb058 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-26 19:51:43 +02:00
Marco Castelluccio 29c0c6bdf5 Bug 1433403 - Don't run test-verify on Windows code coverage build. r=jmaher
--HG--
extra : rebase_source : ea11380b6e13b1d2edfb165990d3ebe34c950692
2018-01-26 11:58:47 +01:00
Simon Fraser 935d2ffd99 Bug 1432763 Linting compliance for funsize docker images r=mtabara
MozReview-Commit-ID: IdHYknfUZXx

--HG--
extra : rebase_source : ae7c721938626a3a3c12d1aff084bf54cce62e81
2018-01-24 12:46:21 +00:00
Brindusan Cristian 9a068e3d05 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-01-27 13:09:27 +02:00
Brindusan Cristian 674c27a54e Merge inbound to mozilla-central. a=merge 2018-01-27 13:04:15 +02:00
Sylvestre Ledru 8238fab711 Bug 1433410 - Add codespell support for mach lint r=ahal
MozReview-Commit-ID: Ii6QjPMN0Ks

--HG--
extra : rebase_source : 854dc0994e9e204c5c5f9f25a4e956c9f51001d0
2018-01-27 10:35:31 +01:00
Emilio Cobos Álvarez 11cd13abd8 Bug 1432563: Fetch rustfmt when repackaging rust. r=rillian
I tested this on automation and the build went on, though I couldn't test
the bindgen output because the build right now is busted on one dependent crate
with rust beta, which is the first toolchain that has this package, and will go
to release shortly.

This should work though! If I need more changes I'll adjust them in bug 1432153.

You can test the repackage manually with repack_rust.py --toolchain beta, for
example.

MozReview-Commit-ID: GI2f6vGVqTe
2018-01-27 02:02:17 +01:00
Mike Hommey 520f9865db Bug 1432397 - Switch mingw builds to a Debian stretch-based docker image. r=dustin
Don't build ucl when building upx, Debian stretch has a recent enough
version. In fact, the last upstream version doesn't build with GCC in
Debian stretch (http://bugs.debian.org/811707)

--HG--
extra : rebase_source : aae67773b9dd3b99f6ddf9ab7f59a628037e6925
2018-01-26 14:39:07 +09:00
shindli 4615d385bd Backed out changeset e414096f1c3b (bug 1433410) for yaml lint failures in tools/lint/codespell.yml:12:81 on a CLOSED TREE 2018-01-27 01:20:16 +02:00
Mike Hommey a5428cd701 Bug 1432392 - Switch the spidermonkey rust bindings job to a Debian-based docker image. r=dustin
This job requires cmake, which should be fixed, but in the meanwhile,
create a separate docker image with it installed, based on the image we
use for other spidermonkey builds.

--HG--
extra : rebase_source : da43a7999b6bd86dbba816358d907c902415bed4
2018-01-26 11:43:31 +09:00
Sylvestre Ledru 904937e12f Bug 1433410 - Add codespell support for mach lint r=ahal
MozReview-Commit-ID: Ii6QjPMN0Ks

--HG--
extra : rebase_source : f5aec5f35d5f882132fb09fe094dc2cfc41b1392
2018-01-26 23:58:29 +01:00
Sylvestre Ledru 3a35e750f3 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP

--HG--
extra : rebase_source : b99364bb96c1501a674a1726a3b5fdf0664a8e4f
2018-01-26 12:50:07 +01:00
Mike Hommey 9d3a568f03 Bug 1433033 - Make APT retry when it fails to download files. r=dustin
We've observed apt failures multiple times where it apparently fails to
get a file in full from snapshot.debian.org. Making it retry
automatically rather than retriggering tasks seems better.

--HG--
extra : rebase_source : f3ffb415ccc30b7e7c44e6a48b29eb20e69efdd5
2018-01-26 12:40:26 +09:00
Mike Hommey 3ab004d966 Bug 1433033 - Derive the android-build image from a base Debian stretch image. r=dustin
--HG--
extra : rebase_source : 8be13be0a0c3979f6596514f62765a9b741fd8f7
2018-01-25 22:31:48 +09:00
Mike Hommey ae1ce5d571 Bug 1433033 - Workarounds for Debian stretch. r=dustin
The apt in Debian stretch doesn't allow repositories with a Release file
not being GPG signed. Setting up GPG signatures on the
taskcluster-artifact-based repositories is a tricky process, and not
strictly necessary. It turns out not creating a Release file at all
works just as well, and works across all current Debian versions. The
packages priorities remain the same, such that packages from those
repositories are still prefered over the ones from the main Debian
repository (as long as versions are higher).

See comment in cloud-mirror-workaround.sh for that part.

--HG--
extra : rebase_source : df5af330859a314285a6c1922d899489997d2f19
2018-01-25 22:26:06 +09:00
Mike Hommey 220ae81745 Bug 1433033 - Create a mercurial package for Debian stretch. r=dustin
--HG--
extra : rebase_source : 6408957ddc6acf671c7fa190ec156e347124f588
2018-01-25 22:23:15 +09:00
Mike Hommey db4394b257 Bug 1433033 - Create a base Debian docker image. r=dustin
That image is used to derive all the debian7-* images, and its
definition is parametrized, which will allow to create other images
based on other versions of Debian, from the same definition.

XZ_OPT is kept in each of those because we don't want to automatically
set it in all further derived images.

--HG--
extra : rebase_source : 7f4597c1ea4af83627a9373dbdc7945d20b7d996
2018-01-25 22:15:19 +09:00
Mike Hommey 3972032498 Bug 1433033 - Don't `apt-get clean` from Debian-based docker images. r=dustin
The base images from docker hub actually contain a
/etc/apt/apt.conf.d/docker-clean that does the equivalent of an apt-get
clean after installing packages.

--HG--
extra : rebase_source : 190de9e3b10a0309cf9cfb3260a91477a5a93ba3
2018-01-25 21:57:13 +09:00
Mike Hommey 04b424481d Bug 1433033 - Set apt defaults to avoid passing -q, -y and --no-install-recommends to it. r=dustin
--HG--
extra : rebase_source : 53c8f00ef24dc8757d8eb45d1a9e08da48539a7a
2018-01-25 22:09:56 +09:00
Mike Hommey ce90eb437b Bug 1433033 - Set Acquire::Check-Valid-Until in apt config file rather than pass it on the command line. r=dustin
Also set it in the android-build image, which is Debian-snapshot-based too.

--HG--
extra : rebase_source : a64a0d6833c98025bfe287e197a9ef255b12a9bc
2018-01-25 15:24:05 +09:00
Mike Hommey fd6008421c Bug 1433033 - Remove a few packages from the toolchain-build image. r=dustin
python-dev was required to build mercurial, but the need for that was
removed in bug 1429669.
The others were required for mingw32 toolchains, but they are using a
different docker image and will switch to another different docker image.

--HG--
extra : rebase_source : b65c586a325f220c565e79afb3d3c9acc9f922bc
2018-01-25 15:13:20 +09:00
Simon Fraser 54d71de730 Bug 1432763 Linting compliance for funsize docker images r=mtabara
MozReview-Commit-ID: IdHYknfUZXx

--HG--
extra : rebase_source : aa21c059c79e3c6743419ae2f5a704b463e5c7d1
2018-01-24 12:46:21 +00:00
Dorel Luca f8bc8becf5 Backed out changeset e00fb451089f (bug 1432763) for breaking nightly partial update generation a=backout 2018-01-26 03:53:42 +02:00
Mike Hommey 49993bfe85 Bug 1432390 - Allow to derive docker images from other in-tree images. r=dustin
So far, the best we've been able to do is to upload an image to the
docker hub, and point an image's Dockerfile's FROM to the version
uploaded onto the hub.

That is a cumbersome process, and makes the use of "layered" docker
images painful.

This change allows to declare a parent docker image in the
taskcluster/ci/docker-image/kind.yml definitions, which will be
automatically loaded before building the image. The Dockerfile can then
reference the image, using the DOCKER_IMAGE_PARENT argument, which will
contain the full image name:tag.

Some details are left off, for now, such as VOLUMEs. At this point,
VOLUMEs should all be defined in leaf docker images.

--HG--
extra : rebase_source : 221cff0ca5a91d694ff5c3626fe707c15ba45e23
2018-01-25 11:07:54 +09:00
Mike Hommey fd6ffda3c8 Bug 1432390 - Make `mach taskcluster-build-image` talk directly to the docker socket in the image builder. r=dustin
Now that `mach taskcluster-build-image` can, we can avoid all the manual
handling based on curl and jq in the image builder.

An additional advantage on relying on `mach taskcluster-build-image`
doing more is that less changes to the build-image.sh script will be
necessary, and thus less updates of the image builder docker image.

--HG--
extra : rebase_source : dd174d60675e41e4391894f28235c674c1840829
2018-01-25 13:36:47 +09:00
Mike Hommey f5386c6b51 Bug 1432390 - Directly call the docker API over its unix socket instead of calling `docker build`. r=dustin
This allows to avoid writing out a tar file to then extract it to feed
it to `docker build`. This is essentially what the image-builder docker
image does, except it uses a temporary file for the tar.

--HG--
extra : rebase_source : 8275d737e02714fc198d3ba3d3e62e3f18d8e0bf
2018-01-24 15:55:31 +09:00
Mike Hommey 378f47ff49 Bug 1432390 - Directly call the docker API over its unix socket instead of calling docker load. r=dustin
While spawning `docker load` is likely to work on developer machines,
on automation, it requires a docker client that is the exact same
version as the server running on the taskcluster worker for
docker-in-docker, which is not convenient. The API required for `docker
load` is rather simple, though, and can be mimicked quite easily.

While this change in itself is not necessary for developer machines,
it will allow to re-use the same command for the image-builder to
load a parent docker images when deriving one from another. We could
keep a code branch using `docker load` but it seems wasteful to maintain
two branches when one can work for both use cases.

--HG--
extra : rebase_source : d72956d7dd329b92564cbaa3fbfe0687d4d5d994
2018-01-24 14:25:09 +09:00
Mike Hommey 16c5f4c5f4 Bug 1432390 - Use zstandard and requests modules instead of spawning curl | zstd in docker.load_image. r=dustin
The zstd command we spawn, if available at all, might be the wrong
version: zstd changed its stream format in an incompatible way at some
point, and the version shipped in e.g. Ubuntu 16.04 uses the old format,
while the version taskcluster relies on uses the new format.

Relying on gps's zstandard library allows to ensure we use the right
version. Another advantage is that we can trivially pip install it in a
virtualenv if it isn't available on the system running the command.

If we're ridding ourselves of the subprocess spawning for zstd, we might
as well cover curl as well. Especially considering the error handling
when subprocesses are involved is not trivial, such that the current
error handling code is actually broken and leads to dead-lock
conditions, when, for example, curl is still waiting for the python side
to read data, but the python side is not reading data anymore because
an exception was thrown in the tar reading loop.

--HG--
extra : rebase_source : 054c37cfaa68bf475b37545ebaa99144584b93d4
2018-01-24 11:18:13 +09:00
Mike Hommey b83d215e99 Bug 1432390 - Remove explicit exception handling in docker.load_image(). r=dustin
The used pattern:
  except Exception:
    error = sys.exc_info()[0]
  finally:
    ...
    if error:
      raise error

actually loses everything that is interesting about the original
exception. Not catching the exception just makes it thrown up the stack,
except when a different exception is thrown from the finally block,
which is what that if error: raise error is attempting to do... except
it doesn't throw the original exception, but its type only.

--HG--
extra : rebase_source : 17601fcc90fcdfefd93c4267f3cd33425d5326fd
2018-01-24 11:17:27 +09:00
Mike Hommey 784400b0bb Bug 1432390 - Avoid creating a temporary file for generate_context_hash. r=dustin
Now that we don't need to read the contents of a file to hash the
contents of a docker image context, we can avoid creating a file
in generate_context_hash.

--HG--
extra : rebase_source : 98abe9bfdc48b612a3d251296991d0f769b449fd
2018-01-23 17:24:04 +09:00
Mike Hommey d936a6c5d2 Bug 1432390 - Hash the contents of the docker image context as it is created. r=dustin
This will allow us, down the line, to avoid creating a file at all in
some cases.

--HG--
extra : rebase_source : e4ea40341836cf24aa6d61c905b2efa660ee13f2
2018-01-23 17:12:03 +09:00
Ralph Giles dc8c14e96a Bug 1433185 - Require Rust 1.23. r=nalexander
It's been more than two weeks since the 1.23 stable release, and
we're making official builds with that toolchain release, so begin
requiring that version so new language features can be used in
development.

MozReview-Commit-ID: E6WuP41ceTn

--HG--
extra : rebase_source : 75850dd9edbf8e3f9beab394e4af7fad76ce3b17
2018-01-25 10:29:11 -08:00
Nick Alexander 86c34ffd3d Bug 1419581 - Part 6: Add Android build configuration --without-google-play-services. r=dustin
MozReview-Commit-ID: 526BCiQwlm6

--HG--
rename : mobile/android/config/mozconfigs/android-api-16/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-without-google-play-services
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_without_google_play_services.py
extra : rebase_source : 4de338a5f8442159b3e80f492b9ff0f46f5635d9
extra : intermediate-source : 7f41dd3bbc2d25f937fa24a54612c25bc839f5ab
extra : source : bd1e3857b5bac3dc710521a5eb7377a1168b56ac
2018-01-04 15:45:56 -08:00
Margareta Eliza Balazs acf50fbab3 Backed out changeset 85794e045326 (bug 1432627) for shell lint failure in /builds/worker/checkouts/gecko/taskcluster/docker/firefox-snap/runme.sh:50:95 on a CLOSED TREE 2018-01-29 19:09:55 +02:00
Simon Fraser 82f0264fa1 Bug 1432627 Add shellcheck linter to CI r=ahal
MozReview-Commit-ID: 2IYUsXunfab

--HG--
extra : rebase_source : a40376ffc66e4a35d30e7e02a6ec208b1f52b021
2018-01-29 15:27:04 +00:00
Andrew Halberstadt 532cd7c624 Bug 1433912 - [lint] Create a task for the codespell linter, r=sylvestre
MozReview-Commit-ID: 32KXjHl00fU

--HG--
extra : rebase_source : aff6a5e3621a6e5dda65d7b6168e8b1270102af3
2018-01-29 09:29:09 -05:00
Gurzau Raul 501d80ba77 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-25 19:06:59 +02:00
Gurzau Raul 062e1cf551 Merge inbound to mozilla-central. a=merge 2018-01-25 19:02:48 +02:00
Gurzau Raul 49c692983a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 13:02:27 +02:00
Csoregi Natalia 6f5bb993b2 Merge inbound to mozilla-central. a=merge 2018-01-25 12:14:20 +02:00
Aki Sasaki f8ee472c6f Bug 1431397 - part2: fix release_eta when it's None p=aki r=jlorenzo
--HG--
extra : source : c349de6dc73428fb8b09ff9f416e581dcfe9e05a
extra : amend_source : 2bed7eb11b536b345fb8b30f2d47c85424024ae9
2018-01-24 12:27:34 -08:00
Simon Fraser 9bc38c03cc Bug 1432763 Linting compliance for funsize docker images r=mtabara
MozReview-Commit-ID: IdHYknfUZXx

--HG--
extra : rebase_source : cd86ab7af28b97c52b5cfb045b91ca3a248f1755
2018-01-24 12:46:21 +00:00
Gurzau Raul 9abd2a937c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-25 13:00:18 +02:00
Simon Fraser 3fb244c631 Bug 1432765 Linting compliance for docker recipes r=jlund
MozReview-Commit-ID: KbTLTU87hyI

--HG--
extra : rebase_source : a1b433b7874cd7dcf3eee3a6c8328b780153a97d
2018-01-24 12:50:04 +00:00
Tom Ritter b11952722c Bug 1432213 Fix the MinGW build on the beta branch and re-enable it r=froydnj
When we branched to beta, the MinGW build started failing with a strange error
like "could not find the robustcheckout Mercurial extension". We disabled it
for a while, but now we're re-enabling it (and fixing the problem.)

The root culprit of this was that we were using the incorrect mozconfig. MinGW
does all sorts of stuff in the mozconfig, but the beta branch overrides the
mozconfig using platform_overrides in
testing/mozharness/configs/builds/branch_specifics.py

We avoid this override by changing the MinGW platform so it doesn't match
and the mozconfig doesn't get overridden.

MozReview-Commit-ID: JkETWCRHacO

--HG--
extra : rebase_source : 5ef7d96804acd3a4eaa6dd6cc8b483f3de438b61
2018-01-24 14:13:54 -06:00
Nick Alexander 42f84f5c5d Bug 1411654 - Part 4: Use flavorDimensions to simplify {with,without}GeckoBinaries logic. r=maliu
MozReview-Commit-ID: 2rbsP6A0BY0

--HG--
extra : rebase_source : 7ef95b9c3b7e2aef0c71e7c421acfd9b35e61bb2
extra : source : 01836fd98c6351667c70cfd187cf1e3c437e1f94
2017-11-09 16:47:05 -08:00
Nick Alexander edf219ba3b Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 22008e9333b15c594ce26c2a52f67396d6e3ab84
extra : source : f918500d9cf5112b70bc8e0a120df435b02252b7
2017-10-26 11:00:36 -07:00
Nick Alexander cb03a352f0 Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu
Turns out Google's maven repository doesn't publish checksums.  I
can't imagine why not, but there it is.  We have to think more about
whether to trust the artifacts downloaded from maven.google.com.

MozReview-Commit-ID: CdWijorq1IV

--HG--
extra : rebase_source : 6c66cf1444876624f10409ea6437863e2c2ea9b0
extra : source : 0850b319efd43ac8f4d61485451722975da55ca1
2017-10-27 14:50:27 -07:00
Johan Lorenzo 4eda134617 Bug 1431764 - Change release_mark_as_shipped worker-type to shipit_scriptworker r=aki
MozReview-Commit-ID: Lm5lUYDQ3l8

--HG--
extra : rebase_source : 9a79599195d82eeca04599010986b85ff96ac3a6
2018-01-25 17:07:07 +01:00
Jesse Schwartzentruber 8edb6105b8 Bug 1421728 - Add a macosx64 fuzzing-asan build. r=dustin,froydnj
MozReview-Commit-ID: DNNu4jyG50Z

--HG--
extra : rebase_source : 4440c958965ee6021a3aaf732f9a87cc10763245
2018-02-08 17:16:41 -05:00
Narcis Beleuzu b3044d8b90 Backed out changeset 2de04e1a46bd (bug 1431872) on request from marco for running ccov builds also on autoland and inbound. a=backout
--HG--
extra : source : 928f0f09172fae67f6ec00e7a63969f7b28bd12e
2018-02-16 14:29:18 +02:00
Ralph Giles a1f8916fd3 Bug 1418081 - Update builders to rust 1.23.0. r=ted
New upstream release.

- Avoiding argument copies improves memory footprint.
- RwLock<T> no longer requires T to be Send.
- AsciiExt trait methods are now directly available
  on str, [u8], u8, and char types without a `use`
  statement.

MozReview-Commit-ID: 7Rx8uoNTMqH

--HG--
extra : rebase_source : 39d6297d61d19d710a1376557e4b4d81bdab02c9
2018-01-08 09:05:31 -08:00
Cosmin Sabou 7e6e71746a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-25 00:04:12 +02:00
Narcis Beleuzu f8bb2d707a Merge autoland to mozilla-central. a=merge 2018-01-24 23:54:03 +02:00
Brindusan Cristian 9e0ffdd8cb Backed out 7 changesets (bug 1419581) as requested by nalexander a=backout
Backed out changeset 7f41dd3bbc2d (bug 1419581)
Backed out changeset d4d42899e5cd (bug 1419581)
Backed out changeset 78828bf781d7 (bug 1419581)
Backed out changeset 5224db0c36aa (bug 1419581)
Backed out changeset 072108d16590 (bug 1419581)
Backed out changeset f8b3e95f18e4 (bug 1419581)
Backed out changeset 5f7645a19bf1 (bug 1419581)
2018-01-24 22:28:19 +02:00
Tom Ritter 7ede4b30fa Bug 1432668 Do not run check-test for MinGW builds r=jlund
MozReview-Commit-ID: 8U1xG9T6zTn

--HG--
extra : rebase_source : 2e6c35bb85898c8bc8d6884131a3280075bb30a1
2018-01-23 22:17:07 -06:00
Simon Fraser 7ab95eccbd Bug 1432517 Add shellcheck support for mach lint r=ahal
MozReview-Commit-ID: 1Mzg6y3JKbn

--HG--
extra : rebase_source : ceb32257265952e173ff83434395acfabb001cb4
2018-01-23 16:32:04 +00:00
Nick Alexander 5fbb927713 Bug 1419581 - Part 6: Add Android build configuration --without-google-play-services. r=dustin
MozReview-Commit-ID: 526BCiQwlm6

--HG--
rename : mobile/android/config/mozconfigs/android-api-16/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-without-google-play-services
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_without_google_play_services.py
extra : rebase_source : 3b15d8f9fa95769caa06be9aad145becd9729694
extra : intermediate-source : 4ead5bb6937c1396d41a859d65184a60f28f6e93
extra : source : bd1e3857b5bac3dc710521a5eb7377a1168b56ac
2018-01-04 15:45:56 -08:00
Simon Fraser 184caf15a0 Bug 1432768 Linting compliance for image builder scripts r=Callek
MozReview-Commit-ID: 3TmtiB47Z5W

--HG--
extra : rebase_source : c66da9713e1732be6f5a6ba26d6b2a18ca17fa34
2018-01-24 12:59:11 +00:00
Tom Ritter 6f227dea91 Bug 1431809 Bump MinGW version for new Product Constants r=froydnj
MozReview-Commit-ID: CmxZTdyHP3X

--HG--
extra : rebase_source : 7aa739cb54ac0f4c52087dcd1c992fe220bda737
2018-01-23 17:57:08 -06:00
Margareta Eliza Balazs 8d179d969e Backed out changeset d0dc56c1e423 (bug 1432768) for bustage taskcluster-image-build:error on a CLOSED TREE 2018-01-24 16:56:10 +02:00
Simon Fraser 5812422f52 Bug 1432756 Linting compliance for firefox-snap docker image r=jlorenzo
MozReview-Commit-ID: IyfL0Cbnkjh

--HG--
extra : rebase_source : abed84a8628b229cedc17780152683f8ec8db79f
2018-01-24 14:36:46 +00:00
Simon Fraser 0307838ca3 Bug 1432767 Lint compliance for lint system setup r=ahal
MozReview-Commit-ID: IDZYEIGI283

--HG--
extra : rebase_source : f68622602822a96efff0c66ce2c59975dd59164e
2018-01-24 12:57:25 +00:00
Simon Fraser 2789476ffa Bug 1432768 Linting compliance for image builder scripts r=Callek
MozReview-Commit-ID: 3TmtiB47Z5W

--HG--
extra : rebase_source : 7e21151be1125affdcabf2aa4876aea9a97575fd
2018-01-24 12:59:11 +00:00
Johan Lorenzo 7d18b55efa Bug 1431397 - Pass release_eta down from action task input r=bhearsum
MozReview-Commit-ID: Ggybpiv5XQo

--HG--
extra : rebase_source : 9ac9de595aad73b874e6c4850c83a9000be55e53
2018-01-18 15:10:53 +01:00
Michael Kaply 775018640e Bug 1436468 - Send downloads to the correct directory. r=jlorenzo
MozReview-Commit-ID: LSPNgFOjQhz

--HG--
extra : rebase_source : 373bccadbae13fd3df9043c8bf41950a907836f7
2018-02-07 12:46:53 -06:00
Johan Lorenzo b098ea094d Bug 1436445 - Use icon included in the snap r=mkaply
MozReview-Commit-ID: BXl5TghQpRx

--HG--
extra : rebase_source : ed80103b931c5fd45920559abf21815d500e3ed0
2018-02-12 10:31:25 +01:00
Cosmin Sabou 6cfb14fd97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-25 00:07:47 +02:00
Geoff Brown ecb2e42e94 Bug 1345972 - Do not download tooltool.py during Android test tasks; r=jmaher
Instead of downloading tooltool.py whenever a test task needs it in mozharness,
it is added to the ubuntu-16 test image and run from there.
2018-01-24 13:59:46 -07:00
Geoff Brown 84ebbf0452 Bug 1432872 - Stop running test-verify on beta and release; r=ryanvm
test-verify failures on merges are low-value: They usually just repeat/confirm
the test results from the origin branch.
2018-01-24 13:59:43 -07:00
Simon Fraser d167e9637d Bug 1436369 Add docker entrypoint for periodic file udpates r=catlee
MozReview-Commit-ID: 4c8bMADQg4t

--HG--
extra : transplant_source : %BDs%8FS%9B/%B8%22%19%AE%10%C9%F1%AA%13t%84zY%BA
2018-02-21 11:18:32 +00:00
Simon Fraser 8ce28b276d Bug 1436369 Migrate HSTS and HPKP update scripts to docker image r=keeler
MozReview-Commit-ID: 6N7PqYsAXup

--HG--
rename : security/manager/tools/genHPKPStaticPins.js => taskcluster/docker/periodic_updates/scripts/genHPKPStaticPins.js
rename : security/manager/tools/getHSTSPreloadList.js => taskcluster/docker/periodic_updates/scripts/getHSTSPreloadList.js
extra : transplant_source : %19%9Ecvy%03%5E%E6T%B7%1D%A1%E7%8C%11%EC%C5%82%0A%91
2018-02-21 11:04:24 +00:00
Simon Fraser 047081e13b Bug 1436369 Docker image for periodic file updates r=catlee
MozReview-Commit-ID: E6OFCGBTttX

--HG--
extra : transplant_source : %01%FE%9C%3E%A9%60%83%C2Q%1C%C0%EE%17%0D%E9%0AUt%F7%87
2018-02-21 10:45:01 +00:00
Henrik Skupin 21d9fbb240 Bug 1443437 - Pre-build font cache for Firefox i386 binaries on x86_64 systems. r=jmaher
In automation for both Linux and Linux64 the same docker image is used,
which is based on Ubuntu 16.04 64bit. To run the 32bit Firefox binary
the necessary libraries for the i386 architecture get installed.

What's missing is the creation of the font cache for i386 binaries. As
such it will be created at the first start of the appropriate application.
It means there is an additional ~30s delay before Firefox opens, which
causes several test failures especially for wdspec tests.

To prevent this delay the i386 version of fontconfig will be installed
and apt automatically creates the font cache for the i386 architecture
by leaving the x86_64 cache in-place.

So the cache creation will happen one time  when the docker image is getting
build, and not for each and every test job, which saves us 30s for each.

MozReview-Commit-ID: 58xdOI4xYkP

--HG--
extra : rebase_source : f246fc47caa1acc8657c4963c9450c1ca7653fec
2018-03-07 11:48:26 +01:00
Johan Lorenzo 53c7caf998 Bug 1432417 - Fetch l10n_changesets from tree r=sfraser
MozReview-Commit-ID: FEyb6hmJXmf

--HG--
extra : rebase_source : df298ca97769a210d9fab81bd1a7c87effba8ef6
2018-01-23 11:17:49 +01:00
Dorel Luca d3a8d8de8b Backed out changeset 5a4e85dccded (bug 1432417) for lint failure on /builds/worker/checkouts/gecko/taskcluster/docker/firefox-snap/extract_locales_from_l10n_json.py on a CLOSED TREE
--HG--
extra : amend_source : 5bad9668247f422f1f2665543a33b2ebd2f90e52
2018-01-23 15:05:05 +02:00
Johan Lorenzo 3354095c95 Bug 1432417 - Fetch l10n_changesets from tree r=sfraser
MozReview-Commit-ID: FEyb6hmJXmf

--HG--
extra : rebase_source : 29294a5e9cc0c2b513391826d7ab8249e6e12f41
2018-01-23 11:17:49 +01:00
Christian Holler 9b23854e8b Bug 1432298 - Make sm-fuzzing build ready for libfuzzer. r=sfink
This patch disables the stdcxx-compat check for the sm-fuzzing build which
requires patching autospider as well. Furthermore, it switches the build
to linux64-clang-6-pre because the older clang 3.9 does not support trace-pc
instrumentation. Finally, it excludes fuzzing parts from the vanilla allocation
check.

MozReview-Commit-ID: FdhCIFdUore

--HG--
extra : rebase_source : c41bda01cb42f2ef0cd5a1675d88bdb55d9dc8c9
2018-01-22 21:23:47 +01:00
Dorel Luca 4b9ccdb392 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 12:02:17 +02:00
Gregory Szorc bf2bef2b5b Bug 1399679 - Add a version string to cache names; r=glandium
So we can change a string in this file to force the use of new caches,
thus ensuring a clean break from one changeset to the next.

MozReview-Commit-ID: EZsR23a1PZE

--HG--
extra : amend_source : bf6a3c53ab14f2eb249fdf57ff70dce97388f0a0
2018-01-22 22:08:33 -08:00
Mike Hommey 4ddb944ee0 Bug 1399679 - Use debian7-*-build instead of desktop-build. r=gps
Switch almost all builds currently using the desktop-build image to use
the right debian7-*-build image instead. The only exception is the rust
bindgen spidermonkey builds, that require cmake being installed, but I
don't want to add it to the base images because that involves risking a
cmake dependency unwantedly slipping in Firefox (rust-bindgen ironically
requires cmake to build a single C++ file...)
2018-01-23 13:14:18 +09:00
Tom Ritter 40e0f3ea5e Bug 1432009 Fix MinGW build failure with d_write3.h r=jfkthame
Bump mingw version to get the newest commit and do not include the
un-needed dw-extras.h on MinGW (thanks Jacek!)

MozReview-Commit-ID: OjO93XHCxs

--HG--
extra : rebase_source : 933bbb385004988a23d1069c9cd3241b3a3b336e
2018-01-22 15:01:49 -06:00
Tom Prince b3e41dda91 Bug 1424146: Refactor taskcluster l10n mozharness config; r=Callek
MozReview-Commit-ID: HrbI9grmjud

--HG--
extra : rebase_source : 63defa76778afdd8714712f127dd0350a7d932d7
2017-12-15 10:43:08 -07:00
Tom Prince 0a70a075ef Bug 1424146: Simplify taskcluster l10n mozharness config; r=Callek
MozReview-Commit-ID: 5Pg480dLRbz

--HG--
extra : rebase_source : 040b3d219043ddd93bf538f0d6ba77d20110ae28
extra : source : c73e7b3292dfd0c7a1a4fa095fa614d0720d64e2
2017-11-28 12:46:22 -07:00
Tom Prince 89180e14a3 Bug 1429603: Don't specify balrog servers for builds; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D415

--HG--
extra : rebase_source : 7c823a0b90a26ab6a0384a185b4a68f2a30c38c8
2018-01-18 10:20:51 -07:00
Tom Prince c54ad08e5c Bug 1429603: Only run build and check as part of mingw32 build; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D414

--HG--
extra : rebase_source : e071e09acaaf500eb27a516cfd335703455255eb
2018-01-18 11:40:05 -07:00
Tom Prince 6d2d49c954 Bug 1429603: Get rid of clone-tools; r=jlund
It is no longer used as part of the build, now that publishing is handled in
separate tasks.

Differential Revision: https://phabricator.services.mozilla.com/D373

--HG--
extra : rebase_source : a6e31fe5d554076d4da584f0993c21b6c1a8ebd0
2018-01-08 17:50:11 -07:00
Tom Prince 0fd3bde12e Bug 1429603: Get rid of support for builds using buildbot-bridge; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D372

--HG--
extra : rebase_source : e75eb0abded4fd503c21a5136adb534396c98e54
2018-01-08 17:33:02 -07:00
Tom Prince b6125ff578 Bug 1429603: Remove mock configuration from build mozharness configs and code; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D369

--HG--
extra : rebase_source : 9fd6eab5d2c85fcc61d0420dc860dcc26c18303c
2018-01-04 13:13:24 -07:00
Aki Sasaki 3f5fe874df bug 1432265 - fix fx source signing. r=bhearsum
MozReview-Commit-ID: 5f9ILHKkpVG

--HG--
extra : source : c94e1fd9fe7a47c51c421db2a7052292ac411e3a
extra : histedit_source : 7a1b7f2108be5ccf22ef6cd27c0117fb024fea4b
2018-01-22 11:28:52 -08:00
Mike Hommey 1e499e6b27 Bug 1392370 - Enable xz parallel compression on Debian-based docker images. r=gps
This makes the XZ_OPT environment variable set for every task that runs
on those docker images, effectively enabling parallel compression for
all of them.

For e.g. the gcc 4.9 toolchain build task, this makes the final
compression step take 23s instead of > 3 minutes.

--HG--
extra : rebase_source : 83809f1f72007cc0829573f1def29a9afdc300c9
2018-01-18 15:22:30 +09:00
Dustin J. Mitchell 9d81b07e04 Bug 1429236: put jsreftests in their own scheduling component; r=jmaher
This adds an 'override' for the default scheduling component for tests, which
is based on their suite.

MozReview-Commit-ID: 6vd8sb2zeuU

--HG--
extra : rebase_source : 25988c6790287e01fa7751effa72e8b924858948
2018-01-12 14:17:34 +00:00
Rob Wood 02bcf4226b Bug 1425850 - Add new talos gecko profiling job on osx nightly; r=jmaher
MozReview-Commit-ID: BO6YEmWPifb

--HG--
extra : rebase_source : e50454c9511ba9f9616829056d03635ef91c6d44
2018-01-16 15:10:00 -05:00
Mike Hommey 374330afe4 Bug 1429056 - Add llvm-symbolizer to the llvm-dsymutil toolchain. r=ted
llvm-symbolizer is necessary to get symbols in llvm-dsymutil crash
dumps. While we could use the one from clang during the build, it's
better if the llvm-dsymutil toolchain is standalone for local testing.

--HG--
extra : rebase_source : 5cd234a3e14ab52a4ce759821e0e756e68167797
2018-01-19 19:00:06 +09:00
Mike Hommey ee232fad88 Bug 1429056 - Don't strip llvm-dsymutil. r=ted
When I originally wrote the llvm-dsymutil build script in bug 1430315,
I wasn't setting CMAKE_BUILD_TYPE to Release, and was ending up with
a very large binary (> 300MB), so I stripped it.

When I later set CMAKE_BUILD_TYPE to Release, I left the manual
stripping on, but that removes symbols that are useful for stacktraces
when dsymutil crashes (the Release type still leaves out debug info).

--HG--
extra : rebase_source : 802daadc24c0090574b1a44ea8b4e6c25735f703
2018-01-19 10:16:11 +09:00
Mike Hommey 422740ec81 Bug 1430936 - Remove docker-image dependency from beetmover-repackage and repackage-signing tasks. r=aki
--HG--
extra : rebase_source : 48ce085e0b10d2e98c02d7f5f66fe730b4e62855
2018-01-17 08:39:58 +09:00
Gregory Szorc 6f469dc037 Bug 1430908 - Use --progress=dot:mega with wget; r=glandium
By default, wget prints dots every 1k bytes. This can render a
lot of output for large files. We switch to the "mega" style, which
makes each dot represent 64k, thus reducing output by up to 64x.

We also force the use of dot display. By default, it uses "bar"
which attempts to use terminal formatting if possible. Since most
of this code executes in CI and terminal control characters can
interfere with logged output, we force the use of "dot." (Although
wget appears to automatically switch to dot in TC today. But
consistency is good.)

MozReview-Commit-ID: IpTWJdcauTV

--HG--
extra : rebase_source : 5c9aa1bbdcd78eaa0b31347ad026a2c1beaedc03
2018-01-16 14:24:31 -08:00
Ciure Andrei 52a06095eb Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-19 00:10:04 +02:00
Mike Hommey d6510c894f Bug 1431297 - Remove the pxz package from the toolchain-build image. r=dustin
Now that we have a version of xz-utils that supports parallel compression,
we're not going to use it.

--HG--
extra : rebase_source : 7ac7840e979176b8d2042a4ef35f5868acd6f224
2018-01-18 14:58:33 +09:00
Mike Hommey bb9be954aa Bug 1431297 - Install the xz-utils package in the Debian-based docker images. r=dustin
--HG--
extra : rebase_source : 744571645793ab89ea030ef68b9e1fa713cccff6
2018-01-18 14:58:00 +09:00
Mike Hommey 8d30282b40 Bug 1431297 - Build a xz-utils package for Debian wheezy. r=dustin
There were a few constraints in the choice of the version of dpkg to
backport:
- 1.17.20 is the first version that supports the debian source format
  for that xz-utils package.
- versions >= 1.17.10 and <= 1.17.22 fail to build on wheezy.
- versions >= 1.17.21 depend on a version of patch not available on
  wheezy.

All in all, the simpler choice was to go with version 1.17.20 with a
backport of the build failure fix.

That version of dpkg breaks the version of devscripts in wheezy, so the
version from wheezy-backports would be better to use, but we can't
unconditionally use it on all builds, because it happens that
mk-build-deps from that version is broken with the dpkg in wheezy.

In the end, it's simpler to build that backport and rely on package task
dependencies rather than selectively install the package from
wheezy-backports, so we do that. Except we can't use version
2.14.11~bpo70+1 because of bug 1419577.

--HG--
extra : rebase_source : 19ad1a44b770229fbc7e15bbcf01d3cb101315a8
2018-01-18 14:41:11 +09:00
Mike Hommey daed362708 Bug 1431297 - Allow to use aptitude instead of apt-get to install build dependencies. r=dustin
In some cases, apt-get can't figure out how to install build
dependencies, and aptitude, with hints, is necessary instead. But
aptitude also doesn't necessarily work in some cases (e.g. it picks the
wrong automake version to build valgrind, although that's a problem in
valgrind's build dependencies). All in all, it's still better to use
apt-get for all the simple cases.

--HG--
extra : rebase_source : 5dcde3507f2642be8f284b6148d1ccaa4761164a
2018-01-18 14:33:57 +09:00
Mike Hommey ee86ec6a7d Bug 1431297 - Allow package tasks to depend on one another. r=dustin
It can be necessary to use the artifacts from package tasks as build
dependencies for other package tasks.

--HG--
extra : rebase_source : a625670ae7af9a99c848924bdba9368c556e6766
2018-01-18 14:25:36 +09:00
Mike Hommey 587c7c3d1c Bug 1430984 - Drive-by: Use the worker command as base for the index hash for debian package tasks. r=dustin
Not all changes to debian_packages.py lead to actual changes to the
corresponding tasks. And since the tasks are pretty much self-contained,
we can consider that variations of them will be entirely represented in
the command used for the task. The only exception is the patch content
when there is an associated patch.

--HG--
extra : rebase_source : e70fa41a824106b5ceca09fd535c0c36bb0739ac
2018-01-18 08:31:26 +09:00
Mike Hommey 9eb36d84be Bug 1430984 - Automatically create a debian/changelog entry when there is no patch. r=dustin
--HG--
extra : rebase_source : d3d0cb7134470633460ecfc3ef52018145b8325f
2018-01-17 15:18:47 +09:00
Mike Hommey 4c676f87cd Bug 1430984 - Drive-by: Move debian package jobs defaults to kind.yml. r=dustin
--HG--
extra : rebase_source : 7a395a777f4221f0b1e1e393e1b34112f36f972c
2018-01-11 07:24:11 +09:00
Mike Hommey dc03a55695 Bug 1430984 - Drive-by: Use urls from the main snapshot archive for cmake and ninja. r=dustin
--HG--
extra : rebase_source : 0ae76da7f27d7be5c12c7259daa5d94fb1483836
2018-01-17 14:52:25 +09:00
Kartikaya Gupta 05fda53c2c Bug 1426155 - Turn on media mochitest suite for windows10-64 QuantumRender builds. r=dustin
MozReview-Commit-ID: Ds7b6QjSvuy

--HG--
extra : rebase_source : a0ef1700b963921fdcffee4390692b133b507f5c
2018-01-18 13:39:32 -05:00
Simon Fraser 2031c0f517 Bug 1431381 Pin all funsize dependency versions r=callek a=nightly-fix
MozReview-Commit-ID: 53RUUw4gVDJ

--HG--
extra : amend_source : 38ec13e565b4bce821f4fa2a6ee735e9adb24a14
2018-01-18 12:47:17 +00:00
Mike Hommey f7984c551b Bug 1430037 - Use sparse checkouts for docker image builds. r=dustin
In many cases, building docker images starts on machines that don't have
a cached checkout, and it often takes forever to get a full clone. It
used to be worsened when 3 jobs could run at the same time because the
worker would start up clean, and 3 jobs would be doing a mercurial clone
at the same time, thrashing I/O, but that part is fortunately fixed.

It is still, however, appreciable not to waste time in the mercurial
clone part of image creation.

--HG--
extra : rebase_source : 8c76bc91e1d5102f68c43e1050d61971fef32e9f
2018-01-11 17:03:09 +09:00
Mike Hommey 8dae24c856 Bug 1430037 - Use the in-tree image builder image to build docker images. r=dustin
The image builder image we use to build docker images is updated
manually, and not necessarily when changes occur in tree that should be
reflected by a new image builder image. For instance, its run-task is
currently outdated. Not enough that it's actually a problem, but it
could rapidly become a problem.

There is also a lot of friction when trying to make changes in how
docker images are built, and while last time I tried, I ended up not
being able to do the changes I wanted to make because the docker version
on the host is too old, but this is already the second time I've been
trying to make things better and hit a wall because the the image
builder is essentially fixed in stone on the docker hub.

So with this change, we make all the docker images use the in-tree image
builder image, except itself, obviously. That one uses the last version
that was uploaded. We may want to update it at some point, but not doing
so will only impact building the image builder image itself, not the
other ones.

--HG--
extra : rebase_source : 978cf033732cbbbb277d206dec69660175b82afa
2018-01-11 17:50:00 +09:00
Mike Hommey d82350c48a Bug 1429998 - Exclude toolchain and package tasks from the target task set. r=dustin
Back in bug 1360609, we added `run-on-projects` to a list so that the
toolchain tasks wouldn't run on every push on release branches.

Fast forward to now, and they're depended upon by other tasks, meaning
they are triggered when appropriate, without resorting to that trick. In
fact, the commit message for bug 1360609 said we could switch to an
empty list once the jobs have dependencies.

The same is true from package tasks, which, in fact, I suspect would
happen on every push on release branches.

The only exception is for a few toolchains that are depended upon by
nothing, and that are produced for developer consumption with e.g. mach
artifact toolchain.

--HG--
extra : rebase_source : bb8624fed7490b85f4bd72b7ceb2db7a72b4c2ab
2018-01-17 14:30:57 +09:00
Andrew Halberstadt 7d764294a7 Bug 1386857 - [ci] Remove the 'tc' treeherder group prefix from all tasks, r=dustin
There are now only a handful of buildbot jobs remaining and the concern over
outdated treeherder exclusion profiles has largely been resolved.

This does remove the tc() group from a substantial number of tasks which will
now show up as top level tasks, potentially adding clutter. In some cases, we
might want to re-add a new group (e.g group builds or compiled tests together).
However rather than try to predict the best group names for tasks I'm unfamiliar
with, I think it's best to land this as is. Then if things are looking too
cluttered at the root namespace, file follow-up bugs as needed.

MozReview-Commit-ID: 8SMwjDwAOzV

--HG--
extra : rebase_source : 2f6d89d11c139bdcd404e7537db799d0e36ee4c3
2018-01-12 15:49:58 -05:00
Andrew Halberstadt eb69d68a94 Bug 1386857 - [taskgraph] Add path of offending config file to the UNKNOWN_GROUP_NAME error message, r=dustin
When trying to remove an ubiquitous group like tc(), it's hard to tell where the
error was located without grepping my filesystem. This makes it a bit easier to
find and fix these errors.

MozReview-Commit-ID: 8NjvB5zOoqb

--HG--
extra : rebase_source : 167d3097f96548cf9c13b602d7d485cb69d48c2d
2018-01-12 15:49:27 -05:00
Tiberius Oros 0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Tiberius Oros 25b2d642db Merge autoland to mozilla-central. a=merge 2018-01-17 23:46:17 +02:00
Ryan VanderMeulen ac18fd5152 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-17 15:55:38 -05:00
Ryan VanderMeulen 8ac2db0699 Backed out 7 changesets (bug 1419581) for incorrect android:debuggable. r=nalexander
Backed out changeset bd1e3857b5ba (bug 1419581)
Backed out changeset be888fa125dc (bug 1419581)
Backed out changeset 44bcb609e721 (bug 1419581)
Backed out changeset a7d75667c58b (bug 1419581)
Backed out changeset 2ea82ff4a757 (bug 1419581)
Backed out changeset 8f1655752d43 (bug 1419581)
Backed out changeset 65195aae48d8 (bug 1419581)
2018-01-17 15:54:22 -05:00
Rob Wood 193e30d84e Bug 1428790 - Disable talos heavy user profile tests on windows and linux; r=jmaher
MozReview-Commit-ID: DppwZi5tGNx

--HG--
extra : rebase_source : 28e2b59b2d8eb11c32c7964200b7dc8e8066ef18
2018-01-17 11:40:07 -05:00
Cosmin Sabou 1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
Dustin J. Mitchell 74237a9cc3 Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P

--HG--
extra : rebase_source : 9d9557f82982f0ef2605645db28adf68289e1cfa
2018-01-16 22:33:08 +00:00
Tom Prince c0451f64eb Bug 1430823: Correctly link to source kind in task metadata; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D399

--HG--
extra : rebase_source : 0695454c8cfc3f60b2c48995eafa466767e0b5f4
extra : histedit_source : c5a5ac4400824320c5dbb6c2b6de596ce9703058
2018-01-16 00:29:30 -07:00
Tom Prince 306bf603dd Bug 1410255: Factor out determination of `try` to helper function; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D398

--HG--
extra : rebase_source : c055ab0e34c2d82c575521383ffc9ba084631f45
extra : histedit_source : df2f206225094eb2ca4d381f379e9ffbae3b3909
2018-01-16 00:15:59 -07:00
Aki Sasaki 0be9df7004 bug 1430353 - allow for an easier to read treeherder relpro symbol. r=bstack 2018-01-16 15:12:31 -08:00
Kartikaya Gupta d1c5b77efc Bug 1429957 - Move searchfox indexing job from win32 to win64. r=rillian,dustin,chmanchester
MozReview-Commit-ID: J4TkzTHBWkJ

--HG--
rename : browser/config/mozconfigs/win32/debug-searchfox => browser/config/mozconfigs/win64/debug-searchfox
2018-01-16 16:45:51 -05:00
Geoff Brown e2ffb68892 Bug 1431433 - Tidy and reorganize mozharness configuration for Android emulator tests; r=jmaher 2018-01-18 11:25:45 -07:00
arthur.iakab b10eb7b2b1 Merge mozilla-central to mozilla-inbound. a=merge 2018-01-18 15:30:15 +02:00
Mike Hommey 3f0a4870c5 Bug 1430958 - Set docker-image as a chain-of-trust input centrally. r=dustin
Relying on the various transforms setting it manually is error prone,
and, in fact, is why bug 1430037 busted beta. This change makes this
setting happen at a single place. This yields the same full task graph
as before, except for *more* chain-of-trust inputs being set now: they
were missing for toolchain tasks (which makes us closer to bug 1384430).

--HG--
extra : rebase_source : b6bf3a3b6da7174957c4c6814b853a51ee8a1e27
2018-01-17 12:05:56 +09:00
Noemi Erli 1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Dustin J. Mitchell 9888ac630f Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P

--HG--
extra : rebase_source : d20a7b921c138a7ecae9e31c57a509c201eda8cf
2018-01-16 22:33:08 +00:00
Dorel Luca 09deda375a Merge mozilla-central to autoland r=merge 2018-01-16 06:07:49 +02:00
Dorel Luca c5c7ddbb92 Merge inbound to mozilla-central r=merge a=merge 2018-01-16 06:05:59 +02:00
Geoff Brown c27dfe6822 Bug 1430668 - Increase chunks for linux32/debug jsreftest; r=me, a=test-only
Attempt to avoid intermittent task timeouts in these tests.
2018-01-15 15:51:13 -07:00
Dustin J. Mitchell 7f9df9a8a3 Bug 1430491: stop depending, incorrectly, on docker images; r=glandium
MozReview-Commit-ID: DksKKZQcXo0

--HG--
extra : rebase_source : cc5c47da8d816f82c1f7c659b2b239c1c5cdd5a1
2018-01-15 17:14:42 +00:00
Tom Prince 3a19777b1f Bug 1430006: Allow specifying the scope prefix to be used for script workers; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D382

--HG--
extra : rebase_source : d011bc53c290468c846c1c3ed77e083a43fda2fa
2018-01-12 01:08:54 -07:00
Tom Prince d2e34db9b3 Bug 1430006: Add separate function for calculating phases; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D384

--HG--
extra : rebase_source : ab17d3a92265aa0965996a1c7535aaf366023e8c
2018-01-12 14:04:42 -07:00
Tom Prince 4cedc60165 Bug 1430006: Move push-apk settings into the kind; r=aki,jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D383

--HG--
extra : rebase_source : 63bd62cd05399bbd685f57862e14e4e8b1035373
2018-01-12 13:20:23 -07:00
Tom Prince 345a5d6fda Bug 1430006: Allow configuring scriptworkers per-graph config; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D379

--HG--
extra : rebase_source : c52684c1a65017698d29979f35afed646ca5c90c
2018-01-09 10:44:04 -07:00
Jim Chen 3757544495 Bug 1426244 - 5. Add geckoview-docs job; r=nalexander
Add a geckoview-docs job that executes "./mach android geckoview-docs",
which takes care of calling gradle to generate the javadoc archive, and
uploading it to Github using given parameters.

MozReview-Commit-ID: DTWh4XdFZEO

--HG--
extra : rebase_source : 9d75be24cb553b3a773d3d34a2bdbdf4d4c8cd34
2018-01-13 17:41:09 -05:00
Mike Hommey 59ba584f2d Bug 1430005 - Refactor spidermonkey tc configurations. r=dustin
With the use of job-defaults, we can avoid a lot of repetition from
those definitions.

--HG--
extra : rebase_source : 932c2ed530aa8aec9a33da60cf652535fa0bd303
2018-01-12 16:40:29 +09:00
Mike Hommey e44def0a59 Bug 1430005 - For mozharness jobs, rely on the default being set by the mozharness transform. r=dustin
The mozharness transform is supposed to set the docker image to
desktop-build when not already set, but was not doing it properly.

I guess this is why some jobs were setting the image themselves, despite
using the mozharness transform.

Consequently, don't manually set the image to desktop-build when it's
the default.

--HG--
extra : rebase_source : 024bd10960bedaee3416785348a5c12498c5286f
2018-01-12 16:01:38 +09:00
Dorel Luca ab63c465d9 Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-13 15:17:49 +02:00
Coroiu Cristina c6a942e1bf Merge inbound to mozilla-central r=merge a=merge 2018-01-13 11:55:23 +02:00
Aki Sasaki f4bf56293f bug 1430246 - fix beta devedition updates (s,mozilla-aurora,mozilla-beta,). r=jlund
MozReview-Commit-ID: 39QgyKKUUUC

--HG--
extra : rebase_source : e5ff99102d71e920a40ea968188f1d8caa8c682a
extra : source : 0f677284ab9bbb7663f3d47f464c43bb98ad0ead
extra : histedit_source : b7a6f36fafd2f2e269a8d70253622709f17d841c
2018-01-12 19:17:45 -08:00
Mike Hommey 557293d62c Bug 1429670 - Build docker images based on Debian wheezy to use instead of desktop-build. r=gps
At the same time, restrict the installed packages to the script
requirements to build Firefox. Toolchains have their own image so we
don't need to install packages for them.

--HG--
extra : rebase_source : c0e7aa178b1ce2ceb01f9dfe6af37bbb54d4d708
2018-01-11 14:56:12 +09:00
Mike Hommey 7535c60c60 Bug 1430011 - Use the git package in the toolchain-build docker image. r=gps
--HG--
extra : rebase_source : ac7ccc85496a8447550c721734d6584c0899921f
2018-01-12 14:52:38 +09:00
Mike Hommey c1667043b2 Bug 1430011 - Build a Git package for Debian wheezy. r=gps
The one available in Debian wheezy is 1.7.10.4, which is really old, and
on our centos images, we're using 2.8.0rc3, which, while old too, is
more modern. While we may want to go with a more recent version, I'd
rather avoid differing from what we currently use, so use the exact same
version.

--HG--
extra : rebase_source : dfdf75a635073c248faef8a67648b2a83e4a1d84
2018-01-12 14:52:05 +09:00
Aki Sasaki 17e0203ad5 bug 1430246 - fix devedition source signing scope. r=bhearsum
MozReview-Commit-ID: Dq3wqW4P52B

--HG--
extra : source : a0c607713dfb3887b87806ed615135ff349cbdae
extra : intermediate-source : fbde5320505049a521f2e4f5d535eefb56c25ded
extra : histedit_source : 1feba4c3cb3812675664415062370feb7ab89f41
2018-01-12 14:08:33 -08:00
Csoregi Natalia b64306c51a Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-13 00:04:06 +02:00
Csoregi Natalia 7476b71e00 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 23:59:06 +02:00
Mike Hommey 1b4c9cdebd Bug 1427340 - Build toolchains on a Debian-based docker image. r=gps
... except libdmg-hfsplus. RedHat decided to patch libbz2 to have a
different soname, so a binary built on Debian can't run on
RedHat/CentOS. Ironically, a binary built on RedHat/CentOS can run
on Debian. While we could use some tricks to make libdmg-hfsplus built
on Debian work, at this point, it's not worth the effort. We can live
with libdmg-hfsplus being built on CentOS until the builds that use it
switch to Debian, which is imminent.

... and except mingw32-nsis. Sourceforce renewed their certificate last
week and somehow the corresponding CA is not yet recognized by the
ca-certificates in Debian wheezy (an update is underway but see below)

... and except wine, because it requires more 32-bits packages than can
be installed on the toolchain-build docker image. But all things
considered, the mingw32 builds don't need to be using the same docker
images as the linux builds, and they could be, like the android builds,
be based on a more recent build image. So the corresponding toolchains
can be built on a more recent version of Debian too.

Consequently, we keep all the mingw32 related toolchains on the
desktop-build image for now.
2018-01-12 21:31:10 +09:00
Mike Hommey eb3cf6d41b Bug 1430030 - Enable parallelism when building wine, upx and fxc2. r=ted 2018-01-12 21:25:59 +09:00
Mike Hommey 08c0116191 Partially backout changeset 22587e6ef7ca from bug 1429669 on a CLOSED TREE. r=me
Because Ubuntu 16.04 changed in a way that busts gl3 tests and we can't
update the desktop1604-test image anymore.

--HG--
extra : amend_source : bfa07f9f77990dd6915b8c92d218227436bc6fc4
2018-01-12 10:45:35 +09:00
Mike Hommey 4f2f1a88f6 Bug 1429685 - Build a Valgrind package for Debian wheezy. r=dustin
Apply the patch from bug 1382280 (build/valgrind/valgrind-epochs.patch).

--HG--
extra : rebase_source : 283dbc749e231bc00ea3135423e1606161f0bcd4
2018-01-11 16:06:45 +09:00
Mike Hommey 4de239b64f Bug 1429669 - Install the mercurial package in the toolchain-build docker image. r=dustin
--HG--
extra : rebase_source : 2ee1fc5816d1269a2fb189a33f5f2b0efb7e35d6
2018-01-11 14:07:57 +09:00
Mike Hommey 5f8431c3b1 Bug 1429669 - Separate mercurial conf from install-mercurial.sh. r=dustin
The install-mercurial.sh script currently installs a global mercurial
configuration after installing mercurial manually. In order to share
that configuration with docker images installing a mercurial package
through packages tasks, we move it to a separate file.

We however keep the part setting web.cacerts in install-mercurial.sh,
since it uses a path depending on what kind of environment the script is
run. Moreover, the instructions that come with mercurial to build
Debian packages come with web.cacerts set to the right path already, so
it's not needed in that case anyways.

At the same time, use multiple files in /etc/mercurial/hgrc.d/ instead
of a single /etc/mercurial/hgrc file.

--HG--
extra : rebase_source : 8140d8243cf012489025afe058f467c72224c891
2018-01-11 14:01:31 +09:00
Mike Hommey 398539b2db Bug 1429669 - Build a mercurial package for Debian Wheezy. r=dustin
--HG--
extra : rebase_source : 22f0e8de5dc50c9d4e3df5790b74ecfe69349a59
2018-01-11 14:07:36 +09:00
Mike Hommey ed263aab84 Bug 1429669 - Add backports sources when building Debian packages. r=dustin
Build dependencies won't be installed from backports unless they are not
satisfiable in the given Debian release. This is useful to get dh-python
on Wheezy.

--HG--
extra : rebase_source : 1f249b4ceae4fdd9ea37e9a9b9e9b62b48a1c9ed
2018-01-11 14:03:21 +09:00
Mike Hommey f65ab0ce12 Bug 1429669 - Allow to build debian packages off a source tarball. r=dustin
In the case of mercurial, we don't want to use a .dsc as the original
source, but rather use the debian packaging scripts available in the
upstream mercurial tarball.

--HG--
extra : rebase_source : ec5b288f3994bc0bc1ec9ebce40def807bb7681f
2018-01-11 14:02:58 +09:00
Mike Hommey dc613af2d0 Bug 1429669 - Recursively check identifiers in schema validation. r=dustin
The taskgraph.util.schema.check_schema function validates key names used
in schemas, ensuring they are dashed lower-case. However, it currently
assumes keys are either direct strings, Required or Optional entries,
and either ignores or fails to recognize other patterns.

For example, it ignores Any, and fails to recognize combinations like
Required(Any(...)), which we're going to use in next patch.

--HG--
extra : rebase_source : 4f6ff51a4a9dc9c7d9b6d070e03c6cc6e1befe80
2018-01-11 09:29:19 +09:00
Mike Hommey 0f364f58ca Bug 1429669 - Group url and sha256 of dsc file in package definitions. r=dustin
This will be useful two patches down the road.

--HG--
extra : rebase_source : bfb3ccc53837c243703ad5fb1fd480063d906c1a
2018-01-11 07:35:32 +09:00
Margareta Eliza Balazs a331a849a4 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Mike Hommey 68e591a606 Bug 1430270 - Disable ccache in hazard builds. r=nalexander
I don't intend to install ccache in the Debian build images. Hazard
builds are the only builds running on the desktop-build image still
using ccache somehow, and that gains them nothing, since the ccache
directory is not set to a cached directory on taskcluster, meaning
the build always starts with an empty cache. If anything, this currently
makes the build slower.

Eventually, those builds should be able to use sccache, once the
necessary setup moves out of mozconfig.cache.

--HG--
extra : rebase_source : fba6dab78b25ea61892cbe6127ead36da395b0e0
2018-01-13 06:33:12 +09:00
Mike Hommey 06ef2a32a0 Bug 1429954 - Limit docker images retention on try. r=dustin
taskcluster/taskgraph/transforms/task.py sets an expiry to 28 days for
tasks on try, vs. 1 year on other projects, but only do that when an
expiry is not already set, which docker images do. And they do always
set to 1 year.

But it doesn't make sense to keep large docker images from try for a
year. So use the same retention policy as the default one. We /could/
just remove the expiry from docker images and get the task.py default,
but it seems like whatever future change might happen to that default
shouldn't affect docker images, so it's better to duplicate the setting.

--HG--
extra : rebase_source : b5b46ca34a40ac82c5403b67d5b1aacf8cf8cceb
2018-01-12 08:06:02 +09:00
Nick Alexander a31ac9c2b7 Bug 1411654 - Part 4: Use flavorDimensions to simplify {with,without}GeckoBinaries logic. r=maliu
MozReview-Commit-ID: 2rbsP6A0BY0

--HG--
extra : rebase_source : cbb33702f841134d58b1e49678bd2a402885bcb7
2017-11-09 16:47:05 -08:00
Csoregi Natalia bed10b400c Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-13 00:02:18 +02:00
Nick Alexander 34208b22e7 Bug 1411654 - Part 4: Use flavorDimensions to simplify {with,without}GeckoBinaries logic. r=maliu
MozReview-Commit-ID: 2rbsP6A0BY0

--HG--
extra : rebase_source : d9df7bdb482b8605067303857ab6a3356fa87646
2017-11-09 16:47:05 -08:00
Mike Hommey a6d328e83e Bug 1430087 - Build sccache with system GCC/binutils. r=nfroyd
It was failing to build with the GCC/binutils on the CentOS-based docker
image, but it doesn't with the Debian-based one, so we can remove the
dependency on the gcc toolchain task. This allows sccache to remain
untouched when we change the gcc build scripts, and more importantly,
this allows it to depend on no toolchain that requires building things.

This makes it now possible to use sccache as a dependency for all other
toolchains jobs that compile, if that's beneficial (which might not be
the case, given the current sccache retention time, but at least it's a
viable option, now)
2018-01-13 05:57:57 +09:00
Nick Alexander 47c107e74f Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 38a9781c472d858f3300cbbcbdc6d2311c465713
2017-10-26 11:00:36 -07:00
Nick Alexander e6080c2ce7 Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu
Turns out Google's maven repository doesn't publish checksums.  I
can't imagine why not, but there it is.  We have to think more about
whether to trust the artifacts downloaded from maven.google.com.

MozReview-Commit-ID: CdWijorq1IV

--HG--
extra : rebase_source : a884971e51ce7b1ff993754b130f462c476646ab
2017-10-27 14:50:27 -07:00
Nick Alexander e820c8ca18 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 5a5730b4b9ce84af40a7c73c4f1abba017103f02
2017-10-26 11:00:36 -07:00
Nick Alexander a0865e7202 Bug 1411654 - Pre: Don't block Google's maven repository. r=maliu
Turns out Google's maven repository doesn't publish checksums.  I
can't imagine why not, but there it is.  We have to think more about
whether to trust the artifacts downloaded from maven.google.com.

MozReview-Commit-ID: CdWijorq1IV

--HG--
extra : rebase_source : e4373273e7aea7df79d70b5fbc233233a84d2360
2017-10-27 14:50:27 -07:00
Dustin J. Mitchell 26d48b3202 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Andrew Halberstadt 24922a65ba Bug 1413928 - [tryselect] Add python unittest for templates r=davehunt
This makes use of pytest's generation feature. To add a new
template test, just add a new entry containing the input and
expected output to the dict in test_templates.py

MozReview-Commit-ID: 4qMefYHMjAp

--HG--
extra : rebase_source : ba3049885d1a2485048e1ff9913be43317559376
2017-11-21 10:11:00 -05:00
Andrew Halberstadt f72de18701 Bug 1413928 - [ci] Refactor worker and platform out of python source test tasks r=jmaher
This is a minor cleanup of the python.yml source test tasks.

MozReview-Commit-ID: 6UanmbZHF8P

--HG--
extra : rebase_source : e06d310af9ca05bfdab1bc1e3bd2bc6aa3035cb9
2018-01-15 16:02:05 -05:00
Dustin J. Mitchell 00f03c413e Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
shindli 334ee0f441 Backed out 2 changesets (bug 1430037) for bustage on beta r=glandium
Backed out changeset 8b80471c1d79 (bug 1430037)
Backed out changeset 800640c0dc3f (bug 1430037)
2018-01-17 04:30:00 +02:00
Mike Hommey 2e235e5651 Bug 1429995 - Mark test_WEBGL_compressed_texture_s3tc.html as not failing on Linux anymore. r=jgilbert
And trigger a new Ubuntu 16.04 docker image with a different hash to get
the latest version of the GL drivers that were updated to llvmpipe 5
recently. Those new drivers make Firefox enabled
WEBGL_compressed_texture_s3tc, making the test pass.

--HG--
extra : rebase_source : 09a8995829f985aef29a8919fecaefaf90791584
2018-01-17 11:09:09 +09:00
Mike Hommey 0afbc1f2d9 Bug 1430315 - Use the separate llvm-dsymutil toolchain to build Firefox. r=rillian
--HG--
extra : rebase_source : a71ee493885e9c1eaaed5872df57932fd0c2105f
2018-01-16 17:34:21 +09:00
Mike Hommey b7f54b9288 Bug 1430315 - Add a toolchain job to build llvm-dsymutil independently. r=rillian
We've had problems with crashes in llvm-dsymutil for a while, and while
they are, in essence, due to the fact that rustc produces bad debug
info, they are a hurdle to our builds. The tool comes along clang, and
updating clang is not necessarily easy (witness bug 1409265), so, so
far, we've relied on backporting fixes, which can be time confusing
(witness bug 1410148).

OTOH, llvm-dsymutil is a rather specific tool, that doesn't strictly
need to be tied to clang. It's only tied to it because it uses the llvm
code to do some of the things it does, and it's part of the llvm source
tree. But it could just as well be a separate tool, like it was(is?) on
OSX.

So, we add a toolchain job to build it from the llvm source,
independently from clang, so that we can update it separately, if we
hit new crashes that happen to already be fixed on llvm trunk. It will
also allow to more easily update after upstream fixes crashes after we
report them.

--HG--
extra : rebase_source : b814353b4b4632e46646a24b8f54c5300618ff49
2018-01-16 16:23:33 +09:00
Nick Alexander 31f8c86b25 Bug 1419581 - Part 6: Add Android build configuration --without-google-play-services. r=dustin
MozReview-Commit-ID: 526BCiQwlm6

--HG--
rename : mobile/android/config/mozconfigs/android-api-16/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-without-google-play-services
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_without_google_play_services.py
extra : rebase_source : b33d56c9c80a39129de525661dec459b7a40f09b
2018-01-04 15:45:56 -08:00
Margareta Eliza Balazs b61bd7a503 Backed out 7 changesets (bug 1419581) for B bustage on /builds/worker/workspace/build/src/widget/android/nsWindow.h:0 on a CLOSED TREE
Backed out changeset 1af5a54e829d (bug 1419581)
Backed out changeset c9aef37de282 (bug 1419581)
Backed out changeset 8d0855cb17b7 (bug 1419581)
Backed out changeset d0eba5853ab6 (bug 1419581)
Backed out changeset bc4cda1cc57c (bug 1419581)
Backed out changeset 93547276fba8 (bug 1419581)
Backed out changeset 45b5309a73cb (bug 1419581)
2018-01-17 00:03:19 +02:00
Mike Hommey 896ba44bb9 Bug 1430037 - Use sparse checkouts for docker image builds. r=dustin
In many cases, building docker images starts on machines that don't have
a cached checkout, and it often takes forever to get a full clone. It
used to be worsened when 3 jobs could run at the same time because the
worker would start up clean, and 3 jobs would be doing a mercurial clone
at the same time, thrashing I/O, but that part is fortunately fixed.

It is still, however, appreciable not to waste time in the mercurial
clone part of image creation.

--HG--
extra : rebase_source : bbe8b001849e59bb655bb0e9766a6071ad38a52c
2018-01-11 17:03:09 +09:00
Mike Hommey 4cdb1025f2 Bug 1430037 - Use the in-tree image builder image to build docker images. r=dustin
The image builder image we use to build docker images is updated
manually, and not necessarily when changes occur in tree that should be
reflected by a new image builder image. For instance, its run-task is
currently outdated. Not enough that it's actually a problem, but it
could rapidly become a problem.

There is also a lot of friction when trying to make changes in how
docker images are built, and while last time I tried, I ended up not
being able to do the changes I wanted to make because the docker version
on the host is too old, but this is already the second time I've been
trying to make things better and hit a wall because the the image
builder is essentially fixed in stone on the docker hub.

So with this change, we make all the docker images use the in-tree image
builder image, except itself, obviously. That one uses the last version
that was uploaded. We may want to update it at some point, but not doing
so will only impact building the image builder image itself, not the
other ones.

--HG--
extra : rebase_source : 73e8fc51ea53af1e647fc1d5093c67d614dd009e
2018-01-11 17:50:00 +09:00
Nick Alexander 8adb3071f9 Bug 1419581 - Part 6: Add Android build configuration --without-google-play-services. r=dustin
MozReview-Commit-ID: 526BCiQwlm6

--HG--
rename : mobile/android/config/mozconfigs/android-api-16/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-without-google-play-services
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_without_google_play_services.py
extra : rebase_source : 1eeffc4381f335fe56e380070852e363e6431eb7
2018-01-04 15:45:56 -08:00
Mike Hommey cba7e06846 Bug 1430504 - Use the GNU make package in the Debian wheezy-based docker images. r=gps
--HG--
extra : rebase_source : 43e605f7d11d31e60cfe06f4920f0413db3418a1
2018-01-12 14:52:38 +09:00
Mike Hommey 17462147e3 Bug 1430504 - Build a GNU make package for Debian wheezy. r=gps
The one available in Debian wheezy is 3.81, but we're explicitly using
4.0 on CentOS, most notably because of its --output-sync option which
helps make logs better in some ways.

This takes the package from Debian jessie and builds it for Debian
wheezy.

--HG--
extra : rebase_source : 20bb550703fec41ed0175ef7f78c5b9a394160f3
2018-01-12 14:52:05 +09:00
Johan Lorenzo d4fa2b0378 Bug 1430073 - Snap: Move executable outside of $WORKSPACE/source/opt/firefox r=sfraser
MozReview-Commit-ID: 1Fqeg04yncD

--HG--
extra : rebase_source : cd7f988e3ef9068fa315b51d114ffe6d60094be8
2018-01-12 13:51:40 +01:00
Dustin J. Mitchell 522245f2f2 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Dorel Luca a19f5582cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-11 00:05:23 +02:00
Tom Prince 740dcad222 Backout removal of when.files-changed support for tests from Bug 1403322; r=dustin
MozReview-Commit-ID: 1ZT1VWJx7Y

--HG--
extra : rebase_source : 6611486f33f8f1b7d8799b9e70e5630855ac30d3
2018-01-09 11:51:08 -07:00
Dustin J. Mitchell 2b415ced27 Bug 1380174: handle --setenv correctly r=froydnj
This boils down to always setting worker.env to avoid a KeyError.

MozReview-Commit-ID: 1s4az9BFcc2

--HG--
extra : rebase_source : dabed2dedb00d176b829c6c0ff911e0236c5dec4
2017-12-19 18:19:52 +00:00
Csoregi Natalia bbfcdcd760 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_multiple_signed_with_pkcs7.zip
rename : security/manager/ssl/tests/unit/test_signed_apps/cose_signed.zip => security/manager/ssl/tests/unit/test_signed_apps/cose_signed_with_pkcs7.zip
rename : third_party/rust/cose/src/cbor/mod.rs => third_party/rust/moz_cbor/src/lib.rs
extra : rebase_source : 5f16e3d25e86d41e201b8c28ead361fd6ac25c42
2018-01-10 12:07:47 +02:00
Gurzau Raul 2d062bac22 Merge inbound to mozilla-central r=merge a=merge 2018-01-10 11:58:20 +02:00
Sebastian Hengst 1ebdaf80de merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2018-01-10 01:52:28 +02:00