Commit Graph
59 Commits
Author SHA1 Message Date
James Graham 725aaed860 Bug 1401489 - Generate wptreport json files for web-platform tests in CI, r=maja_zf
This uploads a JSON summary of the results, without extra logging or
expectation data or anything. It is mostly useful for comparing the
results from two runs e.g. in a dashboard.

MozReview-Commit-ID: Ac45NVBxhy8
2017-09-20 10:53:51 +01:00
J. Ryan Stinnett fccc276492 Bug 1393234 - Add --disable-stylo for WPT. r=jmaher
MozReview-Commit-ID: AUwMbjOinvY
2017-08-24 16:41:08 -05:00
Kartikaya Gupta ef49c57fb1 Bug 1388833 - Force-enable hardware acceleration for test suites that enable WebRender, because HWA is now a WR requirement. r=ahal
MozReview-Commit-ID: EtUdSeDCmFZ
2017-08-09 16:23:04 -04:00
Kartikaya Gupta 2d47644da5 Bug 1388423 - Get full rust backtraces everywhere. r=jmaher
MozReview-Commit-ID: 2Mfrpupz7As
2017-08-08 12:34:55 -04:00
Makoto Kato 74f4aa0c7b Bug 1386496 - Ahem.ttf is broken on web-platform-tests. r=jgraham
Ahem.ttf is copied to $(DIST)/bin/firefox/fonts, but this file is broken due to text mode copy.  So we should use binary mode instead.

MozReview-Commit-ID: KP7yNyPiejU
2017-08-02 12:35:53 +09:00
Michael Smith 018d260a4d Bug 1373739 - Set up automated test running for WPT in headless mode. r=jgraham
Currently these are enabled for Linux and Windows, using the corresponding WPT
symbols with an "H" suffix to match the Mn->MnH convention followed by the
Marionette tests.

For Linux, the tests are set to run with a simulated 1600x1200 screen
resolution, which matches the Docker configuration. The default 1366x768 for
headless mode results in some unexpected failures due to windows not being
able to reach the full sizes the web platform tests expect.

For Windows, the simulated screen resolution is set to 1024x768, which is what
I've determined to be the resolution that Windows VMs run under within our
testing infrastructure. Setting a different screen resolution causes some web
platform tests to unexpectedly pass (in particular, several in
open-features-non-integer-height.html).

A "headless" variable is added to the environment that the WPT metadata
(.ini) files can access, indicating whether or not the test is running in
headless mode. This is used to mark the reftest bdi-neutral-wrapped.html as an
expected pass on Linux under headless mode: it normally fails (spuriously) due
to differences in scrollbar sizing, but scrollbars aren't rendered in headless
mode.

MozReview-Commit-ID: 3usazOoxx3q
2017-06-21 15:14:05 -07:00
Maja Frydrychowicz 483779f8d6 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
2017-07-26 19:40:59 -04:00
J. Ryan Stinnett 7c6ad217ec 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
2017-07-25 16:06:38 -05:00
Ryan VanderMeulen c7ea83669e Merge m-c to autoland. a=merge
CLOSED TREE
2017-07-21 09:42:41 -04:00
James Graham 7a5f7da488 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
J. Ryan Stinnett edd8cf908f Bug 1374748 - Use regular builds for Stylo via env var. r=catlee
MozReview-Commit-ID: BCMAuSRH1sQ
2017-07-11 13:39:22 -05:00
Maja Frydrychowicz 87b2488a52 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
2017-06-28 11:13:39 -04:00
James Graham ca59c69886 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 83195d41fb 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 bf0dbcdff7 Bug 1363428 - Copy the Ahem font into the bundled font directory, r=maja_zf
MozReview-Commit-ID: 3VgrawYWoWp
2017-06-01 15:20:11 +01:00
James Graham d0dd87c178 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
2017-06-19 19:20:41 +01:00
James Graham 2c6675a263 Bug 1370461 - Support --parallel-stylo-traversal for wpt in mozharness, r=ahal
MozReview-Commit-ID: 86BVRyj7qlz
2017-06-06 14:12:39 +01:00
Shing Lyu f371662bd1 Bug 1370810 - Add --parallel-stylo-traversal flag to wpt test. r=jmaher
MozReview-Commit-ID: B1hfuV51UtS
2017-06-07 11:38:54 +08:00
Andreas Tolfsen 6a63c148d5 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
2017-06-05 16:05:19 +01:00
Andrew Halberstadt dc03781ae7 Bug 1367745 - Use same error lists in wpt as in mochitest, r=jgraham
MozReview-Commit-ID: EEy0egLwZNy
2017-04-26 16:47:38 +01: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
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
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
Kartikaya Gupta 513df97c05 Bug 1339458 - Set RUST_BACKTRACE=1 when running automated tests. r=jmaher
MozReview-Commit-ID: I3c56ava41B
2017-02-14 11:32:45 -05:00
Madeleine Chercover 1a278f230b Bug 1336910 - Enable linux64-ccov for gtest, marionette & web-platform-tests; r=jmaher
MozReview-Commit-ID: H2yUyPohceG
2017-02-05 23:34:12 -08:00
James Graham bdf83f2ddc Bug 1238043 - Enable assert stack fixup for wpt, r=ted
MozReview-Commit-ID: GLZ4nMLilel
2016-10-12 23:04:58 +01:00
Wes Kocher ae3ab9a509 Backed out 8 changesets (bug 1286900) for win7vm wpt timeouts a=backout
Backed out changeset 3fff88de2f2d (bug 1286900)
Backed out changeset 748abfe6748e (bug 1286900)
Backed out changeset b4844ee1e542 (bug 1286900)
Backed out changeset bde587e47d00 (bug 1286900)
Backed out changeset a1311218621b (bug 1286900)
Backed out changeset 2de97e3cfcb3 (bug 1286900)
Backed out changeset 43df1e962f8e (bug 1286900)
Backed out changeset 6ed46e8ac86c (bug 1286900)
2016-10-04 17:17:07 -07:00
Gregory Szorc 2517cf3559 Bug 1286900 - Use WPT files from source checkout; r=ted
We're starting to execute mozharness scripts from source checkouts
in automation. This means we can stop downloading and extracting
files that are already available in the source checkout and just
reference files from the checkout.

