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

12338 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher e92959a3bd 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 e5327cb322 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

--HG--
extra : rebase_source : 5bfee9d3c56436dd3a9f7c279517642ac70bb179
2016-07-19 23:00:46 +02:00
Henrik Skupin d8e13f44b1 Bug 1258539 - [mozharness] Use ZipFile and TarFile classes for unpacking archives. r=jlund
Get rid of external unpack tools (unzip and tar) and use the Python internal classes instead.
This patch only changes this behavior for the base script class but not for custom code in other
test scripts and modules, which would make it too complex. A follow-up bug will be filed instead.

MozReview-Commit-ID: L0eoITlqTdC

--HG--
extra : rebase_source : 5c9f04c29eddea09f2bbac18d9fc491671b1ccdf
2016-01-18 19:50:26 +01:00
Mike Conley bcd208c716 Bug 1228120 - Add tests to ensure SessionStore saves and restores windows and tabs properly after a restart. r=whimboo
Now that the Firefox UI tests are in the tree, this is possible and less
of a pain. Unfortunately, due to bug 1228446, this test is disabled for
e10s.

MozReview-Commit-ID: A16EVJ8eYyB

--HG--
extra : rebase_source : 3d7b1401a4bafcd7c4bcb0804fe8c98a804a2611
2016-07-29 09:29:34 -04:00
Andrew Halberstadt e920337e70 Bug 1288827 - Allow running mochitest from test-package without specifying --appname, r=armenzg
Because it is now possible for options.app to get set after 'parse_args' time, we need to make sure
the argument validation happens later. To accomplish this we pass in the parser instance to
'run_test_harness' and do parser.validate there. This unfortunately requires some minor uses of
global to accomplish easily due to how mach handles parsers.

MozReview-Commit-ID: s3Js1aZlSE

--HG--
extra : rebase_source : 3a94debda3dbed839074094707cadf32e7f7337c
2016-07-20 11:13:30 -04:00
Carsten "Tomcat" Book 227fd9521f Merge mozilla-central to autoland 2016-07-29 12:36:04 +02:00
Carsten "Tomcat" Book 8c47612fee merge mozilla-inbound to mozilla-central a=merge 2016-07-29 11:56:43 +02:00
Mark Hammond 31b43265c9 Bug 1275139 (part 1) - kill ignoreRepositoryChecking pref, replacing it with AddonRepository.cache. r=rhelmer
MozReview-Commit-ID: 4tbctcuoFeB
2016-07-29 10:44:05 +10:00
Carsten "Tomcat" Book 1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Carsten "Tomcat" Book 37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Xidorn Quan 8f521e582e Bug 991899 followup - Mark some pointerlock wpt as expected-pass on CLOSED TREE
MozReview-Commit-ID: KmR0gKs5eqN

--HG--
extra : source : f18d7da0b93036139e58e82ca3632a752102d0df
2016-07-28 21:36:05 +10:00
Jeremy Chen c9f52459aa Bug 1289007 - part1: parse and compute initial-letter property. r=heycam
MozReview-Commit-ID: E0eXolZ93oJ

--HG--
extra : rebase_source : 3fc74b84a488bb495f926b420aa6c06a987e09b2
2016-07-28 15:23:36 +08:00
Michael Comella 39ed656f3a Bug 1261494 - Reduce telemetry init delay to 1 second for integration testing. r=gbrown
My one concern is that this change could increase the amount of processing
time spent on telemetry initialization, causing the runtime of the robocop
test suite to increase. Checking my try push [1] against other try pushes,
it doesn't seem to have made a significant difference, but the change
in runtime between pushes can be large (e.g. > 5min) so it's hard to
tell.

[1]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2017843315fe&selectedJob=24641374

MozReview-Commit-ID: LeeGgNEp74h

--HG--
extra : rebase_source : 21b01fa8a5357de19046fc946b4098cfd0f7b823
extra : amend_source : 457f229e6b92b8834ddd6dfef5837753f47d570b
2016-07-27 08:05:12 -07:00
Xidorn Quan 5f25699b9f Bug 1287706 part 8 - Add web-platform-test for once option. r=smaug
MozReview-Commit-ID: t5f34n2taN

