Commit Graph

1441 Commits

Author SHA1 Message Date
Wes Kocher
bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Wes Kocher
b7e2a83ab4 Merge autoland to central, a=merge CLOSED TREE
MozReview-Commit-ID: HLPLchv8Lt7
2017-06-06 16:18:16 -07:00
Gregory Szorc
37582b662f Bug 1370539 - Fix logic error around skipping package metrics; r=nalexander, a=RyanVM
b227363d66bb added a config item and code for disabling package
metrics, which don't work everywhere.

The previous logic was faulty.

MozReview-Commit-ID: BGxWgmWxXyH

Pushing on a CLOSED TREE

--HG--
extra : amend_source : 99ca472e4c0fca306deec4038e9c7cbfe5412b0a
2017-06-06 11:09:58 -07:00
Joel Maher
b128f216a3 Bug 1369877 - when pushing to try with --artifact for osx builds, we skip upload-files. r=chmanchester
MozReview-Commit-ID: 9qXwxihyNvx
2017-06-06 09:57:05 -04:00
Gregory Szorc
55c967d522 Bug 1365080 - Replace self.query_exe('python') with sys.executable; r=ted
mozharness is Python. self.query_exe('python') could resolve to a
different Python interpreter from what mozharness is running as.

In order to promote consistency, always invoke python processes with
the Python being used to run mozharness.

In some cases, this may cause former `python` processes to run as
Python 2.7 instead of 2.6 (since `python` resolves to a 2.6 interpreter
on many systems). It may also result in slightly different Python
binaries being used. But I think sharing interpreters between the
mozharness script and launched processes is logical. So if this causes
problems, I'd like to flush those out.

MozReview-Commit-ID: KfawUvT5jgW

--HG--
extra : source : b6f04897fdda51e42612617a89a93f696edbdf92
extra : amend_source : 32dafc7c9dc2cec80bc289bd1a17cdbb8cde5025
2017-05-15 16:02:28 -07:00
Gregory Szorc
9c9557dae1 Backed out changeset b6f04897fdda (bug 1365080) for mass build bustage 2017-06-05 18:15:04 -07:00
Gregory Szorc
6f813399e5 Bug 1362148 - Always collect build metrics; r=ted
Previously, mozharness defined a separate action to collect build
metrics. This required the script and/or config to define that
action.

Metrics collection for CI is important. So it should be enabled by
default.

This commit changes the "build" action/method to always call the
metrics collection function after successful build. References to
the "generate-build-stats" action have been removed because it is
redundant.

A side-effect of this change is we may generate build metrics where
we weren't before. This could lead to e.g. duplicate entries in some
Perfherder series. Let's see what breaks ;)

MozReview-Commit-ID: 42UQI5YQTMC

--HG--
extra : rebase_source : c57dc9ec6ac46003384edff098a0ad81c75539b7
extra : source : c9812dd7d27a174c0ee46d44ec595fbe29c9e1db
2017-05-04 12:28:52 -07:00
Gregory Szorc
28f3051d07 Bug 1362148 - Don't collect package metrics for some Android builds; r=ted
We're about to enable metrics collection for all builds. There are some
Android build configurations that use buildbase.py but don't create a
package. So we need a way to conditionally obtain package metrics.

We could change package metrics collection to no-op if a package file
can't be found. However, that has a risk that a future change could
break metrics collection and we wouldn't necessarily find out. I like
things that fail fast.

MozReview-Commit-ID: CzByf7yHVS8

--HG--
extra : rebase_source : 99ee18ed4dd61e5ea8f5eda1b810b573fe254158
2017-05-12 13:24:28 -07:00
Gregory Szorc
51e7329726 Bug 1362148 - Extract package metrics collection to own function; r=ted
A subsequent commit will make all this code conditional. Rather than
indent the world, it is easier to conditionally call a function.

A benefit of the new code is that we skip some code for debug builds,
which is one less thing that can break.

MozReview-Commit-ID: fiUNBbikmy

