Merge "copy_logs: add Stackviz data"

This commit is contained in:
Jenkins 2016-07-08 02:46:21 +00:00 committed by Gerrit Code Review
commit aa90eb3b7c
2 changed files with 10 additions and 0 deletions

View File

@ -206,6 +206,13 @@ if [ -f $LOG_DIR/rabbitmq ]; then
done
fi
# stackviz
if [ -d /opt/stackviz ]; then
cp -r /opt/stackviz/build /tmp/stackviz
sudo pip install -U /opt/stackviz
stackviz-export --env -f /tmp/openstack/tempest/testrepository.subunit /tmp/stackviz/data
mv /tmp/stackviz $LOG_DIR
fi
# Compress all text logs
sudo find $LOG_DIR -iname '*.txt' -type f -execdir gzip -9 {} \+

View File

@ -135,6 +135,9 @@ fi
# Tempest plugin tests require tempest-lib to be installed
$SUDO pip install tempest-lib
# We need latest testrepository to run stackviz correctly
$SUDO pip install -U testrepository
set +e
# Select what to test:
# Smoke suite