Commit Graph

319 Commits

Author SHA1 Message Date
Chris Manchester
7962d26866 Bug 1049667 - Bump mozlog to version 2.3;r=jgraham 2014-08-06 13:45:04 -04:00
Ed Morley
1024685e6d 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
4bd9e956fb Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Wes Kocher
0963f4f5c2 Merge m-c to b2g-inbound on a CLOSED TREE a=merge 2014-08-05 17:34:43 -07:00
Kyle Huey
66021be422 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
f5810405cb 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
e3552220aa Bug 1048547 - Improve mozlog.structured argument handling, r=chmanchester 2014-08-05 09:56:05 +01:00
Ryan VanderMeulen
6253da7301 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-08-04 16:06:19 -04:00
Ms2ger
f7fce3f803 Bug 1048262 - Bump version of mozlog to 2.2; r=jgraham 2014-08-04 16:23:37 +02:00
William Lachance
d77e2c9fa4 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
9e51ca16d9 Bug 1048957 - Release mozdevice 0.39. r=wlach. DONTBUILD 2014-08-05 12:28:13 -04:00
Armen Zambrano Gasparnian
1cd86432c2 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
32cfea205c 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
0da7281b20 Bug 1042921 - Explicitly type-convert all input to mozlog.structured.;r=ahal 2014-08-04 10:29:58 +01:00
Mike Hommey
0b074e32ea Bug 1044414 - Add a fallback for unknown platforms after bug 945869. r=ted 2014-08-01 15:55:42 +09:00
James Graham
4dbda546cc Bug 1026181 - Make mach terminal formatter work outside mach context, r=chmanchester 2014-07-31 14:54:05 +01:00
Ms2ger
abfd78c161 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
05f6e03fba 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
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
Chris Manchester
d8e11b813f Bug 1044751 - Add command line options for configuring log level of formatters in mozlog.structured.;r=jgraham 2014-08-05 22:54:12 -04:00