Граф коммитов

16639 Коммитов

Автор SHA1 Сообщение Дата
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 28f3051d07 Bug 1362148 - Don't collect package metrics for some Android builds; r=ted
We're about to enable metrics collection for all builds. There are some
Android build configurations that use buildbase.py but don't create a
package. So we need a way to conditionally obtain package metrics.

We could change package metrics collection to no-op if a package file
can't be found. However, that has a risk that a future change could
break metrics collection and we wouldn't necessarily find out. I like
things that fail fast.

MozReview-Commit-ID: CzByf7yHVS8

--HG--
extra : rebase_source : 99ee18ed4dd61e5ea8f5eda1b810b573fe254158
2017-05-12 13:24:28 -07:00
Gregory Szorc 51e7329726 Bug 1362148 - Extract package metrics collection to own function; r=ted
A subsequent commit will make all this code conditional. Rather than
indent the world, it is easier to conditionally call a function.

A benefit of the new code is that we skip some code for debug builds,
which is one less thing that can break.

MozReview-Commit-ID: fiUNBbikmy

--HG--
extra : rebase_source : aeb151ea5864d0f97db20bee921b60afc00aee61
2017-05-12 13:18:51 -07:00
Gregory Szorc a4d58c7a0d Bug 1362148 - Call generate_build_props() as part of build(); r=ted
Previously, this ran during postflight_build(). The magic postflight_*
methods are called automagically by BaseScript.run_action() and are
only called if the main action method didn't raise. So there should
be no functional difference with this commit.

The reason I changed this is that a subsequent commit will perform
metrics generation from build() and without the build properties
file loaded, at least the OS X 64 opt buildbot build doesn't have
packageFilename defines, which breaks metrics collection.

MozReview-Commit-ID: 54ftuQqGKVi

--HG--
extra : rebase_source : c3c28426468474a7aa51a10787d01ebbba10dd82
extra : source : 387d8415d05e7f1dc96ed3adb441c54f232baf0d
2017-05-04 17:24:06 -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
Wes Kocher 3c05a4998a Merge inbound to central, a=merge
MozReview-Commit-ID: Cb3YlCdVhQr
2017-06-05 17:34:09 -07:00
Wes Kocher a8ca1dfef7 Backed out changeset 9745b4fb9ac4 (bug 1352128) for breaking webdriver wpt a=backout
MozReview-Commit-ID: 1wLiG2Sq3g
2017-06-05 13:12:13 -07:00
James Graham 8f5559fddd Bug 1352128 - Update web-platform-tests expected data. r=jmaher, a=testonly
MozReview-Commit-ID: HqEyuojy9TG
2017-06-03 20:34:34 +01:00
William Lachance a95523e2a5 Bug 1366919 - Bump mozinfo version to 0.10 r=ahal
MozReview-Commit-ID: 2k5xgTogSN6

--HG--
extra : rebase_source : f92dfdf4cede8309a4f9fc021b1cc1d6a1bc687f
2017-05-23 13:04:29 -04:00
William Lachance 089ed28b97 Bug 1366919 - Consider MSYS_NT to equal windows in mozinfo r=ahal
MozReview-Commit-ID: FtLNulaCDEV

--HG--
extra : rebase_source : f3b8f23ad075f39a50f4a09ab52f93a11116825c
2017-05-23 13:00:59 -04:00
Ryan VanderMeulen 0d15b18d52 Merge autoland to m-c. a=merge 2017-06-05 11:59:54 -04:00
Ryan VanderMeulen d6d4bcb282 Merge m-c to autoland. a=merge 2017-06-05 09:14:21 -04:00
Sebastian Hengst e9ee226b01 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-05 11:08:00 +02:00
James Graham 0dd1135916 Bug 1370203 - Don't require setting the wpt hosts configuration for servo, r=farre
Servo reads the hosts from a file created at runtime, so this
configuration isn't required.

MozReview-Commit-ID: 20NoZyp3bJz

