Commit Graph
435 Commits
Author SHA1 Message Date
Gregory Szorc dacb556853 Bug 1361912 - Stop defining python2.7 executable as sys.executable; r=ted
The "python2.7" executable is always defined as sys.executable
in mozharness configs. This abstraction is not necessary.

This commit removes the "python2.7" executable from mozharness configs
and just inlines sys.executable instead.

I also changed an instance of query_exe('python') to use sys.executable
because that is the desired behavior.

MozReview-Commit-ID: 4xiEkoFwekr
2017-05-03 18:10:33 -07:00
Sebastian Hengst cbc8bca709 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Sebastian Hengst 4f17d977d1 Backed out changeset 23050ffaf649 (bug 1361912)
MozReview-Commit-ID: 8wNS8pZVoHm
2017-05-13 19:59:11 +02:00
Ryan VanderMeulen f64a196a04 Backed out changesets c9812dd7d27a and 387d8415d05e (bug 1362148) because it broke various Android jobs. 2017-05-12 11:47:22 -04:00
Kartikaya Gupta e2a1100afe Bug 1342488 - Add an option to mozharness to enable WebRender. r=jmaher
This allows running tests with WebRender enabled, using builds that have WebRender
built-in, but not enabled by default.

MozReview-Commit-ID: HkFgB09J7gT
2017-05-13 07:47:43 -04:00
Gregory Szorc d9734e20a9 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
2017-05-04 12:28:52 -07:00
Gregory Szorc 65cc35dbbf Bug 1361912 - Stop defining python2.7 executable as sys.executable; r=ted
The "python2.7" executable is always defined as sys.executable
in mozharness configs. This abstraction is not necessary.

This commit removes the "python2.7" executable from mozharness configs
and just inlines sys.executable instead.

MozReview-Commit-ID: 4xiEkoFwekr
2017-05-03 18:10:33 -07:00
Sebastian Hengst d2c55b929d Backed out changeset a7a7eb83f9cb (bug 1361912) 2017-05-11 21:40:15 +02:00
Gregory Szorc 2995f8202c Bug 1361912 - Stop defining python2.7 executable as sys.executable; r=ted
The "python2.7" executable is always defined as sys.executable
in mozharness configs. This abstraction is not necessary.

This commit removes the "python2.7" executable from mozharness configs
and just inlines sys.executable instead.

MozReview-Commit-ID: 4xiEkoFwekr
2017-05-03 18:10:33 -07:00
Carsten "Tomcat" Book 3d39f7d274 Backed out changeset 656d4714e803 (bug 1324922) for breaking fennec nightlys 2017-05-10 14:05:46 +02:00
Simon Fraser afc8254831 Bug 1324922: Stop publishing complete MARs to balrog as part of build/repack r=catlee 2017-05-09 12:49:45 -04:00
Mike Hommey f2203c2759 Bug 1356683 - Use new tooltool wrapper in mozharness. r=chmanchester 2017-04-12 17:48:18 +09:00
Aki Sasaki a5c3b8f94c bug 1360542 - central_to_beta merge day changes. r=rail
MozReview-Commit-ID: 89mbB65fTNJ
2017-05-04 10:06:05 -07:00
Gregory Szorc 5234f4c63b Bug 1361436 - Emit build stats immediately after build; r=ted
The "generate-build-stats" mozharness action collects a bunch of build
system metrics, including build_resources.json, ctors count, and
installer size and reports them by writing special messages that
log parsers read.

Before this commit, this mozharness action occurred sometime after
"build." But relative ordering to other actions was not consistent
and appears to be significantly cargo culted.

4e61e69a383c (bug 1304508) changed the "check" mozharness action to
invoke `mach build check` instead of `make` directly. An unintended
consequence of this is that `mach build` replaced the
build_resources.json file from the build itself with one measuring
`make check`. This made the "build time summary" metric take a nose
dive.

This commit works around the issue introduced by 4e61e69a383c by
reordering the mozharness actions so "generate-build-stats" follows
immediately after the "build" action. Not only does it now occur
before the "check" action, but it also occurs before uploading and
other actions.

