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

1127 Коммитов

Автор SHA1 Сообщение Дата
Vedant Chakravadhanula 0157a0f5c4 Bug 1431024 - Modified error criterion check in prefs.py. r=wlach
MozReview-Commit-ID: 6nEXiIQ7awD

--HG--
extra : rebase_source : bfd87ba6ab455617c80dcadb323e00c2da083a49
2018-01-26 01:33:39 +05:30
Geoff Brown 3e48fc1177 Bug 1433308 - Follow-up to fix lint error; r=me,a=test-only 2018-01-25 17:19:44 -07:00
Geoff Brown a993a26609 Bug 1433308 - Update 'mach android-emulator' configurations; r=jmaher
Various updates to emulator command lines. Use -skip-adb-auth. Use -verbose
instead of trying to specify debug categories. Use more -memory and -cores
where applicable. Use -ranchu and -selinux permissive where applicable.
2018-01-25 17:01:23 -07:00
Andreas Tolfsen 3191505dda Bug 1429511 - Update mozrunner crate repo URL. r=jgraham
MozReview-Commit-ID: 8NCsKp4q2JQ

--HG--
extra : rebase_source : 1a5974df3f7305c475da6e098ffb3e8d845f8949
2018-01-12 16:12:30 +00:00
Andreas Tolfsen 20a835e1f9 Bug 1429511 - Move Rust port of mozrunner to central. r=ahal
This moves the Rust crate mozrunner into central from GitHub.
The old repository will be graveyarded:

	https://github.com/jgraham/rust_mozrunner

The git history is not considered important, hence this does not
overlay that onto central like we did for testing/geckodriver and
testing/webdriver.

MozReview-Commit-ID: J4ZYdow2Lkw

--HG--
extra : rebase_source : 1b499b708105a89a5fa3ae6ecac71c4946e20755
2018-01-12 15:31:20 +00:00
Dustin J. Mitchell 26d48b3202 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Andrew Halberstadt 3087b17a69 Bug 1413928 - [tryselect] Implement paths for |mach try fuzzy| r=maja_zf
This enables the syntax like:
./mach try fuzzy dom/indexedDB

This will open up the fzf interface like normal, except only tasks
that have tests under dom/indexedDB will be selectable (and there
will only be one chunk per configuration).

This can be combined with -q/--query like normal:
./mach try fuzzy dom/indexedDB -q "!pgo !cov !asan"

When the tasks get scheduled, only the tests under the specified
path(s) will run within the harness.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 8a89f255591e6dfa31b1420196c4698f2015d10c
2017-11-15 16:36:07 -05:00
Andreas Tolfsen a9817d923d Bug 1430152 - Move Rust port of mozversion to central. r=ahal
This moves the Rust crate mozversion into central from GitHub.
The old repository will be graveyarded:

	https://github.com/jgraham/mozversion

The git history is not considered important, hence this does not
overlay that onto central like we did for testing/geckodriver and
testing/webdriver.

MozReview-Commit-ID: HeBggGmGsg6

--HG--
extra : rebase_source : 14f6943394bd7b6e8daa7a35b29bc209b7ac9ad4
2018-01-12 16:08:07 +00:00
Bob Clary 4df6d24c64 Bug 1429375 - [mozbase] Do not use deprecated sys.exc_value in mozhttpd, r=gbrown 2018-01-16 10:44:14 -08:00
Geoff Brown b195361af5 Bug 1430176 - Do not try to force-stop native android processes like xpcshell; r=jmaher 2018-01-12 14:08:31 -07:00
Sylvestre Ledru 4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Geoff Brown 28a529bf00 Bug 1428461 - Decouple mozinfo from the six module; r=wlach 2018-01-08 07:41:08 -07:00
Sebastian Hengst d52c7b3231 merge inbound to central. r=merge a=merge 2018-01-06 00:27:10 +02:00
Henrik Skupin 7031a16c77 Bug 1428289 - Release mozversion 1.5. r=jmaher
MozReview-Commit-ID: 61GLjE0Qc6o

