Commit Graph

300 Commits

Author SHA1 Message Date
Ms2ger
2a569678d6 Bug 1044973 - Avoid storing None in the |unexpected| array in machformatter.py; r=ahal
In the case of an unexpected pass, there will be no |message| field in the
data, which will lead to a None message in the tuple. This will trip up
the "".join() call in test_end.
2014-07-28 17:51:28 +02:00
Ms2ger
33f3b92033 Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.

The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
Armen Zambrano Gasparnian
ac7e5409d1 Bug 1042743 - Lock mozlog's version for mozdevice. r=wlach 2014-07-28 10:59:51 -04:00
James Graham
f84e1a5994 Bug 1043314 - Enforce the invariant that we have suite_start before suite_end or test_start in mozlog, r=chmanchester 2014-07-25 13:42:56 +01:00
Mike Hommey
ad3a439825 Bug 1041850 part 2 - Reuse the same re.Scanner instance when parsing different manifests. r=ted
Also cleanup the callbacks it uses.
2014-07-25 07:07:19 +09:00
Mike Hommey
6c857158ea Bug 1041850 part 1 - Cache condition resolution in TestManifest.filter. r=ted 2014-07-25 07:07:13 +09:00
James Graham
1af097e889 Bug 1042557 - Update version number of mozlog, r=ahal 2014-07-23 15:58:45 +01:00
William Lachance
5fc7b01c42 Bug 1037651 - Release mozdevice 0.38. r=ahal 2014-07-23 10:32:33 -04:00
William Lachance
4c98a5d0db Bug 1041533 - Update mozdevice to not reset global log level. r=armenzg 2014-07-23 10:31:43 -04:00
Armen Zambrano Gasparnian
6dfd9b3bbd Bug 1026710 - Add unittest of DeviceManagerADB. DONTBUILD. r=wlach 2014-07-23 09:55:05 -04:00
Chris Manchester
0cfccb5e79 Bug 1036427 - Warn in the structured logger for ending a test not in progress.;r=jgraham
* * *
Bug 1036565 - Prevent the tbplformatter from throwing when multiple test_end messages are issued.;r=jgraham
2014-07-22 18:51:32 -04:00
Andrew Halberstadt
87c87bcdf5 Bug 1040789 - Bump mozrunner and marionette-client for bug 1036926, r=davehunt 2014-07-22 15:37:34 -04:00
Arnav Sharma
7a619f244c Bug 1037521 - Add information about unexpected results to mach output. 2014-07-22 20:19:00 +01:00
James Graham
3481e04468 Bug 1041546 - Ensure that structured log message fields are always strings, r=chmanchester 2014-07-22 19:01:00 +01:00
Armen Zambrano Gasparnian
c13ca99b13 Bug 1026710 - Change DeviceManager to mozdevice when logging. DONTBUILD. r=wlach 2014-07-22 09:17:16 -04:00
Luv Agarwal
1814d69318 Bug 974184 - Add a versioninfo utility for getting mozbase version info. r=wlach 2014-07-21 11:38:07 +02:00
Dave Hunt
7c95173e9a Bug 1040069 - Return None for the gaia commit if it can't be found. r=ahalberstadt 2014-07-21 02:57:00 +02:00
James Graham
ee83a296c9 Bug 1041424 - Raise a helpful exception if B2GDeviceRunner is used with no devices attached, r=ahal 2014-07-21 17:13:25 +01:00
William Lachance
89fa11285d Bug 1026710 - Fix errors in output handling in devicemanagerADB. r=armenzg 2014-07-18 14:19:33 -04:00
Andrew Halberstadt
a4bafc1807 Bug 1036926 - Add ability to specify local_port in emulator.setup_port_forwarding(), r=wlach 2014-07-18 10:32:13 -04:00
Ahmed Kachkach
4b03d2c025 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Ryan VanderMeulen
e067c5c844 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-07-17 17:32:54 -04:00
Andrew Halberstadt
1a48e23dd3 Bug 1036982 - Mozrunner should setup settings.json and webapps from profile properly with B2G emulators/devices, r=jgriffin 2014-07-17 11:40:24 -04:00
Wes Kocher
a7993dd36c Merge m-c to fx-team 2014-07-15 17:50:18 -07:00
William Lachance
0922fc3efb Bug 1037642 - Fix assumption that we will be able to send all data in devicemanagerSUT in one shot. r=mcote 2014-07-15 14:09:04 -04:00
Armen Zambrano Gasparnian
d268839202 Bug 1026710 - Make DeviceManagerADB use mozprocess to allow logging. r=wlach
Up until now, mozdevice has been using subprocess. The switch gives us the
ability to log adb commands and its output. This will be mainly used
for the Firefox OS cert suite.
2014-07-15 08:59:48 -04:00
Carsten "Tomcat" Book
ce57787693 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
50db9012f6 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Nils Ohlmeier [:drno]
d624c4328e Bug 1017332 - increase WebRTC logging on B2G emulator to match desktop levels. r=bwc 2014-07-08 17:00:00 +02:00
Bob Clary
daf23b9853 Bug 1035254 - [mozdevice] - Add ADBAndroid.get_battery_percentage(), r=wlach, DONTBUILD. 2014-07-10 06:46:23 -07:00
Chris Manchester
a5d8f66b8a Bug 1036392 - Add a parameter to the structured log api for stacks in test_status and test_end.;r=jgraham 2014-07-10 09:21:22 -04:00
William Lachance
8a2cbb2a0d Bug 1037707 - Allow setting dmcli's verbose mode via environment variable. r=mcote 2014-07-14 16:01:11 -04:00
William Lachance
ba2b4b855e Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Arnav Sharma
3db8eb771f Bug 1037532 - "mozversion should have documentation on how to use its API". r=wlachance 2014-07-16 12:56:00 +02:00
Chris Manchester
1c97de1410 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Bob Clary
18eb5ebd1e Bug 1034406 - [mozdevice] Do not allow ADBCommand to be instantiated, r=wlach, DONTBUILD. 2014-07-07 08:19:35 -07:00
Ed Morley
4b5c1ec146 Bug 1027574 - Mozrunner should use logcat format 'time' not 'threadtime'; r=ahal 2014-07-04 15:04:16 +01:00
Sylvestre Ledru
bf348fed7c Bug 991866: Catch the exception and returns the iso8859-1 string. In some cases, the display was failing r=ahal
--HG--
extra : rebase_source : 2a913276a15f721d3a9f07783735544bf292ec7e
2014-07-04 12:07:38 +02:00
Geoff Brown
b4e0468ee6 Bug 1027802 - Try to get ANR report and stack trace when Fennec hangs; r=jmaher 2014-07-03 22:11:41 -06:00
James Graham
a573f1de39 Bug 1033458 - Update mozrunner version, r=ahal. 2014-07-02 22:20:53 +01:00
James Graham
f141d7eb5d Bug 1032136 - Make mozrunner 6 work for on-device B2G testing, r=ahal. 2014-07-02 22:20:52 +01:00
Chris Manchester
34529c249f Bug 1030845 - Modify mozlog.structured's tbplformatter to comply with tbpl. r=edmorley,jgraham 2014-07-01 10:42:16 -04:00
Andrew Halberstadt
5022f3a7c8 Bug 1031415 - Fix bad exception handling in emulator.wait_for_system_message(), r=jgriffin 2014-06-30 16:28:00 -04:00
Bob Clary
30a84d98fd Bug 1012711 - Add adb.py to devicemanager package, -correcting bugnumber- r=wlach. DONTBUILD a=sheriffduty 2014-06-26 16:20:12 +02:00
Carsten "Tomcat" Book
952ae2f289 Backed out changeset 1fd65e3c2f4a (bug 1012712) 2014-06-26 16:18:34 +02:00
Bob Clary
2d0815dc05 Bug 1012712 - Add adb.py to devicemanager package, r=wlach. DONTBUILD 2014-06-25 21:08:41 -07:00
Vaibhav Agrawal
b057114758 Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00
Ed Morley
3ac8c3d364 Backed out changeset 1566b80f6c2b (bug 1026181) since the curses module isn't available 2014-06-23 17:20:02 +01:00
James Graham
9c6fe5146b Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach 2014-06-23 16:20:42 +01:00
Ed Morley
9d6e50b205 Backed out changeset 154690942f4d (bug 1027607) for morphing the test names to something that causes greater false positives 2014-06-23 15:56:01 +01:00