Commit Graph
13240 Commits
Author SHA1 Message Date
Ethan Glasser-Camp c0414a211e Bug 1225781: Return exit status of tests, r=ahal
MozReview-Commit-ID: 75v381nyQbj
2016-10-05 17:24:36 -04:00
Carsten "Tomcat" Book 4b9350d45c merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Carsten "Tomcat" Book c38213db33 Merge mozilla-central to mozilla-inbound 2016-10-05 17:07:19 +02:00
Carsten "Tomcat" Book 24fd37558f merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Jessica Jong 6bb901a5d7 Bug 1295402 - Implement the min and max attribute for <input type=week>. r=smaug 2016-09-25 19:33:00 -04:00
Kris Maglione 41e9405fff Bug 1278687: Multiplex extension message listeners for use in chrome tests. r=aswan
MozReview-Commit-ID: 3V5FqnBQy1j
2016-10-03 20:44:28 +01:00
Wes Kocher 1a366fa551 Merge inbound to central, a=merge 2016-10-04 17:32:01 -07: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
Ted Mielczarek 40fc83cf50 bug 1306662 - fix a bit I missed in the desktop1604-test Dockerfile. r=me
MozReview-Commit-ID: Ne00hHwg06
2016-10-04 09:35:11 -04:00
Gregory Szorc e01d3e5921 Bug 1286900 - Set env explicitly because mozharness; r=me
partial_env only works if the class inherits from some other base
class, which apparently not all callers of this method do. So just
pass a copy of the environ dict with PYTHONUNBUFFERED added.

MozReview-Commit-ID: Ag75x28NR4D
2016-10-04 10:58:05 -07:00
Carsten "Tomcat" Book 193ab83384 Backed out changeset 971e37206edc (bug 1263665) 2016-10-05 16:05:05 +02:00
Gerald Squelart 2d2120e5a0 Bug 1263665 - Set media.libavcodec.allow-obsolete=true for testing - r=jya
Separate patch as we may want to revert it in the future, when test systems
have been upgraded with a more recent libavcodec.

MozReview-Commit-ID: EUrdsb8UGnV
2016-10-04 22:46:22 -07:00
Gabriele Svelto 088fc29892 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted
* * *
Bug 1264367 - Accomodate for the new version of Breakpad
2016-10-05 11:46:07 +02:00
JW Wang 70ccb74cf7 Bug 1307055. Part 1 - add some prefs to prefs_general.js for mochitests so they can take effect as soon as possible before running any test code. r=cpearce
MozReview-Commit-ID: 3778qKBSSwv
2016-10-03 15:18:05 +08:00
Brian Birtles fb43a1c8f0 Bug 1297285 - Make update-the-finished-state.html not depend on frame timing; r=hiro
I suspect we're hitting trouble when the refresh driver changes timer and we
end up with less time between frames.

MozReview-Commit-ID: I2dProiJTfh
2016-10-05 14:00:46 +09:00
Andrew McCreight 4936f57d05 Bug 1305836, part 2 - Remove openedWindows, openedURLs and onDocumentCreated. r=jgriffin,mrbkap
These are now unused.

MozReview-Commit-ID: 45uvWvK8vSo
2016-09-27 14:14:59 -07:00
Andrew McCreight a65022f5f5 Bug 1305836, part 1 - Remove CCAnalyzer leak checker. r=jgriffin
This leak checker may be triggering a shutdown leak on Windows,
doesn't work with e10s, and should not be needed now that ttaubert
fixed the ++DOMWINDOW leak detector to work.

The additional GCs and CCs this patch adds used to be run as part of
cc-analyzer.js, and are needed to avoid window leaks in tests.

