Commit Graph

13627 Commits

Author SHA1 Message Date
Henrik Skupin
d26e078627 Bug 1313312 - Refactor puppeteer module for UI base lib classes. r=maja_zf
MozReview-Commit-ID: Kd1VHzCnT2X

--HG--
rename : testing/puppeteer/firefox/firefox_puppeteer/ui_base_lib.py => testing/puppeteer/firefox/firefox_puppeteer/ui/base.py
extra : rebase_source : a3a450c5425c3cfc1d6e2ef39a1dc0ab07b58f77
2016-11-04 16:00:20 +01:00
Henrik Skupin
339324700f Bug 1299216 - Wait for process exit first before checking for crashes. r=automatedtester
MozReview-Commit-ID: 8U48dNHoFmi

--HG--
extra : rebase_source : 263ef1c801f6020fabacb36fdfbbed0690396ae1
2016-11-01 10:48:25 +01:00
Henrik Skupin
d4392e6af8 Bug 1299216 - Remove always parameter from do_process_check decorator. r=automatedtester
Removing the always parameter which is kinda useless here. Originally it was added to call
check_for_crash() in case of a MarionetteException happening. But such an exception is never
thrown in case of crashes. It will always be an IOError. So lets get it removed and ensure
we call check_for_crashes() in all the cases, and can feed the crash status into the call to
handle_socket_failure().

MozReview-Commit-ID: JeK3X7voocD

--HG--
extra : rebase_source : 0b6ecf1e59c0e4e830b3bc3df57dda0af842a176
2016-09-21 12:57:50 +02:00
Henrik Skupin
590cdec86a Bug 1299216 - Enhance handling of crashes in Marionette. r=automatedtester
There are currently various issues in Marionette which cause extra and unnecessary logging output
in case of chrome and content crashes. Especially the latter ones are not easy to discover. This
patch makes the following improvements:

* Correctly mark process crashes as IOError test failure. Until now we have only used the "Process
  has been closed" message, which does not correctly cover it, especially not if the process shutdown without
  a crash.

* Allow changing the socket_timeout for the socket client. This was mainly necessary to allow unit tests
  to run faster.

* Collect the number of crashes so it's known even later if the process has been crashed during the
  current session. It also fixes the case when check_for_crash() gets called twice, and for the
  second time False is returned which will trigger an invalid code path.

* Reduce code duplication when destroying a session.

* Adding a unit test to verify the correct behavior for chrome and content crashes.

MozReview-Commit-ID: KdUQuJqFRli

--HG--
extra : rebase_source : a2a0b0269ff84679acc6698c72ec8dc45b1dfe52
2016-11-02 13:49:32 +01:00
Henrik Skupin
0baa0a9c53 Bug 1299216 - Make use of MOZ_CRASHREPORTER_SHUTDOWN environment variable in Marionette. r=automatedtester
MozReview-Commit-ID: 88NhfqMGPXF

--HG--
extra : rebase_source : ee020f00374ecc22b42cdca04290d293da284976
2016-10-26 12:43:42 +02:00
Henrik Skupin
fb795f0be0 Bug 1299216 - Don't care about socket not connected for sock.shutdown() call. r=automatedtester
MozReview-Commit-ID: 9DXLY66KqTg

--HG--
extra : rebase_source : 79e5151746087ea08a484aceee2b69f33389cb25
2016-09-21 16:04:49 +02:00
Henrik Skupin
89b4515176 Bug 1299216 - Bump mozrunner version to 6.13. r=ahal
MozReview-Commit-ID: 2hCytAyqfsp

--HG--
extra : rebase_source : 8b9b647fcf305aa47521073947ef446ba4cb7b5a
2016-09-28 23:29:40 +02:00
Henrik Skupin
c2cf729145 Bug 1299216 - [mozrunner] check_for_crashes() has to return the crash count since its last invocation. r=ahal
Adapt check_for_crashes() for latest mozcrash changes, which returns the number of crashes for both log_crashes()
and check_for_crashes() now. Also the runner should accumulate the number of crashes so it will be known at any
time how many times the process has been crashed.

MozReview-Commit-ID: Dl9FlH1TalH