--HG--
extra : source : e69c73673e363e383b5fbdac0b909a34bf2856f9
2016-07-28 12:00:06 +10:00
Ben Kelly 8d5f9def25 Bug 1170543 P5 Import actiation.https.html wpt test from blink. r=asuth 2016-07-27 20:36:11 -04:00
Edgar Chen 3081981f60 Bug 1288306 - Disable custom elements web-platform v0 tests; r=wchen
MozReview-Commit-ID: 2mXM4l3cwLX

--HG--
extra : rebase_source : 20688d6ed33535bae4c3b44642867b2cf5c2f637
2016-07-22 10:34:39 +08:00
Ben Kelly 61202c710a Bug 1228277 P3 Remove skipWaiting() work around from the wpt test. r=asuth 2016-07-27 19:09:15 -04:00
Wes Kocher c7656c1da3 Backed out changeset c0bf6e0b8f1d (bug 1173199) for build bustage CLOSED TREE 2016-07-28 11:48:20 -07:00
Daisuke Akatsuka 4f153efd27 Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles
MozReview-Commit-ID: Dhrco8madlz

--HG--
extra : rebase_source : b26d9d25c2dd54f7ec0e12dd51127229cb085346
2016-07-27 10:13:17 +09:00
Daisuke Akatsuka 92b6c55c8d Bug 1264865 - Part 1: steps(3, end) should serialize using the shorter steps(3) syntax. r=birtles
MozReview-Commit-ID: HBukw3qjyrr

--HG--
extra : rebase_source : 53bdcefc66cffa92c438bb3be794e6537533461c
2016-07-27 10:12:43 +09:00
Henrik Skupin 421110bc7e Bug 1257476 - Marionette has to force close the process if it doesn't shut down itself. r=automatedtester
Under some circumstances Marionette currently fails to stop the application in case of socket issues. To
ensure that the application always gets closed - in the case when Marionette started it - the check for crashes
decorator gets updated to do a full process check.

MozReview-Commit-ID: DAiF2ZjAjT5

--HG--
extra : rebase_source : 9e959b4187ef959ee9b7262e8438a5aa84396723
2016-07-22 14:36:47 +02:00
Henrik Skupin 331c421dc0 Bug 1257476 - Ensure Marionette error classes use correct inheritance. r=ato,automatedtester
Custom Marionette error classes should not re-invent the message property which already exists in the
Exception class. This is fixed by calling constructor appropriately.

MozReview-Commit-ID: 1oWjg7MnrSe

--HG--
extra : rebase_source : 81a63c496f6bfbfda2565583edd18cbe1944fd99
2016-07-22 14:35:55 +02:00
Carsten "Tomcat" Book 8b58b75b4e merge mozilla-inbound to mozilla-central a=merge 2016-07-26 16:59:46 +02:00
Carsten "Tomcat" Book 25aa8617fc Backed out changeset 1825b8fa636a (bug 1246540) for bustage
--HG--
extra : rebase_source : 45defacae713b2c2f75813fea6f2f289ebc481cd
2016-07-26 12:52:15 +02:00
Carsten "Tomcat" Book 5b47cb2e80 Merge mozilla-central to autoland 2016-07-26 12:00:39 +02:00
Carsten "Tomcat" Book 574d0d452b merge mozilla-inbound to mozilla-central a=merge 2016-07-26 11:55:54 +02:00
Carsten "Tomcat" Book e991813edd merge autoland to mozilla-central a=merge 2016-07-26 11:54:02 +02:00
Iris Hsiao ff58a67065 Backed out changeset 92ba454cff2a (bug 1284803) for build bustage 2016-07-26 10:20:20 +08:00
Sotaro Ikeda 2248f5d559 Bug 1284803 part 12 - Update web-platform-tests webvtt ini r=jgraham 2016-07-25 18:23:55 -07:00
Henrik Skupin 54dc70b4e6 Bug 1284502 - Marionette harness should log exceptions from run() only once. r=maja_zf
Whenever an exception is raised while tests are executed, the log error message should only be
printed once. As best this should happen in `cli()`, so that subclasses can better set their
own behavior, and we safe us from re-raising the exception.

MozReview-Commit-ID: 5NLBnJAjUMQ