--HG--
extra : rebase_source : d147c2785008266118a23dcdb306306e0711a8c5
2018-01-05 10:46:01 +01:00
Andrew Halberstadt 5a94205636 Bug 1428049 - [mozlog] Add mozterm as a mozlog dependency and version bump to 3.7, r=igoldan
MozReview-Commit-ID: 8HfH3Jay3KR

--HG--
extra : rebase_source : c2f27fecb13e850f68eb95d350324aaf19932e11
2018-01-04 10:00:11 -05:00
Geoff Brown 588ffdfd39 Bug 1414795 - Throw DMError for more cases when no devices are found; r=jmaher 2018-01-05 09:39:30 -07:00
Vedant Chakravadhanula 33ad8d8f1e Bug 1427568 - Adding python 3 support for mozversion. r=wlach
MozReview-Commit-ID: HyRVFvMBNek

--HG--
extra : rebase_source : a8444f8946d576454900fc3223894f2a4f47a2b9
2018-01-02 09:17:28 +05:30
Cosmin Sabou 81a8319b46 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
2018-01-03 23:59:59 +02:00
James Graham 918e6b1ec1 Bug 1427831 - Update mozlog version number for release, r=ahal
MozReview-Commit-ID: 2mL3HzpjTTj
2018-01-03 19:15:34 +00:00
Geoff Brown 23fe001526 Bug 1416977 - Ensure handler removed before file closed in test_structured.py; r=ahal 2018-01-03 09:29:32 -07:00
Vedant Chakravadhanula 429b51a6c6 Bug 1388019 - Adding Python 3 support for mozlog. r=wlach
MozReview-Commit-ID: 2xGjeLQp9wS

--HG--
extra : rebase_source : 61a55e68038a37e72cacedccd240dc1732a523eb
2017-12-27 12:55:27 +05:30
Vedant Chakravadhanula 54de7fd3de Bug 1427062 - Adding Python 3 support for mozinstall. r=wlach
MozReview-Commit-ID: I3hiQdN1u79

--HG--
extra : rebase_source : 8b406507822518c43e236b56bd24b48ce4da5f7f
2017-12-28 10:47:53 +05:30
Vedant Chakravadhanula 8abb52257b Bug 1426330 - Add python 3 support for mozinfo. r=wlach
MozReview-Commit-ID: CRoF4mk9ASA

--HG--
extra : rebase_source : 1b77e80c473dbbc79cd987b2a01f84d08c539135
2017-12-27 12:51:10 +05:30
Andreas Tolfsen b5acf25317 Bug 1425317 - Hook geckodriver up to mach's test command. r=ahal
This removes the subcommands for "./mach geckodriver", reverting
it back to have the meaning of running the geckodriver binary.

The build- and test commands are now integrated with mach, which
means you can run "./mach build testing/geckodriver" and "./mach
test testing/geckodriver" to run tests.  This is backed by a new
top-level "./mach geckodriver-test" command, which we will not be
announcing.

MozReview-Commit-ID: CiQsfNqrvIp

--HG--
extra : rebase_source : 6c492b7e1128e4858e42ae4bb35ab4b29564dbeb
2017-12-15 17:27:52 -06:00
Andrew Halberstadt 796b80b9f6 Bug 1421799 - [mozlog] Improve the 'mach' formatter r=gbrown
This makes several changes to make the 'mach' format cleaner and easier to
read. Some of the changes include:

* No longer print the 'action' no matter what. Printing the action for things
  like 'log' or 'process_output' was redundant and caused verbosity. Now this
  is done on a case by case basis (things like TEST-START/TEST-END will still
  have their actions printed).
* Color coded the process id for 'process_output' actions. This is a dim cyan
  to avoid conflicts with other actions.
* No longer quoting 'process_output' messages
* No longer printing thread information. In 99% of the case, this was just
  dumping 'MainThread' over and over again. Perhaps printing this could be an
  option on the formatter.
* Muted timestamps to help the important parts stand out better
* Colorized suite summary headings
* Unexpected statuses in _format_expected() are always red (never yellow).
  This is to help make it stand out from all the other yellow text that gets
  printed.
