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

750 Коммитов

Автор SHA1 Сообщение Дата
Julien Pagès 12f1be1ab2 Bug 1060940 - remove mozrunner confusing and broken code for getting version information; r=ahal
--HG--
extra : commitid : E3oQVx2bT8V
extra : rebase_source : 41644fcf75b2b5b638268a23f2c7df530279c5fb
2015-06-09 20:55:07 +02:00
James Graham 43a3f73c63 Bug 1171849 Let consumers override mozlog default formatter options, r=chmanchester 2015-06-05 17:48:06 +01:00
James Graham e07b9de9bf Bug 1171032 - Log raw messages at debug level by default, r=chmanchester
Also add --log-raw-level option to control this.

--HG--
extra : rebase_source : 9cb319c94b3f6b5e88bdc514dd0e22dc56277d85
2015-06-03 15:55:00 +01:00
Manish Goregaokar f10df76074 Bug 1170591 - Remove trailing whitespace in mozlog. r=jdm 2015-06-02 11:30:00 -04:00
Henrik Skupin 7a340fca29 Bug 1169168 - Release mozinfo 0.8. r=tomcat DONTBUILD 2015-05-28 09:54:30 +02:00
Parth Bakshi 37f134ce21 Bug 1139873 - [mozinstall] get_binary() should not remove the build folder if the specified binary cannot be found. r=whimboo 2015-05-09 10:29:42 -04:00
Julien Pagès 20e1297913 Bug 1140130 - [mozinstall] Exception during installation should cause already installed files to be removed. r=ahal 2015-05-15 11:01:00 -04:00
Julien Pagès a9ef479407 Bug 1112516 - [mozrunner] Update documentation for correctly using a Firefox profile. r=whimboo 2015-05-15 06:22:00 -04:00
Dave Hunt 0da771f85d Bug 1163992 - [moznetwork] When multiple IPs are found on Windows pick the first one. r=wlachance 2015-05-14 09:48:19 +01:00
Dave Hunt e2b636ecd0 Bug 1160094 - [moznetwork] Attempt to pick most suitable IP when multiple are associated with the hostname. r=wlach 2015-04-30 02:52:00 +02:00
Jonathan Griffin ab7fba2dea Bug 1162115 - Bump mozdevice to 0.45, r=wlach 2015-05-07 08:42:51 -07:00
Dave Hunt 78de924ade Bug 1160090 - [moznetwork] Add structured logging. r=wlach
--HG--
extra : rebase_source : 3c976840a21e8208b308eabe4490d30371c44778
2015-04-30 02:38:00 -04:00
Geoff Brown c83c60a47f Bug 1161198 - Update mozdevice test for getLogcat; r=bc 2015-05-04 16:48:51 -06:00
Geoff Brown ac4815e13b Bug 1160351 - Bustage fix for 57c6c589cfa1 on a CLOSED TREE 2015-05-04 11:22:56 -06:00
Geoff Brown 8f916d8709 Bug 1160351 - Improve newline handling in getLogcat; r=bc 2015-05-04 10:32:44 -06:00
Dave Hunt 613906b8dc Bug 1160087 - [moznetwork] Add command line interface. r=wlach
--HG--
extra : rebase_source : 71181891478fe3c64271435c3e728bb6fa030864
2015-04-30 02:33:00 -04:00
Nick Alexander c1f14290e2 Bug 1160324 - Handle missing robocopApk files in runtestsremote.py. r=gbrown
--HG--
extra : source : 7d8043298e133ab903b55ba9c8530b2ea28a3180
2015-04-30 14:28:14 -07:00
Carsten "Tomcat" Book cdf101ec43 merge mozilla-inbound to mozilla-central a=merge 2015-04-24 14:37:13 +02:00
Dave Hunt 5a597a5e84 Bug 1156812 - [mozdevice] Support specifying alternate log buffers when retrieving or clearing the logcat. r=bclary 2015-04-23 16:42:11 -07:00
Wes Kocher 84a6b2c6d2 Backed out changeset 619f030b0d23 (bug 1156812) for android m7 orange 2015-04-23 16:26:38 -07:00
Ryan VanderMeulen 2874ac15cb Merge m-c to fx-team. a=merge 2015-04-23 17:25:20 -04:00
Armen Zambrano Gasparnian 9758a1120d Bug 1155743 - Change how mozinstall extracts installers, skip tests, remove firefox.exe & release version 1.12. r=ahal 2015-04-23 11:03:01 -04:00
Dave Hunt 1c0acb181c Bug 1156812 - [mozdevice] Support specifying alternate log buffers when retrieving or clearing the logcat. r=bclary
--HG--
extra : rebase_source : daf38979980ab04f207953dbd682a1b7639f8842
2015-04-22 11:02:00 -04:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Ryan VanderMeulen dd1120e715 Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ryan VanderMeulen 86aee22968 Merge inbound to m-c. a=merge
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00
Edgar Chen d63ce914f4 Bug 1155029 - [mozrunner] get device log from both main buffer and radio buffer. r=ahal 2015-04-15 17:10:09 +08:00
Ehsan Akhgari 6cff744014 Bug 1112469 - Part 4: Disable periodic updates of service workers when running tests; r=nsm
This is meant to avoid random issues with Gecko suddenly kicking off the
periodic updates in the middle of our test runs.  This uses a hidden pref
intentionally since nobody should be able to discover this pref by going
to about:config.
2015-04-17 14:06:02 -04:00
Armen Zambrano Gasparnian 83e8d2b706 Bug 1154892 - mozinstall fails to install on Mac with paths which contain white spaces. r=chmanchester 2015-04-17 09:35:00 -04:00
Alessio Placitelli 748aeb48ed Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Andrew Halberstadt fe95342cec Bug 1157302 - [mozbase] Ignore unrecognized version strings when generating changelogs in versioninfo.py, DONTBUILD, r=armenzg
--HG--
extra : rebase_source : e1038d7ea1ac7cc9c23b570103e9aae97e04346e
2015-04-22 11:49:34 -04:00
Julien Pagès 4dc4420abe Bug 1124695 - [mozrunner] and/or [mozprocess] should send SIGTERM before sending SIGKILL by default; r=ahal
--HG--
extra : rebase_source : f748f2b0ed6e3cf17f7bc9da1be8a8d243dff468
2015-02-27 15:11:14 -05:00
James Graham 3c62ff5797 Bug 1154761 - Disable crash dialogs that interfere with debugging in mozrunner, r=ted 2015-04-15 20:06:55 +01:00
Hiroyuki Ikezoe 66b928b10a Bug 1154111 - Colorize SKIP in test logs. r=jgraham
--HG--
extra : rebase_source : ca0862950be526bda05711c369cef38b0d2a516c
2015-04-13 23:18:00 +02:00
Ryan VanderMeulen 4fa8326641 Backed out 3 changesets (bug 1137252) for suspicion of causing frequent B2G mochitest timeouts.
Backed out changeset bbb1b526cb56 (bug 1137252)
Backed out changeset 0c3d670f0c14 (bug 1137252)
Backed out changeset 1e0fa4ab7c6f (bug 1137252)

