Commit Graph

2458 Commits

Author SHA1 Message Date
Geoff Brown
efef4d47a1 Bug 1492239 - Use AndroidMixin for android_emulator_unittest; r=bc 2018-09-26 14:23:26 -06:00
Marco Castelluccio
6120ea8814 Bug 1493943 - Don't download grcov twice on Windows. r=jmaher
DONTBUILD as this is ccov only.

--HG--
extra : rebase_source : a6ecace72b2db08586ea42be66403de47efa79f7
2018-09-26 15:23:19 +01:00
Tom Prince
bced66e3b0 Bug 1493997: [mozharness] Ensure that MOZ_TOOLCHAINS isn't specified if mach isn't available; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D6800

--HG--
extra : moz-landing-system : lando
2018-09-25 18:26:10 +00:00
Geoff Brown
3d58a9d22a Bug 1482413 - Improve diagnostics for test-verify and per-test coverage; r=me,a=test-only 2018-09-24 17:07:38 -06:00
Bob Clary
0c8d65eb00 Bug 1492601 - Use MachCommandCondition.is_firefox_or_android, r=ahal. 2018-09-23 15:08:56 -07:00
Geoff Brown
36c45bba54 Bug 1492632 - Ensure correct installation requirements for Android per-test suites; r=bc 2018-09-21 13:23:48 -06:00
Tom Prince
59c3755348 No bug: [mozharness] Remove some no-op code that just calls a method from a parent class; r=me
This addresses the review comment from https://phabricator.services.mozilla.com/D6171

--HG--
extra : rebase_source : af26bfda433367e78115930be187528a64bbde91
extra : amend_source : 6ab77c4829ebdcb4701d76e5410790a0f760882f
2018-09-21 10:53:05 -06:00
Geoff Brown
dcaf3b3e80 Bug 1492242 - Use mozdevice to access adb in mozharness AndroidMixin; r=bc 2018-09-21 08:09:20 -06:00
Nick Thomas
296ae7df09 Bug 1493056 - check for mar existence before chmoding it, and remove deprecated action, r=aki
Differential Revision: https://phabricator.services.mozilla.com/D6460

--HG--
extra : moz-landing-system : lando
2018-09-21 03:59:45 +00:00
Bogdan Tara
e7c653959c Merge inbound to mozilla-central. a=merge 2018-09-20 00:58:18 +03:00
Tom Prince
cc905dafe7 No bug: [mozhanress]: Remove set_/query_property from mozharness; r=Callek
The last place any properties were written out was removed in
https://phabricator.services.mozilla.com/D6170
Looking at the remaining uses, properties get set and modified but not used
anywhere.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 18:54:51 +00:00
Tom Prince
a7c3a25c9b No bug: [mozharness] Remove references to balrog in mozharness; r=bhearsum
There are two places where it is references:

- The build process generates a `balrog_props.json` that is not used anywhere.
  (This is currently generated as part of beetmover).
- The merge day scripts have unused support for locking some rules.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 18:54:44 +00:00
Bob Clary
85dcd1534f Bug 1491424 - Fix CodeCoverageMixin, SingleTestMixin initialization, r=gbrown.
CodeCoverageMixin's __init__ method does not have a compatible signature nor does it
call its super with a compatible signature.

CodeCoverageMixin inherits from SingleTestMixin. SingleTextMixin's __init__ method
does not have a compatible signature nor does it call super.

This patch fixes these issues by using the "standard" __init__(self, **kwargs)
signature and making sure both Mixins call it properly.
2018-09-19 10:35:40 -07:00
Bob Clary
60e22167a6 Bug 1491424 - Define AndroidMixin as new class Mixin with proper initialization, r=gbrown.
As defined initially, AndroidMixin was an old-style class not inheriting from object. This
prevents it from being properly called via super() which requires it be a new style class
and also requires that its __init__ method's signature conform to the signatures of the other
mixin's __init_methods.

AndroidMixin originally detected the adb_path using BaseScript's query_exe which required that
the previous initializers complete prior to the call which is not possible. To work around the
problem, adb_path was turned into a property whose value was not looked up until requested.
The intent was to defer the need to reference attributes which had not yet been initialized.

BaseScript's __init__ iterates over the attributes of its object determining if listeners should
be attached for the methods. This can cause problems in mixins which define properties which
require a fully initialized object since accessing the property will invoke the method before it
is ready.

This is worked around in this patch by catching AttributeError in adb_path and ignoring it. The
proper fix however might be to do this catch in BaseScript's __init__ where item = getattr(self, k)
is called.

These changes are not sufficient in of themselves. The additional followup patch to CoverCoverageMixin
and SingleTestMixin are also required for AndroidMixin to be properly initialized.

