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

7031 Коммитов

Автор SHA1 Сообщение Дата
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
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
Ciure Andrei c38c8d3b28 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-03-30 01:11:06 +03:00
David Major 347060a2cd Bug 1448306: Run Binscope on more files. r=froydnj 2018-03-29 15:11:42 -04:00
David Major 7e5935899c Bug 1448306: Newer Binscope no longer communicates status via return code. r=froydnj 2018-03-29 15:11:42 -04:00
David Major 194936ff52 Bug 1448306: Allow BinScope to run on clang-cl builds. r=froydnj 2018-03-29 15:11:41 -04:00
David Major 7175be67e3 Bug 1448306: Update checks for BinScope 2014. r=froydnj 2018-03-29 15:11:41 -04:00
Gurzau Raul 8d268c6ce7 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : toolkit/components/extensions/ext-permissions.js => toolkit/components/extensions/parent/ext-permissions.js
2018-03-29 01:00:42 +03:00
Geoff Brown b4dddb3c35 Bug 1440719 - Set MOZ_CRASHREPORTER_SHUTDOWN during tests, other than browser-chrome and non-e10s; r=ted 2018-03-28 12:43:52 -06:00
Andi-Bogdan Postelnicu b030e9525d Bug 1447904 - for clang-tidy toolchains set default cxx dialect cxx14. r=froydnj
MozReview-Commit-ID: LrGETsz0W6q

--HG--
extra : rebase_source : 02a9e9bb50ef91fe5aa23fbfce9fe00e6042c005
2018-03-28 18:48:57 +03:00
Narcis Beleuzu f7d1771078 Backed out changeset 0c253578b791 (bug 1447904) for TL failures /toolchain-win32-clang-tidy TW32. CLOSED TREE 2018-03-28 18:43:54 +03:00