--HG--
extra : rebase_source : b27895482fcad099cf4fcfc01a65fe0fbc5243e3
2016-09-21 12:57:50 +02:00
Henrik Skupin
659bb474d2 Bug 1299216 - [mozcrash] Count crash reports in check_for_crashes and bump version to 1.0. r=ahal
Currently check_for_crashes() behaves differently compared to log_crashes(), whereby it only returns a
boolean if a crash has been detected but not the amount of crash reports found. We should make sure that
both methods behave the same. Given that this change might affect consumers, we should have a major version
bump for the new release.

MozReview-Commit-ID: LiPaozJL5NF

--HG--
extra : rebase_source : d4392207399a1383a20e037bcf73f44bf3c36c7d
2016-09-28 23:26:19 +02:00
Boris Chiou
c98bf9878d Bug 1273784 - Part 4: Test. r=hiro
MozReview-Commit-ID: 1hFdxbHAwmB

--HG--
extra : rebase_source : a404b2373e57e11637b3ac52efa92ae70390be82
2016-11-02 11:58:43 +08:00
Phil Ringnalda
9a35a9e7b6 Merge m-c to autoland 2016-11-07 20:41:56 -08:00
Phil Ringnalda
2c7a3afd66 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Phil Ringnalda
0b5f008629 Merge autoland to m-c, a=merge
MozReview-Commit-ID: CjyRb7vVnBV
2016-11-07 20:37:27 -08:00
Wes Kocher
147936ec43 Merge inbound to central, a=merge 2016-11-07 14:00:52 -08:00
Wes Kocher
b5effe9413 Backed out changeset d2ad6e385240 (bug 1261197) for winxp opt/pgo xpcshell failures a=backout 2016-11-07 12:12:01 -08:00
Yura Zenevich
1d865a477d Bug 1312816 - Preemptively start a11y in chrome when raisesAccessibilityExceptions marionette capability is set. r=ato
MozReview-Commit-ID: KshEWHvz8SD

