From d86a19efd0bb011fbadc304434c2512c4607f8b4 Mon Sep 17 00:00:00 2001
From: Eric Gribkoff <ericgribkoff@google.com>
Date: Thu, 16 Mar 2017 07:34:39 -0700
Subject: [PATCH] check error for docker inspect

---
 tools/run_tests/python_utils/dockerjob.py | 5 +++--
 1 file 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:
-- 
GitLab