Commit Graph

549 Commits

Author SHA1 Message Date
Dave Hunt
97926bf8b2 Bug 1146292 - [mozlog] Bump version to 2.11. r=jgraham 2015-03-23 11:00:58 +00:00
Julien Pagès
655f35cbe2 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
4856c2b2d1 Bug 923381 - [mozprocess] mozprocess.ProcessHandler should have an option not to print. r=ahal 2015-03-12 13:38:00 +01:00
Andrew Halberstadt
332356754b Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher 2015-03-10 09:55:30 -04:00
James Willcox
4a67c86671 Bug 1119962 - Work around 'adb shell' bustedness in newer Android tools r=gbrown 2015-03-09 08:47:03 -05:00
Chris Manchester
2827c4933d 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
0ede166664 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
c38a14c181 Bug 1132409 - [mozlog] Create directories for log specified on the command line if not present. r=jgraham 2015-03-06 06:17:00 -05:00
Julien Pagès
1c6f45d117 Bug 1124695 - [mozrunner] and/or [mozprocess] should send SIGTERM before sending SIGKILL by default. r=ahal 2015-02-27 12:01:00 +01:00
Andrew Halberstadt
aa85a0d1dc 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.
2015-03-05 09:12:55 -05:00
Chris Manchester
1364707690 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
909bbb3180 Backed out changeset 99c2fcc61cc2 (bug 958147) for B2G Desktop and Mulet checktest failures.
CLOSED TREE
2015-03-05 10:02:07 -05:00
Anish
b932da5627 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
9c5a38f5af Backed out changeset b3fe7a6a4939 (bug 958147) for m4 test failures on a CLOSED TREE 2015-03-05 14:00:33 +01:00
Anish
efd862e7b5 Bug 958147 - Remove run_if filter from manifestparser, r=ahal 2015-03-04 15:46:58 -05:00
Andrew Halberstadt
cd88c29bf3 Bug 1134395 - mozbuild should pass in rootdir to manifestparser to properly calculate test relpaths, r=gps 2015-02-18 17:07:55 -05:00
Anish
b9d3be97ea 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
3e990e689d Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Julien Pagès
ec686d6b96 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
df465ed230 Bug 1137289 - Guard against dumpsys failure in DroidADB; r=jmaher 2015-02-26 14:56:48 -07:00
Ted Mielczarek
f49c1644d7 bug 1137228 - use readline instead of iterator for reading mozprocess output. r=ahal 2015-02-26 15:16:59 -05:00
Julien Pagès
339824172c 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
34a33d730b Bug 1135255 - Fix mozdevice tempfile handling on Windows. r=gbrown 2015-02-23 10:56:50 -05:00
William Lachance
835d988896 Bug 1133076 - Add documentation for mozinstall. r=ahal 2015-02-17 13:48:17 -05:00
Andrew Halberstadt
7b54c3090a 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
482585009e Bug 1132716 - Release mozversion 1.2. r=davehunt
CLOSED TREE
2015-02-12 18:09:53 -05:00
Julien Pagès
01eed9eda2 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
00d713af03 Bug 1132076 - [mozlog] Incorrect skip count in HTML log summary. r=davehunt 2015-02-11 09:19:00 -05:00
Henrik Skupin
2bcddf8dea 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
7dc0dd1888 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
ba271f3c89 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
d99f48ac2d Bug 1130358 - [mozlog] Bump version to 2.10. r=jgraham 2015-02-06 04:47:00 -05:00
Wes Kocher
aee29f654f Backed out changeset ea625e85c72a (bug 1123763) for checktest orange on a CLOSED TREE 2015-02-09 14:00:13 -08:00
Andrew Halberstadt
1d45a432c8 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
f7b23887d6 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
f24540129c 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
7eb1218dcc 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
aabe69887e Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach 2015-01-30 15:23:41 -07:00
Geoff Brown
4f24554baf Bug 1127457 - Fix check for zip in devicemanagerADB.py; r=armenzg 2015-01-30 15:23:40 -07:00
Armen Zambrano Gasparnian
60f4900de3 Bug 1040079 - Change logging level for chmod operations for mozdevice. DONTBUILD. r=wlach 2015-01-27 15:20:09 -05:00
Dan Minor
f1346fb4d9 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
b4e5f13f90 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
b1dd433fec Backed out changeset 0ee76a98f2c3 (bug 989048) because it didn't work. 2015-01-22 10:25:18 -05:00
Julien Pagès
c120f78b00 Bug 1119838 - Raise exception early when there is no adb command available; r=bclary 2015-01-19 11:15:53 -05:00
Andrew Halberstadt
47966fa82b 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
06cd80b23d Bug 1121037 - Release mozprofile 0.23. r=whimboo 2015-01-13 23:56:57 +05:30
Geoff Brown
b07b46770a Bug 1099475 - Backout 4386c2d95db3 for bug 1119962; r=backout 2015-01-12 14:33:45 -07:00
Ujjwal Wahi
749b431418 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
1a741b4a04 Bug 1118738 - Fix HTML report colours for expected skips and unexpected errors. r=jgraham 2015-01-07 06:36:00 -05:00
Ujjwal Wahi
2d475a4daf Bug 1100363 - Maintain preference case. r=whimboo 2015-01-07 14:30:51 +01:00