Commit Graph

799 Commits

Author SHA1 Message Date
Dave Hunt
729813836c Bug 1146292 - [mozlog] Bump version to 2.11. r=jgraham 2015-03-23 11:00:58 +00:00
Julien Pagès
5bd5f0f1fe Bug 1088192 - mozprocess.ProcessHandlerMixin does not handle missing property "proc" on unstarted processes. r=ahal 2015-03-17 01:10:00 +01:00
Julien Pagès
ef6b0d32e0 Bug 923381 - [mozprocess] mozprocess.ProcessHandler should have an option not to print. r=ahal 2015-03-12 13:38:00 +01:00
Andrew Halberstadt
4a6ff3aa47 Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher
--HG--
extra : rebase_source : 1374462488e20cbd6e2048d8d5c63aff49a87911
2015-03-10 09:55:30 -04:00
James Willcox
96b90bb043 Bug 1119962 - Work around 'adb shell' bustedness in newer Android tools r=gbrown 2015-03-09 08:47:03 -05:00
Chris Manchester
b232b5d003 Bug 1140507 - Bump mozprocess version and release to pypi to pick up recent changes.;r=ahal DONTBUILD 2015-03-06 13:55:58 -08:00
Ehsan Akhgari
04e8b0699b Backed out changeset 97ab1c187475 (bug 1124695) for possible b2g ICS debug mochitest-11 failures on a CLOSED TREE 2015-03-06 13:03:54 -05:00
Julien Pagès
5bf31af53c Bug 1132409 - [mozlog] Create directories for log specified on the command line if not present. r=jgraham
--HG--
extra : rebase_source : f895f820c97796573a665ecc28358931700b0c43
2015-03-06 06:17:00 -05:00
Julien Pagès
6c99ee4a01 Bug 1124695 - [mozrunner] and/or [mozprocess] should send SIGTERM before sending SIGKILL by default. r=ahal
--HG--
extra : rebase_source : 88e9f2d8e51384d7e82a15519260b3b21fc22e83
2015-02-27 12:01:00 +01:00
Andrew Halberstadt
07ce5b611f Bug 1137339 - [manifestparser] implement a chunk_by_runtime filter, r=jmaher
With this chunking strategy, the runtimes of tests are taken into account, such that each chunk
takes roughly the same amount of time to finish. Tests belonging to the same manifest will not get
split up.

The algorithm works by sorting every manifest from slowest to fastest. Each manifest is popped off
and its tests are added to the fastest chunk to date until no manifests are left. Total runtimes of
the chunks are re-calculated after every addition.

