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

7040 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca 70e79e52cd Backed out 11 changesets (bug 1437593) for Doc linting failure. CLOSED TREE
Backed out changeset 0f3dbbd73ed4 (bug 1437593)
Backed out changeset 64c84cf90e8b (bug 1437593)
Backed out changeset 36c66615886f (bug 1437593)
Backed out changeset dfafbe7770ad (bug 1437593)
Backed out changeset 900f32450a74 (bug 1437593)
Backed out changeset d6fe456bb39c (bug 1437593)
Backed out changeset 4842e4b68d82 (bug 1437593)
Backed out changeset e024b3d775fd (bug 1437593)
Backed out changeset ce9e3951357a (bug 1437593)
Backed out changeset afaeac146ff8 (bug 1437593)
Backed out changeset 88954bcf6ca2 (bug 1437593)
2018-04-28 12:02:02 +03:00
Rob Wood 8b76a9ff3c Bug 1455107 - Integrate raptor into mach; r=gbrown
MozReview-Commit-ID: 84vIqU2NWkE

--HG--
extra : rebase_source : ac5454192271d19b4da448e6be2f97dbb3420828
2018-04-23 16:43:30 -04:00
Dave Hunt ab659de0d1 Bug 1437593 - Move initial virtual environment to _virtualenvs/init; r=ted
MozReview-Commit-ID: LP8NVz3tZZg

--HG--
extra : rebase_source : 0ddf9cd58d7258c17ffbed01b435fb58142df7c5
2018-03-28 12:55:04 +01:00
Gurzau Raul 677f146915 Backed out 11 changesets (bug 1437593) for SpiderMonkey failures on a CLOSED TREE
Backed out changeset e4b2357330b4 (bug 1437593)
Backed out changeset 8cb34c11ad45 (bug 1437593)
Backed out changeset ab27411c53c2 (bug 1437593)
Backed out changeset c90a0961f52a (bug 1437593)
Backed out changeset 60114a93b6b1 (bug 1437593)
Backed out changeset d12eec17c51c (bug 1437593)
Backed out changeset 2f83246cb0b1 (bug 1437593)
Backed out changeset 19b7273e375c (bug 1437593)
Backed out changeset cf026c071b73 (bug 1437593)
Backed out changeset c7fa833eff1d (bug 1437593)
Backed out changeset 828caab5032d (bug 1437593)
2018-04-27 02:20:39 +03:00
Dave Hunt 37e3c0c222 Bug 1437593 - Move initial virtual environment to _virtualenvs/init; r=ted
MozReview-Commit-ID: LP8NVz3tZZg

--HG--
extra : rebase_source : 7cc28c398da611f318bba5377d9ad1f18944e1e4
2018-03-28 12:55:04 +01:00
Ciure Andrei 33e644e1da Merge inbound to mozilla-central. a=merge 2018-04-24 04:14:21 +03:00
Gregory Szorc 8f5adf5328 Bug 1455708 - Find Python 3 in MozillaBuild, require Python 3 everywhere; r=mshal
We previously did not require Python 3.5+ everywhere because we failed
to detect Python 3.5 on Windows in CI. That's because CI isn't using
start-shell.bat and it hasn't yet updated PATH to include
%MOZILLABUILD%\python3.

We shouldn't need to teach CI to have PATH contain everything in
MozillaBuild. This commit teaches moz.configure to automatically use
MozillaBuild's Python 3 if we're running in MozillaBuild.

Since we can now detect Python 3 everywhere in CI, we make Python 3.5+
required on all build configurations.

MozReview-Commit-ID: BwgWGeYMyPM

--HG--
extra : rebase_source : b52f604b01c73b0493b142f3f71aa26c99a42b91
2018-04-20 12:44:05 -07:00
Justin Wood 9e151c936d Bug 1453274 - Add testing for python/mozrelease/versions.py r=rail
for: taskgraph: Make update tasks support esr60

MozReview-Commit-ID: GUmAq3sBXGB

--HG--
extra : rebase_source : 0eaeb17809fede07f6b9fc4ee5d856d0078f83be
2018-04-23 12:40:26 -04:00
Gregory Szorc 7efba3beae Bug 1451065 - Require Python 3.5+ to build; r=mshal
But only if we are:

a) not running in CI
b) running in CI on Linux

