Commit Graph

320 Commits

Author SHA1 Message Date
Chris Manchester
c3199ff8eb Bug 1048288 - Log test_end messages instead of errors to prevent useful messages about assertion counts from being buffered.;r=ahal 2014-08-06 17:14:11 -04:00
Chris Manchester
0fbc2d6321 Bug 1049667 - Bump mozlog to version 2.3;r=jgraham 2014-08-06 13:45:04 -04:00
Ed Morley
81cb8d669c Bug 1023935 - Use 'mozrunner-startup' instead of 'automation' as the test name during startup; r=ahal
Until we run the first test, we set self.last_test to a dummy value,
so if we time out, we'll end up with a vaguely understandable error:
TEST-UNEXPECTED-FAIL | <test_name> | application timed out after 330.0 seconds with no output

This makes the test name slightly more unique, so as to make TBPL's
matching against bugs less prone to false positives.
2014-08-06 17:16:08 +01:00
Ed Morley
2e6839e1e5 Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Wes Kocher
706885b2f3 Merge m-c to b2g-inbound on a CLOSED TREE a=merge 2014-08-05 17:34:43 -07:00
Kyle Huey
ead551b67a Bug 1038943: Turn on leak checking on B2G with an initial threshold of 400000 bytes. r=ahal,dbaron 2014-08-05 14:11:53 -07:00
Chris Manchester
1fea41be7d Bug 1048423 - Don't retain a default for the 'expected' field of objects logged with log_raw.;r=jgraham 2014-08-04 20:29:12 -04:00
James Graham
24210e1f69 Bug 1048547 - Improve mozlog.structured argument handling, r=chmanchester 2014-08-05 09:56:05 +01:00
Ryan VanderMeulen
f8e5caee0f Merge inbound to m-c on a CLOSED TREE. a=merge 2014-08-04 16:06:19 -04:00
Ms2ger
28581a4e3a Bug 1048262 - Bump version of mozlog to 2.2; r=jgraham 2014-08-04 16:23:37 +02:00
William Lachance
7180dea7e6 Bug 1046380 - Add a command to dmcli to get the device root. r=armenzg 2014-07-30 16:57:29 -04:00
Armen Zambrano Gasparnian
0f13f12ccf Bug 1048957 - Release mozdevice 0.39. r=wlach. DONTBUILD 2014-08-05 12:28:13 -04:00
Armen Zambrano Gasparnian
f31eb75ed1 Bug 1021756 - Allow to run adbd as root. r=wlach
This allows a device that starts adbd as non-root to restart adbd
every time that is needed to ensure the ability of running
privileged tasks on the device.
2014-08-05 11:58:30 -04:00
Armen Zambrano Gasparnian
1234b5353b Bug 1021756 - Add function to request information about a process. r=wlach
The function processInfo returns a tuple with the pid, path and owner of
the process. This is useful if we want to determine if a process is owned
by root or not.
2014-08-05 11:56:33 -04:00
James Graham
274e8fdffc Bug 1042921 - Explicitly type-convert all input to mozlog.structured.;r=ahal 2014-08-04 10:29:58 +01:00
Mike Hommey
a363c311c9 Bug 1044414 - Add a fallback for unknown platforms after bug 945869. r=ted 2014-08-01 15:55:42 +09:00
James Graham
0bbaf2b92f Bug 1026181 - Make mach terminal formatter work outside mach context, r=chmanchester 2014-07-31 14:54:05 +01:00
Ms2ger
440b819fa4 Bug 1048859 - Bump version of mozlog to 2.2.1; r=jgraham
--HG--
extra : rebase_source : ee125df12d629b84e9989b5e45071e5b748f98b8
2014-08-05 14:07:11 +02:00
Andrew Halberstadt
83482f42f3 Bug 1045700 - Add ability to generate mozbase changelogs to versioninfo.py, r=wlach, DONTBUILD, a=NPOTB 2014-07-30 14:32:14 -04:00
Ms2ger
fba676720e 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
f5a6e98287 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
00b3a1b4ee Bug 1042743 - Lock mozlog's version for mozdevice. r=wlach 2014-07-28 10:59:51 -04:00
James Graham
7fda7367e0 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
240a1f82b5 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
92b736198b Bug 1041850 part 1 - Cache condition resolution in TestManifest.filter. r=ted 2014-07-25 07:07:13 +09:00
James Graham
31f97c8221 Bug 1042557 - Update version number of mozlog, r=ahal 2014-07-23 15:58:45 +01:00
William Lachance
87ee74d96f Bug 1037651 - Release mozdevice 0.38. r=ahal 2014-07-23 10:32:33 -04:00
William Lachance
15d951258d Bug 1041533 - Update mozdevice to not reset global log level. r=armenzg 2014-07-23 10:31:43 -04:00
Armen Zambrano Gasparnian
2dc6c0c182 Bug 1026710 - Add unittest of DeviceManagerADB. DONTBUILD. r=wlach 2014-07-23 09:55:05 -04:00
Chris Manchester
68bdaa0e18 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
4679ba0ab3 Bug 1040789 - Bump mozrunner and marionette-client for bug 1036926, r=davehunt 2014-07-22 15:37:34 -04:00
Arnav Sharma
fd1ae0c345 Bug 1037521 - Add information about unexpected results to mach output. 2014-07-22 20:19:00 +01:00
James Graham
75a44b1360 Bug 1041546 - Ensure that structured log message fields are always strings, r=chmanchester 2014-07-22 19:01:00 +01:00
Armen Zambrano Gasparnian
deead3cc92 Bug 1026710 - Change DeviceManager to mozdevice when logging. DONTBUILD. r=wlach 2014-07-22 09:17:16 -04:00
Luv Agarwal
4c21e963a7 Bug 974184 - Add a versioninfo utility for getting mozbase version info. r=wlach 2014-07-21 11:38:07 +02:00
Dave Hunt
86ce221bdc 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
79842cd73a 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
0578b95651 Bug 1026710 - Fix errors in output handling in devicemanagerADB. r=armenzg 2014-07-18 14:19:33 -04:00
Andrew Halberstadt
cd43fa61ae 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
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Ryan VanderMeulen
96267644ee Merge inbound to m-c on a CLOSED TREE. a=merge 2014-07-17 17:32:54 -04:00
Andrew Halberstadt
823dc8cfca 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
9eebe50a0d Merge m-c to fx-team 2014-07-15 17:50:18 -07:00
William Lachance
eca294eaa0 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
dca074ab69 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
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Nils Ohlmeier [:drno]
a6e7754006 Bug 1017332 - increase WebRTC logging on B2G emulator to match desktop levels. r=bwc 2014-07-08 17:00:00 +02:00
Bob Clary
39fa91cf3b Bug 1035254 - [mozdevice] - Add ADBAndroid.get_battery_percentage(), r=wlach, DONTBUILD. 2014-07-10 06:46:23 -07:00
Chris Manchester
2f3284b56d 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