* Internal cleanup/refactoring

MozReview-Commit-ID: LAuYfqYkUPe

--HG--
extra : rebase_source : 6cab1bc3e38838f200f90acc2fff8dcad3d394f3
2017-11-30 09:31:36 -05:00
William Lachance 7f3a4f976f Bug 1427837 - Bump mozinstall to 1.15 r=ahal
MozReview-Commit-ID: LkcqILfkVwb

--HG--
extra : rebase_source : 29acc17c001c317eb851cfb09af1e451063ceda2
2018-01-03 14:34:07 -05:00
Sebastian Hengst e6dbbae0aa Backed out 5 changesets (bug 1421799) for failing firefox ui functional tests. r=backout on a CLOSED TREE
Backed out changeset f9f32474fdaf (bug 1421799)
Backed out changeset 18b4fa241936 (bug 1421799)
Backed out changeset 88dca5c8cfac (bug 1421799)
Backed out changeset 8c1f1ab754a5 (bug 1421799)
Backed out changeset e028f677bc80 (bug 1421799)
2018-01-03 20:21:28 +02:00
Andrew Halberstadt 90a9dd51a3 Bug 1421799 - [mozlog] Improve the 'mach' formatter r=gbrown
This makes several changes to make the 'mach' format cleaner and easier to
read. Some of the changes include:

* No longer print the 'action' no matter what. Printing the action for things
  like 'log' or 'process_output' was redundant and caused verbosity. Now this
  is done on a case by case basis (things like TEST-START/TEST-END will still
  have their actions printed).
* Color coded the process id for 'process_output' actions. This is a dim cyan
  to avoid conflicts with other actions.
* No longer quoting 'process_output' messages
* No longer printing thread information. In 99% of the case, this was just
  dumping 'MainThread' over and over again. Perhaps printing this could be an
  option on the formatter.
* Muted timestamps to help the important parts stand out better
* Colorized suite summary headings
* Unexpected statuses in _format_expected() are always red (never yellow).
  This is to help make it stand out from all the other yellow text that gets
  printed.
* Internal cleanup/refactoring

MozReview-Commit-ID: LAuYfqYkUPe

--HG--
extra : rebase_source : 41aa8651fc8d182bfcbd57c1d97b1bee437d478c
2017-11-30 09:31:36 -05:00
Vedant Chakravadhanula 4a73233853 Bug 1425399 - Added python 3 support to mozprofile. r=wlach
MozReview-Commit-ID: 9iAFA3JYagG

--HG--
extra : rebase_source : 151903d9c0920743c7564118106a85d7f97ff270
2017-12-22 12:11:06 +05:30
Vedant Chakravadhanula 9a43553d12 Bug 1388018 - [mozfile] Add support for python 3. r=wlach
MozReview-Commit-ID: 3VANqZqAVx1