We will ideally make the requirement global. But Python 3.5 is not
yet available in CI on macOS. And we're not finding the MozillaBuild
copy in configure.

This was previously announced in November at
https://groups.google.com/d/msg/mozilla.dev.platform/rJrPh1QYXrQ/hqRrQsJ_BgAJ.

MozReview-Commit-ID: IyPCAcL3gop

--HG--
extra : rebase_source : f9e3db043a1ce9c1a903c943663f22245febf101
2018-04-03 11:00:00 -07:00
Gregory Szorc 5423976a8b Bug 1455143 - Refactor checksumming to occur after upload.py; r=ted
checksums.py is now run after upload.py, as part of the "upload" make
target.

As part of the refactor, checksums.py now takes as arguments a list of
directories containing files to checksum. It will recursively checksum
all files in listed directories.

This means we no longer have to pass an explicit list of files into
checksums.py. Instead, we can pass the artifact directory and
automatically checksum everything within. This will allow us to
generate files directly into the artifact directory instead of
having to run upload.py to copy files there.

MozReview-Commit-ID: 6ntnXU2Pp0E

--HG--
extra : rebase_source : 7e019b366f14b3692ec702ff331a1e0306dc3805
2018-04-18 16:24:03 -07:00
Gregory Szorc 137e7d1403 Bug 1455143 - Use .write() instead of print >>; r=ted
.write() is the preferred mechanism to write to a file object.

MozReview-Commit-ID: 1uhNeFayoxV

--HG--
extra : rebase_source : 5244e5548cefb8ebf98cb2415ab139e96e967433
2018-04-18 15:39:26 -07:00
Gregory Szorc 8faaa397e7 Bug 1455143 - Use a reasonable buffer size for reading files; r=ted
Reading in 1kb chunks in 2018 is insane.

MozReview-Commit-ID: 7wJv6fTAOh7

--HG--
extra : rebase_source : 9553fdd1b50c6da21fb2e15f63b0accc62bb01e8
2018-04-18 15:38:04 -07:00
Gregory Szorc ed4699f57b Bug 1455143 - Remove code for failing to obtain a hash; r=ted
digest_file() should always return something.

MozReview-Commit-ID: 6PpSUnxhCcL

--HG--
extra : rebase_source : 932a7e296a6bf32b03dc8b1ac5360d3287e44d38
2018-04-18 15:36:55 -07:00
Gregory Szorc 29eac5d14d Bug 1455143 - Handle directory inputs earlier; r=ted
This makes the logic in process_files() simpler.

MozReview-Commit-ID: KdphRJZLinx

--HG--
extra : rebase_source : 14a89fc9ba85d1dd4c2d2d18d0383552bb2d8e69
2018-04-18 15:35:57 -07:00
Gregory Szorc 10322471bc Bug 1455143 - Use a global logger instance; r=ted
MozReview-Commit-ID: 1RyLZBMx6mH

--HG--
extra : rebase_source : d83c756488c698680965badc953c9b3e3efb5403
2018-04-18 15:33:31 -07:00
Gregory Szorc fcd36e363c Bug 1455143 - Remove hash name validation; r=ted
Garbage in garbage out. Let's make this code simpler.

MozReview-Commit-ID: Gv0ZcMacyOX

--HG--
extra : rebase_source : 2e8131bc1926b6ad7f186d0778fe4b339c6ba834
2018-04-18 15:31:59 -07:00
Gregory Szorc 4f096bd777 Bug 1455143 - Make hashlib required; r=ted
A missing or unimportable hashlib is only possible on very old or very
busted Pythons. Remove code for conditionally handling a failure to
import it.

MozReview-Commit-ID: EXVlmttcwUa

--HG--
extra : rebase_source : 30177c86dc5e92dd3234177f383681f9aa70682e
2018-04-18 15:31:11 -07:00
Gregory Szorc 893a9ad99d Bug 1455127 - Remove --package from upload.py; r=ted
The argument is never used in the local file copying function. So let's
nuke the argument.

MozReview-Commit-ID: JeU4LaVvGD7

--HG--
extra : rebase_source : 0e305c5bff0e3871fd11a554d75e7f53ceea4bdd
2018-04-19 09:31:00 -07:00
Gregory Szorc 5de6850705 Bug 1455127 - Remove --properties-file from upload.py; r=ted
This was only used for the remote server case. That code was recently
deleted.

MozReview-Commit-ID: 7usqWZ7CuBR

