aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sfc/tests/functest/run_tests.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/sfc/tests/functest/run_tests.py b/sfc/tests/functest/run_tests.py
index 86e36b56..771f2c62 100644
--- a/sfc/tests/functest/run_tests.py
+++ b/sfc/tests/functest/run_tests.py
@@ -109,6 +109,17 @@ def main():
except Exception, e:
logger.error("Exception when executing: %s" % testcase)
logger.error(e)
+ result = 1
+ for node in nodes:
+ if node.get_file("/usr/lib/python2.7/dist-packages/tacker/"
+ "sfc/plugin.py", "/tmp/plugin.py"):
+ node.get_file("/var/log/tacker/tacker-server.log",
+ "/tmp/tacker-server.log")
+ break
+ with open("/tmp/plugin.py") as fd:
+ logger.info(fd.read())
+ with open("/tmp/tacker-server.log") as fd1:
+ logger.info(fd1.read())
end_time = time.time()
duration = end_time - start_time
status = "FAIL"