--HG--
extra : rebase_source : 07ebb7eac199558941f5c332d870b22411b995d3
2017-12-18 22:21:27 +05:30
Geoff Brown 6aa123de17 Bug 1425163 - Use cat /proc/meminfo rather than trying to pull it from device; r=bc 2017-12-14 09:46:04 -06:00
Andrew Halberstadt 4d2a08b4ad Bug 1209463 - [mozlog] Print an overall summary from the tbplformatter, r=jgraham
When 'summary_on_shutdown' is True (which is the case for |mach test| and
|mach mochitest|, the tbplformatter will now print an overall summary at
the end of the log run.

MozReview-Commit-ID: 9ieqJRcON8e

--HG--
extra : rebase_source : a27f6230c4d2daaa547e6fede24ba0c9ef55bfc0
2017-11-30 17:16:53 -05:00
Andrew Halberstadt bc48fbb9ae Bug 1209463 - [mozlog] Add a 'summary_on_shutdown' attribute to MachFormatter, r=jgraham
When 'summary_on_shutdown' is True (which is the case for |mach test| and |mach
mochitest|), BaseSummaryFormatters will save the summary information until the
'shutdown' action is received at the end of the logger's lifetime.

Summary information will no longer be dumped on 'suite_end'.

MozReview-Commit-ID: HKtVr5PxfOy

--HG--
extra : rebase_source : f350f09111deb510b27a4e55797243dda3160869
2017-11-29 12:02:19 -05:00
Andrew Halberstadt 7f8e905fdb Bug 1209463 - [mozlog] Create a SummaryHandler class and refactor the 'mach' formatter to use it, r=jgraham
The mach formatter gathers result counts and unexpected messages during the run
to be dumped in a summary at the end. This is a pattern we'd like to repeat in
several other formatters as well. Rather than re-implementing, this creates a
handler class that does nothing but store the data. Formatters can then choose
how to format this data and when to print it.

MozReview-Commit-ID: HKtVr5PxfOy

--HG--
extra : rebase_source : 22789db1b2fea1e44f47ef1aa9b22b21a6e8649c
2017-11-29 12:00:30 -05:00
Geoff Brown 6b6a2f5071 Bug 1424005 - Add support for an Android 7.0 x86_64 avd in 'mach android-emulator'; r=me, a=test-only
This enables 'mach android-emulator --version x86-7.0'. Works great for me!
2017-12-07 18:23:39 -07:00
Geoff Brown 9bffbea004 Bug 1410723 - Throw DMError when getDirectory() fails suspiciously; r=bc
It looks like the main cause of intermittent failures in getDirectory is
that the adb pull command fails because the emulator has hung. For other
commands, we usually handle this by checking the return code and raising
DMError if anything fails. There is mozharness/taskcluster code in
place to automatically retry tasks that throw DMError.
2017-12-07 08:02:15 -07:00
Dorel Luca f334555477 Backed out changeset 1a48edb857f3 (bug 1410723) for autophone mass failures r=backout on a CLOSED TREE 2017-12-07 02:49:49 +02:00
Geoff Brown bdcd193026 Bug 1410723 - Throw DMError when getDirectory() fails suspiciously; r=bc
It looks like the main cause of intermittent failures in getDirectory is
that the adb pull command fails because the emulator has hung. For other
commands, we usually handle this by checking the return code and raising
DMError if anything fails. There is mozharness/taskcluster code in
place to automatically retry tasks that throw DMError.
2017-12-06 15:24:41 -07:00
Geoff Brown b5087ee353 Bug 1322616 - Differentiate between timeout and output timeout in mozprocess; r=jmaher 2017-12-05 15:43:03 -07:00
Geoff Brown 86d19d9f51 Bug 1410723 - Improve diagnostics when Android devicemanager getDirectory fails; r=bc
Also re-works _runCmd for improved error handling.
2017-11-30 22:00:11 -07:00
Mike Hommey 2b2a874b47 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 8e7cf975d096116b666532f3fe8aa5a7f61b5725
2017-11-28 08:10:48 +09:00
Csoregi Natalia 4ce8d0124c Backed out 7 changesets (bug 1420355) for mass failures on OS X and Android. r=backout on a CLOSED TREE
Backed out changeset a7ed89e13a4c (bug 1420355)
Backed out changeset fd6702e6e0a0 (bug 1420355)
Backed out changeset 0479dda078a2 (bug 1420355)
Backed out changeset e69357ccca9e (bug 1420355)
Backed out changeset 3742a4b69ba2 (bug 1420355)
Backed out changeset 451cd087922f (bug 1420355)
Backed out changeset d80b5c4e1dd0 (bug 1420355)
2017-11-29 03:08:46 +02:00
Mike Hommey 7c62087a43 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 46800c9c0c5006a5a32f11abc209da27e65ae0f5
2017-11-28 08:10:48 +09:00
Andrew Halberstadt be8bcaf0c1 Bug 1419826 - [mozlog] Implement StructuredLogger.shutdown(), r=jgraham
Calling shutdown() causes two things to happen:

1) A 'shutdown' action is implicitly logged so handlers/formatters
   can do things on log shutdown.
2) Further attempts to use the logger raises a LoggerShutdownError.

