Commit Graph

8668 Commits

Author SHA1 Message Date
Wes Kocher
2a2c29bfdf Merge b2ginbound to central, a=merge 2015-10-02 13:41:37 -07:00
Wander Lairson Costa
12f4c120eb Bug 1210467: Exit script if aws fails to list backup file. r=garndt
Make a dummy call to aws client to make sure credentials are ok.
2015-10-02 11:30:08 -03:00
Yura Zenevich
a497612abb Bug 1210022 - adding missing actionable roles to marionette a11y checks. r=automatedtester 2015-10-02 09:31:40 -04:00
Carsten "Tomcat" Book
91e1ac6fd2 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
James Graham
15fdb4dcb0 Bug 1197365 - Update to latest wptrunner, a=testonly 2015-10-02 12:06:02 +01:00
James Graham
67fb17e505 Bug 1197365 - Update metadata for wpt-e10s tests to improve stability, a=testonly 2015-10-02 12:05:58 +01:00
Carsten "Tomcat" Book
179a6e54ad merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Kyle Huey
c0f8d21988 Bug 1210581: Test controlled worker loads (XHR, fetch, importScripts). r=ehsan 2015-10-01 16:44:17 -07:00
Carsten "Tomcat" Book
ec2dae050c Merge m-c to fx-team 2015-10-01 14:16:12 +02:00
Carsten "Tomcat" Book
b78014b465 merge mozilla-inbound to mozilla-central a=merge 2015-10-01 12:39:25 +02:00
Gregory Szorc
fe5e0febdb Bug 1208320 - Do not stage some C++ unit test support files before archiving; r=glandium
Won't impact performance much. But fewer make foo makes porting the C++
unit tests (which are the largest remaining tests) to the Python
archiver easier to grok.

This conversion did change behavior slightly. Previously, startup
cache files weren't being packaged if startup cache was disabled. Now,
we always package them since their presence in the test archive should
be harmless. The original change to guard their inclusion in
ee82e0ae5488 was probably unnecessary.
2015-09-30 17:41:46 -07:00
Gregory Szorc
5d5a94555b Bug 1208320 - Do not stage mozbase files before archiving; r=glandium
This prevents copying of 447 files adding to ~4 MB.
2015-09-30 11:15:51 -07:00
Gregory Szorc
b4b369b3d0 Bug 1208320 - Do not stage JS test modules before archiving; r=glandium
Saves 400 KB over 40 files on my machine.
2015-09-30 11:04:58 -07:00
Gregory Szorc
aa8d9efa73 Bug 1208320 - Do not stage TPS files before archiving; r=glandium
This saves copying of ~100 files comprising ~1 MB. Not significant. But
it gets us a little closer to no staging.
2015-09-30 11:03:32 -07:00
Gregory Szorc
5186a41002 Bug 1208320 - Do not stage reftest test files before archiving; r=glandium
This is slightly more involved than earlier changes because reftests
have a one-off mechanism for finding files. Essentially, the master
reftest manifest is loaded, directories are discovered, and every file
in those directories is packaged.

We add support to our test archive generation tool to read sources from
reftest manifests and tell it where the reftest manifests are.
print-manifest-dirs.py was only being used for staging reftest files.
Since we don't do that any more, the functionality doesn't need to exist
in a standalone file, so it has been moved inline into test_archive.py.

This change avoids copying ~26,000 tests consuming 131 MB during test
packaging. This is a majority of the file count that was remaining in
the stage directory at this point. On my machine (which hasn't typically
seen major wall time wins from not staging files due to its fast SSD),
this change made test packaging ~20% faster, reducing wall time from
~50s to ~40s!

A Try push seemed to indicate drastic results with the series up to this
point. Including the already landed changes to generate test archives
concurrently, test packaging times on OS X builders dropped from ~18:40
to 6:29! Times on Linux x64 remained about the same (~2:46). This is
possibly due to these machines already having SSDs and due to normal
variance in performance of builders and EC2 instances.
2015-09-30 17:39:33 -07:00
Gregory Szorc
bd179241b4 Bug 1208320 - Do not stage JIT test files before archiving; r=glandium
This avoids copying 5000+ files consuming ~37 MB on my build
configuration.
2015-09-30 10:03:25 -07:00
Gregory Szorc
66eea62bd5 Bug 1208320 - Produce cppunittest and reftest packages via Python; r=glandium
With this change, all test ZIP archives are now generated via Python and
mozpack.