--HG--
extra : rebase_source : 55eb880256549cb387e659cddbad0f20eaca9f3b
2015-03-05 09:12:55 -05:00
Chris Manchester
c49a2dcff4 Bug 1139722 - Allow use of nested job objects in mozprocess on windows versions that support them.;r=ahal
This patch detects when breaking away from the parent job isn't strictly necessary to manage processses in a new job to allow using nested job objects to manage processes and their children. Loss of job object functionality is handled in mozprocess as non-fatal, however mozrunner and others doing things like restarting firefox require it.
2015-03-05 18:02:38 -08:00
Ryan VanderMeulen
f2ad1daa19 Backed out changeset 99c2fcc61cc2 (bug 958147) for B2G Desktop and Mulet checktest failures.
CLOSED TREE
2015-03-05 10:02:07 -05:00
Anish
f7451e8d19 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r = jmaher,mwargers,ahal 2015-03-05 09:14:04 -05:00
Carsten "Tomcat" Book
d65d7abd09 Backed out changeset b3fe7a6a4939 (bug 958147) for m4 test failures on a CLOSED TREE 2015-03-05 14:00:33 +01:00
Anish
d5524e76d3 Bug 958147 - Remove run_if filter from manifestparser, r=ahal 2015-03-04 15:46:58 -05:00
Andrew Halberstadt
c6d32a2950 Bug 1134395 - mozbuild should pass in rootdir to manifestparser to properly calculate test relpaths, r=gps
--HG--
extra : rebase_source : 0d77784a6e7eea31be009f3f475861cf57caeeb3
2015-02-18 17:07:55 -05:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Geoff Brown
855e467da1 Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Julien Pagès
2756b8c420 Bug 1066643 - [mozlog] Allow users of mozlog's command line options to exclude inappropriate log types. r=jgraham 2015-02-24 14:01:00 -05:00
Geoff Brown
4ca81d0a83 Bug 1137289 - Guard against dumpsys failure in DroidADB; r=jmaher 2015-02-26 14:56:48 -07:00
Ted Mielczarek
61b17bc728 bug 1137228 - use readline instead of iterator for reading mozprocess output. r=ahal
--HG--
extra : rebase_source : dfea4b912d5e91e13330e92fdd300a44bf0a9dc4
2015-02-26 15:16:59 -05:00
Julien Pagès
21fb986d25 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.
2015-02-23 07:39:00 -05:00
William Lachance
cf9936f338 Bug 1135255 - Fix mozdevice tempfile handling on Windows. r=gbrown 2015-02-23 10:56:50 -05:00
William Lachance
f243dc7e3e Bug 1133076 - Add documentation for mozinstall. r=ahal 2015-02-17 13:48:17 -05:00
Andrew Halberstadt
9252eecf41 Bug 1132154 - [manifestparser] Implement basic chunking algorithms in manifestparser, r=jmaher
The algorithms are chunk_by_slice and chunk_by_dir and were largely copied from:
http://hg.mozilla.org/mozilla-central/file/fd12875a8a48/testing/mochitest/chunkifyTests.js

--HG--
extra : rebase_source : a19c24d078b90939062c42769d72e7db4e1b35d2
2015-02-13 16:23:45 -05:00
William Lachance
0e7ac25667 Bug 1132716 - Release mozversion 1.2. r=davehunt
CLOSED TREE
2015-02-12 18:09:53 -05:00
Julien Pagès
9fcecfd6ac Bug 1132415 - [mozversion] Expose the package name for local fennec APK file. r=wlach 2015-02-12 04:36:00 +01:00
Julien Pagès
ecf2ab744f Bug 1132076 - [mozlog] Incorrect skip count in HTML log summary. r=davehunt 2015-02-11 09:19:00 -05:00
Henrik Skupin
f6d57696aa Bug 1131980 - Release mozinstall 1.11 to pypi. r=ahal DONTBUILD
--HG--
extra : rebase_source : d62b52d13b3617cd165fbd7504ca78227b8af353
2015-02-11 20:54:23 +01:00
Andrew Halberstadt
bc64a1699e Bug 1129495 - [mozlog] Add optional 'path' attribute to test_start, r=jgraham
--HG--
extra : rebase_source : d26387e9674a97c4571d29ee80e0e00609ed2a72
2015-02-10 17:11:35 -05:00
Andrew Halberstadt
f02004a920 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)

--HG--
extra : rebase_source : adead90910811e71e8ea2bb862f2b8e92f2c1bee
2015-02-10 09:38:29 -05:00
Dave Hunt
9cb2cd3d6f Bug 1130358 - [mozlog] Bump version to 2.10. r=jgraham 2015-02-06 04:47:00 -05:00
Wes Kocher
0315d466dd Backed out changeset ea625e85c72a (bug 1123763) for checktest orange on a CLOSED TREE 2015-02-09 14:00:13 -08:00
Andrew Halberstadt
d22477cea4 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)