I'm not sure why "generate-build-stats" is its own action and not
part of "build" itself. As the diff shows, numerous instances of
"generate-build-stats" are commented out, which means we aren't
collecting metrics. "generate-build-stats" is also missing from a
handful of mozharness configs, including Windows Clang builds. I'm
not sure what the history is (it is likely varied and almost certainly
involves a fair amount of cargo culting), but I think it is a bug that
we aren't collecting build metrics for every build. I would like to
fix this. And moving "generate-build-stats" immediately after "build"
should make that transition easier.

MozReview-Commit-ID: 7jNTVWRvMnh
2017-05-02 14:32:52 -07:00
Gregory Szorc 48a2b92c9f Bug 1304508 - Remove final references to pymake in mozharness; r=ted
We shouldn't be running pymake any more. So code to work around its
behavior is no longer necessary and can be removed. Good riddance.

MozReview-Commit-ID: AlV6ZLiA6WB
2017-04-26 13:41:00 -07:00
Gregory Szorc 6a4ef4b203 Bug 1359988 - Remove spidermonkey b2g build script; r=mshal
We shouldn't be running any Firefox OS automation.

MozReview-Commit-ID: 4ea9SL7jill
2017-04-26 13:51:01 -07:00
Gregory Szorc 38762efd5d Bug 1359988 - Remove gaia scripts and configs from mozharness; r=mshal
Firefox OS is dead.

MozReview-Commit-ID: CWX04cHHT7u
2017-04-26 13:54:09 -07:00
Chris Manchester aecb7edab9 Bug 1357562 - Specify artifact build replacement via mozharness for non-variant builds. r=nalexander
No builds other than vanilla opt and debug builds are supported by the artifact
code currently, so prevent variant builds from being replaced by artifact builds
by modifying mozharness' replacement logic to replace a build with an artifact
build only when it is a regular opt or debug build or when specified by a
config.

MozReview-Commit-ID: KUUgrbga53l
2017-04-25 15:54:24 -07:00
Justin Wood f54f0eada4 Bug 1357867 - Run l10n tasks to completion for OSX cross compile. And report on correct treeherder line. r=dustin
MozReview-Commit-ID: JZD2xs3WQF6
2017-04-19 10:40:32 -04:00
Nathan Froyd c9b2231766 Bug 1318187 - turn on parallel Stylo traversal for e10s tests; r=dustin,chmanchester
We'd like to ensure that both parallel and serial traversal in Stylo are
tested on automation.  Since e10s is the future, we've chosen to force
parallel traversal on during e10s tests, and force serial traversal on
during non-e10s tests.
2017-04-14 09:52:22 +08:00
James Graham 28936c1b19 Bug 1352351 - Enable --run-by-dir for web-platform-tests, r=ato
MozReview-Commit-ID: 7fh1LKm683p
2017-04-10 13:44:17 +01:00
Gregory Szorc 0a9686cf3b Bug 1354625 - Use mozilla-unified for upstream for all Firefox builds; r=aki
Without the use of an upstream the first repo cloned on a machine will
be cached. If a subsequent job references a different repo, it may have
to pull thousands of changesets because those changesets aren't part of
the initially-cloned repo. This is why the --upstream feature to
robustclone exists and is why it uses the mozilla-unified repo.

The mozilla-unified repo is a superset of central, aurora, beta, release,
etc. So by cloning it, you get changesets for all of the repos at the
time of the clone. When a subsequent job comes along and requests
a changeset from a different repo, you likely only need to fetch data
for a handful of changesets, not thousands.

This change adds the upstream url config for all fx_desktop_build jobs,
ensuring it is used. A redundant config entry for the try repo has been
removed as well.