This change does not change I/O or file copy behavior at all. There is
still a lot of room for eliminating extra file copies.
2015-09-30 09:58:31 -07:00
Gregory Szorc
9a8c1ae2ef Bug 1208320 - Produce common tests archive via Python; r=glandium
This doesn't change I/O or copy behavior at all. But it does remove a
one-off make rule.
2015-09-30 17:38:53 -07:00
Gregory Szorc
1e496fa728 Bug 1208320 - Produce talos test archive without staging files; r=glandium
This is pretty straightforward. This saves ~26 MB of file copies.
2015-09-30 09:48:04 -07:00
Gregory Szorc
303fb763ea Bug 1208320 - Produce web-platform test archive without staging; r=glandium
The web-platform test archive now builds without any staging at all.
This saves ~103 MB of file copies on my machine.

The testing/web-platform/Makefile.in serves no purpose after this
change, so it and all references to it have been removed.
2015-09-30 09:47:22 -07:00
Gregory Szorc
e08d71c0b8 Bug 1208320 - Produce mochitest test archive without staging test files; r=glandium
This is very similar to what we did for xpcshell. Like xpcshell, there
are still some staged files. However, about 73MB of copies are
eliminated with this change. On my machine, overall execution time of
test packaging appears to decrease, although CPU usage is up slightly.
2015-09-30 09:46:35 -07:00
Gregory Szorc
9c35ad7893 Bug 1208320 - Produce xpcshell archive without staging test files; r=glandium
This commit produces the xpcshell test archive without staging 5000+
xpcshell test files first.

We teach the archiver to ignore .mkdir.done files.

The xpcshell Makefile.in still stages some files. This is less than
ideal. However, it is a small handful of files and shouldn't add too
much overhead.

This appears to not impact overall CPU usage significantly on my
machine, despute using Python instead of `zip`. It does reduce I/O
by ~25MB by avoiding the staging copy.
2015-09-30 09:36:16 -07:00
Gregory Szorc
409d70a7b4 Bug 1208320 - Produce mozharness test archive via mozpack; r=glandium
Test archive generation currently copies a bunch of files into a staging
area then runs `zip` to produce ZIP files. There are 2 concerns with
this approach:

1) We incur a lot of extra I/O to copy files so everything is
   rooted in a single tree so the `zip` invocation and paths are
   simple.
2) ZIP files inherit properties from the local filesystem (including
   mtime), making ZIP files non-deterministic.

This commit introduces a new mozbuild action for producing test
archives. It does so using the mozpack file finder and JAR writer,
which are used throughout the build to deterministically
produce ZIP/JAR files from files in multiple source directories.

We implement support for producing the mozharness archive. This archive
does not involve files that are staged, so no I/O is saved. In fact,
the switch from `zip` to Python likely makes this slightly slower.
However, we do have deterministic archives now.