--HG--
extra : rebase_source : f27b37391802a2980feffa5d88c92228d137824f
extra : source : 46b8a00288c8d7b88fd9b7aee20e88ddfd96d57b
2018-04-19 09:30:52 -07:00
Gregory Szorc fa49ba4a40 Bug 1455127 - Remove functionality for uploading to a server; r=ted
With the transition to Taskcluster, "uploads" are artifacts in a local
directory. So we don't need to support uploading to a remote server
using SCP.

This commit removes all the code to support uploading to a remote
server.

And since property files were only written out for the remote case, all
that code can be deleted as well.

Since UPLOAD_HOST no longer means anything, we no longer set it in
mozharness configs.

MozReview-Commit-ID: 66gkM8erkGk

--HG--
extra : rebase_source : ee85bb927cfb98e1ca383ab2591febfc1f0ce5cd
2018-04-19 09:30:31 -07:00
Ciure Andrei c8ca057944 Backed out 3 changesets (bug 1455127) for throughing exceptions and messing with windows 2012 builds on a CLOSED TREE, a=backout
Backed out changeset ac17015816ca (bug 1455127)
Backed out changeset 8527e727b92d (bug 1455127)
Backed out changeset 8c8fe0facf52 (bug 1455127)
2018-04-19 05:43:15 +03:00
Gregory Szorc 32bab4f00f Bug 1455120 - Prefix output from automation tiers; r=mshal
We add a minimal Python script to run a process and prefix all its
output with a string. We change the automation tiers to evaluate all
make targets using this script.

MozReview-Commit-ID: 79g5KUd5ked

--HG--
extra : rebase_source : 63388a71b51e5abc05ca8bd48e180af72bf799e6
2018-04-18 14:30:05 -07:00
Gregory Szorc 75aaa25f38 Bug 1455127 - Remove --package from upload.py; r=ted
The argument is never used in the local file copying function. So let's
nuke the argument.

MozReview-Commit-ID: JeU4LaVvGD7

--HG--
extra : rebase_source : a898814f4084288200928f062fbb06ffbbae60bd
2018-04-18 15:04:53 -07:00
Gregory Szorc 294b3c6072 Bug 1455127 - Remove --properties-file from upload.py; r=ted
This was only used for the remote server case. That code was recently
deleted.

MozReview-Commit-ID: 7usqWZ7CuBR

--HG--
extra : rebase_source : 39c33057aab6773f8f85b1294e4965965954d9e6
2018-04-18 15:03:46 -07:00
Gregory Szorc 2855ef727a Bug 1455127 - Remove functionality for uploading to a server; r=ted
With the transition to Taskcluster, "uploads" are artifacts in a local
directory. So we don't need to support uploading to a remote server
using SCP.

This commit removes all the code to support uploading to a remote
server.

And since property files were only written out for the remote case, all
that code can be deleted as well.

Since UPLOAD_HOST no longer means anything, we no longer set it in
mozharness configs.

MozReview-Commit-ID: 66gkM8erkGk

--HG--
extra : rebase_source : 15143a18598370eeaaa98f8f0ac8458d758db51f
2018-04-18 17:05:46 -07:00
Rob Wood 4af496d7f2 Bug 1454466 - Move raptor in-tree; r=ahal
MozReview-Commit-ID: AkqbROfvmbu

--HG--
extra : rebase_source : bf30030a333852d6d81c4278e91b1ac9fef237fe
2018-04-16 17:15:38 -04:00
Tom Prince 2fd9b9a48f Bug 1436662: Remove `installer` MOZ_AUTOMATION stage; r=mshal
The previous commit moved creating installers to be side effect of creating
packages. This makes the installer step not actually do anything. So remove the
step from automation.

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

--HG--
extra : rebase_source : 75b67a6e57031ae189dafe1d9854e4105aa22621
extra : source : fcb756834abbdbe0ae6e59a8cfdf39024f50a226
2018-04-05 19:12:10 -06:00
Brindusan Cristian 34b33a520a Backed out 2 changesets (bug 1436662) for build bustages on /installer/windows. CLOSED TREE
Backed out changeset fcb756834abb (bug 1436662)
Backed out changeset d6bf22099e21 (bug 1436662)
2018-04-17 19:08:21 +03:00
Tom Prince f125db5dfe Bug 1436662: Remove `installer` MOZ_AUTOMATION stage; r=mshal
The previous commit moved creating installers to be side effect of creating
packages. This makes the installer step not actually do anything. So remove the
step from automation.

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

