Commit Graph

668 Commits

Author SHA1 Message Date
Dave Hunt
67519972ab Bug 1130358 - [mozlog] Bump version to 2.10. r=jgraham 2015-02-06 04:47:00 -05:00
Wes Kocher
bc02c6b8e1 Backed out changeset ea625e85c72a (bug 1123763) for checktest orange on a CLOSED TREE 2015-02-09 14:00:13 -08:00
Andrew Halberstadt
9dd4f82c1d Bug 1123763 - [manifestparser] Implement filter system for manifest.active_tests(), r=ted
A filter is a callable that accepts an iterable of tests and a dictionary of values (e.g mozinfo.info) and returns an iterable of tests. Note filtering can mean modifying tests in addition to removing them. For example, this implements a "timeout-if" tag in the manifest:

    from manifestparser import expression
    import mozinfo

    def timeout_if(tests, values):
        for test in tests:
            if 'timeout-if' in test:
                timeout, condition = test['timeout-if'].split(',', 1)
                if expression.parse(condition, **values):
                    test['timeout'] = timeout
            yield test

    tests = mp.active_tests(filters=[timeout_if], **mozinfo.info)
2015-02-09 16:13:00 -05:00
Henrik Skupin
5763839fac Bug 1130905 - [mozinstall] Fix re-raising of exception in case of failing install or uninstall. r=ahal 2015-02-09 19:03:27 +01:00
Julien Pagès
b8e55efee0 Bug 1016929 - [mozlog] html formatter imports py.xml, doesn't declare it as a dependency. r=jgraham 2015-02-04 09:54:00 +01:00
Maciek
7da02914d3 Bug 1103945 - Add command line tool to merge multiple raw structured logs, r=jgraham 2015-02-02 20:13:50 +01:00
Geoff Brown
3ee5171ca3 Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach 2015-01-30 15:23:41 -07:00
Geoff Brown
a2e1094131 Bug 1127457 - Fix check for zip in devicemanagerADB.py; r=armenzg 2015-01-30 15:23:40 -07:00
Armen Zambrano Gasparnian
df9f693caf Bug 1040079 - Change logging level for chmod operations for mozdevice. DONTBUILD. r=wlach 2015-01-27 15:20:09 -05:00
Dan Minor
689078fc6c Bug 1003408 - increase timeout for test_start_with_outputTimeout to avoid failures on test machines; r=wlach 2015-01-23 12:51:34 -05:00
Ting-Yu Chou
adbc8b93d0 Bug 989048 - Clean up emulator temporary files and do not overwrite userdata image. r=ahal 2015-01-23 21:55:43 +08:00
Ryan VanderMeulen
124d0c1a84 Backed out changeset 0ee76a98f2c3 (bug 989048) because it didn't work. 2015-01-22 10:25:18 -05:00
Julien Pagès
70a76df81c Bug 1119838 - Raise exception early when there is no adb command available; r=bclary 2015-01-19 11:15:53 -05:00
Andrew Halberstadt
970f12f598 Bug 1120983 - [manifestparser] Split manifestparser.py into several smaller files, r=wlach
Simple refactor that moves logic out of manifestparser.py and into cli.py, expression.py and ini.py.
2015-01-15 09:37:51 -05:00
Ujjwal Wahi
f0681fab9b Bug 1121037 - Release mozprofile 0.23. r=whimboo 2015-01-13 23:56:57 +05:30
Geoff Brown
da7f60057e Bug 1099475 - Backout 4386c2d95db3 for bug 1119962; r=backout 2015-01-12 14:33:45 -07:00
Ujjwal Wahi
57c50e4c5a Bug 1005856 - [mozinstall] Include original error message when re-throw an exception. r=whimboo
--HG--
extra : rebase_source : 87e8adc5865f1a2f665c6ae83a1d934efcd3fed5
2015-01-08 20:45:07 +05:30
Dave Hunt
2098f967b4 Bug 1118738 - Fix HTML report colours for expected skips and unexpected errors. r=jgraham 2015-01-07 06:36:00 -05:00
Ujjwal Wahi
452fac44eb Bug 1100363 - Maintain preference case. r=whimboo 2015-01-07 14:30:51 +01:00
Gregory Szorc
bda7f00f83 Bug 1116194 - Catch errors calling psutil; r=ted
The build system / mach currently has a very hacky virtualenv setup.
Essentially, it resorts to sys.path munging instead of a proper,
isolated environment.

During initialization, mach installs python/psutil in sys.path. Later
on, some code does an |import psutil|. This fails iff the psutil C
extension can't be found.

If there is a psutil C extension installed outside of mach and
python/psutil, |import psutil| may load it. The version mismatch isn't
detected until an extension-using psutil API is called. This has
manifested inside |mach build| via the resource monitor as an
|AttributeError: 'module' object has no attribute 'linux_sysinfo'|
exception during psutil.virtual_memory().

The proper fix for this is for the Python environment to ensure the
psutil C extension is built before attempting to import and use psutil.
Arguably, psutil itself should perform some kind of version check when
it imports the C extension to ensure things are in sync and fail at
import time.

Fixing mach and the build system Python environment to build psutil
earlier/properly is a long outstanding bug. It needs to be addressed.
But it is considerable effort. This patch continues the long history of
wallpapering over psutil import/run failures because using a proper
virutalenv from mach/build system is a lot of work. Sad panda.