Additional archives will be ported over in subsequent commits.
2015-09-30 11:34:33 -07:00
Bas Schouten
3e0ec0e46b Bug 1208465 - Part 2: Disable using Direct2D when 1.1 is unavailable. r=jrmuizel 2015-09-25 13:30:57 +00:00
Chris Manchester
646da50710 Bug 1209701 - Don't require platforms as input to |./mach try| if set in the environment. r=jgraham 2015-09-30 16:38:20 -07:00
Chris Manchester
f2d86499e5 Bug 1184405 - Use file metadata from files changed in the current branch in mach try when no other arguments are present. r=jgraham 2015-09-30 16:38:20 -07:00
Catalin Badea
77734b0201 Bug 1188545 - Fix wpt test ServiceWorkerGlobalScope/unregister.https.html. a=testonly 2015-09-30 19:11:03 -04:00
Catalin Badea
499619fd31 Bug 1188545 - Make skip-waiting-using-registration.html wpt test pass. a=testonly 2015-09-30 19:11:03 -04:00
Catalin Badea
2b737890e9 Bug 1188545 - Update expected results for some service worker tests. a=testonly 2015-09-30 19:11:03 -04:00
J. Ryan Stinnett
1fb275c963 Bug 1208166 - Re-enable View Source in Tab for all channels. r=mconley 2015-09-29 16:48:22 -05:00
Dylan Roeh
2aee5bf05d Bug 1210162 - Add --suite reftest to REMOTE_REFTEST in testsuite-targets.mk. r=jgraham 2015-09-30 16:09:17 -05:00
Jordan Lund
dca94a8bec Bug 1199720 - Setup builds for b2gdroid, taskcluster and mozharness bits, r=dustin 2015-09-30 13:57:52 -07:00
Jordan Lund
3a0ca27d06 Bug 1163084 - Releng work for producing dummy partner Android APK, r=dustin 2015-09-30 13:56:39 -07:00
David Burns
7c089a5fde Bug 1209698: Bump version numbers for Marionette packages; r=jgriffin
The version numbers have been moved to be major.minor.patch to allow
better versioning moving forward.
2015-09-30 13:23:50 +01:00
Wes Kocher
b9fbd35293 Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Tooru Fujisawa
563414fa72 Bug 1207499 - Part 10: Remove use of expression closure from testing/. r=jmaher 2015-09-23 18:42:19 +09:00
Dustin J. Mitchell
953ca87c75 Bug 1208029: bump image version numbers to capture subversion install; r=ehsan 2015-09-30 09:11:59 -04:00
Ting-Yu Lin
a75b915a55 Bug 1164124 - Add using_prefs context manager. r=jgriffin
Add get_pref(), set_pref(), set_prefs() to make manipulate preferences
easier.

enforce_gecko_prefs() did the similar job as set_prefs(), but it will
restart the browser if a preference to be set are different from what is
already set in the system. Not all gecko preferences require a restart
to work. Using set_prefs() should make testing faster. See bug 1048554.
2015-09-30 16:26:58 +08:00
Bill McCloskey
2a4d871bbc Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Wes Kocher
2a97476cc6 Merge m-c to fx-team, a=merge 2015-09-30 13:57:10 -07:00
Rail Aliiev
e6588e56df Bug 1203187 - Update b2g_branch_repos.py script and config to handle b2g 2.5 branching. r=jlund DONTBUILD 2015-09-30 06:30:17 -04:00
Andreas Pehrson
213c21c321 Bug 1155923 - Fix WPT unexpected-passes. r=bustage CLOSED TREE 2015-09-30 16:40:25 +08:00
Henrik Skupin
28da495b99 Bug 1209209 - Create functional.py script for firefox-ui-tests to handling Firefox builds for Jenkins. r=armenzg DONTBUILD 2015-09-30 09:18:48 +02:00
Martin Thomson
dbadf22a7c Bug 1155923 - Updating webplatform-tests, r=jib 2015-09-28 11:25:04 -07:00
Wes Kocher
307ad6a74c Merge m-c to inbound, a=merge 2015-09-29 16:13:55 -07:00
Wes Kocher
6103b96281 Merge b2ginbound to central, a=merge 2015-09-29 16:04:41 -07:00
Wes Kocher
e267e7fd98 Merge fx-team to central, a=merge 2015-09-29 15:56:09 -07:00
Wander Lairson Costa
5e0f0cb6ec backout 9ea9e4a8a729 because it breaks nexus builds. 2015-09-29 09:10:20 -03:00
Carsten "Tomcat" Book
3e7972e31a Merge mozilla-central to b2g-inbound 2015-09-29 12:43:31 +02:00
Wander Lairson Costa
cf0ca8e0bf Bug 1207986 part 3: Exit script if aws fails to list backup file. r=garndt
As the aws command line tool call is piped, its status is lost, but the
net result is an empty variable assigment. We take advantage of this to
detect errors in the aws tool.
2015-09-29 07:28:04 -03:00