The shutdown() method is also implicitly called when exiting the context
manager.

MozReview-Commit-ID: LLNojVoCBZY

--HG--
extra : rebase_source : db483da27e82971ade4b8e424f14694fabd050f1
2017-11-22 23:10:39 -05:00
Andrew Halberstadt 66116aeea8 Bug 1419826 - [mozlog] Add an optional 'name' attribute to the suite_start action, r=jgraham
MozReview-Commit-ID: KzfAgWAhCj9

--HG--
extra : rebase_source : 1a9bda097179aeb17f40bbaa625651d42f4a841b
2017-11-22 16:32:43 -05:00
William Lachance 8eef61942a Bug 1420935 - Bump mozrunner version to 6.14 r=ahal
MozReview-Commit-ID: 2E3FotN9yJg

--HG--
extra : rebase_source : 86fbea075d2780682395633b9a82fa2b09078297
2017-11-27 11:15:23 -05:00
Brindusan Cristian e2431736b7 Backed out 2 changesets (bug 1419826) for web-platform-tests-reftests failures. r=backout a=backout on a CLOSED TREE
Backed out changeset b3e4c5744eff (bug 1419826)
Backed out changeset 3a7a93bf138e (bug 1419826)
2017-11-23 17:06:12 +02:00
Andrew Halberstadt 61f046fca5 Bug 1419826 - [mozlog] Implement StructuredLogger.shutdown(), r=jgraham
Calling shutdown() causes two things to happen:

1) A 'logger_shutdown' action is implicitly logged so handlers/formatters
   can do things on log shutdown.
2) Further attempts to use the logger raise a LoggerShutdownError.

The shutdown() method is also implicitly called when the StructuredLogger's
destructor is run, or when exiting a context manager.

MozReview-Commit-ID: LLNojVoCBZY

--HG--
extra : rebase_source : 373b7e70f6a2121d29d7deccfe9bf4cc0f402e3b
2017-11-22 23:10:39 -05:00
Andrew Halberstadt 886e785031 Bug 1419826 - [mozlog] Add an optional 'name' attribute to the suite_start action, r=jgraham
MozReview-Commit-ID: KzfAgWAhCj9

--HG--
extra : rebase_source : ba7b835a5c1020c92f259154453857f8efc9f583
2017-11-22 16:32:43 -05:00
Tom Prince a45ea20b93 Bug 1413575: Adjust in-tree references to mozbase documentation to point in-tree. r=ahal
MozReview-Commit-ID: rctbByyjTA

--HG--
extra : rebase_source : a682eb6d77b79640ac9ec20e9d64340613bcfed7
2017-11-20 11:43:13 -07:00
Tom Prince 9fe8de2977 Bug 1413575: Add mozbase docs to sphinx tree. r=ahal
MozReview-Commit-ID: 2RI2j3CpOhn

--HG--
extra : rebase_source : e61e7e0d3f2200520034d2cc57eaf93e6eed8fdd
2017-11-20 10:12:06 -07:00
Dave Hunt 18f164599c Bug 1417554 - Use a session scoped fixture for obtaining the host IP addresses. r=ahal
MozReview-Commit-ID: GlsmAlneKiH

--HG--
extra : rebase_source : 1b1c7732932ef43581daa6116ca4e6ca0da3ddd5
2017-11-16 11:09:54 +00:00
Dave Hunt e1e019dd99 Bug 1417554 - Use module level test functions instead of unittest.TestCase classes. r=ahal
MozReview-Commit-ID: G3JXMqUWNmT

--HG--
extra : rebase_source : 4eaf468f35184ea6f8e852c4fbe5e1ddc615422c
2017-11-16 11:09:13 +00:00
Dave Hunt 41e6db02ee Bug 1417554 - Use plain assert statements. r=ahal
MozReview-Commit-ID: 9TnbTN9wbY8

--HG--
extra : rebase_source : c7144520c3f8d20e3a050378bba617ec33982ad2
2017-11-16 11:08:12 +00:00
Dan Banner b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Tarek Ziadé 988457f958 Bug 1415858 - Adding logs for Talos cloning step r=jmaher
MozReview-Commit-ID: GVXcCty2nNi