--HG--
extra : rebase_source : aeb151ea5864d0f97db20bee921b60afc00aee61
2017-05-12 13:18:51 -07:00
Gregory Szorc
a4d58c7a0d Bug 1362148 - Call generate_build_props() as part of build(); r=ted
Previously, this ran during postflight_build(). The magic postflight_*
methods are called automagically by BaseScript.run_action() and are
only called if the main action method didn't raise. So there should
be no functional difference with this commit.

The reason I changed this is that a subsequent commit will perform
metrics generation from build() and without the build properties
file loaded, at least the OS X 64 opt buildbot build doesn't have
packageFilename defines, which breaks metrics collection.

MozReview-Commit-ID: 54ftuQqGKVi

--HG--
extra : rebase_source : c3c28426468474a7aa51a10787d01ebbba10dd82
extra : source : 387d8415d05e7f1dc96ed3adb441c54f232baf0d
2017-05-04 17:24:06 -07:00
Gregory Szorc
87dfefc7f4 Bug 1365080 - Replace self.query_exe('python') with sys.executable; r=ted
mozharness is Python. self.query_exe('python') could resolve to a
different Python interpreter from what mozharness is running as.

In order to promote consistency, always invoke python processes with
the Python being used to run mozharness.

In some cases, this may cause former `python` processes to run as
Python 2.7 instead of 2.6 (since `python` resolves to a 2.6 interpreter
on many systems). It may also result in slightly different Python
binaries being used. But I think sharing interpreters between the
mozharness script and launched processes is logical. So if this causes
problems, I'd like to flush those out.

MozReview-Commit-ID: KfawUvT5jgW

--HG--
extra : rebase_source : 8babadc464ea4d8971e091d5446d86d2630e07b9
2017-05-15 16:02:28 -07:00
Marco Castelluccio
3177d7c530 Bug 1369523 - Avoid reading output file in get_output_from_command when it is not needed. r=aki 2017-06-03 17:19:09 +01:00
Sebastian Hengst
5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Wes Kocher
269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Nathan Froyd
313ec2e5f6 Bug 1341404 - add win32/64 noopt debug builds; r=dustin,mshal 2017-06-02 16:56:56 -04:00
Nathan Froyd
a8a13545db Bug 1341404 - add macosx64 noopt debug builds; r=dustin,mshal 2017-06-02 16:56:56 -04:00
Nathan Froyd
83ccb044ca Bug 1341404 - add linux64 noopt debug builds; r=dustin,mshal
A number of developers find it convenient to build with
--disable-optimize --enable-debug for an improved debugging experience.
We don't currently have a configuration in CI that ensures this
combination of options works, so various changes break builds with this
configuration every so often.  We should test such configurations to
ensure they build to provide a smooth experience for developers.
2017-06-02 16:56:56 -04:00
Greg Mierzwinski
28d6f94bdb Bug 1369410 - Enable JSVM code coverage collection on linux64-ccov. r=jmaher
This patch enables linux64-ccov to run JSVM code coverage collection at the same time GCOV code coverage is being collected. It uploads the code coverage that was created in a file called 'code-coverage-jsvm.zip'.

MozReview-Commit-ID: 4x5GrjRJRo4

--HG--
extra : rebase_source : 461eb6a0d6bf9f16a83899a1147c0f9cf2c02823
2017-06-02 09:57:45 -04:00
Ryan VanderMeulen
f6fbb3325c Bug 1364651 - Add back the hack invoking mach via bash to see if it makes the TC build machines happy again. r=pmoore
--HG--
extra : rebase_source : 0138591c862068674f7a4590415246416ad573ea
2017-06-02 09:20:40 -04:00
Rob Wood
1f0da41fba Bug 1364410 - Fix quantum-pageload test so it runs locally on windows via mach; r=jmaher
MozReview-Commit-ID: 35IPFDPG0vR

