Commit Graph

8915 Commits

Author SHA1 Message Date
Yura Zenevich
2849b41c74 Bug 1210022 - adding missing actionable roles to marionette a11y checks. r=automatedtester 2015-10-02 09:31:40 -04:00
Carsten "Tomcat" Book
e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
James Graham
8f43771d62 Bug 1197365 - Update to latest wptrunner, a=testonly 2015-10-02 12:06:02 +01:00
James Graham
45381178f4 Bug 1197365 - Update metadata for wpt-e10s tests to improve stability, a=testonly 2015-10-02 12:05:58 +01:00
Carsten "Tomcat" Book
ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Kyle Huey
1c99938df5 Bug 1210581: Test controlled worker loads (XHR, fetch, importScripts). r=ehsan 2015-10-01 16:44:17 -07:00
Carsten "Tomcat" Book
6db5f58151 Merge m-c to fx-team
--HG--
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11_partner_sample1.py
rename : testing/taskcluster/tasks/builds/android_api_11.yml => testing/taskcluster/tasks/builds/android_api_11_partner_sample1.yml
extra : rebase_source : c4eedd0e67e1271c3faa6294abefbdbea6ee4fd0
2015-10-01 14:16:12 +02:00
Carsten "Tomcat" Book
07ed19e582 merge mozilla-inbound to mozilla-central a=merge 2015-10-01 12:39:25 +02:00
Gregory Szorc
1037624226 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.

--HG--
extra : commitid : AzU65j0E1q0
extra : rebase_source : 9b8a15dc1a5f3c3d3e453cefb3a99b05f5a77711
2015-09-30 17:41:46 -07:00
Gregory Szorc
a88dbb7290 Bug 1208320 - Do not stage mozbase files before archiving; r=glandium
This prevents copying of 447 files adding to ~4 MB.

--HG--
extra : commitid : 7zTbiQeMQSQ
extra : rebase_source : b3ac223835ba7289ace45aa7d02c5a050d54cc0d
2015-09-30 11:15:51 -07:00
Gregory Szorc
fd090d4a75 Bug 1208320 - Do not stage JS test modules before archiving; r=glandium
Saves 400 KB over 40 files on my machine.

--HG--
extra : commitid : E2U6mnB4tOw
extra : rebase_source : ffc2663a03d7e3287a36c347ac5a747237e86025
2015-09-30 11:04:58 -07:00
Gregory Szorc
611659f236 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.

--HG--
extra : commitid : 6Hjnhv4Yi5R
extra : rebase_source : 291c89682a23cde957b3c68f2efe3b6dc3d3d543
2015-09-30 11:03:32 -07:00
Gregory Szorc
022105cc96 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.

--HG--
extra : commitid : 34E8V8lSGg7
extra : rebase_source : 720afcd35f6a2b6cb1217df23ae981408a88cb94
2015-09-30 17:39:33 -07:00
Gregory Szorc
4c71c72f21 Bug 1208320 - Do not stage JIT test files before archiving; r=glandium
This avoids copying 5000+ files consuming ~37 MB on my build
configuration.

--HG--
extra : commitid : 6DmsjUYgjXq
extra : rebase_source : 123dd42a7d0b9cc244a3ab7773010dfc5769a4ac
2015-09-30 10:03:25 -07:00
Gregory Szorc
94d0bd111f 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.

--HG--
extra : commitid : 9mWdtDK6wAb
extra : rebase_source : 0f19c627d64d22bf9d65161d4f7df7c9778dea3c
2015-09-30 09:58:31 -07:00
Gregory Szorc
fe96a68dba 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.

--HG--
extra : commitid : X0efdFHA0k
extra : rebase_source : c7cb8616461eccd1ff7f8eb3b409bd4944c9e1ec
2015-09-30 17:38:53 -07:00
Gregory Szorc
1c2fb95934 Bug 1208320 - Produce talos test archive without staging files; r=glandium
This is pretty straightforward. This saves ~26 MB of file copies.

--HG--
extra : commitid : ItghoP73zS8
extra : rebase_source : 9656719a6459c1e6fa28165591722fe00d6d9b1d
2015-09-30 09:48:04 -07:00
Gregory Szorc
1d1f8b07c4 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.

--HG--
extra : commitid : HDHGG3QGVBH
extra : rebase_source : dd7302aad96b46932aa00e4e66918c8077475b10
2015-09-30 09:47:22 -07:00
Gregory Szorc
e715f404c4 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.

--HG--
extra : commitid : 5dy340X80J9
extra : rebase_source : d37be29367b17e6c1d9c885ab4705932b7a42b39
2015-09-30 09:46:35 -07:00
Gregory Szorc
a9b7ca4989 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.

--HG--
extra : commitid : IwvLaYvAbFt
extra : rebase_source : a690ae4b1adbabd491851a2479fa66d81241601b
2015-09-30 09:36:16 -07:00
Gregory Szorc
212a2d7513 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.