CLOSED TREE
2015-04-14 13:33:28 -04:00
Julien Pagès 3b79b20373 Bug 1139407 - [mozversion] Remove non-text formatters from command line log options. r=dhunt
--HG--
extra : rebase_source : db4f410d9b6fcd5f487375a69f6091e31eb1b3f2
2015-04-11 00:26:00 +02:00
Wes Kocher 381ed5c1ba Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Alessio Placitelli 77e10bc782 Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Philip Chee ceb176ce0d Bug 1050561 - Decode string when building an environment block to support non-ASCII environment variables. r=ahalberstadt 2015-04-07 16:09:49 +08:00
James Graham 92ca3bb31c Bug 1153290 - Disable crash reporter in mozrunner when running under a debugger, r=ted 2015-04-13 11:13:55 +01:00
Andrew Halberstadt 4b227980fa Bug 1150497 - Make manifestparser tags whitespace (instead of comma) delimited to conform to other attributes, r=chmanchester
--HG--
extra : rebase_source : 2e64baefde7623d810cdd6dfe6f060792e2831bf
2015-04-02 09:50:30 -04:00
Andrew Halberstadt 766127a915 Bug 1150050 - Bump manifestparser to v1.1 and marionette-client to v0.9.3 to pick up tagging feature, r=AutomatedTester
--HG--
extra : rebase_source : 0f1f34a19aae8b031439bb0dbe533875e10c218f
2015-04-01 11:22:48 -04:00
Andrew Halberstadt f34971f18f Bug 862730 - Fix kill and get stack regression with b2g devices/emulators, r=davehunt
--HG--
extra : rebase_source : a9624d6751d73b7aaaf585ecf603bd6f195b4ebb
2015-03-26 09:33:24 -04:00
Julien Pages 258af81ab8 Bug 1147614 - [mozdevice] The property ADBDevice.test_root does not appear in documentation. r=bclary 2015-03-31 03:17:00 -07:00
Ryan VanderMeulen 6d13980c63 Backed out changeset e08c785a4008 (bug 798300) for frequent mochitest-bc window leaks.
--HG--
extra : rebase_source : 6ff2883865a97d63a788234e0c48c6c3e877abf9
2015-03-30 14:25:34 -04:00
Andrew Halberstadt 056bddce11 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.

--HG--
extra : rebase_source : d75905da1ca021a15a9538117d3866425f73d962
extra : source : 3c34fd480729e3b6684fba747ff61078f672ce16
2015-03-19 16:15:33 -04:00
Andrew Halberstadt 23dabc3c03 Bug 1142050 - Add --chunk-by-runtime option to mochitest, r=jmaher
With --chunk-by-runtime enabled, test runtime data collected from automation is used to try and make all chunks take the same amount of time. So far only data for mochitest browser-chrome is added.

--HG--
extra : rebase_source : e6f8327286ee3e69036f7781211f618b870823b5
2015-03-26 15:21:45 -04:00
Julien Pagès 54c0365253 Bug 798300 - [mozprocess] mozprocess sometimes mixes stdout/stderr. r=ted.mielczarek 2015-03-27 06:57:00 +01:00
Ryan VanderMeulen 378481f17f Backed out changesets acbab9e22691 and 3c34fd480729 (bug 987360) for Android/B2G xpcshell bustage.
CLOSED TREE

--HG--
extra : rebase_source : d79b1dcfb12ae8e12efefd7d15b8a2f9f5063377
2015-03-27 13:12:19 -04:00
Andrew Halberstadt e3068d1b6f Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.

--HG--
extra : rebase_source : 68a0931c6a8ee1df4f5c09d67c396490774aa856
2015-03-19 16:15:33 -04:00
Dave Hunt 218b3a4f73 Bug 1140406 - [mozdevice] Allow connecting to a remote ADB server in adb.py. r=bclary 2015-03-25 12:25:44 +00:00
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