Commit Graph

490 Commits

Author SHA1 Message Date
Maja Frydrychowicz
65941f668d Bug 1383922 - Allow try-test-paths syntax to refer to wpt subtypes r=jgraham
This allows syntax like --try-test-paths web-platform-tests-reftests:path/to/test

MozReview-Commit-ID: uAet1ilPVy

--HG--
extra : rebase_source : 447277e47701435186ad87dfc089bd21f2bd1907
2017-07-26 19:40:59 -04:00
Carsten "Tomcat" Book
892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Marco Castelluccio
3ad4c3d247 Bug 1384936 - Remove weave_version definition and directly replace the constant in modules/constants.js in the gecko migration script, to avoid the need for the preprocessor in modules/constants.js. r=rnewman,rail
--HG--
extra : rebase_source : b6f4ed4929ab6405fa726fbc25ea6748f871c07b
2017-07-27 16:22:53 +02:00
J. Ryan Stinnett
48f38958e8 Bug 1380053 - Default to parallel Stylo traversal in tests. r=catlee
Flip around the logic of bug 1356122, so that the default from Stylo runs is the
parallel traversal, but we can opt in to single traversal as desired.

This ensures that for testing on other desktop platforms, we use parallel
traversal as the default.

MozReview-Commit-ID: KoBe1ltHP52

--HG--
extra : rebase_source : ad96f24c9760544c5812060f26e9ca18e5bf2ba8
2017-07-25 16:06:38 -05:00
Mike Hommey
b4449d7604 Bug 1383996 - Make most calls to mach artifact toolchain output a manifest. r=gps
And upload it as artifact.

--HG--
extra : rebase_source : b29cf6fa4527608b45050ad91b4e3248654f1657
2017-07-20 17:56:22 +09:00
Gian-Carlo Pascutto
b4e7052362 Bug 1308400 - Whitelist paths with test files during testing. r=Alex_Gaynor
MozReview-Commit-ID: LMWAv3GP5c4

--HG--
extra : rebase_source : 80ae220e415510bb21c7f184eaaeb02ac27b91d0
2017-07-10 20:29:09 +02:00
Mike Hommey
09db7d4793 Bug 1382564 - Use the information from bug 1374940 with mach artifact toolchain. r=gps
Bug 1374940 adds a MOZ_TOOLCHAINS environment variable with a list of
path@task-id strings, where task-id is corresponding to the (possibly
optimized) toolchain job, and path corresponding to the
toolchain-artifact defined for that toolchain job.

We want to use that to pull artifacts instead of tooltool packages.

--HG--
extra : rebase_source : 277daa2c83d6d197975cb4ef36ee131176afa992
2017-06-21 15:18:33 +09:00
Justin Wood
77d574d8d2 Bug 1381577 - Part S; Support Taskcluster win l10n repacks in mozharness scripts. r=aki
Land date changes to support windows nightlies onto central

MozReview-Commit-ID: 4Nxhbutjhfu

--HG--
extra : rebase_source : 2a180738584d6de77fe1b8fe81ecb004582000c5
2017-07-18 14:06:19 -04:00
Justin Wood
35d5b6cee5 Bug 1381577 - Part O; Run mach repackage for windows nightlies. r=kmoir
Land date changes to support windows nightlies onto central

This patch also allows us to not reconfigure to run repackage on windows, which saves us both in potential pain points and execution time.

MozReview-Commit-ID: xnz98Z5N06

--HG--
extra : rebase_source : 1630a3b6b646a83abeb05000e77e0e3c3238250b
2017-07-18 12:13:31 -04:00
Justin Wood
e83e83cb07 Bug 1381577 - Part N; Make repackage task output its artifact to a locale included subdirectory, rather than rely on worker to publish there. r=kmoir
Land date changes to support windows nightlies onto central

This will be needed for windows, because if the artifact is output to a folder that is, itself, an artifact folder, we'll end up publishing the named artifact twice. Which is unhelpful.

MozReview-Commit-ID: 5S6SNul6Fm9

--HG--
extra : rebase_source : 5501d8d757c7408c9dd014bc04a8d36429bdd9b5
2017-07-18 11:57:26 -04:00
Ryan VanderMeulen
d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
James Graham
5d62758e55 Bug 1341078 - Run CSS tests on Linux, r=ahal
These are initially run on Linux only for capacity reasons.

MozReview-Commit-ID: Ge4nu1NGDdr
2017-07-20 13:05:26 +01:00
John Dorlus
261016cb16 Bug 1358670 - Added requirements and mozharness script r=ahal
Added cli_script attribute to TelemetryClientTests due to test failure
Added telemetry test requirements file to /testing/config
Added mozharness script to run telemetry tests from checkout