--HG--
extra : rebase_source : 955d15e9e43e1975fde856e5133fa2ff5786fec7
2017-06-05 13:31:08 +01:00
James Graham 0465b8008b Bug 1370203 - Check hosts are configured with |mach wpt|, r=farre
For Chrome and Edge we don't have any way to set the DNS configuration
to include web-platform.test, so we need to error if this isn't already set.

MozReview-Commit-ID: BHRsTiuV28x

--HG--
extra : rebase_source : cfd3c35a513f98b47a7ffc9328058e6d104d2b2e
2017-06-05 13:29:47 +01:00
James Graham ee7119d9fe Bug 1370203 - Change wptrun to raise an exception instead of exiting directly, r=farre
This makes integration with other frontends a little easier.

MozReview-Commit-ID: 3gGeJqMPiZf

--HG--
extra : rebase_source : a9aa2a8d63cca80d3897149c2a0f7d3351031951
2017-06-05 13:28:49 +01:00
Ryan VanderMeulen 8682112678 Bug 1338486 - Update wpt expectations for /cssom/CSS.html.
--HG--
extra : rebase_source : 653576b499d8032dc0a43310111c6745f46e6211
2017-06-04 22:03:40 -04:00
Jessica Jong 62de86ac19 Bug 1369413 - Remove the use of const INPUT_DATETIME_PREF. r=ato
MozReview-Commit-ID: 5Orzh1X7Ln2

--HG--
extra : amend_source : 5bf1aefca05bebe08cbca5cc4c2da0fe8d3c3130
2017-06-02 02:52:00 -04:00
Dão Gottwald 8a952aed25 Bug 1367076 - Set datareporting.policy.firstRunURL by default to replace data choices infobar with privacy policy in a background tab on first run. r=Gijs
MozReview-Commit-ID: 9r5el0I2HrA

--HG--
extra : rebase_source : d5bc0f8a5dea60d4d3bbaaf5332d8f022693d381
2017-05-31 13:48:06 +02:00
Sebastian Hengst 92499bc6cf merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-03 20:18:26 +02:00
Sebastian Hengst 5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Jan de Mooij d2c775856a Bug 1358135 part 1 - Fix some browser tests to trigger a shrinking GC instead of a normal GC. r=jonco 2017-06-03 17:29:17 +02:00
Joel Maher b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Wes Kocher 269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Nathan Froyd 313ec2e5f6 Bug 1341404 - add win32/64 noopt debug builds; r=dustin,mshal 2017-06-02 16:56:56 -04:00
Nathan Froyd a8a13545db Bug 1341404 - add macosx64 noopt debug builds; r=dustin,mshal 2017-06-02 16:56:56 -04:00
Nathan Froyd 83ccb044ca Bug 1341404 - add linux64 noopt debug builds; r=dustin,mshal
A number of developers find it convenient to build with
--disable-optimize --enable-debug for an improved debugging experience.
We don't currently have a configuration in CI that ensures this
combination of options works, so various changes break builds with this
configuration every so often.  We should test such configurations to
ensure they build to provide a smooth experience for developers.
2017-06-02 16:56:56 -04:00
Florian Quèze bb8b90d00e Bug 1369700 - Delay initialization of marionette.js until delayed startup and startup tests are finished, r=ato.
Before this patch, marionette.js starts its initialization right after receiving the "sessionstore-windows-restored" notification.
This is unfortunate for the browser_startup.js browser chrome mochitest added in bug 1358798, because it causes lots of marionette file to appear to be loaded before the browser is ready to handle user events.
2017-06-02 22:08:21 +02:00
Geoff Brown 7f6d6f270c Bug 1364696 - Disable wpt test open-features-tokenization-noopener.html instead of open-features-tokenization-screenx-screeny.html; r=jmaher
Previous attempt to avoid intermittent failures shifted failure to another
test.
2017-06-02 13:48:12 -06:00
Greg Mierzwinski 28d6f94bdb Bug 1369410 - Enable JSVM code coverage collection on linux64-ccov. r=jmaher
This patch enables linux64-ccov to run JSVM code coverage collection at the same time GCOV code coverage is being collected. It uploads the code coverage that was created in a file called 'code-coverage-jsvm.zip'.