--HG--
extra : rebase_source : 0569448d579e98955951b6a83d3f788bbb55785d
2017-11-15 10:37:39 +01:00
Geoff Brown 00ee6fdea3 Bug 1415290 - Check return codes in mozcrash kill_pid; r=jmaher 2017-11-13 13:12:05 -07:00
Ryan VanderMeulen b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
Geoff Brown bb5c47c068 Bug 1416006 - Offer to update host-utils from mach; r=jmaher 2017-11-10 07:03:40 -07:00
Henrik Skupin de0aa97084 Bug 1414882 - Remove unused Device.wait_for_port() in mozrunner. r=ahal
This method has not a single caller and as such doesn't seem to
be necessary anymore.

MozReview-Commit-ID: qhNK3EBc6Q

--HG--
extra : rebase_source : 2978829739f0bc465f98b8f6b727c27a03a42b11
2017-11-09 20:46:54 +01:00
Sebastian Hengst e3806002a1 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-11-09 00:32:30 +02:00
Nathan Froyd 6fcc6d5a72 Bug 1404887 - use ZipFile.extract in mozfile; r=ted.mielczarek
Reading the whole zip entry into memory is inefficient and can cause
OOMs if the entry is large enough.  Let the ZipFile object choose the
most efficient extraction strategy instead.
2017-11-08 16:31:10 -04:00
Andrew Halberstadt 52dad304bf Bug 1414399 - [moztest] Refactor |mach test|'s resolving logic into moztest.resolve r=gps
The code in |mach test| for test resolving, should get merged with the TestResolver
class in moztest.resolve. This way it can be shared with other modules and we'll
have a single canonical place for all our test resolving logic.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 6f96d06412ab8fa152ac5d9bdd15acbcdc9695c4
2017-11-08 09:59:51 -05:00
Andrew Halberstadt a69182174e Bug 1414399 - [mozbuild/moztest] Move mozbuild.testing.TestResolver to moztest.resolve r=gps
The TestMetadata and TestResolver classes aren't technically part of the build
system. The only connection is that they consume some build system output.

The next patch in this series is going to be merging in a bunch of other test
resolving logic from other parts of the tree. Moving this out first allows us
to keep that extra logic out of mozbuild.

MozReview-Commit-ID: 1eq4SjFVCyW

--HG--
rename : python/mozbuild/mozbuild/test/test_testing.py => testing/mozbase/moztest/tests/test_resolve.py
extra : rebase_source : 7ff11f9ec455547533082d20cb5371845f7a4f21
2017-11-06 08:41:42 -05:00
Andrew Swan 1bf7198d39 Bug 1413322 Don't load old-style language packs r=gandalf,kmag
MozReview-Commit-ID: GnG6UznHFZR

--HG--
extra : rebase_source : a687e51a7c087c639a202f29b87ae466cd3705b8
2017-10-31 14:23:06 -07:00
Vedant Chakravadhanula 72dd3218a3 Bug 1218554 - Handled the error while attaching the DMG(macOS). r=whimboo
Variable appDir was being referenced before assignment. Changed the try-except-finally blocks to handle the error.

MozReview-Commit-ID: AHEeVhmPfQI

--HG--
extra : rebase_source : b0dd78f3895bb34c4e916bc0441dd9ae5e643dfc
2017-10-27 22:16:55 +05:30
Chris H-C 75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Phil Ringnalda 4bc2b1615d Backed out 4 changesets (bug 1408433, bug 1406391, bug 1408512) for crashing tests by touching the network contacting incoming.telemetry.mozilla.org on nightly builds
Backed out changeset 9bfd4b0927dc (bug 1408433)
Backed out changeset 555850d5107e (bug 1408512)
Backed out changeset 15d959b9123e (bug 1406391)
Backed out changeset e1f34ba9cecc (bug 1406391)