MozReview-Commit-ID: 3EL7aSXS4AG
2017-04-07 11:08:11 -07:00
Aki Sasaki d572214d51 bug 1354289 - m-c l10n_bumper fixes. r=rail a=release DONTBUILD
MozReview-Commit-ID: 7jVpr5RPoTy
2017-04-06 13:42:12 -07:00
Ben Hearsum d743351622 bug 1347212: improve release automation publishing of releases - allow pushes to be scheduled instead of done directly. r=rail 2017-04-03 10:43:57 -04:00
Ben Hearsum 80d029e30a Backout patch from bug 1347212 with that errantly referenced bug 1247212 instead. 2017-04-03 10:43:45 -04:00
Ben Hearsum b363570d49 bug 1247212: improve release automation publishing of releases - allow pushes to be scheduled instead of done directly. r=rail 2017-04-03 10:23:40 -04:00
Sebastian Hengst 9fbe423693 Backed out changeset ee5ddcc6ca27 (bug 1352351)
MozReview-Commit-ID: IteCk4NwKCC
2017-04-01 19:12:04 +02:00
James Graham 4653f0569b Bug 1352351 - Enable --run-by-dir for web-platform-tests, r=ato
MozReview-Commit-ID: 7fh1LKm683p
2017-02-14 19:21:01 +00:00
Justin Wood 8cf43a2aab Bug 1347579 - run configure before doing repack. r=aki
MozReview-Commit-ID: 4uBwqwtN3i0
2017-03-28 16:26:56 -04:00
Justin Wood 46cb4c8a47 Bug 1347579 - Add mozharness script (and docker build shell script) to allow running mach repackage. r=aki
(For "Integrate and fully support OSX Signing in taskcluster")

Written as a mozharness script rather than using bare ./mach command because we need to download the upstream artifact
and because we need to download artifacts from tooltool to do the packing back into a .dmg. Future ideal would be to get
rid of the mozharness script and use JUST ./mach.

This is using the ./mach repackage code being created in Bug 1347576. Taking a signed tarball from a dmg supported with
Bug 1346015, and the taskgraph work to schedule this is in Bug 1318505.

MozReview-Commit-ID: rv9l285HKC
2017-03-28 10:41:38 -04:00
Bob Clary 312fbd6746 Bug 1344805 - Get AWSY running on Windows, r=jmaher,pyang,erahm. 2017-03-29 01:47:47 -07:00
Bob Clary f4b08a6530 Bug 1344813 - prepare awsy for mach command, r=jmaher,pyang.
* parse_about_memory.py
  - remove extraneous data variable.
* test_memory_usage.py
  - get webRootDir, resultsDir from testvars to support mach command.
  - standardize directories.
  - catch exceptions thrown by marionette when closing tabs.
* awsy_script.py
  - change to use webRootDir, resultsDir and to pass to test_memory_usage.py
    in additional testvars.json file.
  - standardize directories.
  - set strict=False in StructuredOutputParser in order to prevent ascii
    encoding errors due to marionette loading csdn.net and outputing non-ascii
    to stdout.
2017-03-29 01:47:45 -07:00
Aki Sasaki d97fdb3e7b bug 1344963 - fix l10n bumper --ignore-closed-tree. r=rail 2017-03-28 14:24:11 -07:00
Carsten "Tomcat" Book 6610746b51 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
Geoff Brown 45ae612ddc Bug 1336541 - Suppress DDMS prompt when starting android emulator; r=jmaher 2017-03-21 16:11:39 -06:00
Geoff Brown b72a74a2a6 Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or used; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and test harness options like --dm_trans are eliminated.
2017-03-21 12:20:01 -06:00
Rail Aliiev a13730f541 Bug 1342974 - Upload Merkle Tree summary r=jlund a=release DONTBUILD
MozReview-Commit-ID: E8dmtZf5Ig3
2017-03-15 12:53:48 -04:00
Paul Yang aea94008e0 Bug 1272113: Creating awsy task and mozharness script r=jmaher
* * *
[mq]: test_only

