Merge "copy_logs: add Stackviz data"
This commit is contained in:
commit
aa90eb3b7c
@ -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 {} \+
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user