MozReview-Commit-ID: IzZI6h2SCr2
2016-09-27 13:06:37 -07:00
Gregory Szorc 1e5ff5f7a5 Bug 1286900 - Run Mercurial with PYTHONUNBUFFERED=1; r=me
We did the same thing for run-task in bug 1304964 because otherwise
output may get buffered, triggering "no output in N seconds"
failures in automation.
2016-10-04 10:25:57 -07:00
Manish Goregaokar d630766c14 Bug 1307484 - Reapply missing <ol reversed> tests from bug 1290813 ; r=jgraham
MozReview-Commit-ID: KrNUnkLb6bl
2016-10-04 20:57:33 +05:30
Gregory Szorc cdb2ccd57e Bug 1286900 - Stop producing web-platform tests zip file; r=ted
Now that we access WPT related files from a source checkout, we no
longer need the web-platform tests zip file produced or consumed by
automation. So stop producing it.

MozReview-Commit-ID: Ea8KjKZJ5Yx
2016-09-20 18:41:06 -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
Gregory Szorc 44717fc948 Bug 1286900 - Add environment variable to define location of mozinfo.json; r=ted
As part of converting WPT to run from a source checkout in automation,
I ran into problems where mozinfo.json wasn't being loaded, causing
several tests to fail. This is because mozinfo.json is only found
from a source directory or from a parent of the WPT meta directory.

Before, mozinfo.json was provided by the "common" tests zip file
and extracted to the base of the destination directory. WPT files
were extracted to a "web-platform" sub-directory. So mozinfo.json
was in a parent directory of "web-platform/meta" and was loaded
automatically.

Now that we want to run WPT out of the source directory, there is
no mozinfo.json and the source directory and no mozinfo.json can be
loaded.

This commit teaches mozinfo.json to look in a MOZINFO_PATH environment
variable for the path to mozinfo.json. This allows mozinfo.json
to exist anywhere on the filesystem. This provides a lot more
flexibility for loading the file.

MozReview-Commit-ID: 1I1cxS1IeyY
2016-09-26 15:51:32 -07:00
Gregory Szorc 75f709698b Bug 1305877 - Disable appcache-ordering-main.https.html; r=jgraham
This test was timing out intermittently (tracked in bug 1295331). It
started timing out consistently once the test chunking was changed.
But only on TaskCluster automation - not buildbot - presumably because
chunking was different. My guess is something in a previous test is
throwing off state within Gecko. Who knows.

MozReview-Commit-ID: HtbEX1duE6M
2016-10-04 07:37:14 -07:00
Gregory Szorc 313b4900d2 Bug 1305877 - Change WPT chunking default to directory hash; r=jgraham
Before this, the default of "equal_time" resulted in W7 jobs on Windows
debug builds executing over 6 times slower than the shortest chunk.
Chunking by hash of test directory makes the chunk sizes more consistent.
They aren't as consistent as a full path hashing or random chunking. But
it is an improvement.

MozReview-Commit-ID: 7bUSxY8GhH7
2016-09-30 20:40:03 -07:00
Gregory Szorc 76a28858d5 Bug 1305877 - Add a directory hash chunker; r=jgraham
Per discussion in the bug, we want automation to behave like local
development mode with regards to running tests in a directory. That
means we want all tests in a directory to be executed together.

We introduce a directory hash chunker. It is like the HashChunker
except it hashes the directory of the test (not the full path). This
ensures that all tests in the same directory end up in the same
chunk.

Compared to HashChunker, this will likely make slow directories
contribute to higher variance in chunk execution times.

MozReview-Commit-ID: CeV0Gi6NRRp
2016-09-29 14:42:50 -07:00
Gregory Szorc 90cc9b7b5f Bug 1305877 - Make HashChunker stable; r=jgraham
The built-in hash() function uses the backing memory address for
hashing. This is essentially random. Switch to md5 so input is
consistently hashed across processes.