--HG--
extra : rebase_source : 5c449d69c0fd907ea8359ac721ef6287baa4f10e
2014-12-29 12:06:21 -08:00
Julien Pagès
22eba78d7e Bug 1065406 - [mozlog] Split test class and name for XUnit formatter. r=jgraham 2014-12-16 16:02:00 +01:00
Ms2ger
a24ee90772 No bug - Bump the mozlog package version; rs=jgraham 2014-12-19 11:27:28 +01:00
Ms2ger
0b455d3c02 Bug 1113095 - Handle failing reftests in machformatter's summarizing code; r=jgraham 2014-12-19 11:25:51 +01:00
Ryan VanderMeulen
20228a773d Backed out changeset 88a15054f99f (bug 794984) for suspicion of "causing" Mulet mochitest crashes (and possible Linux32 mochitest-e10s-dt as well). 2014-12-18 18:11:13 -05:00
Henrik Skupin
f7d6afcd3d Bug 1113284 - Bump manifestparser to 0.9. r=ahal
--HG--
extra : rebase_source : aaf0d817aab50e25a2f45c2f3c5e386c366ea056
2014-12-18 21:00:35 +01:00
Henrik Skupin
4e6cd3d36f Bug 1110837 - [manifestparser] If parents are used, the first include in the master manifest is always used to determine defaults. r=jmaher
--HG--
extra : rebase_source : a28ecbd99906a54df76a5b74a45af9feac120488
2014-12-18 20:55:44 +01:00
Julien Pagès
8d6eecf040 Bug 794984 - [mozprocess] Add ability to separate stderr from stdout, r=ahal
A new parameter called 'processStderrLine' is added. When specified, stdout gets processed by the
'processOutputLine' callbacks and stderr is processed by the 'processStderrLine' callbacks. When
not specified, stderr is redirected to stdout which is the same default behaviour.

A side effect of this is that mozprocess now uses three threads to process output. One thread each
for stdout and stderr that reads output lines and stores them in a Queue as fast as possible, this
makes sure there is no blocking in stdout.write(). A third thread executes the callbacks.

--HG--
extra : rebase_source : d4601a6ae21ca61bfdca308c68155ce2c2e09e43
2014-12-18 11:53:14 -05:00
Andrew Halberstadt
9b51cfc77a Bug 1111727 - Bump mozrunner to version 6.7, r=whimboo
--HG--
extra : rebase_source : 34854203ebbc8b2339de54f83d29e381f718208a
2014-12-16 09:31:06 -05:00
Andrew Halberstadt
c8f27fca64 Bug 1111727 - Make sure mozrunner's command line interface uses the proper profile class, r=whimboo
--HG--
extra : rebase_source : 46c97f32314078f71808bd5083df159060f6f4d7
2014-12-15 16:47:13 -05:00
Bob Clary
a5fc550644 Bug 1110817 - [mozdevice] - adb_android.is_device_ready - UnboundLocalError: local variable 'data' referenced before assignment, r=wlach. 2014-12-14 18:18:39 -08:00
Bob Clary
430ccc4428 Bug 1099475 - devicemanagerADB.py - Do not quote uri in launchProcess since it is passed in an argument array in _checkCmd, r=wlach 2014-12-14 18:18:38 -08:00
Chris Manchester
9d601c0fb5 Bug 1055765 - Implement log buffering as a handler in mozlog.;r=jgraham 2014-12-12 12:08:31 -05:00
Byron Campen [:bwc]
2ba52c09a0 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Phil Ringnalda
648f45923d Backed out 10 changesets (bug 1091242) for Android/b2g non-unified build bustage
CLOSED TREE

Backed out changeset 7f72b55c5de7 (bug 1091242)
Backed out changeset f1501aa24397 (bug 1091242)
Backed out changeset 7fde5994aee5 (bug 1091242)
Backed out changeset 59b415714087 (bug 1091242)
Backed out changeset dadb65fedc08 (bug 1091242)
Backed out changeset 21be81424e4e (bug 1091242)
Backed out changeset 498fb1dafba5 (bug 1091242)
Backed out changeset 8d0653eb85ab (bug 1091242)
Backed out changeset c82d484e135a (bug 1091242)
Backed out changeset 3e0c8932f1b1 (bug 1091242)
2014-12-08 20:53:07 -08:00
Byron Campen [:bwc]
163bd6c253 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Julien Pagès
3ed78f4286 Bug 920938 - [manifestparser] handle symlinks in populate_directory and from directories; r=jmaher 2014-12-05 09:59:00 +01:00
Malini Das
4d6195869a Bug 1108023 - update idb path in mozrunner, r=ahal 2014-12-05 14:32:38 -08:00
Ting-Yu Chou
dfa10c07b1 Bug 989048 - Do not overwrite emulator's user data image. r=ahal
--HG--
extra : rebase_source : d7143ad6539c162f1c3e42211258febe4e862f48
2014-12-03 16:41:45 -08:00
Dave Hunt
5c7e269a2e Bug 1105995 - [mozversion] Bump version to 1.1. r=wlachance 2014-12-02 05:31:07 -08:00
Dave Hunt
7c199c7f5e Bug 1102140 - [mozversion] Support the ADB server running on an alternate host/port. r=wlachance 2014-11-28 09:59:23 +00:00
Julien Pagès
f6a6bd8223 Bug 1065390 - [mozlog] various minor improvements of XUnit structured formatter; r=jgraham 2014-10-20 14:35:00 +02:00
Dave Hunt
430c0ce34b Bug 1105764 - [mozdevice] Bump version to 0.44. r=mdas 2014-11-27 15:32:41 +00:00
Dave Hunt
9909fd462c Bug 1101655 - [mozdevice] Support the ADB server running on an alternate host/port. r=wlachance 2014-11-25 10:19:00 +01:00
James Graham
7119f7e67d Bug 1103905 - Bump version number of mozlog, r=davehunt 2014-11-24 12:56:32 +00:00
Dave Hunt
fbecf86824 Bug 1066077 - [mozdevice] Raise an exception when there is no device attached. r=wlachance 2014-11-20 04:08:00 +01:00
James Graham
13663a72f7 Bug 1098404 - Implement per-component filters for mozlog, r=chmanchester
This allows individual component loggers to e.g. discard all messages below a
set level, or rewrite messages from one level to another.

