chromium/tools/command_wrapper/bin.git
2 years agoWrite retry text to stderr so stdout is clean for real output from gsutil. master
djmm@chromium.org [Thu, 3 May 2012 18:19:13 +0000 (18:19 +0000)]
Write retry text to stderr so stdout is clean for real output from gsutil.
Review URL: https://chromiumcodereview.appspot.com/10358004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@135178 0039d316-1c4b-4281-b951-d872f2087c98

2 years agoDon't buffer stdout/stderr in command_wrapper.py
jochen@chromium.org [Thu, 26 Apr 2012 10:37:43 +0000 (10:37 +0000)]
Don't buffer stdout/stderr in command_wrapper.py

Otherwise, commands that take a long time to complete, but produce some status
output, such as gsutil cp, will cause the buildbot's timeout to trigger.

BUG=none
TEST=manually, works on linux :)

Review URL: http://codereview.chromium.org/10085001

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@134087 0039d316-1c4b-4281-b951-d872f2087c98

2 years agoEnsure that all args with spaces in them remain quoted when used with command_wrapper.py.
nsylvain@chromium.org [Mon, 21 Nov 2011 22:47:11 +0000 (22:47 +0000)]
Ensure that all args with spaces in them remain quoted when used with command_wrapper.py.

Before this change, a command like :

echo "1" "2" "3 4"

would be executed as :

echo 1 2 3 4

After this change, it will be executed as:

echo 1 2 "3 4"

Review URL: http://codereview.chromium.org/8597020

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@111020 0039d316-1c4b-4281-b951-d872f2087c98

2 years agoWrap the return result of a wrapped function.
petermayo@chromium.org [Fri, 7 Oct 2011 18:37:25 +0000 (18:37 +0000)]
Wrap the return result of a wrapped function.

This avoids the loss of the value, and the pylint warning.

BUG=chromium:98600
TEST=manual

Review URL: http://codereview.chromium.org/8183010

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@104529 0039d316-1c4b-4281-b951-d872f2087c98

3 years agoAdding timeout for log server access + more safety with bad response.
bradnelson@google.com [Thu, 5 Aug 2010 18:27:18 +0000 (18:27 +0000)]
Adding timeout for log server access + more safety with bad response.

BUG=None
TEST=None
TBR=nsylvain

Review URL: http://codereview.chromium.org/3085016

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@55102 0039d316-1c4b-4281-b951-d872f2087c98

3 years agoAdding a search by nodename option.
bradnelson@google.com [Mon, 2 Aug 2010 07:30:17 +0000 (07:30 +0000)]
Adding a search by nodename option.
Allow the server to early out certain failures (gsutil cat for indexing).

BUG=None
TEST=None
TBR=nsylvain

Review URL: http://codereview.chromium.org/3013052

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@54521 0039d316-1c4b-4281-b951-d872f2087c98

4 years agoSwitching from os.uname to platform.uname, since os.uname isn't available on
bradnelson@google.com [Fri, 30 Jul 2010 01:10:45 +0000 (01:10 +0000)]
Switching from os.uname to platform.uname, since os.uname isn't available on
Windows. Adding extra processor field this makes available.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/3033042

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@54250 0039d316-1c4b-4281-b951-d872f2087c98

4 years agoAdding a retry and logging utility + appengine backend.
bradnelson@google.com [Thu, 29 Jul 2010 20:14:30 +0000 (20:14 +0000)]
Adding a retry and logging utility + appengine backend.
This will be used to monitor and diagnose gsutil failures for nacl + chromeos.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/3036026

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/command_wrapper/bin@54172 0039d316-1c4b-4281-b951-d872f2087c98