MozReview-Commit-ID: AJKM7b1OcVW

--HG--
extra : rebase_source : 8147ad3decaa94c28ba48b87310b4a00d5a90fd2
2017-06-22 18:13:14 -04:00
J. Ryan Stinnett
c73e53ea66 Bug 1374748 - Use regular builds for Stylo via env var. r=catlee
MozReview-Commit-ID: BCMAuSRH1sQ

--HG--
extra : rebase_source : cd91e006a49fa7273cc3075c4960f6fbfc3611cc
2017-07-11 13:39:22 -05:00
Wes Kocher
1bf802d260 Backed out 3 changesets (bug 1358670) for flake8 failures a=backout
Backed out changeset ab3693949c72 (bug 1358670)
Backed out changeset e04b9716ebad (bug 1358670)
Backed out changeset 0c5cf70baa50 (bug 1358670)

MozReview-Commit-ID: 2kVtLMvs9En
2017-07-20 11:20:00 -07:00
John Dorlus
d5b5d3bbd4 Bug 1358670 - Added requirements and mozharness script r=ahal
Added cli_script attribute to TelemetryClientTests due to test failure
Added telemetry test requirements file to /testing/config
Added mozharness script to run telemetry tests from checkout

MozReview-Commit-ID: AJKM7b1OcVW

--HG--
extra : rebase_source : 8147ad3decaa94c28ba48b87310b4a00d5a90fd2
2017-06-22 18:13:14 -04:00
Rail Aliiev
480ba2f219 Bug 1380777 - Override EN_US_INSTALLER_BINARY_URL via buldbot properties r=Callek DONTBUILD
MozReview-Commit-ID: FGdUVf3k6fF

--HG--
extra : rebase_source : 0fa740eaa36ac0df6ec834a178bb1a0966cfd201
2017-07-18 09:53:21 -04:00
Alex Gaynor
b08206238c Bug 1374557 - Part 2 - Use the new preference to whitelist paths for reading that are needed by tests; r=gcp,haik,jmaher
MozReview-Commit-ID: 4IaTrHPHZaC

--HG--
extra : rebase_source : 28824735f74b369d5755b3bced0f61d22c7c8845
2017-06-21 10:24:16 -04:00
Maja Frydrychowicz
76de5e3a4c Bug 1376974 - Get all wpt test types working with --try-test-paths try syntax; r=jgraham
`try-test-paths` is set up to map anything under testing/web-platform
to the web-platform-tests flavour. By default, the web-platform-tests flavour
refers to the testharness test type for wptrunner, so we need to account for
reftest and wdspec test types.

This change causes mozharness to omit the test-type argument to wptrunner when
try-test-paths is being used, therefore making wptrunner determine the
appropriate test type for each requested test.

MozReview-Commit-ID: 7TDAShdDM4g

--HG--
extra : rebase_source : fde6ec219f574cd1e536764c0128a6816834f533
2017-06-28 11:13:39 -04:00
Sebastian Hengst
d787a096f5 merge mozilla-central to autoland. r=merge a=merge 2017-06-29 03:21:05 +02:00
Justin Wood
0142e0f146 Bug 1376550 - Make OSX complete.mar's generated via ./mach repackage mozharness configs r=aki
Support OSX Signed nightlies (in the complete.mar too)

MozReview-Commit-ID: 6iPrPhjj34g

--HG--
extra : rebase_source : 55a6bcf1910f1cae084cf32f6cf47ecf44b500aa
2017-06-27 14:26:16 -07:00
Carsten "Tomcat" Book
7918eeee02 merge mozilla-inbound to mozilla-central a=merge 2017-06-28 13:23:29 +02:00
Rail Aliiev
c4a0fc9f76 Bug 1376502 - Check command exit code r=mtabara a=release DONTBUILD
MozReview-Commit-ID: LKcjqBaIsf7

--HG--
extra : rebase_source : 1421ea9f2b8f6468d57221f29013b39c0634d454
2017-06-27 15:58:02 -07:00
Rail Aliiev
f9eae15e91 Bug 1376502 - publish to Balrog no longer works in automation for desktop beta r=mtabara a=release DONTBUILD
MozReview-Commit-ID: LBl93SUu12r