--HG--
extra : rebase_source : 97462bf38a0c85feec4b45e5775c087ee107f59d
2017-06-05 14:51:06 -04:00
Mike Hommey
09748c0e45 Bug 1321847 - Allow to override the mozharness tooltool manifest from the environment. r=mshal
The main motivation behind this change is that going towards toolchain
tasks hooked up in the task graph (bug 1313111), we're going to end up
with jobs using both taskcluster toolchain job and tooltool artifacts
for their toolchain needs. With the current setup, this means the
toolchain dependencies will be spread between taskcluster task graph
definition and mozharness configuration.

It also makes things more complex to provide a command that pulls the
right toolchains from both taskcluster and tooltool (bug 1356529),
because one needs to find and parse the mozharness config (which also
happens to be python code that uses platform-specific things, so e.g.
reading windows mozharness config fails on other platforms).

All in all, moving the tooltool manifest path to the taskcluster task
definitions would make things simpler, and would also allow make patches
switching from tooltool to taskcluster artifacts more straightforward to
validate.

But since some build types still run on buildbot, we'll have to keep
part of the current setup using mozharness configs. So we allow to
override the tooltool manifest path from the environment, and we'll rely
on taskcluster task definitions being able to set environment variables.

Actually moving the relevant tooltool manifest paths from mozharness
config to taskcluster task definitions is left for a followup.

Another followup is to move the tooltool manifest paths declared in
some ad-hoc build scripts to taskcluster task definitions as well.

The immediate need for this, though, is to allow to have duplicated jobs
that only differ in their tooltool manifest, without duplicating a
complete mozharness config that will end up stale (the goal being that
really only the tooltool manifest differs, even when the original jobs
change).

--HG--
extra : rebase_source : 3622779926b1b5e86e809c1f6422bd55ef64eed7
2017-06-02 11:28:26 +09:00
Aki Sasaki
4b0eee350e Bug 1369250 - set VIRTUALENV_NO_DOWNLOAD so virtualenv versions >=14 will know to not download new packages, and older versions won't object to not knowing about the commandline --no-download, a=philor CLOSED TREE 2017-05-31 22:47:08 -07:00
Aki Sasaki
ef19521c81 bug 1369250 - avoid hitting the network with virtualenv 15.1.0. a=philor CLOSED TREE
MozReview-Commit-ID: 9Pyh3wapEvc
2017-05-31 21:04:18 -07:00
Andrew Halberstadt
aa851b1cb9 Bug 1343659 - [mozharness] Flag rust kernel panics as an ERROR, r=kats
MozReview-Commit-ID: EaKdP3ru3K1

--HG--
extra : rebase_source : 7da27c299e6d1a6a2d58a340453cef5989590c3b
2017-05-29 16:49:26 -04:00
Andrew Halberstadt
da360b82c7 Bug 1367745 - Make sure 'process_output' messages are logged at the proper mozharness level, r=jgraham
In addition to saving the log level of 'process_output' messages, this will also start passing 'log'
messages through the error lists. This means mozharness will start using 'log' errors when determining
the tbpl_status and worst_log_level.

MozReview-Commit-ID: CZnH6aI1Wo0

--HG--
extra : rebase_source : 28c00105d3fa14d16b637b4275b29e6604f4691d
2017-05-23 09:05:57 -04:00
Kartikaya Gupta
9d07ec5e27 Bug 1368684 - Stop building webrender-enabled builds in automation. r=dustin
As of bug 1342503 being fixed, all of our desktop firefox builds have
webrender compiled in by default. Webrender can therefore be enabled at
runtime either by a pref or environment variable on any desktop firefox
build. The old builds that we originally used to stand up webrender are
no longer needed, as the *only* difference between them and the regular
builds are that they build with the pref turned on instead of turned
off. This doesn't warrant keeping around these extra builds, and this
patch removes them along with all the associated goop that was needed to
configure them.

MozReview-Commit-ID: 5wlOWo11fEk

--HG--
extra : rebase_source : 696afdd2d9fb5f7932d0737a7d71c3aa6af0bd64
2017-05-30 09:41:19 -04:00
rforbes
451575f139 Bug 1359328 - Add a fuzzing build to taskcluster r=aobreja,decoder
MozReview-Commit-ID: BYbycnB5wdV