--HG--
extra : rebase_source : 7afc5d677717279e477d420899ba839073de2d8f
2015-02-09 16:13:00 -05:00
Henrik Skupin
7887f46891 Bug 1130905 - [mozinstall] Fix re-raising of exception in case of failing install or uninstall. r=ahal
--HG--
extra : rebase_source : 455c204936fdf6388fc2d0909e69e6476ad5f71b
2015-02-09 19:03:27 +01:00
Julien Pagès
337d9012ea Bug 1016929 - [mozlog] html formatter imports py.xml, doesn't declare it as a dependency. r=jgraham
--HG--
extra : rebase_source : 249b6ee7f576ce466f77fc063fef4c7fddffa9ec
2015-02-04 09:54:00 +01:00
Maciek
2d6f742885 Bug 1103945 - Add command line tool to merge multiple raw structured logs, r=jgraham
--HG--
extra : rebase_source : e2e07270a584c61bc01d6e68d7bf4e3ff9a451e2
2015-02-02 20:13:50 +01:00
Geoff Brown
0f3021e9c6 Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach 2015-01-30 15:23:41 -07:00
Geoff Brown
3b22615be7 Bug 1127457 - Fix check for zip in devicemanagerADB.py; r=armenzg 2015-01-30 15:23:40 -07:00
Armen Zambrano Gasparnian
6601f54e8c Bug 1040079 - Change logging level for chmod operations for mozdevice. DONTBUILD. r=wlach 2015-01-27 15:20:09 -05:00
Dan Minor
2f80d05bee Bug 1003408 - increase timeout for test_start_with_outputTimeout to avoid failures on test machines; r=wlach
--HG--
extra : rebase_source : 315adb84a837ce0a20e088c276b177f994205c1d
2015-01-23 12:51:34 -05:00
Ting-Yu Chou
02a694e155 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
a32c75737c Backed out changeset 0ee76a98f2c3 (bug 989048) because it didn't work. 2015-01-22 10:25:18 -05:00
Julien Pagès
e2d2912934 Bug 1119838 - Raise exception early when there is no adb command available; r=bclary 2015-01-19 11:15:53 -05:00
Andrew Halberstadt
eb68fdf7f2 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.