MozReview-Commit-ID: 4x5GrjRJRo4

--HG--
extra : rebase_source : 461eb6a0d6bf9f16a83899a1147c0f9cf2c02823
2017-06-02 09:57:45 -04:00
Andreas Tolfsen 7fa53cfeaa Bug 1370191 - Set WPT wdspec bug component to geckodriver; r=jgraham
Testing :: geckodriver is a new Bugzilla component and it should be used
for the WPT wdspec tests located in testing/web-platform/tests/webdriver
because any test failures are likely to be implementation problems in
the testing/geckodriver program.

MozReview-Commit-ID: 75wG57PEsKl

--HG--
extra : rebase_source : 7d5c3bcb00cc00279ec30b5f4c90e2dd44540c3b
2017-06-05 11:46:14 +01:00
Ryan VanderMeulen f6fbb3325c Bug 1364651 - Add back the hack invoking mach via bash to see if it makes the TC build machines happy again. r=pmoore
--HG--
extra : rebase_source : 0138591c862068674f7a4590415246416ad573ea
2017-06-02 09:20:40 -04:00
Ryan VanderMeulen 6e98307c04 Backed out 3 changesets (bug 1368674) for Android test failures.
Backed out changeset ff3c813fcdea (bug 1368674)
Backed out changeset 0d9bb636b9a9 (bug 1368674)
Backed out changeset 1d0202706572 (bug 1368674)
2017-06-01 19:21:31 -04:00
Marco Castelluccio 3177d7c530 Bug 1369523 - Avoid reading output file in get_output_from_command when it is not needed. r=aki 2017-06-03 17:19:09 +01:00
James Graham db402b5f5a Bug 1369471 - Allow running wpt directories by path on the command line, r=maja_zf
We regressed running entire directories when wptrunner was switched to
look up command parameters directly in the manifest rather than
iterating over prefix matches. For files that's OK, but for
directories the old behaviour is required.

MozReview-Commit-ID: HVL7rL1YuZx

--HG--
extra : rebase_source : d80150556ba5f07fb8c7ebbd7faab52ee63e2708
2017-06-01 19:01:01 +01:00
Gregory Szorc 612630dd35 Bug 1359965 - Support and generate tar.gz WPT archive; r=glandium
Several years ago there was a single zip file for all test files. Clients
would only extract the files they needed. Thus, zip was a reasonable
archive format because it allowed direct access to members without
having to decompress the entirety of the stream.

We have since split up that monolithic archive into separate,
domain-specific archives. e.g. 1 archive for mochitests and one
for xpcshell tests. This drastically cut down on network I/O
required on testers because they only fetched archives/data that
was relevant. It also enabled parallel generation of test archives,
we shaved dozens of seconds off builds due to compression being
a long pole.

Despite the architectural changes to test archive management, we
still used zip files. This is not ideal because we no longer access
specific files in test archives and thus don't care about single/partial
member access performance.

This commit implements support for generating tar.gz test archives.
And it switches the web-platform archive to a tar.gz file.

The performance implications for archive generation are significant:

before: 48,321,250 bytes; 6.05s
after:  31,844,267 bytes; 4.57s

The size is reduced because we have a single compression context
so data from 1 file can benefit compression in a subsequent file.
CPU usage is reduced because the compressor has to work less with
1 context than it does with N. While I didn't measure it, decompression
performance should also be improved for the same reasons. And of course
network I/O will be reduced.

mozharness consumers use a generic method for handling unarchiving.
This method automagically handles multiple file extensions. So as long
as downstream consumers aren't hard coding ".zip" this change should
"just work."

MozReview-Commit-ID: LQa5MIHLsms

--HG--
extra : rebase_source : 100092c2f2ff609362a724fff60f46dd6e49c94e
extra : intermediate-source : d10f5ccd882b965fcad39914f7c3c930d1301a41
extra : source : a0e257e346ccf3c1db332ec5903241f4eeb9a7ee
2017-05-08 17:19:05 -07:00
David Burns 5fe3dc363a Bug 1368674 - Remove setTestName functionality from Marionette r=whimboo
setTestName was used for logging which test was being run for the
JS Tests used in B2G.