--HG--
extra : rebase_source : 174a366890da295634ef8971d0608ea60979f110
extra : histedit_source : 06fdd0e2ccb93f061ba5a40c2a4137eed9898916
2018-04-05 19:12:10 -06:00
J.C. Jones 6fad8e3ff1 Bug 1441338 - Change pgo certificates to use certspec/keyspec files r=keeler r=franziskus
(This also fixes Bug 879740 and Bug 1204543.)

build/pgo/certs contains an NSS database set that has a bunch of hand-generated
certificates, and many of these hand-generated certificates are specifically
depended upon for a variety of unit tests. This patch changes all of these to
use the "pycert.py" and "pykey.py" utilities that produce deterministic keys
and certificates.

The naming convention here is new, and defined in the README. It is based on
the mochitest runtest.py naming convention that imports .ca and .client
PEM-encoded certificates.

Unfortunately, the updates to build/pgo/genpgocert.py to generate these files
depends on OpenSSL in order to produce PKCS12 archives for pk11tool to import
into NSS. This could be done with pure-NSS tooling, but it'd require some new
command line functionality, which is out-of-scope for this change.

Note that build/pgo/genpgocert.py no longer takes arguments when run. It's not
run automatically anywhere that I can see, but could (reasonably) be, now.

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

--HG--
extra : amend_source : bc389b9b0a807a4889feb14db439daa28635dfe9
2018-04-23 11:14:17 +02:00
Bobby Holley 1da6139753 Bug 1454511 - Widen valgrind suppression for selector parsing. r=njn
The existing suppression tries to be specific about the callstack that
arrives at the function, but that breaks when we rejigger the machinery
up the callstack. In practice, the existing suppressions cover most of
the ways we would arrive at selector parsing, and so I think the
specificity here is more trouble than it's worth.

MozReview-Commit-ID: 2k52xq64SQX
2018-04-16 17:11:49 -07:00
Jan Beich 6a8b9ac6f9 Bug 1452509 - Move --enable-pulseaudio to moz.configure. r=froydnj
MozReview-Commit-ID: J1fJUukDJXh

--HG--
extra : rebase_source : c582a589b767d199413e77c7c237d4402599179f
2018-03-18 23:55:25 +00:00
Jan Beich efa1be2618 Bug 1452509 - Move --enable-alsa to moz.configure. r=froydnj
MozReview-Commit-ID: Cv0HnZPvkWe

--HG--
extra : rebase_source : 1108a3d58e14bef335334e160186dca8a0bfcaee
2018-03-18 23:46:16 +00:00
Ryan VanderMeulen 6af8d937a0 Bug 1453317 - Update VS2017 used in automation to version 15.6.6. r=froydnj
CLOSED TREE
2018-04-11 09:24:02 -04:00
Ciure Andrei 3f4a118829 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-11 12:00:35 +03:00
Jeff Walden cba0aa5d89 Bug 1452754 - Add tests to TestMustReturnFromCaller.cpp that verify that RAII destruction after a must-return-after expression is permitted. r=mystor
--HG--
extra : rebase_source : 6ca1082b766393fa90f3631fd09a399e01c9e6e6
2018-04-09 12:56:37 -07:00
Geoff Brown 3680684f70 Bug 1452694 - Use TestRunnerActivity for geckoview mochitest/reftest; r=bc
This makes the changes necessary to use TestRunnerActivity when geckoview
is installed and requested, but we do not yet attempt to run any such
test tasks in automation.
2018-04-10 13:26:11 -06:00
Mike Hommey be4f305f62 Bug 1445536 - Add a toolchain job for GCC 7. r=froydnj
And adapt the build-gcc.sh script for the changes to
contrib/download_prerequisites.

--HG--
rename : taskcluster/scripts/misc/build-gcc-6-linux.sh => taskcluster/scripts/misc/build-gcc-7-linux.sh
extra : rebase_source : b1d785777b8c141c0eb0f52a73734abd2db21b94
2018-03-14 09:37:27 +09:00
Benjamin Bouvier 7c38a97146 Bug 1451372: Force libatomic only on 32-bits Linux clang builds; r=froydnj
--HG--
extra : rebase_source : 3295ed15a5add83bd1aeff49b10a9a6d23a770c6
2018-04-06 16:27:01 +02:00
Kartikaya Gupta 904dd3f563 Bug 1449291 - Use the macro expansion location for all tokens. r=emilio
MozReview-Commit-ID: 8lbpGSt6z4p

