Merge "Get more details for debugging tempest errors"

This commit is contained in:
Zuul 2018-04-30 21:25:24 +00:00 committed by Gerrit Code Review
commit bd549b4f62
1 changed files with 9 additions and 1 deletions

View File

@ -328,11 +328,19 @@ else
export tempest_binary="/usr/bin/tempest"
fi
# List tempest plugins
$tempest_binary list-plugins
# list tempest workspace
$tempest_binary workspace list
# list tempest tests before running tempest
$tempest_binary run -l --whitelist_file=/tmp/openstack/tempest/test-whitelist.txt
# Run tempest commands
$tempest_binary run --whitelist_file=/tmp/openstack/tempest/test-whitelist.txt --concurrency=2 $EXCLUDES
RESULT=$?
set -e
$tempest_binary list-plugins
if [ -d .testrepository ]; then
testr last --subunit > /tmp/openstack/tempest/testrepository.subunit
elif [ -d .stestr ]; then