MozReview-Commit-ID: BVoGRsD73Hf
2017-10-27 21:08:27 -07:00
Sebastian Hengst 28b1c813ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DasxLYlgq0N
2017-10-27 23:30:52 +02:00
Chris H-C 8e6dd31d55 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-27 10:59:43 -04:00
Andrew Halberstadt ddfe7fc78a Bug 1412012 - [mozdebug] Add a basic test for get_default_debugger_name, r=jmaher
MozReview-Commit-ID: CwkXKJWd55M

--HG--
extra : rebase_source : e933232fff154d933953f238da14318d7ed2d0fe
2017-10-26 10:14:33 -04:00
Andrew Halberstadt 9305f47839 Bug 1411776 - [mozdebug] Fix 'module has no attribute' error when using --debugger, r=jmaher
This fixes a regression from bug 1397849.

MozReview-Commit-ID: 4JrnkYVwTo

--HG--
extra : rebase_source : 70d37791a35fd2f6877ad1556ca9cd92804f52e0
2017-10-26 10:13:53 -04:00
Attila Craciun 7bcf901c3b Merge inbound to mozilla-central r=merge a=merge 2017-10-25 12:30:28 +03:00
Geoff Brown 5facbdc255 Bug 1410714 - Help mach tests find adb when running Android tests; r=jmaher 2017-10-24 15:17:25 -06:00
Steve Armand fa0b6e7c7e Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Geoff Brown cec74e4961 Bug 1390606 - (follow-up) Remove extra diagnostics; r=me,test-only 2017-10-20 15:30:59 -06:00
Geoff Brown c4c7c9357a Bug 1390606 - Check <sdk>/emulator for emulator exe; r=nalexander 2017-10-18 15:30:48 -06:00
Geoff Brown baf21d699f Bug 1409055 - Improve devicemanager error handling when launching fennec; r=bc 2017-10-18 15:30:38 -06:00
Sylvestre Ledru 34d66eceb2 Bug 1404480 - Manage hdiutil output when the volume name contains a space r=whimboo
MozReview-Commit-ID: lntjhP8QdT

--HG--
extra : rebase_source : fbdb9167821971064b0d84cb6417b1d6c45f191e
2017-10-02 13:07:53 +02:00
Andrew Halberstadt dddb71971e Bug 1405808 - [mozlog] Default manifest groups to empty dict in errorsummary formatter, r=gbrown
This fixes an exception when a test_status/test_end is logged before a
suite_start. This case should be an error anyway, but might as well fix this to
keep the logs looking clean.

MozReview-Commit-ID: 2TlWlSmczwH

--HG--
extra : rebase_source : c33aed0870d7b7fa51d855383d6336331d4f22fc
2017-10-05 09:07:46 -04:00
Mike Hommey 37d01456dc Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.

--HG--
extra : rebase_source : e0b1dcdabe798af478e054cde0df65facf25ea21
2017-09-28 11:00:09 +09:00
Sebastian Hengst 59aaffbcda Backed out changeset 9264d5789f76 (bug 1397849) for import failures, e.g. in mochitests and xpcshell tests. r=backout 2017-10-04 15:25:07 +02:00
Steve Armand 50c9b712c0 Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 19f47b7f5854b7ee25d9779622ce4cd734ac15e5
2017-09-25 22:57:18 -04:00
Sebastian Hengst 2e58d81866 Backed out changeset ff0705eda4bd (bug 1403366) 2017-10-04 01:26:56 +02:00
Mike Hommey 5f2f5b4e64 Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.

--HG--
extra : rebase_source : e0b1dcdabe798af478e054cde0df65facf25ea21
2017-09-28 11:00:09 +09:00
Sebastian Hengst 6a0c7a5682 Backed out changeset 28b00bdf83a3 (bug 1403366) 2017-09-29 17:19:35 +02:00
Mike Hommey 8142d74974 Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.

--HG--
extra : rebase_source : 59ba89dbd8de9c0b9361872f3f45504a46f454a2
2017-09-28 11:00:09 +09:00
Andrew Halberstadt db3fb1fa34 Bug 1403983 - Fix reftest regression where screenshots aren't being output and add a test, r=jmaher
MozReview-Commit-ID: 8ZqmukDtWpO

