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
This commit is contained in:
Matthew Treinish
2014-02-09 00:05:13 -05:00
parent 0d9f4f37d6
commit 027be71802

View File

@@ -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