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 a066af51..1539fca4 100644
--- a/sfc/tests/functest/run_tests.py
+++ b/sfc/tests/functest/run_tests.py
@@ -106,6 +106,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"