Commit Graph
66 Commits
Author SHA1 Message Date
Chris Manchester 8fcb2504dc Bug 1055224 - Run gtest output through a stack fixer. r=ahal 2016-01-15 10:36:46 -08:00
Julien Pagès df1b0a5c30 Bug 1215756 - Fix mozprocess unit tests failures. r=ahal
This now check process status based on pids, not anymore
on an arbitrary string given in the command line.

Some cleanup in there, including removing code duplicate.
2015-10-21 10:57:58 -04:00
Julien Pagès a135bcc459 Bug 1139487 - Remove mozprocess.pid, mozprocess.wpk. r=jmaher 2015-10-06 21:35:43 +02:00
Gregory Szorc ee772dd01c Bug 1176642 - Fix typo in import name; r=smacleod
This regressed in 101600812e66.
2015-06-25 13:06:25 -07:00
Gregory Szorc 33108bc80d Bug 1176642 - Use relative imports in mozprocess; r=smacleod
This regressed in 101600812e66.
2015-06-25 12:55:48 -07:00
Gregory Szorc c19bb34652 Bug 1176642 - Use absolute_import, remove unused imports from mozprocess; r=chmanchester 2015-06-25 12:13:27 -07:00
Julien Pagès d3ff1ba9d5 Bug 1124695 - [mozrunner] and/or [mozprocess] should send SIGTERM before sending SIGKILL by default; r=ahal 2015-02-27 15:11:14 -05:00
Philip Chee 93fe81dda2 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
Julien Pagès 583cc85136 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 60403af4fd Bug 923381 - [mozprocess] mozprocess.ProcessHandler should have an option not to print. r=ahal 2015-03-12 13:38:00 +01:00
Chris Manchester aaf58d24f3 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
Chris Manchester 217ae30860 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
Ted Mielczarek cf4d24f610 bug 1137228 - use readline instead of iterator for reading mozprocess output. r=ahal 2015-02-26 15:16:59 -05:00
Julien Pagès 30e5370b67 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
Andrew Halberstadt 446d3822a8 Bug 1060527 - [mozprocess] signal finished if IO completion port unexpectedly closed on windows, r=jgriffin 2014-11-14 08:47:32 -05:00
Pankaj Malhotra(:bitgeeky) 83257926f9 Bug 1064960 - [mozprocess] Guard against the output thread trying to join with itself. r=ahal 2014-11-04 02:35:00 +01:00
Daniel Lee 12074fb723 Bug 705864 - [mozprocess] mozprocess tests should use mozprocess.pid. r=ahal 2014-10-07 07:00:40 -07:00
Daniel Lee 03d9ef2125 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
Armen Zambrano Gasparnian 2d0ced7917 Bug 1051799 - [mozprocess] Bump mozprocess to 0.21. r=wlach. DONTBUILD 2014-08-11 11:36:01 -04:00
Armen Zambrano Gasparnian 2ffce3f557 Bug 1046087 - Normalize line endings on mozprocess for Adb Windows. r=wlach 2014-08-11 08:59:56 -04:00
Ryan VanderMeulen fc8234b5ef Backed out changeset 735394aa3813 (bug 1046087) for Windows bustage.
CLOSED TREE
2014-08-08 13:01:25 -04:00
Armen Zambrano Gasparnian da52a3a1e7 Bug 1050756 - Bump mozprocess to 0.20. r=wlach. DONTBUILD 2014-08-08 09:10:12 -04:00
Armen Zambrano Gasparnian 1ffc7189a7 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
Armen Zambrano Gasparnian 50e9d28297 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
Chris Manchester 4a33d5736b Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Sylvestre Ledru d288b8263a Bug 991866: Catch the exception and returns the iso8859-1 string. In some cases, the display was failing r=ahal 2014-07-04 12:07:38 +02:00
Andrew Halberstadt df364bfcf8 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Ryan VanderMeulen 981100635a Backed out changeset 12536416d070 (bug 991866) for breaking B2G mochitests.
CLOSED TREE
2014-06-04 16:04:14 -04:00
Andrew Halberstadt 221657f55a Bug 991866 - Decode mozprocess output before printing to stdout, r=gps 2014-06-04 15:00:01 -04:00
James Graham e4ab7a09e9 Bug 991727 - Update mozprocess version due to API change, r=ahal 2014-04-03 22:19:31 +01:00
dadadel 47ab9c162e Bug 975136 - Test mozprocess parameters;r=wlach
DONTBUILD
2014-03-10 12:34:03 -04:00
Andrew Halberstadt e80f8c74de Bug 967647 - Enforce an unbuffered stream by default in mozprocess, r=jgriffin 2014-03-03 15:16:54 -05:00
dadadel 5d57d33daf Bug 975136 - Fix mozprocess to accept single function or array of functions for onTimeout/onFinish, update docs;r=wlach 2014-02-21 16:33:30 -05:00
Andrew Halberstadt d3a120536c Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Wes Kocher 8fd437b458 Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Andrew Halberstadt 5e63bce1a7 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Andrew Halberstadt 5aa47d5e43 Bug 947974 - Add signal parameter to mozprocess.kill(), r=wlach 2014-01-24 16:26:57 -05:00
Jeff Hammel a07b1dcb8a Bug 943481 - Mirror mozprocess 0.14 from mozbase github;r=wlach 2013-12-09 09:51:24 -05:00
Ted Mielczarek d11854bae6 bug 932349 - add kill_on_timeout parameter to ProcessHandlerMixin. r=ahal 2013-11-05 15:13:30 -05:00
Jonathan Griffin c27d3a17c4 Bug 929667 - Mirror mozprocess,mozrunner, r=ahal 2013-10-24 13:21:39 -07:00
Andrew Halberstadt 9f7260fd65 Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
Jeff Hammel 06931d0d22 Bug 877733 - bump mozinfo, mozprocess, mozdevice, mozinstall version and mirror to m-c;r=jmaher 2013-06-17 13:23:38 -07:00
Jeff Hammel 7e3a24880a Bug 872285 - bump packages and mirror to m-c for bug 790765;r=ahal 2013-05-28 09:51:35 -07:00
Jeff Hammel 41b348869d Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Phil Ringnalda ce3a944b4a Back out 27fb990d7fc7 (bug 838374) for Android bustage
CLOSED TREE
2013-03-21 22:58:41 -07:00
Jeff Hammel a0d36e8937 Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-21 21:06:28 -07:00
Ryan VanderMeulen d86385796d Backed out changeset 7d2ea731f5a5 (bug 838374) for B2G test bustage on a CLOSED TREE. 2013-03-14 17:45:49 -04:00
Jeff Hammel 4c0d393cbf Bug 838374 - release mozprofile, mozprocess, mozdevice (and other?) and mirror to m-c;r=ahal 2013-03-14 13:06:14 -07:00
Jeff Hammel a05404fdaa Bug 802242 - mirror mozbase -> m-c for week of Oct 16 @ https://github.com/mozilla/mozbase/commit/aa50f7cf0f67b5762277bbafe5eecdd65440ed4b ; r=wlach 2012-10-17 09:44:50 -07:00
Jeff Hammel 6c858c2470 Bug 800110 - Mirror mozbase -> m-c for bug 800097 @ https://github.com/mozilla/mozbase/commit/da60c88b8c7eace5d24b250395268b7af040127a ;r=ahal,r=wlach 2012-10-12 10:24:35 -07:00