--HG--
extra : rebase_source : dd454973cdb3bcb7ec29dd2e1c0c594e3b3fb817
2015-01-15 09:37:51 -05:00
Ujjwal Wahi
783d26a04d Bug 1121037 - Release mozprofile 0.23. r=whimboo 2015-01-13 23:56:57 +05:30
Geoff Brown
612e1be372 Bug 1099475 - Backout 4386c2d95db3 for bug 1119962; r=backout 2015-01-12 14:33:45 -07:00
Ujjwal Wahi
1cd9ab3a7d 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
7c60600fd9 Bug 1118738 - Fix HTML report colours for expected skips and unexpected errors. r=jgraham 2015-01-07 06:36:00 -05:00
Ujjwal Wahi
120963fffe Bug 1100363 - Maintain preference case. r=whimboo 2015-01-07 14:30:51 +01:00
Gregory Szorc
63c60857b5 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
ae85f164f2 Bug 1065406 - [mozlog] Split test class and name for XUnit formatter. r=jgraham 2014-12-16 16:02:00 +01:00
Ms2ger
f2b16bc10f No bug - Bump the mozlog package version; rs=jgraham 2014-12-19 11:27:28 +01:00
Ms2ger
de702b2126 Bug 1113095 - Handle failing reftests in machformatter's summarizing code; r=jgraham 2014-12-19 11:25:51 +01:00
Ryan VanderMeulen
5e64a42418 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
a46504a0fc Bug 1113284 - Bump manifestparser to 0.9. r=ahal
--HG--
extra : rebase_source : aaf0d817aab50e25a2f45c2f3c5e386c366ea056
2014-12-18 21:00:35 +01:00
Henrik Skupin
e88593acfd 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
ae6214cb51 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
28f79d4ae5 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
b8abb8e65f 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
afea3926fa 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
4fee9d910f 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
11a1ff5261 Bug 1055765 - Implement log buffering as a handler in mozlog.;r=jgraham 2014-12-12 12:08:31 -05:00
Byron Campen [:bwc]
3af28ea884 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
5fe54ea0fd 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]
bb404e8254 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
3dfa6981dc Bug 920938 - [manifestparser] handle symlinks in populate_directory and from directories; r=jmaher 2014-12-05 09:59:00 +01:00
Malini Das
a9ea28c960 Bug 1108023 - update idb path in mozrunner, r=ahal 2014-12-05 14:32:38 -08:00
Ting-Yu Chou
16959d7bdc 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
c2507c0921 Bug 1105995 - [mozversion] Bump version to 1.1. r=wlachance 2014-12-02 05:31:07 -08:00
Dave Hunt
bd758ab7fa 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
e93266931a Bug 1065390 - [mozlog] various minor improvements of XUnit structured formatter; r=jgraham 2014-10-20 14:35:00 +02:00
Dave Hunt
164f5d917f Bug 1105764 - [mozdevice] Bump version to 0.44. r=mdas 2014-11-27 15:32:41 +00:00
Dave Hunt
1b21a53daf 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
26505efb5a Bug 1103905 - Bump version number of mozlog, r=davehunt 2014-11-24 12:56:32 +00:00
Dave Hunt
29fe8bc8e8 Bug 1066077 - [mozdevice] Raise an exception when there is no device attached. r=wlachance 2014-11-20 04:08:00 +01:00
James Graham
9526da9ec9 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
20d22ead7d Backed out changeset d917152c263d (bug 920938) for build warning/failures 2014-11-21 11:05:45 +01:00
Philipp Kewisch
0ce09769bd 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
48c4761304 Bug 920938 - [ManifestDestiny] handle symlinks in populate_directory and from directories; r=jmaher 2014-11-03 04:24:00 +01:00
Andrew Halberstadt
56769d6693 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
6ae8df7d8d 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
807b164e44 Bug 1097901 - Improve structured log example + docs;r=jgraham DONTBUILD 2014-11-13 16:45:43 -05:00
Ryan VanderMeulen
c284b7b86e 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
bbdbda2391 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
0cd239082f Bug 1038868 - Use B2GDeviceRunner in the Marionette client. r=ahalberstadt 2014-11-12 14:52:59 +00:00
Dave Hunt
4d40d47232 Bug 1094164 - [mozdevice] Raise exception if we fail to forward socket connections. r=wlachance 2014-11-12 10:41:41 +00:00
Dave Hunt
cbf6fb7b78 Bug 1087250 - [mozlog] Bump version number to 0.27. r=wlachance 2014-11-06 08:57:26 +00:00
Pankaj Malhotra(:bitgeeky)
945b5e8e0b 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
ac79da7488 Bug 1090148 - [mozlog] Remove test class from HTML formatter. r=cmanchester 2014-11-05 10:44:19 +00:00
Pankaj Malhotra(:bitgeeky)
a5b690fcb0 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
65d6cce4d3 Bug 1093328 - Limit crashreports to first 10 minidumps; r=ted 2014-11-04 08:17:19 -07:00
William Lachance
4c804223f2 Bug 1093175 - Make ADBDevice examples in docs run as written;r=bc DONTBUILD 2014-11-03 12:09:02 -05:00
William Lachance
1438f1530b 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
f361b4e1ec 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
52453853a0 Bug 1090733 - xpcshell tests fail if no terminal configured. r=chmanchester 2014-10-30 12:13:34 +11:00
Malini Das
5db861cb4a Bug 1090022 - [mozrunner] Allow storing crashdumps by default, r=ahal 2014-10-28 11:41:19 -04:00
Tom Tromey
d09e9bb441 Bug 1075072 - Pass debuggerArgs as a string to get_debugger_info. r=ted 2014-10-24 09:40:00 -04:00
Dave Hunt
706c1d8dec 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
491f156d9a 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
eb5ff20f60 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
4baf8b2325 Bug 1087244 - [mozlog] Fix screenshot links in the HTML formatter. r=jgraham 2014-10-22 07:02:00 +02:00
Julien Pagès
0494103ad0 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
09c5ca365a 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
5c8f5b9785 Bug 1087711 - Bump manifestparser to 0.8, r=jmaher 2014-10-22 16:04:15 -07:00
Chris Manchester
a280752de3 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
39c02cf75c Bug 1065402 - Include environment details in HTML formatter. r=jgraham 2014-10-22 06:01:00 -04:00
Jonathan Griffin
c0de77280d Bug 1086678 - Provide a default value for subsuite, r=jmaher 2014-10-21 13:12:35 -07:00
Wes Kocher
1736c2e858 Backed out changeset 325d41a714e3 (bug 1086678) for bustage on a CLOSED TREE 2014-10-21 13:51:26 -07:00
Jonathan Griffin
da52e5aaa0 Bug 1086678 - Provide a default value for subsuite, r=jmaher 2014-10-21 13:12:35 -07:00
Dave Hunt
deb69dce2f Bug 1086531 - [mozdevice] Bump version to 0.43. r=wlachance 2014-10-21 06:38:00 -04:00
Dave Hunt
9940acb270 Bug 1085318 - [mozdevice] Change the log level within DeviceManagerADB.getInfo to DEBUG. r=wlachance 2014-10-20 05:05:00 +02:00
Dave Hunt
45023e2ed9 Bug 1084519 - Return full uptime string if unable to parse. r=gbrown 2014-10-20 04:44:00 +02:00
Julien Pagès
38bf8b96e5 Bug 1008943 - mozinfo should be cheaper to import. r=ahal 2014-10-20 02:57:00 +02:00
Chris Manchester
b7b2dc40de 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
a0be7e74a4 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
b56d64d309 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
e156f56b85 Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Dave Hunt
fb7b2630ab Bug 1083218 - [mozdevice] Bump version to 0.42. r=wlachance 2014-10-15 08:37:00 -04:00
Dave Hunt
578140a5c5 Bug 1082469 - [mozrunner] Bump version to 6.4. r=ahal 2014-10-14 02:49:00 -04:00
William Lachance
0c8848123d Bug 1080761 - "mach robocop <test> fails on Nexus 4" . r=armenzg 2014-10-09 13:51:00 +02:00
Dave Hunt
3ce11fb12b Bug 1082470 - [mozcrash] Bump version to 0.14. r=ahalberstadt 2014-10-14 02:47:00 +02:00
Julien Pagès
6aecdbd83c Bug 859422 - update sphinx documentation for mozfile. r=wlach 2014-10-13 08:37:00 +02:00
Dave Hunt
80ab08fc64 Bug 1078274 - [mozdevice] Add memtotal to getInfo with implementation in DeviceManagerADB. r=wlach 2014-10-14 13:43:22 -04:00
Ryan VanderMeulen
b39ba536c9 Backed out changeset 16706b686cec (bug 1078274) for B2G cpptest permafail.
CLOSED TREE
2014-10-14 12:36:15 -04:00
Dave Hunt
1c5ac85828 Bug 1078274 - [mozdevice] Add memtotal to getInfo with implementation in DeviceManagerADB. r=wlach 2014-10-13 03:10:00 -04:00
Julien Pagès
be4de9ec45 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
6ac0bb3765 Bug 1072024 - Disable sandbox during gtests on linux - r=ted 2014-10-14 11:04:59 +13:00
Steve Fink
271f77de85 Backed out changeset b43ed5b85b1a (bug 1075072) because it broke other workflows.
DONTBUILD because NPOTB
2014-10-13 09:38:17 -07:00
Dave Hunt
9ade482ae1 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
9fcdf86758 Merge inbound to m-c. a=merge 2014-10-12 14:45:42 -04:00
Julien Pagès
224d0c19ae Bug 859422 - Document why mozfile.remove works better than shutil.rmtree. r=wlach 2014-10-11 10:33:00 -04:00
Chris Manchester
278a8890a3 Bug 1078869 - Structured logging for mozbase unit tests. r=ahal 2014-10-06 20:20:38 -04:00
Steve Fink
20c51900f1 Bug 1075072 - debuggerArgs is a list not str, r=gps 2014-09-30 11:30:52 -07:00
Dave Hunt
90523be3da Bug 1079774 - [mozrunner] Reduce time spent detecting crashes on devices. r=ahalberstadt 2014-10-08 03:58:00 +02:00
William Lachance
078f087edc Bug 1078935 - Specify mozlog >= 2.0 requirement in mozversion;r=davehunt DONTBUILD 2014-10-08 10:22:12 -07:00
Daniel Lee
eed6da99ca Bug 705864 - [mozprocess] mozprocess tests should use mozprocess.pid. r=ahal 2014-10-07 07:00:40 -07:00
Andrei Eftimie
23deb5d7c0 Bug 1056037 - Bump manifestparser version to 0.7. r=hskupin 2014-10-07 10:41:59 +02:00
Jonathan Griffin
227929fb1e Bug 1078385 - Bump mozdevice to 0.41, r=jgraham 2014-10-06 10:31:31 -07:00
Mike Shal
1faea8e362 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
67d4be75b5 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
0fac57585a Bug 1073697 - mozversion should accept binary_path without .exe extension on windows;r=davehunt 2014-09-30 11:28:38 -04:00
Andrei Eftimie
5d5579816a Bug 1023790 - [manifestparser] Add support for parent link. r=hskupin, r=jmaher 2014-10-02 14:23:21 +02:00
Dave Hunt
784c2ac8ee Bug 1073441 - [mozversion] Include base image version for Flame-KK device. r=wlachance 2014-09-30 02:10:00 +02:00
Ryan VanderMeulen
2a34d55fd7 Backed out changesets 8be8d3dd116b and 6abcab74130a (bug 1073698) for checktest failures. 2014-09-29 15:37:22 -04:00
William Lachance
bd8cb95c0c Bug 1073698 - fix logic error in previous patch;r=davehunt 2014-09-29 14:55:18 -04:00
William Lachance
57cbb9dd21 Bug 1073698 - mozversion should accept binary_path without .exe extension on windows;r=davehunt 2014-09-29 14:49:49 -04:00
Dave Hunt
d46ae5d9a5 Bug 1065375 - Add stack trace to HTML structured log formatter. r=jgraham 2014-09-15 08:52:00 -04:00
Alessio Placitelli
c4826f34f0 Bug 1067037 - Split debugger arguments passed through --debugger-args. r=ted 2014-09-23 08:11:00 -04:00
Chris Manchester
7a035febd4 Bug 1068429 - Log crashes with structured logging for those using structured logging.;r=ahal 2014-09-23 20:33:31 -04:00
Chris Manchester
4c665047f4 Bug 1068429 - Trivial fixes for formatting crashes in the tbplformatter.;r=jgraham 2014-09-23 20:33:31 -04:00
Chris Manchester
e2b843d329 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
afc544aa33 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
a3d6dd49d1 Bug 1067037 - Fixes the usage of passed debugger arguments in mozdebug. r=ted 2014-09-18 07:14:42 -04:00
Daniel Lee
955aae0525 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
7e387ddeee Bug 976733 - part 3 - convert testing/mozbase/ to use TEST_HARNESS_FILES; r=gps 2014-08-29 11:03:11 -04:00
Dave Hunt
e2430f2a8d Bug 1065340 - Update mozversion to use structured logging. r=jgraham 2014-09-15 08:31:00 +02:00
Carsten "Tomcat" Book
943c4b4489 merge fx-team to mozilla-central a=merge 2014-09-15 14:29:01 +02:00
Mark Hammond
3cd7c18fda 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
004ebbdd9a Bug 1065408 - Restore test result colours in the HTML formatter log. r=jgraham 2014-09-10 08:07:00 +02:00
Chris Manchester
80f2eb2c37 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
ad39e7f09c Bug 928397 - Add the documentation for mozdebug. r=ted 2014-09-09 11:53:00 +02:00
Alessio Placitelli
e1fff09053 Bug 928397 - Add mozdebug package to mozbase. r=ted.mielczarek 2014-07-02 13:51:00 +02:00
Dave Hunt
bb6fe36f4e Bug 1066097 - Bump mozrunner version to 6.3. r=ahal 2014-09-11 07:57:00 -04:00
Henrik Skupin
83d6296af4 Bug 1064193 - Bump mozversion to 0.7. r=dhunt DONTBUILD 2014-09-08 12:12:01 +02:00
Henrik Skupin
d41b38b4b3 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
cab101a3ef 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
907cf18b8d Bug 1063528 - Omit spurious newline for unexpected pass in the tbplformatter.;r=Ms2ger 2014-09-05 11:37:57 -04:00
Dave Hunt
a93950cbe3 Bug 1064976 - HTML structured log formatter raises UnboundLocalError. r=wlachance 2014-09-10 06:15:00 +02:00
Dave Hunt
47586c314e Bug 1051986 - Make B2GDeviceRunner's stop method kill the remote process. r=ahal 2014-09-09 09:38:00 -04:00
Armen Zambrano Gasparnian
82c26a152e Bug 1053453 - Raise exception when DeviceManagerADB pushes a file & fails. r=wlach 2014-09-10 09:36:41 -04:00
Henrik Skupin
be5f3e0126 Backed out changeset 3368efceb99f due to test failure 2014-09-08 12:29:38 +02:00
Henrik Skupin
e60530ac05 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
bc92b3c074 Bug 1061982 - manifestparser changes to support conditional subsuites, r=jmaher 2014-09-05 10:44:22 -07:00
Chris Manchester
4efbf9265e 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
b45d74a437 Bug 857966 - manifestparser should error on non-existent test when strict enabled, r=davehunt 2014-09-03 14:17:40 -04:00
Dave Hunt
982f59f883 Bug 1032777 - Include base image version for Flame device. r=wlachance 2014-09-03 06:20:00 -04:00
James Graham
2c422dd261 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
6ee820190a 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
d9fa3817fa 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
06d9f05b0e 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
0b9d7ce874 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
25f27d0783 Bug 1059609 - Provide enumeration of known log actions in mozlog.structured. r=jgraham 2014-09-02 14:43:18 -04:00
Dave Hunt
90b0fba35b 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
10861ed968 Bug 1060523 - Omit extra newlines when logging exception messages in moztest. r=jgraham 2014-08-29 14:43:28 -04:00
Carsten "Tomcat" Book
22a02d91d0 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
Kyle Machulis
f6a905c4af 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
d902bcf7f8 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
f54fd4e5b1 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
544e98acfb Bug 1059248 - Accept a test name when checking for crashes in DeviceRunner. r=ahalberstadt 2014-08-27 09:49:00 -04:00
Dave Hunt
f35b900426 Bug 1052433 - Remove the device reboot in B2GDeviceRunner. r=ahalberstadt 2014-08-27 10:32:00 -04:00
Chris Manchester
d217075421 Bug 1057056 - Set __doc__ attribute of decorated structured logger methods. r=jgraham 2014-08-25 11:16:50 -04:00
Chris Manchester
650a0fbdc5 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
39d5aeb325 Bug 1057046 - Remove temporary local folder used for storing minidumps by B2GDeviceRunner. r=ahalberstadt 2014-08-21 14:05:00 +02:00
Dave Hunt
8c00b138f8 Bug 1057044 - Remove minidumps from device after pulling them for crash detection. r=ahalberstadt 2014-08-22 08:12:00 +02:00
James Graham
61223f7d83 Bug 1057666 - Ensure that only one log message is printed per line, r=chmanchester 2014-08-23 19:15:00 +01:00
Chris Manchester
ebbccbdb5c 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
c5d1c08f0e Bug 1056931 - Release a new moztest to pick up stack logging.;r=jgraham 2014-08-21 17:50:54 -04:00
James Graham
308ea12c94 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
49c24cd123 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
6dcbff056e 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
5ede85c459 Bug 1016467 - Add mozversion unit test that was forgotten earlier;r=ahal 2014-08-19 15:20:32 -04:00
Andrei Eftimie
62310017e6 Bug 1049676 - [mozprofile] Preserve new added prefs during profile reset. r=hskupin, r=ahal 2014-08-18 06:34:00 -04:00
James Graham
678f4e386e Bug 1055522 - Bump mozcrash version number for structured logging changes, r=ted.mielczarek 2014-08-19 16:17:58 +01:00
James Graham
38feb0f461 Bug 1055521 - Expose mozcrash.log_crashes for structured logging of crashes, r=ted.mielczarek 2014-08-19 16:15:19 +01:00
Wes Kocher
63411e5b2c Backed out changeset c69cc7b3c21d (bug 1016467) for B2G Windows bustage 2014-08-18 17:19:26 -07:00
William Lachance
ca23552bdf Bug 1016467 - Add mozversion unit test that was forgotten earlier;r=ahal 2014-08-18 17:20:22 -04:00
William Lachance
1c360804cf Bug 1055188 - Bump mozdevice to 0.40;r=bc DONTBUILD NPOTB 2014-08-18 16:00:07 -04:00
Chris Manchester
d9f51c6e27 Bug 1054375 - Fix reference to tbplformatter in mozlog docs. r=wlach 2014-08-15 14:30:38 -04:00
Chris Manchester
dbbcf5b458 Bug 1054324 - Bump mozlog version to pick up exception stack logging. r=ahal 2014-08-15 12:00:55 -04:00
James Graham
48af23d3d1 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
28be0fa930 Bug 1051895 - Make mozdevice docs a bit easier to navigate;r=bc DONTBUILD NPOTB 2014-08-15 12:59:02 -04:00
Chris Manchester
b0b695d91c 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
80b9c4606c 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
1b49fb456b 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
172799ed62 Bug 969146 - DeviceRunner should always check for crashes onFinish, r=davehunt 2014-08-14 10:24:47 -04:00
James Graham
9fdc3637f8 Bug 1053207 - Count number of passing subtests in mach formatter, r=chmanchester 2014-08-13 18:52:48 +01:00
James Graham
c6e8f5f252 Bug 1050700 - Add support for exc_info to mozlog.structured log actions, r=chmanchester 2014-08-13 18:52:47 +01:00
James Graham
8b7f07d43a Bug 1050408 - Remove uses of logging.warn from DeviceManager, r=wlach 2014-08-12 14:37:22 +01:00
Armen Zambrano Gasparnian
d1eeaa0d52 Bug 1051799 - [mozprocess] Bump mozprocess to 0.21. r=wlach. DONTBUILD 2014-08-11 11:36:01 -04:00
Armen Zambrano Gasparnian
115f77927e Bug 1046087 - Normalize line endings on mozprocess for Adb Windows. r=wlach 2014-08-11 08:59:56 -04:00
Ms2ger
8cd956ad44 Bug 1051199 - Bump mozlog to version 2.4; r=jgraham (DONTBUILD) 2014-08-10 09:56:56 +02:00
Ryan VanderMeulen
1bcc49deea Backed out changeset 735394aa3813 (bug 1046087) for Windows bustage.
CLOSED TREE
2014-08-08 13:01:25 -04:00
Armen Zambrano Gasparnian
ea2dac5c99 Bug 1050756 - Bump mozprocess to 0.20. r=wlach. DONTBUILD 2014-08-08 09:10:12 -04:00
Armen Zambrano Gasparnian
a151e572c6 Bug 1048967. Allow versioninfo.py to run from any directory. DONTBUILD 2014-08-08 09:04:57 -04:00
William Lachance
5fd6700e38 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
354655b26f 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
05ef68b31b Bug 1050724 - Correct list of possible subtest statuses, r=Ms2ger 2014-08-08 11:42:21 +01:00
James Graham
89a9b41c8a 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
4b9d5a3895 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
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
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