--HG--
extra : rebase_source : 8517aa80bf2c83f6ede65c4afe17cfce344e4179
2017-06-27 13:33:14 -07:00
James Graham
105552d940 Bug 1363428 - Copy the Ahem font into the bundled font directory, r=maja_zf
MozReview-Commit-ID: 3VgrawYWoWp
2017-06-24 12:03:12 +01:00
Wes Kocher
ea40157e54 Backed out 16 changesets (bug 1363428) for Wr failures a=backout CLOSED TREE
Backed out changeset e86d6d5c2a25 (bug 1363428)
Backed out changeset a0687a63e7b9 (bug 1363428)
Backed out changeset 858dc97498c7 (bug 1363428)
Backed out changeset 582a8dce7932 (bug 1363428)
Backed out changeset 26ae2fd48587 (bug 1363428)
Backed out changeset 7fa8e20fe001 (bug 1363428)
Backed out changeset 829c13a75667 (bug 1363428)
Backed out changeset a94d2c400b04 (bug 1363428)
Backed out changeset ec4a6b343b37 (bug 1363428)
Backed out changeset c27b94038e71 (bug 1363428)
Backed out changeset d1c03b96d270 (bug 1363428)
Backed out changeset 60c1c95b46ca (bug 1363428)
Backed out changeset b0604d88973f (bug 1363428)
Backed out changeset f0b218979773 (bug 1363428)
Backed out changeset 1d359561373c (bug 1363428)
Backed out changeset 956d6c0a646e (bug 1363428)

MozReview-Commit-ID: K8EBA8ACZLC
2017-06-23 14:13:27 -07:00
James Graham
047b39e813 Bug 1363428 - Copy the Ahem font into the bundled font directory, r=maja_zf
MozReview-Commit-ID: 3VgrawYWoWp

--HG--
extra : rebase_source : 7e544fe8d66806e32d100196fbb411b1bfaebdba
2017-06-01 15:20:11 +01:00
Bryce Van Dyk
6b2d7e6552 Bug 1372051 - Remove external media tests from /testing, /build, /python. r=maja_zf
MozReview-Commit-ID: 7X2kYf7HLZY

--HG--
extra : rebase_source : 09421cf96c4d214795362e0f53c51310bff0abba
2017-06-12 10:27:42 +12:00
Mike Hommey
dd3660441c Bug 1374946 - Only download what's needed for l10n repacks. r=Callek
As of bug 1373150, l10n repacks do not require a anything to compile, so
they can stop downloading most toolchains from tooltool. However some
tools are still required, such as mozmake on Windows and DMG-related
tools on cross OSX.

--HG--
extra : rebase_source : f46e851c7941491530ce65490d0cfce4f9f02e35
2017-06-21 16:36:23 +09:00
Henrik Skupin
25cda893fb Bug 1375104 - Combine standard and Gecko log for Marionette. r=ato,maja_zf
In automation we should combine the standard logging and
the gecko log by default to ease the investigation of test
failures. It will also provide crash/assertion output
without having to search for it in other log files.

Also the custom error list has been replaced with the
default base and harness error lists as used by other
harnesses, which prevents false assumptions by the parser
when the trace log contains returns of expected errors.

MozReview-Commit-ID: 1rQ6maOqD3V

--HG--
extra : rebase_source : 77e94ffc6b77ac0467214321ed566f58c4e46f0e
2017-06-24 12:00:56 +02:00
Justin Wood
4fccce240a Bug 1373326 - Reformat repackage mozharness code to support new mach repackage stuff. r=aki
(For Landing more OSX Nightly Support from date to central)

MozReview-Commit-ID: FSbQZ1Fbdcs

--HG--
extra : rebase_source : 3651dd368f032ae9f17cba42010902f850a64700
2017-06-16 15:48:00 -04:00
Wes Kocher
60f7375fef Backed out 5 changesets (bug 1373326) for breaking the decision task a=backout
Backed out changeset 7f0177a71077 (bug 1373326)
Backed out changeset a678d4b0ee78 (bug 1373326)
Backed out changeset 2fdc6c2ad384 (bug 1373326)
Backed out changeset 97b785a31a3c (bug 1373326)
Backed out changeset a5fcfe57e6d4 (bug 1373326)

MozReview-Commit-ID: 9kcJzI1hFja
2017-06-20 17:43:37 -07:00
Justin Wood
e01d42ca85 Bug 1373326 - Reformat repackage mozharness code to support new mach repackage stuff. r=aki
(For Landing more OSX Nightly Support from date to central)

MozReview-Commit-ID: FSbQZ1Fbdcs

--HG--
extra : rebase_source : 3651dd368f032ae9f17cba42010902f850a64700
2017-06-16 15:48:00 -04:00
James Graham
4480587bb8 Bug 1294820 - Add support for running wpt from one-click loaner mach environment, r=ahal
Allow running |mach wpt| on one click loaners in order to run
web-platform-tests tests.

