Save functional testing files after testing done.

Save functional_creds.conf and functional-tests.log for further debugging.

Closes-Bug: #1516466
Change-Id: Ie4f7697c865596fe0479a3aa6c9ace2f0b12eb3d
This commit is contained in:
Eli Qiao 2015-11-14 23:18:58 +08:00
parent 9f95010246
commit 5c6f995f5d
1 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,12 @@ nova keypair-delete default
echo_summary "Running flavor-delete"
nova flavor-delete m1.magnum
# Save functional testing log
sudo cp $MAGNUM_DIR/functional-tests.log /opt/stack/logs/
# Save functional_creds.conf
sudo cp $CREDS_FILE /opt/stack/logs/
# Save the logs
sudo mv ../logs/* /opt/stack/logs/