--HG--
extra : rebase_source : 86544bda6e79e5e35444b4083e76d2cf8642c408
2017-09-28 12:26:51 -04:00
Kartikaya Gupta 57ae48126f Bug 1398223 - Add a webrender flag to mozinfo to allow using it in mochitest.ini conditions. r=gbrown
MozReview-Commit-ID: IEgirFNntzS

--HG--
extra : rebase_source : ce25ccba7e1a8274733c412c61e84cb680315683
2017-09-20 16:24:39 -04:00
Andrew Halberstadt c3c1749786 Bug 1392390 - Create a reftest selftest harness, r=jmaher
This just adds two basic tests, one for a passing test and another for a
failing one. In mochitest, we use privileged APIs to also tests crashes,
assertions, asan and leaks. But these APIs aren't available to reftests
so I'm not sure how we can test these things.

I figure it's not worth holding the framework up on this though, I'll file
a follow-up to figure out something to do for that.

MozReview-Commit-ID: 59TSbsugT5T

--HG--
extra : rebase_source : 72ecd817017c8b7d55eab879db4f6ad5fecc54c0
2017-09-11 16:08:01 -04:00
Andrew Halberstadt 9efc4d301f Bug 1392390 - Refactor common code out of mochitest selftests and into a new moztest.selftest module, r=jmaher
This includes code for downloading a Firefox binary, downloading + setting up a tests.zip and
running output through mozharness' output parsers. This is all stuff that will also be required
for the reftest selftests.

I couldn't think of a better location to put this stuff, suggestions welcome.

MozReview-Commit-ID: 59TSbsugT5T

--HG--
extra : rebase_source : a328f6bc90e73fe23f9054933cd01a30065419f6
2017-09-11 16:06:06 -04:00
Myk Melez 87ae2b846a Bug 1398345 - find llvm-symbolizer, get memory size on Mac; r=ahal 2017-09-11 09:04:57 -07:00
Cosm 917335fa1c Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten 2017-09-02 22:11:02 +05:30
Geoff Brown 7a2a74a3fb Bug 1395718 - In devicemanager killProcess, only use force-stop when a signal is not specified; r=bc
dm.killProcess correctly tries to use 'am force-stop' in preference to kill()
to end a process. But some clients of killProcess specify a kill signal and
use killProcess for purposes other than endding the process, for example, to trigger
crash dumps. To allow for these cases, it is better to not use force-stop when a
signal is specified.
2017-09-01 11:35:45 -06:00
Andrew Halberstadt f79b06a32a Bug 1339178 - Use pytest to run python-tests, r=davehunt
This switches most tests over to use pytest as the runner instead of unittest (taking
advantage of the fact that pytest can run unittest based tests).

There were a couple tests that had failures when swithing to pytest:
config/tests/unit-expandlibs.py
xpcom/idl-parser/xpidl/runtests.py

For these tests, I added a runwith='unittest' argument so that they still run the
same way as before. Once we fix them to use pytest, the unittest logic in mozunit.py
can be deleted.

MozReview-Commit-ID: Gcsz6z8MeOi

--HG--
extra : rebase_source : 3c762422ce0af54cbbe7d9fc20085a2d1ebe7057
2017-08-29 14:50:33 -04:00
Ganti Sai Sarath Chandra 6ed789d12b Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal
MozReview-Commit-ID: DRi8KFyCnBn

--HG--
extra : rebase_source : 3ac98bdc648f8a0e3dc6d3b6d42e19dfc295a396
2017-08-19 04:19:06 +05:30
Wes Kocher b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm 0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Mike Hommey 2874ecd82e Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : ac72dd5b2602cf3ffddfb429f95e02380f939893
2017-08-16 13:16:16 +09:00
Phil Ringnalda cbc5805a36 Backed out changeset 4e9cd1d537cc (bug 1384062) for flake8 failures
MozReview-Commit-ID: C2AVg8g3xpV
2017-08-17 20:39:43 -07:00