--HG--
extra : rebase_source : 048e11795f755391eca15666651dfc883b5ad8d9
2018-04-04 08:53:16 -04:00
Benjamin Bouvier d8a712a705 Bug 1451038: Make clang compile the JS ARM32 simulator shell; r=froydnj
This forces the linker ot use libatomic with clang on x86 (not only Android)
and forwards the intent to use libatomic to the shell's moz.build.

--HG--
extra : rebase_source : 0c803a3e11efcad3f17a462c2d38e85ec6cb556a
2018-04-03 18:13:51 +02:00
Andrew McCreight e80864c94c Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 65bac47c2cd1a20b3c675a01b44a25a1d2d3ab7a
2018-03-05 14:27:29 -08:00
Dorel Luca baf0da3fea Merge mozilla-central to autoland 2018-04-03 07:22:33 +03:00
Gregory Szorc cbab55349e Bug 1449629 - Install Python 3.5 in Debian 7 base image; r=glandium
Debian 7 ships Python 3.2 by default. That's too old for our
upcoming build requirement of Python 3.5.

This commit adds a Python 3.5 package for wheezy that backports
the Python 3.5 from a much later Debian version.

The patch was inspired by the existing patch for Python 2.7.
However, it needed additional work. The changes and reasons
should all be documented in the changelog file as part of the
package diff we apply.

I'm a bit disappointed we had to disable PGO. But it was
reliably segfaulting during the build. I didn't feel like going
down that rabbit hole.

MozReview-Commit-ID: ABpHW1KYFQP

--HG--
extra : rebase_source : 02dbd13236fe741cb33f07c803218fda339c214e
2018-04-02 19:27:12 -07:00
Jeff Gilbert afd77f7fd5 Bug 1444274 - Require GCC 6.1+. - r=glandium
MozReview-Commit-ID: 7alNSIhhbLI
2018-04-02 17:05:43 -07:00
Dorel Luca f24505d99e Backed out 7 changesets (bug 1438688) for android xpcshell failures on builds/worker/workspace/build/tests/bin/components/test_necko.xpt
Backed out changeset 8786eabb61a4 (bug 1438688)
Backed out changeset e05ec1e08b46 (bug 1438688)
Backed out changeset 4c437ba9d984 (bug 1438688)
Backed out changeset 2f243bca1af3 (bug 1438688)
Backed out changeset 4da0e1839353 (bug 1438688)
Backed out changeset 186f916dcc7a (bug 1438688)
Backed out changeset 08b1a5f904e4 (bug 1438688)
2018-04-03 02:30:53 +03:00
Andrew McCreight fc09560f06 Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 6f7d4fd1d6cdea2c14866705a2dc972eb5f43382
2018-03-05 14:27:29 -08:00
David Major 2a5904b3d4 Bug 1448519: Pick up clang r328769 on Windows. r=mshal 2018-04-02 10:11:05 -04:00
David Major 32c30a3ca5 Bug 1450133 - Pick up LLD r320462 for the static analysis builders. r=froydnj
--HG--
extra : rebase_source : 96660883a950ef6c4d3382fdb02eab00f573cd47
2018-03-30 18:06:27 -04:00
Julian Seward 4f24ba0ebe Bug 1447137 - Valgrind errors building with rust 1.25: Conditional jump or move depends on uninitialised value in various parsing functions. r=njn
This patch adds suppressions as needed on automation, for Servo-in-Gecko as
compiled by rustc 1.25.  It appears there are only three false error sites

  fun:*style*values*specified*color*Color*style*parser*Parse*parse*
  fun:*selectors*parser*SelectorList*Impl*parse*
  fun:*style*properties*shorthands*

but there are a number of different paths leading to them, especially the
first, hence the use of 17 suppressions in total, so as to remain specific.

Following some investigation of the machine code involved, I think these are
all Valgrind/Memcheck false positives, unfortunately, and probably to do
with (legitimate) operand swapping in && or || expressions by rustc+LLVM.

MozReview-Commit-ID: EpDmb4PEyoy
2018-03-26 11:00:59 +02:00