Since Raptor currently initializes AndroidMix without explicitly giving a device serial number,
mozrunner's android_device.py is modified to export the detected device serial number into the
environment as DEVICE_SERIAL. This allows AndroidMixin to obtain the device's serial number.
2018-09-19 10:35:39 -07:00
Ted Mielczarek
412addf8a0 bug 1490325 - make mozharness BuildScript.ensure_upload_path part of preflight_build. r=firefox-build-system-reviewers,nalexander
Currently the BuildScript mozharness base class has an `ensure_upload_path`
action that we run after the build. This patch changes it to no longer be
an action, and instead simply run as part of `preflight_build` so that the
artifact directory will be created before starting the build. This makes
it more straightforward to write things like log files directly into this
directory without worrying about whether it exists.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 19:50:50 +00:00
Rob Wood
b55f0c48d8 Bug 1491355 - Fix binary argument when running raptor on local geckoview android r=bc
Differential Revision: https://phabricator.services.mozilla.com/D5902

--HG--
extra : moz-landing-system : lando
2018-09-14 21:08:11 +00:00
Gregory Mierzwinski
6bb72e3c1c Bug 1491390 - When searching for baseline coverage tests, only look at the test name. r=jmaher
This patch fixes an issue where a suite was being found in the full path to the test which led to the baseline coverage tests being considered on a per-suite basis (like browser-chrome), when it should be on a per-file-extension basis for '.html' files. This is fixed by only considering the test name and excluding the full path to it.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 18:57:16 +00:00
shindli
0c0c6fddd8 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout
--HG--
rename : taskcluster/docker/static-analysis-build/Dockerfile => taskcluster/docker/infer-build/Dockerfile
2018-09-14 16:35:23 +03:00
Robert Bartlensky
af9de513f7 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Adds infer to ./mach static-analysis autotest.

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

--HG--
rename : taskcluster/docker/infer-build/Dockerfile => taskcluster/docker/static-analysis-build/Dockerfile
extra : moz-landing-system : lando
2018-09-13 20:58:03 +00:00
Noemi Erli
a548d10a8c Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Jim Chen
9a76b4da63 Bug 1480834 - 6. Add Android x86-64 configs; r=nalexander
Add config files for building Android for x86-64.

Differential Revision: https://phabricator.services.mozilla.com/D5603
2018-09-13 12:09:26 -04:00
Ben Hearsum
715bd48218 Bug 1490119 - Set override_certs in update verify config creator. r=nthomas
Imports the changes to the UpdateVerifyConfig class, and sets --override-certs for staging releases.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 12:31:08 +00:00
Daniel Varga
8eac4fe0d9 Merge mozilla-central to mozilla-inbound 2018-09-13 05:50:34 +03:00
Mike Hommey
0a7e03bf20 Bug 1490542 - Remove the Linux LTO builds. r=froydnj
Now that Linux PGO builds also do LTO and all the Linux builds use
clang, there's not much use for separate LTO builds.

Differential Revision: https://phabricator.services.mozilla.com/D5632
2018-09-13 11:23:24 +09:00
Tom Prince
e335019a90 Bug 1473416: [mozharness] Use in-tree mobile sdk secrets on try; r=nalexander
These are used if MOZ_UPDATE_CHANNEL is set, which isn't normally set on try.
However, when doing staging releases, that variable may be set. Populate the
mobile secrets with the default key that would be used without
MOZ_UPDATE_CHANNEL set on level-1 trees.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 18:29:16 +00:00
Rob Wood
a065e64b54 Bug 1490717 - Fix raptor desktop tests on google chromium r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D5695

--HG--
extra : moz-landing-system : lando
2018-09-12 19:15:04 +00:00
Csoregi Natalia
7ed619163e Backed out changeset 081d8311be59 (bug 1479503) for build bustage - java not found. CLOSED TREE
--HG--
rename : taskcluster/docker/static-analysis-build/Dockerfile => taskcluster/docker/infer-build/Dockerfile
2018-09-12 13:16:06 +03:00
Robert Bartlensky
b4ebd25931 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Adds infer to ./mach static-analysis autotest.

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

--HG--
rename : taskcluster/docker/infer-build/Dockerfile => taskcluster/docker/static-analysis-build/Dockerfile
extra : moz-landing-system : lando
2018-09-12 09:34:30 +00:00
Bogdan Tara
a23c3959b6 Merge inbound to mozilla-central. a=merge 2018-09-12 06:22:14 +03:00
Tom Ritter
d8f3b49815 Bug 1465800 Create an x64 MinGW-Clang Browser Build job r=froydnj
MozReview-Commit-ID: 7TSCY52wTpR

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

--HG--
extra : moz-landing-system : lando
2018-09-07 16:47:33 +00:00
Geoff Brown
e5620fec3e Bug 1472298 - Add geckoview installation and android diagnostics to raptor; r=bc,rwood 2018-09-11 14:17:47 -04:00
Bob Clary
6089bedddf Bug 1472298 - add raptor-speedometer-geckoview for android-hw-g5 test platforms, r=gbrown,rwood.
Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1482344 added workdir to the test_description_schema but
did not make it optinally_keyed_by test-platform. Since the Bitbar tests use different Docker images with
different layouts, we need the ability to set the workdir by test-platorm.
2018-09-11 14:17:46 -04:00
Rob Lemley
e1efc2daaf Bug 1489355 - Windows installer build fixes r=Callek
Bug 1484264 made changes to how the repackage tasks is configured.
The package-name field was hard-coded to "firefox". This field is later
used to build the Windows installer, and Thunderbird requires that it
be set to "thunderbird" or the build fails.