MozReview-Commit-ID: AawtpSUIj0P
2017-03-11 02:33:19 +08:00
Richard Barnes cad6bee40e Bug 1346359 - Script to submit transparency certs to CT r=rail
MozReview-Commit-ID: F8uPgoJTFr
2017-03-10 17:48:37 -05:00
Mihai Tabara 6aec77f06f Bug 1344229 - alter version bumping to prevent race conditions. r=rail a=release DONTBUILD
MozReview-Commit-ID: Fy38tKghu2M
2017-03-10 23:24:12 +00:00
Mihai Tabara c608419a4f Bug 1344202 - uptake monitoring better handling absence of partials. r=rail a=release DONTBUILD
MozReview-Commit-ID: 9nj7qe5hWa9
2017-03-09 16:52:11 +00:00
Aki Sasaki 64af343323 bug 1344963 - add --ignore-tree-closure option to l10n-bumper.py. r=rail
MozReview-Commit-ID: LlHAnzggAJc
2017-03-06 17:09:32 -08:00
Richard Barnes b5d6c70fb8 Bug 1342974 - Add code to generate a Merkle tree summary of a release r=arroway,catlee
MozReview-Commit-ID: COav6N88SOt
2017-02-27 12:56:42 -05:00
Andrew Halberstadt aac4585624 Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf
This formats the marionette-harness python tests to be a regular |mach python-test| suite. Though
we add subsuite=marionette, this is just for automation purposes. The new preferred way to run the
marionette harness tests locally is:
./mach python-test testing/marionette

They will also run if running the full suite.

The mozbase packages.txt file modifies mozlog to use 'setup.py' instead of 'pth'. The reason for
this is that the marionette-harness tests use the pytest_mozlog pytest plugin for formatting
their results (converts pytest format into something resembling the standard tbpl logging format).
In order for this plugin to get picked up however, mozlog's setup.py file needs to be processed.

MozReview-Commit-ID: Ata99evHxbd
2017-02-15 16:38:45 -05:00
Bryce Van Dyk 342c18ad09 Bug 1343129 - Update the base media test class to set self.return_code based on the job result parser. r=maja_zf
Right now the base run_media_tests function doesn't set the self.return_code
value based on the result of the job result parser. Overrides of the function
appear to need to set this value if it's to be used.

This changeset moves the logic to set this value from the buildbot script to the
base.  Overrides are free to alter the behaviour so that the value can be set as
appropriate depending on the tests, but removes the ability to footgun by
assuming that the base will set the value (as I did).

MozReview-Commit-ID: FBT0N62ydR9
2017-02-28 15:46:16 +13:00
Sebastian Hengst 26ea5b9d14 Backed out changeset 3c0a7527608a (bug 1335873) 2017-03-01 17:35:06 +01:00
Andrew Halberstadt d08b8a2c05 Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf
This formats the marionette-harness python tests to be a regular |mach python-test| suite. Though
we add subsuite=marionette, this is just for automation purposes. The new preferred way to run the
marionette harness tests locally is:
./mach python-test testing/marionette

They will also run if running the full suite.

The mozbase packages.txt file modifies mozlog to use 'setup.py' instead of 'pth'. The reason for
this is that the marionette-harness tests use the pytest_mozlog pytest plugin for formatting
their results (converts pytest format into something resembling the standard tbpl logging format).
In order for this plugin to get picked up however, mozlog's setup.py file needs to be processed.

MozReview-Commit-ID: Ata99evHxbd
2017-02-15 16:38:45 -05:00
Rail Aliiev 3948b6a424 Bug 1342959 - Update merge day scripts after esr52 meges r=jlund DONTBUILD
MozReview-Commit-ID: AD8VTO6C9mU
2017-02-27 16:07:06 -05:00
Rail Aliiev 65f0c74d1e Bug 1338232 - Fix typo r=nthomas a=release DONTBUILD
MozReview-Commit-ID: CxaqBwG4zEw
2017-02-23 21:50:10 -05:00
Greg Mierzwinski c71d2a6dd7 Bug 1301984 - Add code coverage to mochitest-plain tests. r=jmaher
This patch allows the use of the flag '--jscov-dir-prefix' for mochitest plain tests to enable code coverage collection with the JS Debugger. It also enables the mochitest-plain tests for the linux64-jsdcov build platform.

MozReview-Commit-ID: 6RqMEZ1I0D7
2017-02-20 22:55:59 -05:00