Commit Graph

534 Commits

Author SHA1 Message Date
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