--HG--
extra : rebase_source : e05e0b0b0241a4731e8275fbe25c4b032d1fa733
2017-05-25 12:47:59 -07:00
Dustin J. Mitchell
6e11c532d5 Bug 1357753: set correct virtualenv, python paths; r=jlund
The `remove_exes.py` config left mozharness searching for exes, but we do need
a path to tooltool, since it is not in $PATH.

MozReview-Commit-ID: I9gk8rNOmda

--HG--
extra : rebase_source : 9482321128b5d8da085bd38e088649c88ea6294c
2017-05-10 20:24:08 +00:00
James Graham
ab3298c9c4 Bug 1368341 - Fixup handling of file urls in mozharness, r=ahal
MozReview-Commit-ID: 7BpUFLZttsh

--HG--
extra : rebase_source : c1872911812628d97d8516916c44d36558e30b52
2017-05-25 14:08:03 +01:00
Milan Sreckovic
b1510ddf53 Bug 1368109: No need to sync layers.acceleration.disabled and gfx.direct2d.disabled on Windows. r=mchang
MozReview-Commit-ID: FtyaRl0ar9X

--HG--
extra : rebase_source : 7297ff55207e58d5567224ba48ddff86321a7076
2017-05-26 13:09:56 -04:00
Rob Wood
f4d222a6a4 Bug 1357382 - Add mitmproxy support to mozharness and talos, add first rev of quantum-pageload talos test; r=jmaher
MozReview-Commit-ID: 6947tGS9U9Y

--HG--
rename : testing/mozharness/mozharness/mozilla/mitmproxy.py => testing/talos/talos/mitmproxy/mitmproxy.py
rename : testing/talos/mitmproxy_requirements.txt => testing/talos/talos/mitmproxy/mitmproxy_requirements.txt
rename : testing/talos/python3.manifest => testing/talos/talos/mitmproxy/python3.manifest
rename : testing/talos/python3_x64.manifest => testing/talos/talos/mitmproxy/python3_x64.manifest
extra : rebase_source : 38f12741d8acf3d30a0137efe1563069dd39832d
2017-05-17 12:14:59 -04:00
Greg Mierzwinski
98ef07b93d Bug 1368088 - Add flag to disable code coverage artifact uploading for linux64-ccov. r=jmaher
This flag can be used to allow gcov for c++ code coverage to run with '--code-coverage' but it prevents 'gcda' artifacts from being uploaded after the tests are done. The 'gcno' upload is allowed with another flag in the code-coverage config called 'MOZ_CODE_COVERAGE'. Removing it's definition will prevent the 'gcno' file from being uploaded.

MozReview-Commit-ID: 1XkH0P4Bh5A

--HG--
extra : rebase_source : 4340e83de39709a7068e469d7f7d6b1e434c9afd
2017-05-25 15:43:53 -04:00
Ryan VanderMeulen
b6a060bef9 Backed out changeset f19ff8201437 (bug 1367745) for causing Windows debug reftests to exceed the maximum log size. 2017-05-26 12:01:10 -04:00
Andrew Halberstadt
48441d40f6 Bug 1367745 - Make sure 'process_output' messages are logged at the proper mozharness level, r=jgraham
In addition to saving the log level of 'process_output' messages, this will also start passing 'log'
messages through the error lists. This means mozharness will start using 'log' errors when determining
the tbpl_status and worst_log_level.

MozReview-Commit-ID: CZnH6aI1Wo0

--HG--
extra : rebase_source : 55c74bfa2afdf6d7b510b351ad657ecd615d4347
2017-05-23 09:05:57 -04:00
Andrew Halberstadt
b41a49a8d9 Bug 1367745 - Use same error lists in wpt as in mochitest, r=jgraham
MozReview-Commit-ID: EEy0egLwZNy

--HG--
extra : rebase_source : 9acae196a031d68bd2684ced03291d1d5da501d5
2017-04-26 16:47:38 +01:00
Ryan VanderMeulen
e38fed0cd1 Merge inbound to m-c. a=merge 2017-05-25 21:30:20 -04:00
Jim Chen
f3b0a31d44 Bug 1366404 - Add AArch64 Nightly build; r=nalexander r=dustin
Add configurations for building and uploading AArch64 Nightly builds, in
tier 1 and without artifact support for now.