MozReview-Commit-ID: FNF4Sm7vAYM

--HG--
extra : rebase_source : b12fd8ce04e7da739a8a5ec0e7b30b6734c58e4a
2017-05-30 16:28:36 +01:00
David Burns dd5ef53ea6 Bug 1368674 - Remove JS Test support in Marionette Harness r=maja_zf
MozReview-Commit-ID: 11Zc7KL3djD

--HG--
extra : rebase_source : 2f0d9995b5ba40e5338fe458395d15abf7704825
2017-05-30 15:07:19 +01:00
David Burns 8cb144921e Bug 1368674 - Remove simpleTest functionality from Marionette. r=whimboo
This is a remanent of the B2G code for injecting Mochitest style tests
into Gecko. This is no longer used by anything and is now dead code.

MozReview-Commit-ID: 4qaB3vxQzon

--HG--
extra : rebase_source : 3af2c7655ecd2d03f266d0a1ad02eadfea1b1a0b
2017-05-30 13:51:02 +01:00
Ryan VanderMeulen e36ce0e346 Backed out 3 changesets (bug 1368674) for flake8 failures.
Backed out changeset 9aa183c8533e (bug 1368674)
Backed out changeset 837ccbc38bfc (bug 1368674)
Backed out changeset 7f4f851da483 (bug 1368674)
2017-06-01 16:54:10 -04:00
David Burns 06b3c56c83 Bug 1368674 - Remove setTestName functionality from Marionette r=whimboo
setTestName was used for logging which test was being run for the
JS Tests used in B2G.

MozReview-Commit-ID: FNF4Sm7vAYM

--HG--
extra : rebase_source : 6ad739d2ff9bf3d6bafaed0450c8794a257657e7
2017-05-30 16:28:36 +01:00
David Burns 69ac306da8 Bug 1368674 - Remove JS Test support in Marionette Harness r=maja_zf
MozReview-Commit-ID: 11Zc7KL3djD

--HG--
extra : rebase_source : 7c8f78df2e6aa402cacf04819c03abb3381815f2
2017-05-30 15:07:19 +01:00
David Burns 58b95498e0 Bug 1368674 - Remove simpleTest functionality from Marionette. r=whimboo
This is a remanent of the B2G code for injecting Mochitest style tests
into Gecko. This is no longer used by anything and is now dead code.

MozReview-Commit-ID: 4qaB3vxQzon

--HG--
extra : rebase_source : b4b7e66452b7ce7335ef5f509957121f403d7043
2017-05-30 13:51:02 +01:00
Alex Gaynor 61cc4acf59 Bug 1363760 - Part 3 - In tests, install SpecialPowers and mochijar as non-temporary addons r=ahal
This means they will be copied to $PROFILE/extensions, which the sandbox allows
access to; if they are installed as temporary addons, loading frame scripts in
the content process tries to read from wherever they happen to be on disk. This
breaks running tests with a packaged build once we have full read-restrictions
for the content process sandbox.

MozReview-Commit-ID: 7ZiiM9FMXfG

--HG--
extra : rebase_source : d2cf3a2d06df9099dc6056fae351200eaa1d0ca9
2017-05-30 10:09:57 -04:00
Tobias Schneider f47b467c52 Bug 1359318 - (intersection-observer) Map intersectionRect to the coordinate space of the target document. r=mstange 2017-06-02 14:11:31 -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
Henrik Skupin b8f24d14e4 Bug 1364385 - Do not use canonicalized path to start Firefox. r=ato
Using the canonicalized path to start Firefox breaks the
browser on Windows because the "\\?\" prefix is not supported
yet. As result all components which rely on XCurProcD for
file handling are throwing JS errors, and do not initialize
correctly.

MozReview-Commit-ID: 5MWhDf1HCWf

--HG--
extra : rebase_source : da97482894eda970b6e6610e7462b927b57fb3a1
2017-06-02 13:40:24 +02:00
Carsten "Tomcat" Book ec17d16219 Merge mozilla-central to mozilla-inbound 2017-06-01 13:56:11 +02:00