Web platform tests (WPT) are a logical place to start because they
are pretty well isolated. This commit modifies the mozharness script
for WPT execution to use files from a source checkout (previous
commits have guaranteed that a pristine source checkout is available
to the test execution environment).

As part of this, we also need to define an explicit mozinfo.json
path because previously it was relying on parent directory traversal
to find it (WPT tests were under a directory containing the
mozinfo.json file).

MozReview-Commit-ID: C1dlKC4eSzr
2016-09-26 23:32:31 -07:00
Gregory Szorc 64d0afb51f Bug 1286900 - Inline WPT arguments into script; r=ted
4 WPT config files all contained the same config options boilerplate.
Inline it into the WPT mozharness script.

MozReview-Commit-ID: 5Lba8QeKMTA
2016-09-20 19:28:19 -07:00
Gregory Szorc f1ef6c2309 Bug 1286900 - Reformat WPT command argument additions; r=ted
list.extend() is favored over +=. Also use single quotes, fixup
indentation, and factor out a common variable.

MozReview-Commit-ID: 3qVDGrkYhVe
2016-09-20 12:59:19 -07:00
Gregory Szorc 87271b0b4a Bug 1286900 - Ensure WPT tests have a version control checkout; r=ted
We add a mozharness action to the TestingMixin base class that ensures
we're running from a VCS checkout and we add this action to the WPT
script.

This ensures that we always have a source checkout available, even
in buildbot. (Before, we only had a source checkout in TaskCluster.)

MozReview-Commit-ID: 26NxwDZywXr
2016-09-21 10:57:08 -07:00
James Graham 0e9c6d08e1 Bug 1304046 - Add wdspec support to mozharness, r=ahal
Downloads geckodriver from tooltool when wdspec tests are being run,
and adds the --webdriver-binary argument

MozReview-Commit-ID: AJeP0YDk7Yl
2016-09-21 14:14:14 +01:00
Phil Ringnalda 0026263afd Backed out 6 changesets (bug 1286900) for making wpt-7 permanently fail on Windows debug
CLOSED TREE

Backed out changeset 859457467e3c (bug 1286900)
Backed out changeset 4b08ed30e0a5 (bug 1286900)
Backed out changeset 3928e945b584 (bug 1286900)
Backed out changeset 5b0f69c86028 (bug 1286900)
Backed out changeset 01c3527edde5 (bug 1286900)
Backed out changeset 6b5f059a85ad (bug 1286900)
2016-09-27 18:24:38 -07:00
Gregory Szorc 629365c19b Bug 1286900 - Use WPT files from source checkout; r=ted
We're starting to execute mozharness scripts from source checkouts
in automation. This means we can stop downloading and extracting
files that are already available in the source checkout and just
reference files from the checkout.

Web platform tests (WPT) are a logical place to start because they
are pretty well isolated. This commit modifies the mozharness script
for WPT execution to use files from a source checkout (previous
commits have guaranteed that a pristine source checkout is available
to the test execution environment).

