aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2017-03-16 07:34:39 -0700
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2017-03-17 00:46:01 -0700
commitd86a19efd0bb011fbadc304434c2512c4607f8b4 (patch)
treebaf755c644b82cb747858681878f60245f2a2bba
parentd3b160010e220e7c95dde1f81428ed1654ff4570 (diff)
check error for docker inspect
-rwxr-xr-xtools/run_tests/python_utils/dockerjob.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/run_tests/python_utils/dockerjob.py b/tools/run_tests/python_utils/dockerjob.py
index 82466d3a93..cdf5759f8c 100755
--- a/tools/run_tests/python_utils/dockerjob.py
+++ b/tools/run_tests/python_utils/dockerjob.py
@@ -76,8 +76,9 @@ def wait_for_healthy(cid, shortname, timeout_seconds):
while time.time() - started < timeout_seconds:
try:
output = subprocess.check_output(
- ['docker', 'inspect', '--format="{{.State.Health.Status}}"', cid],
- stderr=_DEVNULL)
+ ['docker', 'inspect', '--format="{{.State.Health.Status}}"', cid])
+ #stderr=_DEVNULL)
+ print(output)
if output.strip('\n') == 'healthy':
return
except subprocess.CalledProcessError as e: