From 027be71802bec09006e295dd59aafa47f5e631f1 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Sun, 9 Feb 2014 00:05:13 -0500 Subject: [PATCH] Copy tempest.conf file with log files This commit adds the tempest conf file to the set of artifacts that get copied after the tests are finished running. Previously the entirety of the conf file was cat into the console output by devstack which is difficult to parse. By copying it that cat tempest.conf can be removed from devstack which will make it easier to verify the tempest conf file from a test run. Change-Id: Ifb36918cd0d686cb3865f5322cd62c209acaaf30 --- functions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions.sh b/functions.sh index 724b45bf..bdb87bbf 100644 --- a/functions.sh +++ b/functions.sh @@ -369,6 +369,9 @@ function cleanup_host { sudo cp $BASE/new/devstacklog.txt $NEWLOGTARGET/ sudo cp $BASE/new/devstack/localrc $NEWLOGTARGET/localrc.txt + # Copy tempest config file + sudo cp $BASE/new/tempest/etc/tempest.conf $NEWLOGTARGET/ + sudo iptables-save > $WORKSPACE/iptables.txt df -h > $WORKSPACE/df.txt pip freeze > $WORKSPACE/pip-freeze.txt