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

364 Коммитов

Автор SHA1 Сообщение Дата
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
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
Andrew Halberstadt 5eb362b0a7 Bug 1027607 - Mozrunner should always pass in test_name to check_for_crashes when available, r=chmanchester 2014-06-23 08:10:30 -04:00
Chris Manchester b6d72ec019 Bug 1020625 - Don't call structured logging's suite_start and suite_end per test suite. r=jgraham 2014-06-09 12:01:26 -04:00
Wes Kocher 7d39d62d88 Backed out changeset 53b54cd44410 (bug 1026181) for lots of bustage causing a CLOSED TREE 2014-06-20 12:33:36 -07:00
James Graham 78349a69ed Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach
--HG--
extra : rebase_source : ac66edb9f80fc5fbebebb953ca15861a91095d4b
2014-06-20 19:41:04 +01:00
Andrew Halberstadt 7f00748b02 Bug 1028119 - Change string in mozrunner timeout to hide newly exposed but long running perma-orange, r=edmorley 2014-06-20 13:45:05 -04:00
Malini Das d39e56d762 Bug 1028239 - release updated mozlog client, r=wlach 2014-06-20 13:15:25 -04:00
Ted Mielczarek cef4a41919 Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Andrew Halberstadt 5dc20b0478 Bug 1028119 - Fix mochitest TypeError on timeout in mozrunner, r=edmorley 2014-06-20 10:11:05 -04:00
Andrew Halberstadt e60605718c Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Wes Kocher e34177291e Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Andrew Halberstadt 7704c45325 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Wes Kocher 96c7a686e5 Backed out changeset da73c6745a10 (bug 1023670) under suspicion of causing the android bustage CLOSED TREE 2014-06-16 13:34:01 -07:00
Ted Mielczarek 1a344c3441 Bug 1025181 - [mozlog] Fix structured logging HTML formatter to actually produce results. r=jgraham 2014-06-16 11:52:52 -04:00
Ted Mielczarek 3d446408a6 Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
James Graham 104b8ea183 Bug 1016916 - Add a 'structlog format' command for formatting logfiles, r=wlach
This replaces the __main__ sections in the formatters
2014-06-16 12:53:48 +01:00
Dave Hunt ecc5558981 Bug 1024441 - Bump mozversion to 0.6. r=wlach 2014-06-12 04:29:00 -04:00
Ryan VanderMeulen 0645a74aa3 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Chris Manchester 45f5ce74f1 Bug 1021931 - Add a fallback in mozlog.structured.commandline for users of optparse. r=jgraham 2014-06-12 13:53:23 -04:00
Dave Hunt 99fe918e99 Bug 1023915 - [mozversion] Support targeting device by serial identifier. r=wlach 2014-06-11 08:44:00 -04:00
William Lachance 3559093118 Bug 1023883 - Update doc reference to manifestparser from manifestdestiny. r=ahal 2014-06-11 10:27:20 -04:00
William Lachance c6f074b1e3 Bug 1021943 - Add some additional features to mozlog.structured to help with informational level logging;r=jgraham 2014-06-12 11:28:19 -04:00
William Lachance 543aa429dc Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal
--HG--
rename : testing/mozbase/docs/manifestdestiny.rst => testing/mozbase/docs/manifestparser.rst
rename : testing/mozbase/manifestdestiny/manifestparser/__init__.py => testing/mozbase/manifestparser/manifestparser/__init__.py
rename : testing/mozbase/manifestdestiny/manifestparser/manifestparser.py => testing/mozbase/manifestparser/manifestparser/manifestparser.py
rename : testing/mozbase/manifestdestiny/setup.py => testing/mozbase/manifestparser/setup.py
rename : testing/mozbase/manifestdestiny/tests/comment-example.ini => testing/mozbase/manifestparser/tests/comment-example.ini
rename : testing/mozbase/manifestdestiny/tests/default-skipif.ini => testing/mozbase/manifestparser/tests/default-skipif.ini
rename : testing/mozbase/manifestdestiny/tests/filter-example.ini => testing/mozbase/manifestparser/tests/filter-example.ini
rename : testing/mozbase/manifestdestiny/tests/fleem => testing/mozbase/manifestparser/tests/fleem
rename : testing/mozbase/manifestdestiny/tests/include-example.ini => testing/mozbase/manifestparser/tests/include-example.ini
rename : testing/mozbase/manifestdestiny/tests/include/bar.ini => testing/mozbase/manifestparser/tests/include/bar.ini
rename : testing/mozbase/manifestdestiny/tests/include/crash-handling => testing/mozbase/manifestparser/tests/include/crash-handling
rename : testing/mozbase/manifestdestiny/tests/include/flowers => testing/mozbase/manifestparser/tests/include/flowers
rename : testing/mozbase/manifestdestiny/tests/include/foo.ini => testing/mozbase/manifestparser/tests/include/foo.ini
rename : testing/mozbase/manifestdestiny/tests/just-defaults.ini => testing/mozbase/manifestparser/tests/just-defaults.ini
rename : testing/mozbase/manifestdestiny/tests/manifest.ini => testing/mozbase/manifestparser/tests/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-example.ini => testing/mozbase/manifestparser/tests/mozmill-example.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-restart-example.ini => testing/mozbase/manifestparser/tests/mozmill-restart-example.ini
rename : testing/mozbase/manifestdestiny/tests/no-tests.ini => testing/mozbase/manifestparser/tests/no-tests.ini
rename : testing/mozbase/manifestdestiny/tests/path-example.ini => testing/mozbase/manifestparser/tests/path-example.ini
rename : testing/mozbase/manifestdestiny/tests/relative-path.ini => testing/mozbase/manifestparser/tests/relative-path.ini
rename : testing/mozbase/manifestdestiny/tests/test_convert_directory.py => testing/mozbase/manifestparser/tests/test_convert_directory.py
rename : testing/mozbase/manifestdestiny/tests/test_convert_symlinks.py => testing/mozbase/manifestparser/tests/test_convert_symlinks.py
rename : testing/mozbase/manifestdestiny/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_skipif.py
rename : testing/mozbase/manifestdestiny/tests/test_expressionparser.py => testing/mozbase/manifestparser/tests/test_expressionparser.py
rename : testing/mozbase/manifestdestiny/tests/test_manifestparser.py => testing/mozbase/manifestparser/tests/test_manifestparser.py
rename : testing/mozbase/manifestdestiny/tests/test_read_ini.py => testing/mozbase/manifestparser/tests/test_read_ini.py
rename : testing/mozbase/manifestdestiny/tests/test_testmanifest.py => testing/mozbase/manifestparser/tests/test_testmanifest.py
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/manifest.ini => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/test_sub.js => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/test_sub.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_1.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_1.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_2.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_2.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_3.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_3.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_incomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_incomplete.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_toocomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_toocomplete.ini
2014-06-10 13:20:23 -04:00
Chris Manchester 8acb189dde Bug 1021117 - Add legacy tbpl formatter to mozlog.structured.formatters. r=jgraham 2014-06-06 11:36:28 -04:00
Ryan VanderMeulen d6d20ed14c Backed out changeset 12536416d070 (bug 991866) for breaking B2G mochitests.
CLOSED TREE
2014-06-04 16:04:14 -04:00
Andrew Halberstadt 4c459289ac Bug 991866 - Decode mozprocess output before printing to stdout, r=gps 2014-06-04 15:00:01 -04:00
James Graham ecf1a3c65c Bug 1020470 - Package mozlog.structured html formatter support files, r=:ted.mielczarek 2014-06-04 19:30:07 +01:00
Chris Manchester c1e65a5f55 Bug 1019883 - Don't populate expected field in log messages for skipped tests. r=jgraham 2014-06-03 16:08:53 -04:00
William Lachance e2af53a393 Bug 1019211 - Bump mozversion to 0.5. r=ahal 2014-06-02 16:53:49 -04:00
James Graham e7a04fee40 Bug 1018277 - Fix time output in mozlog.structured.formatters.MachFormatter, r=wlach
Use the same units for time everywhere.
2014-05-30 20:59:33 +01:00
James Graham 250d54d299 Bug 1015287 - Add complete example to mozlog.structured documentation, r=wlach 2014-05-30 17:10:26 +01:00
William Lachance 4e494d0b99 Bug 1016467 - Allow mozversion to support getting version info out of a fennec .apk. r=davehunt 2014-05-29 14:57:52 -04:00
Andreas Tolfsen 293c846e46 Bug 1017675 - Bump moztest to version 0.5. r=jgraham
---
 testing/mozbase/moztest/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-05-29 18:08:31 +01:00
Andreas Tolfsen fb19815569 Bug 1017596 - Add suite_start and suite_end messages to moztest.adapters.unit. r=jgraham
This properly implements the structured logging protocol in the unittest
adapter.

The patch also adds an optional argument `test_list` to StructuredTestLogger
which will include an array of all tests when sending the suite_start message.
---
 testing/mozbase/moztest/moztest/adapters/unit.py | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
2014-05-29 18:08:24 +01:00
Ryan VanderMeulen fc4c812999 Backed out changeset 3a9b6d6d9224 (bug 1017596) for making Mn more orange-prone. 2014-05-29 15:17:29 -04:00
Ryan VanderMeulen 54af07219d Backed out changeset c9f8e59a7e0d (bug 1017675) for making Mn more orange-prone. 2014-05-29 15:17:21 -04:00
Andreas Tolfsen 786bbc0a52 Bug 1017675 - Bump moztest to version 0.5. r=jgraham
---
 testing/mozbase/moztest/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--HG--
extra : rebase_source : e27967cf955ca12fc884598507bf16d4d31bdf0b
2014-05-29 18:08:31 +01:00