--HG--
extra : rebase_source : 9b37981368edb099ac555a2dacfafd486f8fcd2d
extra : histedit_source : 144d17f582944703b07529e31bf13b845d5f9695%2C706e2b7db06a1217d0e956614f0232c153a6a3d0
2014-11-21 11:43:54 +00:00
Carsten "Tomcat" Book
cbf85a77cb Backed out changeset d917152c263d (bug 920938) for build warning/failures 2014-11-21 11:05:45 +01:00
Philipp Kewisch
e92841f58d Bug 1095151 - [mozinstall] Don't show finder window when installing a dmg on mac. r=whimboo 2014-11-06 23:29:03 +01:00
Julien Pagès
53926ff2bb Bug 920938 - [ManifestDestiny] handle symlinks in populate_directory and from directories; r=jmaher 2014-11-03 04:24:00 +01:00
Andrew Halberstadt
574ae0e442 Bug 1060527 - [mozprocess] signal finished if IO completion port unexpectedly closed on windows, r=jgriffin
--HG--
extra : rebase_source : 773b4bdcbaa088caa958b6d084989439f00a0370
2014-11-14 08:47:32 -05:00
Andrew Halberstadt
eaa5f08eef Bug 1073093 - [mozlog] make sure formatter wasn't removed from defaults before adding commandline option for it, r=chmanchester
--HG--
extra : rebase_source : 3357bbf0ea607a07111b6aa5258d0476c782f824
2014-11-14 09:23:22 -05:00
William Lachance
510a01fde0 Bug 1097901 - Improve structured log example + docs;r=jgraham DONTBUILD 2014-11-13 16:45:43 -05:00
Ryan VanderMeulen
cf2d6a0532 Backed out changeset 92fc5580994a (bug 1038868) for causing intermittent OSX Marionette timeouts.
--HG--
extra : rebase_source : dcf4d8c25d8612b043c3a08a862ffef99c16fd95
2014-11-12 14:39:59 -05:00
Chris Manchester
6330530055 Bug 1090485 - Fix mozlog's commandline to accept file arguments for a formatter that is also the stdout default.;r=jgraham 2014-10-28 17:03:20 -04:00
Dave Hunt
769d0c1dd0 Bug 1038868 - Use B2GDeviceRunner in the Marionette client. r=ahalberstadt 2014-11-12 14:52:59 +00:00
Dave Hunt
e841d59a1c Bug 1094164 - [mozdevice] Raise exception if we fail to forward socket connections. r=wlachance 2014-11-12 10:41:41 +00:00
Dave Hunt
d0ed43c651 Bug 1087250 - [mozlog] Bump version number to 0.27. r=wlachance 2014-11-06 08:57:26 +00:00
Pankaj Malhotra(:bitgeeky)
5e63bf725a Bug 1064960 - [mozprocess] Guard against the output thread trying to join with itself. r=ahal 2014-11-04 02:35:00 +01:00
Dave Hunt
f469be92b5 Bug 1090148 - [mozlog] Remove test class from HTML formatter. r=cmanchester 2014-11-05 10:44:19 +00:00
Pankaj Malhotra(:bitgeeky)
2f223621d1 Bug 1087682 - Add a manifestparser test for the case where there is no manifest. r=jgriffin 2014-11-04 04:16:00 +01:00
Geoff Brown
e9ee697f6a Bug 1093328 - Limit crashreports to first 10 minidumps; r=ted 2014-11-04 08:17:19 -07:00
William Lachance
e82f01e467 Bug 1093175 - Make ADBDevice examples in docs run as written;r=bc DONTBUILD 2014-11-03 12:09:02 -05:00
William Lachance
3d60f9182c Bug 945706 - [mozlog] logger.exception() calls do not add exception information to the output; r=wlach 2014-11-03 11:26:11 -05:00
Chris Manchester
1525d14404 Bug 1091413 - Refrain from printing the command args with each call to process_output in mozlog's machformatter;r=jgraham 2014-10-30 11:37:22 -04:00
Mark Hammond
cc0349565a Bug 1090733 - xpcshell tests fail if no terminal configured. r=chmanchester 2014-10-30 12:13:34 +11:00
Malini Das
d1e2513b59 Bug 1090022 - [mozrunner] Allow storing crashdumps by default, r=ahal 2014-10-28 11:41:19 -04:00
Tom Tromey
87278b8c56 Bug 1075072 - Pass debuggerArgs as a string to get_debugger_info. r=ted 2014-10-24 09:40:00 -04:00
Dave Hunt
76559da488 Bug 1087248 - [mozlog] Fix encoding for debug in HTML formatter such as page source. r=jgraham 2014-10-27 05:55:00 +01:00
Geoff Brown
6aed4508f7 Bug 1084473 - Avoid intermittent DMError in getTopActivity on some Android 4.4 devices; r=jmaher 2014-10-24 09:37:32 -06:00
Henrik Skupin
e5885c5aaf Bug 1088112 - [mozversion] Bump version to 1.0 and release to pypi. r=dhunt DONTBUILD
---
 testing/mozbase/mozversion/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-10-24 11:19:14 +02:00
