diff options
author | Eric Gribkoff <ericgribkoff@google.com> | 2017-03-16 07:34:39 -0700 |
---|---|---|
committer | Eric Gribkoff <ericgribkoff@google.com> | 2017-03-17 00:46:01 -0700 |
commit | d86a19efd0bb011fbadc304434c2512c4607f8b4 (patch) | |
tree | baf755c644b82cb747858681878f60245f2a2bba /tools/run_tests/python_utils | |
parent | d3b160010e220e7c95dde1f81428ed1654ff4570 (diff) |
check error for docker inspect
Diffstat (limited to 'tools/run_tests/python_utils')
-rwxr-xr-x | tools/run_tests/python_utils/dockerjob.py | 5 |
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: |