This implementation is just like the one for other testsuites using
thee packaged tests rather than the checkout that we get with wpt, at
least on Linux. That's also where the tests run from so it seems
reasonable for now. Moving to the checkout in the future could remove
some of the logic here by using a fake mozbuild environment so that
the testsuite itself doesn't have to implement anything much.

MozReview-Commit-ID: CaewrdjJ2ef

--HG--
extra : rebase_source : 491b8014d48f06ff5bd41b28cc985608981fbdf4
2017-06-19 19:20:41 +01:00
Alex Gaynor
6f7e5916ce Bug 1374718 - removed strictContentSandbox mochitest option; r=bobowen
For a while now it has been making the content process sandbox less strict.

MozReview-Commit-ID: Am6fGzViaLk

--HG--
extra : rebase_source : 0bc037f205896c866559a7ab1f7e2c042c3142db
2017-06-20 13:30:45 -04:00
Geoff Brown
1bf9cf462c Bug 1371805 - Eliminate android emulator telnet verification; r=jmaher 2017-06-19 15:32:43 -06:00
Rail Aliiev
91d006f442 Bug 1373647 - Set release ETA for RC builds published to beta r=bhearsum a=release DONTBUILD
MozReview-Commit-ID: 1cxAGNMtCBT

--HG--
extra : rebase_source : bcb2e9cac635ea5a656d9eb5802dcd2982fa4223
2017-06-19 11:13:25 -04:00
James Graham
0e04bd4047 Bug 1370461 - Support --parallel-stylo-traversal for wpt in mozharness, r=ahal
MozReview-Commit-ID: 86BVRyj7qlz

--HG--
extra : rebase_source : b31ec1bbb2a8bb692be4a6fa6267716ea0829614
2017-06-06 14:12:39 +01:00
Mike Shal
b2d607154b Bug 1360525 - Separate repackage out into subcommands; r=chmanchester
With multiple types of repackaging, it will be simpler to manage the
various commands if they are organized as sub-commands. This way the
different repackage types can take varying arguments, and we don't have
to guess on the repackage type based on the output filename.

MozReview-Commit-ID: BknRPAwFG5H

--HG--
extra : rebase_source : e74a9776a73791e41ada4038a8bb2ddd243d0de8
2017-05-03 15:06:44 -04:00
Jordan Lund
0c1a4677bb Bug 1372482 - linux 55.0 repack betas are broken because mock can't find python exe, r=aki, a=testing
MozReview-Commit-ID: L4VXE6IZE4s

--HG--
extra : source : 6872377277a618b2b9e0d2b4c2b9e51765ac199e
2017-06-12 22:16:31 -07:00
Shing Lyu
3a490cecff Bug 1370810 - Add --parallel-stylo-traversal flag to wpt test. r=jmaher
MozReview-Commit-ID: B1hfuV51UtS

--HG--
extra : rebase_source : 03cb65ca05847aecb99b33fc990581a8121228d9
2017-06-07 11:38:54 +08:00
Greg Mierzwinski
3ad43b968b Bug 1368115 - Enable most of the remaining test suites for linux64-ccov. r=jmaher
This enables all test suites on linux64-ccov except for the talos test suite (more work needs to be done), spidermonkey tests (more work needs to be done), and the mochitest-valgrind test suite (not going to run linux64-ccov).

MozReview-Commit-ID: 6vYV89CH8TB

--HG--
extra : rebase_source : 2c2c22a2ffc0b431b24e0ee32dca046a11470d3c
2017-06-12 16:19:38 -04:00
Andreas Tolfsen
82f29e902c Bug 1368264 - Make WPT use WebDriver binary from test archive r=jgraham
Instead of fetching geckodriver from tooltool, we ask mozharness to
pick up the geckodriver binary from the common test archive.  As it
is packaged under /bin along with other test-relevant binaries such as
wptserve, we can retrieve it from the abs_test_install_dir.

It would also be possible to use ScriptMixin.query_exe for this purpose
after specifying the binary in the "exes" section of the different
mozharness configs, but this seems needlessly complicated.

Because we also do not yet have geckodriver on all platforms, we only
want to look for it if requested to run the wdspec test type.

MozReview-Commit-ID: 7jLuBeDiQNE

--HG--
extra : rebase_source : ea8c1be063be0f40ff4c8f8c3a77b1b57580829d
2017-06-05 16:05:19 +01: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
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
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
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
Bob Clary
87d56c60b3 Bug 1363094 - specify the symbols path argument to AWSY, r=jmaher. 2017-05-25 02:41:22 -07:00