As part of this, we also need to define an explicit mozinfo.json
path because previously it was relying on parent directory traversal
to find it (WPT tests were under a directory containing the
mozinfo.json file).

MozReview-Commit-ID: C1dlKC4eSzr
2016-09-26 23:32:31 -07:00
Gregory Szorc 9221d293ee Bug 1286900 - Inline WPT arguments into script; r=ted
4 WPT config files all contained the same config options boilerplate.
Inline it into the WPT mozharness script.

MozReview-Commit-ID: 5Lba8QeKMTA
2016-09-20 19:28:19 -07:00
Gregory Szorc d804f30852 Bug 1286900 - Reformat WPT command argument additions; r=ted
list.extend() is favored over +=. Also use single quotes, fixup
indentation, and factor out a common variable.

MozReview-Commit-ID: 3qVDGrkYhVe
2016-09-20 12:59:19 -07:00
Gregory Szorc 98f2dd7bcb Bug 1286900 - Ensure WPT tests have a version control checkout; r=ted
We add a mozharness action to the TestingMixin base class that ensures
we're running from a VCS checkout and we add this action to the WPT
script.

This ensures that we always have a source checkout available, even
in buildbot. (Before, we only had a source checkout in TaskCluster.)

MozReview-Commit-ID: 26NxwDZywXr
2016-09-21 10:57:08 -07:00
Andrew Comminos 3adae8f555 Bug 1296086 - Add a web-platform-tests flag to allow GL composition on a software GL implementation. r=jmaher
MozReview-Commit-ID: KqunJUb2Fl8
2016-08-18 15:47:50 -04:00
Henrik Skupin 2310b9dec0 Bug 1258539 - [mozharness] Refactor name and arguments of download and unpack methods. r=jlund
Given that we have a universal unpack method now do not keep 'unzip' in method names.
Also adapt arguments to be better understandable.

MozReview-Commit-ID: ClDB5mSVcI2
2016-08-04 15:07:30 +02:00
Wes Kocher 7d6f256252 Backed out 2 changesets (bug 1258539) for winxp pgo talos g2 permafail a=backout CLOSED TREE
Backed out changeset 4939f5d5c16c (bug 1258539)
Backed out changeset 384ff6b4b109 (bug 1258539)
2016-08-05 14:04:56 -07:00
Henrik Skupin 3cfe5c21aa Bug 1258539 - [mozharness] Refactor name and arguments of download and unpack methods. r=jlund
Given that we have a universal unpack method now do not keep 'unzip' in method names.
Also adapt arguments to be better understandable.

MozReview-Commit-ID: ClDB5mSVcI2
2016-08-04 15:07:30 +02:00
Wes Kocher 97df481b6b Backed out 2 changesets (bug 1258539) for mozharness failures a=backout
Backed out changeset 8322ffecd9d9 (bug 1258539)
Backed out changeset cc2996a53b71 (bug 1258539)
2016-07-29 15:56:39 -07:00
Henrik Skupin a2b81509bf Bug 1258539 - [mozharness] Refactor name and arguments of download and unpack methods. r=jlund
Given that we have a universal unpack method now do not keep 'unzip' in method names.
Also adapt arguments to be better understandable.

MozReview-Commit-ID: ClDB5mSVcI2
2016-07-19 23:00:46 +02:00
James Graham ab43cd27f4 Bug 1270507 - Elide subtest results from web-platform-tests on treeherder when they match expectations, r=ahal
MozReview-Commit-ID: DyatYcpdjvQ
2016-05-03 23:21:07 +01:00
Andrew Halberstadt 4bf1aec8b2 Bug 1243083 - Enable e10s by default when running web-platform-tests, r=jgraham
MozReview-Commit-ID: NlTGwdQ2nw
2016-04-01 11:02:29 -04:00
Sebastian Hengst 061b16d8b8 Backed out changeset a5472dd5fafd (bug 1237706) for Android talos bustage. r=bustage 2016-01-18 19:31:25 +01:00
Henrik Skupin 5b4a6e0a5d Bug 1237706 - Use general unpack() method to extract all kinds of supported archives. r=jlund 2016-01-18 18:13:22 +01:00
Maja Frydrychowicz 850feb1f43 Bug 1150512 - Add tools/wptserve to web-platform mozharness script; r=jgraham 2015-12-01 12:08:11 -05:00
James Graham 9c8aed60dc Bug 1191375 - Enable error summary file generation for web-platform-tests, r=chmanchester 2015-09-30 16:06:32 +01:00