--HG--
extra : rebase_source : 17e1574c8671037912d85c0575db493c96f972b2
2016-07-25 18:23:26 +02:00
Rail Aliiev cb74fc1327 Bug 1289153 - merge scripts should pass --new-branch for m-r push r=jlund a=release DONTBUILD
MozReview-Commit-ID: Ftb6NTMM5Wz
2016-07-25 11:24:53 -04:00
Henrik Skupin 4b2c936794 Bug 1287723 - Fix test_screenshot.py for handling secondary chrome windows. r=automatedtester
MozReview-Commit-ID: G11xJFsGdRy

--HG--
extra : rebase_source : 5ebc3ca7dfb035e24459b25727515b646ad242ba
2016-07-25 12:17:06 +02:00
Jordan Lund ea27d6dd79 Bug 1288882 - use_vcs_unique_share defined in mozharness migration configs is ignored, r=Callek a=release DONTBUILD
note: this requires a clean work dir unfortunately. so you have to blow away
the fake build/hg-share and any repos in build/

MozReview-Commit-ID: 3TfNLdga9Dt

--HG--
extra : rebase_source : 25972c5b53eb1bddd490c7aea6a085b713ff7d03
extra : amend_source : 5841fb61e94ab9c4c0f43b344f1a68d589a5c356
2016-07-22 18:24:50 -07:00
Jordan Lund b301ca80e6 Bug 1278261 - drop api-9 mozilla-release release support, remove all api-9 and api-11 references, r=Callek
this can be uplifted through 48 mozilla-release

MozReview-Commit-ID: KncTJ8hAgfO

--HG--
extra : rebase_source : 18dc6c107a138317f95b433e33bf3081166c4478
2016-07-23 22:44:47 -07:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book 42933ba381 merge fx-team to mozilla-central a=merge
--HG--
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
2016-07-25 15:49:05 +02:00
Carsten "Tomcat" Book f3cbadf7c4 merge autoland to mozilla-central a=merge 2016-07-25 15:46:37 +02:00
Carsten "Tomcat" Book c1c3140a2f Backed out changeset d93b95e192e9 (bug 1287723) on request from whimboo 2016-07-25 11:42:10 +02:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Carsten "Tomcat" Book 8c4c7324b8 Backed out changeset 66c7af8b2654 (bug 1272629) for failing valgrind tests 2016-07-22 08:35:19 +02:00
Kate McKinley 01cbd73591 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

(r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally)
2016-07-25 12:37:00 +02:00
Andreas Tolfsen c6cfc1c7ad Bug 1287751 - Remove logging in GeckoDriver#startBrowser; r=automatedtester
MozReview-Commit-ID: K7ZV3BajNS8

--HG--
extra : rebase_source : 3076a5b4299453f450a06bed7f4f260c768515cc
2016-07-19 13:25:56 +01:00
Gregory Szorc 9275cbf8af Bug 1247168 - Convert lint image and tasks to use robustcheckout; r=dustin
The robustcheckout Mercurial extension does a clone+checkout optimally.
Read the bug for more on it.

robustcheckout is already used by mozharness automation. It has resulted
in a significant reduction in I/O usage and utilization in automation.

This commit replaces tc-vcs with the robustcheckout equivalent.

We replace the existing tc-vcs scope and cache with a new one.
Because Dustin and I are paranoid, we maintain separate caches per
SCM level - even though we could arguably share the same cache. Defense
in depth.

Robustcheckout (when used with --sharebase) pools storage for related
repos automatically. i.e. changesets from inbound and central will
be in the same store. This means you likely only have one copy of
each changeset per cache. This can result in significant space savings.
And, since there are fewer copies floating around, hg.mozilla.org
and various network appliances are working less too!

Since tc-vcs is no longer used, we stop it from being installed.

While we're here, we also change the images to execute as the
"worker" user. This happens automatically as a result of using
the "checkout-and-run" script.

MozReview-Commit-ID: EDeebuP7TkT

--HG--
extra : rebase_source : 2bec5dd9d6fe5565831bb35f195859aa12dd0bf2
extra : intermediate-source : 06481d97a485f6566554b087bc3880d76361e8ec
extra : source : d368700c93ef085325a081219d7aeb8512bc54a1
extra : histedit_source : c07505273fc8f10acf8e8d3ee01e327afd0aa63d
2016-07-19 13:30:03 -07:00
Gregory Szorc 622ed9c93c Bug 1247168 - Add a script to perform a checkout then run a command; r=dustin
The script will be used as the main command in task YAML files.
It changes ownership of caches. Then switches to the "worker" user.
Then performs a Gecko checkout. Then executes whatever command was
requested via its arguments.