--HG--
extra : rebase_source : 88e7d86bbe525ea635f22bd03b6b501ad3e6e9b0
2016-11-07 12:15:08 -05:00
Sebastian Hengst
148734318a Backed out changeset d89783fd81e5 (bug 1315657) 2016-11-07 17:53:10 +01:00
Nicholas Nethercote
e13c48fba9 Bug 1315170 - gtestify dom/security/test/TestCSPParser.cpp. r=francois.
--HG--
rename : dom/security/test/TestCSPParser.cpp => dom/security/test/gtest/TestCSPParser.cpp
extra : rebase_source : 52b30a4c063ce2d330108fa4b8382ff8e4adf1b0
2016-11-04 17:02:26 +11:00
Nicholas Nethercote
5ab69ee440 Bug 1314870 - gtestify TestWebGLElementArrayCache.cpp. r=jgilbert.
--HG--
rename : dom/canvas/compiledtest/TestWebGLElementArrayCache.cpp => dom/canvas/gtest/TestWebGLElementArrayCache.cpp
extra : rebase_source : ae30e9bcdfe2b9cdd93ce81dcdf74e887208cffc
2016-11-04 14:38:59 +11:00
Valentin Gosu
627f600a3e Bug 1314859 - SetHost should also call NormalizeIPv4 r=mcmanus
MozReview-Commit-ID: 79sQrld6TBG
2016-11-06 23:26:04 +01:00
Nicholas Nethercote
3dcb97c78c Bug 1314827 (attempt 2) - gtestify dom/base/test/*.cpp. r=baku.
--HG--
rename : dom/base/test/TestNativeXMLHttpRequest.cpp => dom/base/test/gtest/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/TestPlainTextSerializer.cpp => dom/base/test/gtest/TestPlainTextSerializer.cpp
2016-11-04 14:36:23 +11:00
Dan Minor
8361372b5b Bug 1282897 - Update autophone webrtc manifests; r=bc
MozReview-Commit-ID: Cud8EbbGW8f

--HG--
extra : rebase_source : 1e263c5c941b07568ed270302a3f08381af7be46
2016-10-31 10:31:38 -04:00
Phil Ringnalda
a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Phil Ringnalda
06521a66a4 Merge m-c to m-i
MozReview-Commit-ID: 7W5SwSOspcB
2016-11-04 21:04:44 -07:00
Phil Ringnalda
6710a46887 Merge autoland to m-c, a=merge
MozReview-Commit-ID: ERwR70i3ZXb
2016-11-04 20:42:16 -07:00
Phil Ringnalda
730d984885 bug 1313099 followup, add missing comma 2016-11-04 20:32:15 -07:00
Wes Kocher
db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Wes Kocher
8fa7074c50 Backed out 2 changesets (bug 1302656) for WinXP wpt failures a=backout
Backed out changeset e8ce7f515092 (bug 1302656)
Backed out changeset 416dbe42e4a3 (bug 1302656)
2016-11-04 14:51:27 -07:00
Jared Wein
624f411ee0 Bug 1314474 - Enable no-shadow rule for eslint for browser/ mochitests. r=mossop
MozReview-Commit-ID: 3EQOeDSnmVz

--HG--
extra : rebase_source : 44fa6cb7fbd383b1294344f545126515518a2018
2016-11-04 17:11:52 -04:00
Eric Rahm
c7e1364869 Bug 1313467 - Part 4: Convert TestAutoPtr to a gtest. r=froydnj
MozReview-Commit-ID: EOKHAQyZ4fZ

--HG--
rename : xpcom/tests/TestAutoPtr.cpp => xpcom/tests/gtest/TestAutoPtr.cpp
2016-11-04 11:13:58 -07:00
Eric Rahm
491422bbde Bug 1313466 - Remove XPCOM test ShowAlignments. r=froydnj
MozReview-Commit-ID: 9FpMhw2MsjH
2016-11-04 11:13:25 -07:00
Kim Moir
94452e0b90 Bug 1315287 - update docker-worker:image:taskclusterprivate/upload_symbols:0.0.3 r=dustin DONTBUILD 2016-11-04 13:50:47 -04:00
Gabor Krizsanits
a7a38b8a5f Bug 1301340 - part6: Disabled test should still run in non-e10s mode. r=me 2016-11-04 11:05:55 +01:00
Manish Goregaokar
5e09787aba Bug 1311199 - Don't assume stage_server config properties exist when creating the mach build environment; r=catlee
MozReview-Commit-ID: LtmvWpFBDje

--HG--
extra : rebase_source : a8615d06b7b854d417130619e8f5e77980dfff23
2016-11-04 10:16:41 -07:00
Wes Kocher
e7a40cea87 Backed out changeset 2a1b034ed3fb (bug 1314474) for xpcshell failures a=backout 2016-11-04 13:57:56 -07:00
Jared Wein
8eae3ca20e Bug 1314474 - Enable no-shadow rule for eslint for browser/ mochitests. r=mossop
MozReview-Commit-ID: 3QTChaVgCRP

--HG--
extra : rebase_source : a7bd3f5b133a5dcecedbdf39ef3b1ce75a550970
2016-11-03 18:29:08 -04:00
Chris AtLee
0f170a1f9b Bug 1315104 - Remove influxdb support from mozharness r=rail
MozReview-Commit-ID: 8n5EqFApzap

--HG--
extra : rebase_source : 3529ee9f71ecf5a1787e426e6b115fc8ca70ece1
2016-11-03 17:38:43 -04:00
Jean-Yves Avenard
6d16c87213 Bug 1302656: P2. Update expected wpt results. r=gerald
MozReview-Commit-ID: 4ebvj66fQng

--HG--
extra : rebase_source : dc413b8914f41ab3b222cee2c020083c4fb0b10f
2016-11-02 17:43:20 +11:00
Henrik Skupin
a40d1415ca Bug 1315235 - Remove remaining call to restore_pref() from update tests. r=jgraham
MozReview-Commit-ID: I3T43kOB2AQ

--HG--
extra : rebase_source : 2fa2e05ab696af1f47f4dea07bfaba40e19fdff7
2016-11-04 13:59:35 +01:00
Phil Ringnalda
c0dcc76ef6 Backed out 18 changesets (bug 1313469, bug 1313468, bug 1313474, bug 1313472, bug 1313473, bug 1313470, bug 1313471, bug 1313467, bug 1313466) for OS X gtest crashes
CLOSED TREE

Backed out changeset 5b5686e1bcd1 (bug 1313474)
Backed out changeset e8d20bdd13d4 (bug 1313473)
Backed out changeset 643bdd25166e (bug 1313473)
Backed out changeset 9a33c84ab30a (bug 1313472)
Backed out changeset 4d84926813e9 (bug 1313472)
Backed out changeset c85e7a7a5a99 (bug 1313471)
Backed out changeset 5d82bc9436ab (bug 1313471)
Backed out changeset 00f7b342bb29 (bug 1313470)
Backed out changeset f012923cfd8b (bug 1313470)
Backed out changeset e7d5b8135ae6 (bug 1313470)
Backed out changeset 82bf00ff6505 (bug 1313469)
Backed out changeset 5364fc8db9b0 (bug 1313469)
Backed out changeset 02959aa60196 (bug 1313468)
Backed out changeset 3c25a6ed5914 (bug 1313467)
Backed out changeset 0acc0a131101 (bug 1313467)
Backed out changeset 6fae1bbd3819 (bug 1313467)
Backed out changeset 107eb264a40d (bug 1313467)
Backed out changeset 9b60e295a885 (bug 1313466)

MozReview-Commit-ID: IKsAZxBYMfv

--HG--
rename : xpcom/tests/gtest/TestAutoPtr.cpp => xpcom/tests/TestAutoPtr.cpp
rename : xpcom/tests/gtest/TestAutoRef.cpp => xpcom/tests/TestAutoRef.cpp
rename : xpcom/tests/gtest/TestCOMArray.cpp => xpcom/tests/TestCOMArray.cpp
rename : xpcom/tests/gtest/TestCOMPtr.cpp => xpcom/tests/TestCOMPtr.cpp
rename : xpcom/tests/gtest/TestCOMPtrEq.cpp => xpcom/tests/TestCOMPtrEq.cpp
rename : xpcom/tests/gtest/TestFile.cpp => xpcom/tests/TestFile.cpp
rename : xpcom/tests/gtest/TestHashtables.cpp => xpcom/tests/TestHashtables.cpp
rename : xpcom/tests/gtest/TestID.cpp => xpcom/tests/TestID.cpp
2016-11-03 23:00:47 -07:00
Phil Ringnalda
44d4420081 Backed out changeset 14d7b6dbe0fb (bug 1314827) to be able to back out something else
MozReview-Commit-ID: 39mFOtrNixM

--HG--
rename : dom/base/test/gtest/TestNativeXMLHttpRequest.cpp => dom/base/test/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/gtest/TestPlainTextSerializer.cpp => dom/base/test/TestPlainTextSerializer.cpp
2016-11-03 22:59:49 -07:00
Nicholas Nethercote
bed5771bdb Bug 1314827 - gtestify dom/base/test/*.cpp. r=baku.
The commit removes TestGetURL.cpp which wasn't doing anything useful anyway
because it required an argument but wasn't being passed one, and so it was just
aborting immediately with a usage message.

--HG--
rename : dom/base/test/TestNativeXMLHttpRequest.cpp => dom/base/test/gtest/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/TestPlainTextSerializer.cpp => dom/base/test/gtest/TestPlainTextSerializer.cpp
extra : rebase_source : 224fd2f984eb456b7db56fbe7fc396aeec3a84c1
2016-11-04 14:36:23 +11:00
Phil Ringnalda
0a6e7a6139 Merge m-c to m-i
MozReview-Commit-ID: FPgY4by0sMY
2016-11-03 20:05:18 -07:00
Phil Ringnalda
0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Eric Rahm
6da13d0163 Bug 1313474 - Convert XPCOM test TestID to a gtest. r=froydnj
MozReview-Commit-ID: 7rLi2Y9lYEI

--HG--
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-03 17:56:02 -07:00
Gabor Krizsanits
566393518d Bug 1301340 - part5: Turning off some tests temporarily to enable e10s-multi. r=mrbkap 2016-11-03 19:28:15 +01:00
Gabor Krizsanits
fccad1c205 Bug 1301340 - part4: Force single content process for failing tests. r=mrbkap 2016-11-03 19:28:09 +01:00
Eric Rahm
2f5b6bf1e3 Bug 1313473 - Part 2: Convert XPCOM test TestHashtables to a gtest. r=froydnj
MozReview-Commit-ID: DTOeKiesYBP

--HG--
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
2016-10-31 16:58:42 -07:00
Eric Rahm
09cf3af3b2 Bug 1313472 - Part 1: Convert XPCOM test TestFile to a gtest. r=froydnj
This is a very straightforward conversion of TestFile to a gtest. It sticks
with using one main test function to avoid dealing with possible dependency
issues between subtests.

MozReview-Commit-ID: IoIeGgisMGE

--HG--
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
2016-11-03 17:55:30 -07:00
Eric Rahm
9c2e2af38c Bug 1313471 - Part 2: Convert TestCOMPtrEq to a gtest. r=froydnj
MozReview-Commit-ID: GifbCK1zzxh

--HG--
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
2016-11-03 17:55:28 -07:00