Dave Hunt
f3f67b9134 Bug 1087244 - [mozlog] Fix screenshot links in the HTML formatter. r=jgraham 2014-10-22 07:02:00 +02:00
Julien Pagès
9e5994197d Bug 1065988 - [mozversion] If platform.ini for a local application is missing, an exception should be raised; r=dhunt 2014-10-24 09:02:29 +02:00
Henrik Skupin
066f50cd0c Bug 1088060 - [mozversion] Get all application and platform data. r=dhunt
---
 testing/mozbase/mozversion/mozversion/mozversion.py | 10 +++++-----
 testing/mozbase/mozversion/tests/test_binary.py     | 11 +++++++++--
 2 files changed, 14 insertions(+), 7 deletions(-)

--HG--
extra : rebase_source : 85ab0046a4aa8c96dc32e7ff24f7cfeeee2f034b
2014-10-23 17:46:23 +02:00
Jonathan Griffin
1be8d0b401 Bug 1087711 - Bump manifestparser to 0.8, r=jmaher 2014-10-22 16:04:15 -07:00
Chris Manchester
ef1b74c2d5 Bug 1068923 - Provide the including manifest name to uniquely identify tests in case of a dupe manifest. r=ahal
The path of the including manifest is included in test objects whenever possible to aide identification of tests in cases the same test file is included by multiple manifests.
2014-10-22 16:04:51 -04:00
Dave Hunt
528409f1c2 Bug 1065402 - Include environment details in HTML formatter. r=jgraham 2014-10-22 06:01:00 -04:00
Jonathan Griffin
c911a69ae6 Bug 1086678 - Provide a default value for subsuite, r=jmaher 2014-10-21 13:12:35 -07:00
Wes Kocher
c0a3376acf Backed out changeset 325d41a714e3 (bug 1086678) for bustage on a CLOSED TREE 2014-10-21 13:51:26 -07:00
Jonathan Griffin
2e646ce6bc Bug 1086678 - Provide a default value for subsuite, r=jmaher 2014-10-21 13:12:35 -07:00
Dave Hunt
03e3f3c2c8 Bug 1086531 - [mozdevice] Bump version to 0.43. r=wlachance 2014-10-21 06:38:00 -04:00
Dave Hunt
721b9903b7 Bug 1085318 - [mozdevice] Change the log level within DeviceManagerADB.getInfo to DEBUG. r=wlachance 2014-10-20 05:05:00 +02:00
Dave Hunt
5ab98bf44e Bug 1084519 - Return full uptime string if unable to parse. r=gbrown 2014-10-20 04:44:00 +02:00
Julien Pagès
0ab5182415 Bug 1008943 - mozinfo should be cheaper to import. r=ahal 2014-10-20 02:57:00 +02:00
Chris Manchester
392efab7ef Bug 1079635 - Implement a verbose option for the machformatter for those debugging tests locally.;r=jgraham 2014-10-17 11:59:15 -04:00
Chris Manchester
81f3d2c57a Bug 1066785 - Log a summary of expected and unexpected statuses in the mozlog StatusHandler summary.;r=jgraham 2014-10-17 11:59:02 -04:00
Julien Pagès
1095cdf554 Bug 1068956 - mozversion should throw some kind of exception if binary specified and nothing found. r=wlach 2014-10-15 03:49:00 +02:00
Carsten "Tomcat" Book
f7c5abc02e Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Dave Hunt
5eb25db93a Bug 1083218 - [mozdevice] Bump version to 0.42. r=wlachance 2014-10-15 08:37:00 -04:00
Dave Hunt
feb1be8db6 Bug 1082469 - [mozrunner] Bump version to 6.4. r=ahal 2014-10-14 02:49:00 -04:00
William Lachance
5e7549a1b5 Bug 1080761 - "mach robocop <test> fails on Nexus 4" . r=armenzg 2014-10-09 13:51:00 +02:00
Dave Hunt
a4abf33abe Bug 1082470 - [mozcrash] Bump version to 0.14. r=ahalberstadt 2014-10-14 02:47:00 +02:00
Julien Pagès
def6283c23 Bug 859422 - update sphinx documentation for mozfile. r=wlach 2014-10-13 08:37:00 +02:00
Dave Hunt
a00b68b84e Bug 1078274 - [mozdevice] Add memtotal to getInfo with implementation in DeviceManagerADB. r=wlach 2014-10-14 13:43:22 -04:00
Ryan VanderMeulen
2448bdccf6 Backed out changeset 16706b686cec (bug 1078274) for B2G cpptest permafail.
CLOSED TREE
2014-10-14 12:36:15 -04:00
Dave Hunt
61900f7977 Bug 1078274 - [mozdevice] Add memtotal to getInfo with implementation in DeviceManagerADB. r=wlach 2014-10-13 03:10:00 -04:00
Julien Pagès
f4400deb87 Bug 1064731 - [mozversion] Add unit test to cover the case when binary is a symlink. r=dhunt 2014-10-14 04:00:00 -04:00
Edwin Flores
63d85513b6 Bug 1072024 - Disable sandbox during gtests on linux - r=ted 2014-10-14 11:04:59 +13:00
Steve Fink
2d55670ae9 Backed out changeset b43ed5b85b1a (bug 1075072) because it broke other workflows.
DONTBUILD because NPOTB
2014-10-13 09:38:17 -07:00
Dave Hunt
1defa25c2c Bug 1081167 - [mozdevice] Fix uptime info and command line info for ADB connected devices. r=wlach 2014-10-10 09:22:00 +02:00
Ryan VanderMeulen
465c33de9c Merge inbound to m-c. a=merge 2014-10-12 14:45:42 -04:00
Julien Pagès
ac143aa744 Bug 859422 - Document why mozfile.remove works better than shutil.rmtree. r=wlach 2014-10-11 10:33:00 -04:00
Chris Manchester
6bdb40ba51 Bug 1078869 - Structured logging for mozbase unit tests. r=ahal 2014-10-06 20:20:38 -04:00
Steve Fink
5a0f8a1033 Bug 1075072 - debuggerArgs is a list not str, r=gps 2014-09-30 11:30:52 -07:00
Dave Hunt
469399bd18 Bug 1079774 - [mozrunner] Reduce time spent detecting crashes on devices. r=ahalberstadt 2014-10-08 03:58:00 +02:00
William Lachance
fb845401b2 Bug 1078935 - Specify mozlog >= 2.0 requirement in mozversion;r=davehunt DONTBUILD 2014-10-08 10:22:12 -07:00
Daniel Lee
7593a5e601 Bug 705864 - [mozprocess] mozprocess tests should use mozprocess.pid. r=ahal 2014-10-07 07:00:40 -07:00
Andrei Eftimie
c10be50a8c Bug 1056037 - Bump manifestparser version to 0.7. r=hskupin 2014-10-07 10:41:59 +02:00
Jonathan Griffin
f979eeaec6 Bug 1078385 - Bump mozdevice to 0.41, r=jgraham 2014-10-06 10:31:31 -07:00
Mike Shal
2fe70240b6 Bug 1013730 - Have mach ignore broken disk io stats; r=gps
This works around the "RuntimeError: couldn't find any physical disk"
issue on Windows when using 'diskperf -n'
2014-10-01 13:14:58 -04:00
Dave Hunt
92adbd538e Bug 1075647 - [mozrunner] Keep track of crashes detected during the life of the runner. r=ahalberstadt 2014-10-01 10:29:00 -04:00
William Lachance
06590b4a4c Bug 1073697 - mozversion should accept binary_path without .exe extension on windows;r=davehunt 2014-09-30 11:28:38 -04:00
Andrei Eftimie
76452a6326 Bug 1023790 - [manifestparser] Add support for parent link. r=hskupin, r=jmaher 2014-10-02 14:23:21 +02:00
Dave Hunt
86edbf551a Bug 1073441 - [mozversion] Include base image version for Flame-KK device. r=wlachance 2014-09-30 02:10:00 +02:00
Ryan VanderMeulen
708c3f168f Backed out changesets 8be8d3dd116b and 6abcab74130a (bug 1073698) for checktest failures. 2014-09-29 15:37:22 -04:00
William Lachance
ad089783cc Bug 1073698 - fix logic error in previous patch;r=davehunt 2014-09-29 14:55:18 -04:00
William Lachance
7ac3db4bbf Bug 1073698 - mozversion should accept binary_path without .exe extension on windows;r=davehunt 2014-09-29 14:49:49 -04:00
Dave Hunt
82b0d96aa9 Bug 1065375 - Add stack trace to HTML structured log formatter. r=jgraham 2014-09-15 08:52:00 -04:00
Alessio Placitelli
d9797dabb3 Bug 1067037 - Split debugger arguments passed through --debugger-args. r=ted 2014-09-23 08:11:00 -04:00
Chris Manchester
ab100f0c22 Bug 1068429 - Log crashes with structured logging for those using structured logging.;r=ahal 2014-09-23 20:33:31 -04:00
Chris Manchester
ee817ff08c Bug 1068429 - Trivial fixes for formatting crashes in the tbplformatter.;r=jgraham 2014-09-23 20:33:31 -04:00
Chris Manchester
1d9b9f7e78 Bug 1068429 - Provide an indication whether a crash was logged by log_crashes.r=ted 2014-09-23 20:33:11 -04:00
Chris Manchester
94c90d1424 Bug 1068732 - Add action counts to mozlog status handler to account for crashes. r=jgraham 2014-09-22 14:37:10 -04:00
Alessio Placitelli
5be534e8c8 Bug 1067037 - Fixes the usage of passed debugger arguments in mozdebug. r=ted 2014-09-18 07:14:42 -04:00
Daniel Lee
cf68a0d1e2 Bug 1067008 - [mozprocess] mozprocess.pid running_process should look at the entire command not just the executable name. r=ahal 2014-09-16 16:56:21 -07:00
Nathan Froyd
4a790d211f Bug 976733 - part 3 - convert testing/mozbase/ to use TEST_HARNESS_FILES; r=gps 2014-08-29 11:03:11 -04:00
Dave Hunt
9d6153a0be Bug 1065340 - Update mozversion to use structured logging. r=jgraham 2014-09-15 08:31:00 +02:00
Carsten "Tomcat" Book
31e4f608a4 merge fx-team to mozilla-central a=merge 2014-09-15 14:29:01 +02:00
Mark Hammond
9975b9acc5 Bug 1058433 - nsPermissionManager now records the mod-time of a permission and allows removal of ones modified since a specified time. r=ehsan 2014-09-15 11:33:12 +10:00
Dave Hunt
2189a1fd50 Bug 1065408 - Restore test result colours in the HTML formatter log. r=jgraham 2014-09-10 08:07:00 +02:00
Chris Manchester
bc54b18354 Bug 1063535 - Provide a mozlog handler to report overall status of a test run for the benefit of mozharness and others. r=jgraham 2014-09-12 15:00:39 -04:00
Alessio Placitelli
b3e285101d Bug 928397 - Add the documentation for mozdebug. r=ted 2014-09-09 11:53:00 +02:00
Alessio Placitelli
3c8a2e73f8 Bug 928397 - Add mozdebug package to mozbase. r=ted.mielczarek 2014-07-02 13:51:00 +02:00
Dave Hunt
214b19143e Bug 1066097 - Bump mozrunner version to 6.3. r=ahal 2014-09-11 07:57:00 -04:00
Henrik Skupin
d3b7b55b8a Bug 1064193 - Bump mozversion to 0.7. r=dhunt DONTBUILD 2014-09-08 12:12:01 +02:00
Henrik Skupin
8f81153175 Bug 1061809 - [mozversion] Update retrieval of application information due to upcoming Mac signing changes. r=dhunt
---
 testing/mozbase/mozversion/mozversion/__init__.py  |  3 +-
 testing/mozbase/mozversion/mozversion/errors.py    | 26 ++++++++++
 .../mozbase/mozversion/mozversion/mozversion.py    | 58 ++++++++++++----------
 testing/mozbase/mozversion/tests/test_binary.py    | 22 ++++++--
 testing/mozbase/mozversion/tests/test_sources.py   | 17 ++++---
 5 files changed, 90 insertions(+), 36 deletions(-)
 create mode 100644 testing/mozbase/mozversion/mozversion/errors.py