As for not denoting AArch64 builds as "api-21", I don't really think we
will split AArch64 the way we split ARMv7 before.  Originally, we split
into API 9 and API 11+ because of lots of "constrained" devices that
were stuck with API 9. We made an API 9 APK in order to lower our
footprint on those devices. That probably will not be a problem for
AArch64, because devices with API 21+ and AArch64 support are usually
more than capable for running Fennec. Secondly, it was a big change for
Android going from API 9 to API 11+, so we saved quite a bit of
code/resources when we stripped out API 11+.  I don't see such drastic
changes going from API 21 to upcoming versions, so even if we did split,
I don't think it'll get us much benefit.

MozReview-Commit-ID: 7N7Slv1pPgb
2017-05-25 16:53:33 -04:00
Bob Clary
87d56c60b3 Bug 1363094 - specify the symbols path argument to AWSY, r=jmaher. 2017-05-25 02:41:22 -07:00
Ryan VanderMeulen
d3f265330e Merge m-c to autoland. a=merge 2017-05-25 16:44:01 -04:00
Nevin Chen
888dbea193 Bug 1365372 - Add Leanplum SDK private app tokens r=catlee
MozReview-Commit-ID: 4NXr6LptS7H

--HG--
extra : rebase_source : c6f9b335b30c20a73595b69569644113d903bc78
2017-05-26 03:42:02 +08:00
Ryan VanderMeulen
30caacbb11 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Ben Hearsum
40c77afec8 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn 2017-05-24 15:27:40 -04:00
Ben Hearsum
e815bd14cc Backout bug 1357808 for android mochitest bustage. 2017-05-24 12:32:03 -04:00
Ben Hearsum
6803270aa6 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn
--HG--
extra : amend_source : d9338464f772e662701936d575248769cb996039
2017-05-24 10:40:07 -04:00
Aki Sasaki
f934c462b7 bug 1366916 - fix version bumping from b9 -> b10. r=mtabara
MozReview-Commit-ID: EyGOg1rwr9q

--HG--
extra : rebase_source : 5997fda8caa632221d5dc02feb2e01c2d72c558f
2017-05-24 08:43:11 -07:00
Rail Aliiev
3cee88042f Bug 1365590 - Pass --stage-product to patcher config bumper r=bhearsum a=release DONTBUILD
MozReview-Commit-ID: 8FKkuxqinfG

--HG--
extra : rebase_source : 0eb7d1afe58335a657df55f0255423f089e0a275
2017-05-24 08:26:50 -04:00
Mihai Tabara
ea01a3bcb2 Bug 1358613 - add bouncer config for devedition. r=rail a=release DONTBUILD
MozReview-Commit-ID: 2cQsypVzKCK

--HG--
extra : rebase_source : 94c87ab2e057561504bae8bb3b18f7d543743f4c
2017-05-23 20:29:27 +03:00
Mihai Tabara
e4dc45f3d9 Bug 1358614 - new balrog config for devedition. r=rail a=release DONTBUILD
MozReview-Commit-ID: CHPk5GCI5nE

--HG--
extra : rebase_source : 8b9de606e662ef4fa6c9c1d294e8a75dfaf6dd6a
2017-05-24 14:35:14 +03:00
Joel Maher
0f9b875e44 Bug 1364157 - do not run talos via sendchange unnecessarily. r=chmanchester
We have a few places that we have scheduled talos tests as part of a sendchange, but have since disbled those tests (android, linux32), or replaced with taskcluster (linux64, macosx).  This was discovered when artifact builds were scheduling all talos tests in duplicate for osx.

MozReview-Commit-ID: 6Ze4Ic0GQrY
2017-05-23 12:38:14 -04:00
Bob Clary
e6e35bafa1 Bug 1363094 - set environment variables for minidumps for AWSY, r=jmaher. 2017-05-22 18:57:57 -07:00