This patch changes package-name to be a templated field like the others.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 17:51:02 +00:00
Tudor-Gabriel Vîjială
baf73f821d Bug 1475256 - Download and extract app classfiles, not only geckoview ones. r=marco
We collect the classfiles from app and geckoview during the build task, but
before this patch we didn't use the app classfiles.

Depends on D4146

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

--HG--
extra : moz-landing-system : lando
2018-09-06 17:12:54 +00:00
Tudor-Gabriel Vîjială
0f2ee78ad6 Bug 1475256 - Turn archive-geckoview-coverage-artifacts into archive-coverage-artifacts. r=nalexander
Rename the command and extend it to also archive Fennec class files into
another artifact, target.app_classfiles.zip.

Depends on D4142

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

--HG--
extra : moz-landing-system : lando
2018-09-06 17:00:17 +00:00
Tudor-Gabriel Vîjială
48c6ba440f Bug 1475256 - Refactor CodeCoverageMixin to pass --java-coverage-output-dir instead of a file path. r=gbrown,marco
Differential Revision: https://phabricator.services.mozilla.com/D4142

--HG--
extra : moz-landing-system : lando
2018-09-06 16:59:57 +00:00
Bob Clary
50db179805 Bug 1486899 - Do not use virtualenv_options.append('--always-copy') on Redhat derived distros, r=jlund,ahal. 2018-09-02 08:08:46 -07:00
Jesse Schwartzentruber
f832b4022e Bug 1475573 - Create --enable-fuzzing debug build job for Android x86 firefox. r=nalexander,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2428

--HG--
extra : moz-landing-system : lando
2018-08-31 03:35:20 +00:00
Geoff Brown
9a010bd81a Bug 1484063 - Use correct tooltool cache location for Android tests; r=dustin 2018-08-29 13:17:12 -06:00
Tom Prince
38c55c9a6d Bug 1484264: [mozharness] Move repacakge config from mozharness to taskcluster; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3624

--HG--
extra : rebase_source : b97304799f7c192cef73434a3973f71d52e1792f
extra : histedit_source : 19fb857824f51ca4dc7e551c82ddaf9a769c4db8
2018-08-17 09:40:57 -06:00
Mike Hommey
357a8bb20c Bug 1486654 - Enable static analysis on all Linux CI builds. r=ted
And turn off separate static analysis build tasks.
2018-08-29 13:55:24 +09:00
Dorel Luca
544b61c613 Backed out changeset 692efe8acba9 (bug 1486654) for wd failures on /builds/worker/workspace/build/tests/bin/geckodriver 2018-08-29 05:16:55 +03:00
Dorel Luca
2fc9d13cc4 Backed out changeset ac43fbec9205 (bug 1486654) for wd failures on builds/worker/workspace/build/tests/bin/geckodriver 2018-08-29 05:15:09 +03:00
Raymond Forbes
da273b6d26 Bug 1481730 - Create non asan fuzzing coverage build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D4032
2018-08-29 10:39:15 +09:00
Mike Hommey
6103f33795 Fixup for bug 1486654 for static-analysis-autotest bustage. r=me
Restore the mozharness config for static-analysis-autotest.
2018-08-29 08:33:39 +09:00
Mike Hommey
2ef817ea52 Bug 1486654 - Enable static analysis on all Linux CI builds. r=ted
And turn off separate static analysis build tasks.
2018-08-29 08:02:06 +09:00
Geoff Brown
541199cdc0 Bug 1484225 - Verify web-platform tests in the mozilla sub-directory also; r=jmaher 2018-08-27 07:19:01 -06:00
Tom Prince
5b57b42215 Bug 1484012: [mozharness] Use fetch-content to download inputs in repackage tasks; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3559

--HG--
extra : rebase_source : c910810629d16dbf507241fc609f3955afcf50e8
2018-08-15 15:12:33 -06:00
Tom Prince
c60045308b Bug 1484012: [mozharness] Hard-code repackage input/output directories, since they don't vary meaningfully; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3558

--HG--
extra : rebase_source : d70cd0f390cee6b1561869edbe7ca49c469bf065
2018-08-07 11:53:00 -06:00
Tom Prince
6701e41a4c Bug 1484012: [fetch-content] Add an option to not unpack downloaded artifacts; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D3554

--HG--
extra : rebase_source : 58bba31bd921d29d4a40ad8d9ba09c4c7ac1f8dc
2018-08-15 15:16:49 -06:00