diff --git a/test/feature/steps/compose_util.py b/test/feature/steps/compose_util.py
index <HASH>..<HASH> 100644
--- a/test/feature/steps/compose_util.py
+++ b/test/feature/steps/compose_util.py
@@ -178,7 +178,13 @@ class Composition:
         self.containerDataList = []
         for containerID in self.refreshContainerIDs():
             # get container metadata
-            container = json.loads(str(subprocess.check_output(["docker", "inspect", containerID])))[0]
+            cmd = ["docker", "inspect", containerID]
+            try:
+                output = subprocess.check_output(cmd)
+            except:
+                err = "Error occurred {0}: {1}".format(cmd, sys.exc_info()[1])
+                continue
+            container = json.loads(str(output))[0]
             # container name
             container_name = container['Name'][1:]
             # container ip address (only if container is running)
[FAB-<I>] Fix abort on docker cleanup failure

In some cases, behave tests in fabric/test/feature aborts when
decomposing the test environment because "docker inspect" is executed
for a docker that is listed by "docker ps" but already deleted by
"docker-compose down". This patch avoids it.

Change-Id: I<I>d<I>c<I>b3e<I>cc9e<I>d<I>c<I>a<I>