MozReview-Commit-ID: D52uzttE5hc
2016-09-27 16:31:26 -07:00
Carsten "Tomcat" Book a2be0596bc merge mozilla-inbound to mozilla-central a=merge 2016-10-04 11:58:07 +02:00
Carsten "Tomcat" Book 74684c9d5e merge fx-team to mozilla-central a=merge 2016-10-04 11:56:36 +02:00
Phil Ringnalda c5de2b9e84 Merge m-c to f-t 2016-10-03 20:51:52 -07:00
Phil Ringnalda 937fbae9a4 Backed out changeset b26e668306fb (bug 1278687) for making test_ext_webrequest.html between near-permaorange and actual-permaorange 2016-10-03 20:17:28 -07:00
Phil Ringnalda 32a3e9d2b7 Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Wes Kocher d31d166f3f Backed out changeset 1adfbab318a6 (bug 1264367) for breaking crash stacks CLOSED TREE 2016-10-03 14:50:27 -07:00
Kris Maglione b58bf8f8f2 Bug 1278687: Multiplex extension message listeners for use in chrome tests. r=aswan
MozReview-Commit-ID: 3V5FqnBQy1j
2016-10-03 20:44:28 +01:00
Gijs Kruitbosch a18592b766 Bug 1000458 - stop races in location bar <return> handling code, r=mak
MozReview-Commit-ID: IcQCNj0FcCu
2016-09-28 19:54:25 +01:00
Brian Grinstead 958311b969 Bug 1306780 - Use the old console frontend for DAMP runs;r=jryans
MozReview-Commit-ID: DJBzr7Q5tee
2016-10-03 08:52:04 -07:00
Phil Ringnalda 3e495c57c3 Merge m-c to m-i
MozReview-Commit-ID: EDdoYQ8zdUw
2016-10-03 20:35:14 -07:00
Andrew Halberstadt 5703061ad2 Bug 1304593 - Use |mach python-test| to run python unittests from make check, r=ted
Currently make check loops over all directories and runs each test file in PYTHON_UNIT_TESTS
individually. This patch instead creates a single top-level check target that runs
|mach python-tests|. This should make automation more similar to running locally, be a bit
quicker and make it easier to pull python tests out of make check completely at a future date.

MozReview-Commit-ID: 4Hg4zdFyc61
2016-09-26 15:29:02 -04:00
Stone Shih 677b3dc628 Bug 1292063 - Part 5: Update the meta file of shadow-dom/event-composed.html. r=smaug 2016-09-20 10:31:03 +08:00
Phil Ringnalda 500c70c183 Merge m-c to autoland 2016-10-03 20:36:09 -07:00
Blake Kaplan 35dfdde959 Bug 1304531 - Remove CPOW (via shim usage) from the mochitest harness. r=Felipe
MozReview-Commit-ID: FturnOEMIV5
2016-09-19 17:18:07 -07:00
Benjamin Smedberg 49fc3aebaf Bug 1269807 - Remove support for all NPAPI plugins except for Flash, behind a pref. Tests that use the testplugin for now set the pref to keep it working. This will be disabled for ESR 52, but enabled for release 52. In the next cycle, the pref will be removed and this will be hardcoded. r=jimm
MozReview-Commit-ID: IDFTfaqpebo
2016-09-29 09:16:33 -04:00
Gabriele Svelto 8bd242ea95 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-10-03 13:43:28 +02:00
Christoph Kerschbaumer fb2a162dc8 Bug 1302539 - Update wpt tests because XCTO: nosniff should not apply to images (temporarily). r=annevk 2016-10-03 10:37:47 +02:00
Phil Ringnalda 04ffd750d1 Merge m-c to autoland 2016-10-02 22:40:03 -07:00
Phil Ringnalda c3f7ae8bb5 Bug 1303802 - Disable the part of historical.html which is permaorange on every merge to beta when we disable our rootNode implementation and let the test unexpectedly pass 2016-10-02 00:43:32 -07:00
JW Wang 5696eec3df Bug 1239899. Part 3 - enable tests. r=cpearce
MozReview-Commit-ID: CvH4uxGv8ei
2016-09-23 17:01:27 +08:00
Sebastian Hengst 7305938aa8 Merge mozilla-central to autoland 2016-10-05 17:15:26 +02:00