The script has been added to the shared recipes directory so it can
eventually be used by other Docker images. This means if we e.g. want
to add Git support, we only need to update one file in the tree.

MozReview-Commit-ID: Fuy1VrdSGYn

--HG--
extra : rebase_source : 407b2c584d56c95e9d9b23781539f2979a775893
extra : histedit_source : bd8b7fd541ed27da31082730ad3054b68b06544b
2016-07-21 14:57:37 -07:00
Gregory Szorc 5cab45c387 Bug 1247168 - Install Mercurial 3.8.4 in lint image; r=dustin
Like we do for the decision image, we install Mercurial 3.8.4 from deb
files hosted on tooltool. This provides more control and determinism
than installing via apt.

As part of this change, Mercurial is upgraded from whatever was hosted
in apt to 3.8.4.

Since the deb packages don't provide a global hgrc, we create one
ourselves. This is effectively copied from the decision image.

Most of the work is being done in a new, standalone
install-mercurial.sh script. This script is part of the
newly-established testing/docker/recipes directory. The intent of this
directory is to hold common files referenced by multiple images. Our
custom Dockerfile syntax to include files from outside the directory
with the Dockerfile is used to add these files to the build context.

MozReview-Commit-ID: K7gVm2Geihj

--HG--
extra : rebase_source : 6d1089ac34e43d399c7cf608d09eaaf405df00f7
extra : histedit_source : 656a4cea33ef913102b03238475461884c2749a0
2016-07-19 14:43:25 -07:00
Gregory Szorc d1a2f7ba43 Bug 1247168 - Use vendored tooltool in lint image; r=dustin
Using our special Dockerfile syntax to include arbitrary files, we
include the previously vendored tooltool.py file in the image build
context and add it directly from there. No github.com communication
needed.

MozReview-Commit-ID: J42iXj87LEu

--HG--
extra : rebase_source : 90845e6793629b56998bf2fae2985913ee49c4eb
extra : histedit_source : 1fd5e64e40ae700efcf78b54e2a865b0594e0955
2016-07-22 13:04:56 -07:00
Gregory Szorc 193231d4c9 Bug 1247168 - Reformat requirements.txt; r=dustin
Visual aligning makes diffs harder to read. Use line continuations
to avoid this. Also make the package list alphabetical.

MozReview-Commit-ID: KqT4aqYyZfH

--HG--
extra : rebase_source : 08d2e4f61860bf6183ec3afaf598be158cd182be
extra : histedit_source : ff450a22617425214e90d42a6f1b530da8682847
2016-07-19 13:54:20 -07:00
Gregory Szorc 6aa899bbf4 Bug 1247168 - Tag and use version 0.1.2 of the decision image; r=dustin
Changes to the decision Docker image have been compelted. We're ready to
use the new image.

We tag the image, update version references, change the task caches
so the new Mercurial pooled storage from the robustcheckout extension is
used, and convert the decision tasks to run as the "worker" user.

MozReview-Commit-ID: 61v9Ivy59zG

--HG--
extra : rebase_source : 640318a87660950c5e0680867a1bfdd68e35f127
extra : histedit_source : ec53fc576c00e5f2053167b37544ac7afccaecb5
2016-07-21 11:32:07 -07:00
Gregory Szorc a43ac5b4de Bug 1247168 - Introduce scripts for running action and decision tasks; r=dustin
When we switch to use robustcheckout for version control foo, we'll
also be taking the opportunity to have the decision and action tasks
execute as the "worker" user.

Since caches are mounted and owned by root and since tasks initially
run as root, this makes defining the container command in YAML a bit
difficult because we have to do some work as root then switch users
and continue executing. Rather than shoehorning all that complicated
logic into YAML, we introduce bash scripts that do it. These will
be plugged into the task YAML when we formally switch the tasks
to use the new Docker image.

We provide one script for running Gecko decision tasks. We provide
another for running action tasks. These are the two consumers of
the decision image we care about.

We also sneak in a change to add the executable bit to checkout-gecko.

MozReview-Commit-ID: CXlyHZJSHcP

--HG--
extra : rebase_source : 80621d4833a9d745eaff7da4641dfd4ace8ae1db
extra : histedit_source : e6ce7de5d14c8781d8dd94a8eff76c3227cd18b5
2016-07-21 11:44:55 -07:00