--HG--
extra : commitid : H1BOidPDZST
extra : rebase_source : 120e2bfea921e5fb3a8d97b2dd0227edce452cfd
2015-09-30 11:34:33 -07:00
Bas Schouten
55fc81be8b Bug 1208465 - Part 2: Disable using Direct2D when 1.1 is unavailable. r=jrmuizel 2015-09-25 13:30:57 +00:00
Chris Manchester
059807dbd8 Bug 1209701 - Don't require platforms as input to |./mach try| if set in the environment. r=jgraham
--HG--
extra : commitid : amxtVwsmei
2015-09-30 16:38:20 -07:00
Chris Manchester
7bc85f9727 Bug 1184405 - Use file metadata from files changed in the current branch in mach try when no other arguments are present. r=jgraham
--HG--
extra : commitid : IS04VgBwDxE
2015-09-30 16:38:20 -07:00
Catalin Badea
9e76d2c1c6 Bug 1188545 - Fix wpt test ServiceWorkerGlobalScope/unregister.https.html. a=testonly 2015-09-30 19:11:03 -04:00
Catalin Badea
fe19d1997c Bug 1188545 - Make skip-waiting-using-registration.html wpt test pass. a=testonly 2015-09-30 19:11:03 -04:00
Catalin Badea
deb9499875 Bug 1188545 - Update expected results for some service worker tests. a=testonly 2015-09-30 19:11:03 -04:00
J. Ryan Stinnett
5a0cce2986 Bug 1208166 - Re-enable View Source in Tab for all channels. r=mconley
--HG--
extra : transplant_source : %7E%E7%DB%86%FF%ED%B9%F4P%FA%60%10k%89%F2%C2%BF%FE%B3V
2015-09-29 16:48:22 -05:00
Dylan Roeh
b5694e2f25 Bug 1210162 - Add --suite reftest to REMOTE_REFTEST in testsuite-targets.mk. r=jgraham 2015-09-30 16:09:17 -05:00
Jordan Lund
520f9b8623 Bug 1199720 - Setup builds for b2gdroid, taskcluster and mozharness bits, r=dustin 2015-09-30 13:57:52 -07:00
Jordan Lund
cd9b824499 Bug 1163084 - Releng work for producing dummy partner Android APK, r=dustin
--HG--
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11_partner_sample1.py
rename : testing/taskcluster/tasks/builds/android_api_11.yml => testing/taskcluster/tasks/builds/android_api_11_partner_sample1.yml
2015-09-30 13:56:39 -07:00
David Burns
a7d8cd3acc 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.

--HG--
extra : commitid : Lm21l6zZmge
extra : rebase_source : 432a27f8727106a78114b745aca019771f254e93
2015-09-30 13:23:50 +01:00
Wes Kocher
6fbdec2422 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
c09bf851bf Bug 1207499 - Part 10: Remove use of expression closure from testing/. r=jmaher
--HG--
extra : commitid : JE0Z0vdpjeI
extra : rebase_source : 3aa4d858e141afceec370343630ebd1d6f2a0d52
2015-09-23 18:42:19 +09:00
Dustin J. Mitchell
3b03b1e537 Bug 1208029: bump image version numbers to capture subversion install; r=ehsan
--HG--
extra : commitid : 2QC4Cw4AXrJ
extra : rebase_source : 3bd0eb07092e96b0551b0eb8d7a47c6ad81b2f5d
extra : histedit_source : 399916da3b8232606e4ec959188cf2974be521bb
2015-09-30 09:11:59 -04:00
Ting-Yu Lin
9a643f53d9 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.

--HG--
extra : commitid : 8zY9oaHkSW1
extra : rebase_source : 787114d94f50e9f132fb7d5898cecf104e281700
2015-09-30 16:26:58 +08:00
Bill McCloskey
633d4a3ecf Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Wes Kocher
331a00aba0 Merge m-c to fx-team, a=merge 2015-09-30 13:57:10 -07:00
Rail Aliiev
5978e611c5 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
d22ffac72e Bug 1155923 - Fix WPT unexpected-passes. r=bustage CLOSED TREE
--HG--
extra : commitid : B3luhK5Cw5
2015-09-30 16:40:25 +08:00
Henrik Skupin
b1e45adbad 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
d90d77bb33 Bug 1155923 - Updating webplatform-tests, r=jib
--HG--
extra : transplant_source : %9E%968%DC%AD%1F%DF%DB%3A%9C%1A%0F%E1%85%CFa%09oW%F0
2015-09-28 11:25:04 -07:00
Wes Kocher
6feb6f6051 Merge m-c to inbound, a=merge 2015-09-29 16:13:55 -07:00
Wes Kocher
8e7c30dca8 Merge b2ginbound to central, a=merge 2015-09-29 16:04:41 -07:00
Wes Kocher
bfea98b549 Merge fx-team to central, a=merge 2015-09-29 15:56:09 -07:00
Wander Lairson Costa
afe68eef72 backout 9ea9e4a8a729 because it breaks nexus builds.
--HG--
extra : commitid : IZAZTH020AU
2015-09-29 09:10:20 -03:00
Carsten "Tomcat" Book
2696da0f1c Merge mozilla-central to b2g-inbound 2015-09-29 12:43:31 +02:00
Wander Lairson Costa
47191bf610 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.

--HG--
extra : commitid : HDjJMJ71GnE
2015-09-29 07:28:04 -03:00
Wander Lairson Costa
c8e39955c7 Bug 1207986 part2: Install openjdk in the phone builder docker image. r=garndt
This is necessary for FOTA builds. Increase the version number
to
0.0.22 because 0.0.21 was busted.

--HG--
extra : commitid : GhfgSBuyWxg
2015-09-29 07:28:04 -03:00
Wander Lairson Costa
901eb75699 Bug 1207986 part1: turn phone-builder cmd line parameters optional. r=garndt
For any parameter we don't pass in the command line, take from the
environment.

--HG--
extra : commitid : 9ru0islnTP9
2015-09-29 07:28:04 -03:00