2014-09-11 17:23:05 +02:00
Andrew Halberstadt
cac6fe47be Bug 1065994 - Fix mozrunner unittests which were regressed by an argument re-ordering, r=whimboo 2014-09-11 10:13:24 -04:00
Chris Manchester
38ca929d3e Bug 1063528 - Omit spurious newline for unexpected pass in the tbplformatter.;r=Ms2ger 2014-09-05 11:37:57 -04:00
Dave Hunt
171070b9ba Bug 1064976 - HTML structured log formatter raises UnboundLocalError. r=wlachance 2014-09-10 06:15:00 +02:00
Dave Hunt
5bfaf70a0b Bug 1051986 - Make B2GDeviceRunner's stop method kill the remote process. r=ahal 2014-09-09 09:38:00 -04:00
Armen Zambrano Gasparnian
827452803a Bug 1053453 - Raise exception when DeviceManagerADB pushes a file & fails. r=wlach 2014-09-10 09:36:41 -04:00
Henrik Skupin
0593adf407 Backed out changeset 3368efceb99f due to test failure 2014-09-08 12:29:38 +02:00
Henrik Skupin
d370cd79e9 Bug 1061809 - [mozversion] Update retrieval of application information due to upcoming Mac signing changes. r=wlach 2014-09-05 17:30:59 +02:00
Jonathan Griffin
825e6ee469 Bug 1061982 - manifestparser changes to support conditional subsuites, r=jmaher 2014-09-05 10:44:22 -07:00
Chris Manchester
f97ed9e921 Bug 1060366 - Log a message about the expected status when an unexpected status is encountered and no message is provided. r=jgraham 2014-09-03 10:03:29 -04:00
Andrew Halberstadt
bbc3e1995a Bug 857966 - manifestparser should error on non-existent test when strict enabled, r=davehunt 2014-09-03 14:17:40 -04:00
Dave Hunt
a35ecd7b83 Bug 1032777 - Include base image version for Flame device. r=wlachance 2014-09-03 06:20:00 -04:00
James Graham
673e9ccdb2 Bug 1048942 - Add support for getting the device ip address to mozdevice.adb, r=bclary
--HG--
extra : rebase_source : 7916268670f353b80270da7eb5b46ef421f04b00
2014-09-02 18:22:35 +01:00
James Graham
c228a83f14 Bug 1048883 - Add extra methods for remounting, pulling files and forwarding ports, r=bclary
--HG--
extra : rebase_source : 79bd474fffde3c74a5d5bab1ccd48d0082c1699c
2014-09-02 18:22:34 +01:00
James Graham
222aafe047 Bug 1048881 - Make ADBDevice.test_root into a computed property, r=bclary
--HG--
extra : rebase_source : 7ea68855aa40dfa519dbf668d091827de31fb829
2014-09-02 18:22:34 +01:00
James Graham
e6fa61b355 Bug 1050896 - Improve specification of device serial in mozdevice.adb, r=bclary
--HG--
extra : rebase_source : 991b9e2d3007e0f3b8552da607edcc6e2e674fb8
2014-09-02 18:22:34 +01:00
James Graham
8bc4ac7214 Bug 1048889 - Make mozdevice.adb work with structured logging, r=bclary
--HG--
extra : rebase_source : c52f8181d1debebb9c4ca467b690ba33dbcd052a
2014-09-02 18:22:33 +01:00
Chris Manchester
592e91ff19 Bug 1059609 - Provide enumeration of known log actions in mozlog.structured. r=jgraham 2014-09-02 14:43:18 -04:00
Dave Hunt
4a087eb727 Bug 1059404 - Accept a dump save path when checking for crashes in DeviceRunner. r=ahalberstadt 2014-09-02 09:26:00 +02:00
Chris Manchester
7e5d4e221f Bug 1060523 - Omit extra newlines when logging exception messages in moztest. r=jgraham 2014-08-29 14:43:28 -04:00
Carsten "Tomcat" Book
5a4bb2d7e4 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
Kyle Machulis
e4c89bc8a8 Bug 1059079 - Up mozrunner timeout and add watch for new homescreen name; r=ahal r=mdas
--HG--
extra : rebase_source : 1dc65791e0d66d91cd705df513f123c898bba7a1
2014-08-27 21:01:28 -07:00
Andrei Eftimie
a824963808 Bug 1059761 - Bump mozprofile version to 0.22. r=ahal DONTBUILD
--HG--
extra : rebase_source : 5c0527648f992d5b274a3408a8fdbbb35ea115ce
2014-08-29 07:41:23 +02:00
Chris Manchester
551431c128 Bug 1059453 - Treat either str or unicode as a file in mozlog's commandline.py. r=jgraham 2014-08-28 09:42:02 -04:00
Dave Hunt
9da2ed43b0 Bug 1059248 - Accept a test name when checking for crashes in DeviceRunner. r=ahalberstadt 2014-08-27 09:49:00 -04:00
Dave Hunt
cbec1d4c24 Bug 1052433 - Remove the device reboot in B2GDeviceRunner. r=ahalberstadt 2014-08-27 10:32:00 -04:00
Chris Manchester
4b1e9cce34 Bug 1057056 - Set __doc__ attribute of decorated structured logger methods. r=jgraham 2014-08-25 11:16:50 -04:00
Chris Manchester
e9e352bb91 Bug 1047429 - Remove unstructured mozlog docs to reduce risk of use in new code. r=ahal
--HG--
extra : rebase_source : 8ad569f3898f4d3758f99d50528a8c4c5ac13320
2014-08-25 11:29:43 -04:00
Dave Hunt
6505e8e165 Bug 1057046 - Remove temporary local folder used for storing minidumps by B2GDeviceRunner. r=ahalberstadt 2014-08-21 14:05:00 +02:00
Dave Hunt
97a93866c5 Bug 1057044 - Remove minidumps from device after pulling them for crash detection. r=ahalberstadt 2014-08-22 08:12:00 +02:00
James Graham
e8f42a3d58 Bug 1057666 - Ensure that only one log message is printed per line, r=chmanchester 2014-08-23 19:15:00 +01:00
Chris Manchester
9ef7bae565 Bug 1056930 - Release a new mozlog for inclusion of exception stacks in test_end message. DONTBUILD;r=jgraham 2014-08-21 17:49:14 -04:00
Chris Manchester
888fbd55b7 Bug 1056931 - Release a new moztest to pick up stack logging.;r=jgraham 2014-08-21 17:50:54 -04:00
James Graham
c6348653af Bug 1056587 - Only print line with expected status in tbpl logs when this isn't PASS, r=chmanchester
--HG--
extra : rebase_source : 7a7505b90f156381e5be563dab5c783f45860456
2014-08-21 23:35:25 +01:00
Andrew Halberstadt
236482413b Bug 1055014 - Fix mistake in mozdevice.pushDir that is causing an exception while trying to use zip/unzip, r=wlach 2014-08-21 15:53:34 -04:00
Chris Manchester
c531ff3610 Bug 1055679 - Log stacks and messages separately in moztest's unittest adapter and include stacks in mozlog's test_end.;r=jgraham 2014-08-19 17:22:53 -04:00
William Lachance
31e81be888 Bug 1016467 - Add mozversion unit test that was forgotten earlier;r=ahal 2014-08-19 15:20:32 -04:00
Andrei Eftimie
3b1c7a5696 Bug 1049676 - [mozprofile] Preserve new added prefs during profile reset. r=hskupin, r=ahal 2014-08-18 06:34:00 -04:00
James Graham
6423494d3d Bug 1055522 - Bump mozcrash version number for structured logging changes, r=ted.mielczarek 2014-08-19 16:17:58 +01:00
James Graham
780363cd55 Bug 1055521 - Expose mozcrash.log_crashes for structured logging of crashes, r=ted.mielczarek 2014-08-19 16:15:19 +01:00
Wes Kocher
2690d3d1d6 Backed out changeset c69cc7b3c21d (bug 1016467) for B2G Windows bustage 2014-08-18 17:19:26 -07:00
William Lachance
d7f74af6ec Bug 1016467 - Add mozversion unit test that was forgotten earlier;r=ahal 2014-08-18 17:20:22 -04:00
William Lachance
0b1d76b8b1 Bug 1055188 - Bump mozdevice to 0.40;r=bc DONTBUILD NPOTB 2014-08-18 16:00:07 -04:00
Chris Manchester
7190255920 Bug 1054375 - Fix reference to tbplformatter in mozlog docs. r=wlach 2014-08-15 14:30:38 -04:00
Chris Manchester
d806a9a45b Bug 1054324 - Bump mozlog version to pick up exception stack logging. r=ahal 2014-08-15 12:00:55 -04:00
James Graham
a2bb316d84 Bug 1023371 - Refactor mozcrash to seperate out the IO from the stack inspection, r=ted.mielczarek
This makes it compatible with structured logging.
2014-08-15 23:19:34 +01:00
William Lachance
b83b11e890 Bug 1051895 - Make mozdevice docs a bit easier to navigate;r=bc DONTBUILD NPOTB 2014-08-15 12:59:02 -04:00
Chris Manchester
c31aa0d6b1 Bug 1054114 - Add exception stacks logged in test_status to mach and tbpl formatters.;r=jgraham 2014-08-15 10:55:48 -04:00
Ralph Giles
41607702a5 Bug 1054043 - Remove 32 bit cmd wapper from mozrunner. r=ted
We no longer support MacOS 10.5 and the version string compare
fails on 10.10. Unbreaks running the mochitests there.
2014-08-14 15:44:00 -07:00
Ahmed Kachkach
ffcefe7b13 Bug 1039833 - Add structured logging command line arguments for mochitest/mach. r=chmanchester, r=ahal 2014-08-13 12:03:00 -04:00
Andrew Halberstadt
efe92f4322 Bug 969146 - DeviceRunner should always check for crashes onFinish, r=davehunt 2014-08-14 10:24:47 -04:00
James Graham
4dc22be93e Bug 1053207 - Count number of passing subtests in mach formatter, r=chmanchester 2014-08-13 18:52:48 +01:00
James Graham
84322a612a Bug 1050700 - Add support for exc_info to mozlog.structured log actions, r=chmanchester 2014-08-13 18:52:47 +01:00
James Graham
982d7ff062 Bug 1050408 - Remove uses of logging.warn from DeviceManager, r=wlach 2014-08-12 14:37:22 +01:00
Armen Zambrano Gasparnian
feec3e4b65 Bug 1051799 - [mozprocess] Bump mozprocess to 0.21. r=wlach. DONTBUILD 2014-08-11 11:36:01 -04:00
Armen Zambrano Gasparnian
a6307894ba Bug 1046087 - Normalize line endings on mozprocess for Adb Windows. r=wlach 2014-08-11 08:59:56 -04:00
Ms2ger
44da1e73c1 Bug 1051199 - Bump mozlog to version 2.4; r=jgraham (DONTBUILD) 2014-08-10 09:56:56 +02:00
Ryan VanderMeulen
aee9a92bab Backed out changeset 735394aa3813 (bug 1046087) for Windows bustage.
CLOSED TREE
2014-08-08 13:01:25 -04:00
Armen Zambrano Gasparnian
d5f71c2c16 Bug 1050756 - Bump mozprocess to 0.20. r=wlach. DONTBUILD 2014-08-08 09:10:12 -04:00
Armen Zambrano Gasparnian
7ddabd7200 Bug 1048967. Allow versioninfo.py to run from any directory. DONTBUILD 2014-08-08 09:04:57 -04:00
William Lachance
4196125e7a Bug 1046380 - Print device root to standard output in dm client;r=armenzg NPOTB DONTBUILD 2014-08-06 19:27:53 -04:00
Armen Zambrano Gasparnian
3dd64a0d15 Bug 1046087 - Normalize line endings on Windows. r=wlach
We have found out that the output of Adb on Windows ends with
\r\r\n rather than \r\n. This abnormal line ending cannot be
dealt properly with python's universal_lines. Instead we
decided to normalize every line ending to \n.
2014-08-08 08:47:05 -04:00
James Graham
2e87873593 Bug 1050724 - Correct list of possible subtest statuses, r=Ms2ger 2014-08-08 11:42:21 +01:00
James Graham
8780a3a5df Bug 1046242 - Provide a run summary in the structuredlog mach formatter, r=chmanchester
--HG--
extra : rebase_source : dc0aaab5252068db22ecb1a1d32b60743c80365d
2014-08-07 22:32:43 +01:00
Chris Manchester
9ed2d4ffc2 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
ad5b528ae3 Bug 1049667 - Bump mozlog to version 2.3;r=jgraham 2014-08-06 13:45:04 -04:00