Skipping test_volume_backed_live_migration for live_migration job

For non-shared storage live-migration job is unstable due to
https://bugs.launchpad.net/nova/+bug/1524898. This patch temporary
exclude this test from tests to be run.

Related-Bug: #1524898

Change-Id: I87559b8e90855837ad7b5f291bd9a8fc646421d3
This commit is contained in:
Timofey Durakov 2016-08-09 19:35:23 +03:00
parent 4455d00c79
commit 2f68cd3e9f
2 changed files with 7 additions and 6 deletions

View File

@ -26,8 +26,8 @@ STACK_USER=${STACK_USER:-stack}
populate_start_script
echo '1. test with all local storage (use default for volumes)'
run_tempest "block migration test"
echo 'NOTE: test_volume_backed_live_migration is skipped due to https://bugs.launchpad.net/nova/+bug/1524898'
run_tempest "block migration test" "^.*test_live_migration(?!.*(test_volume_backed_live_migration))"
echo '2. NFS testing is skipped due to setup failures with Ubuntu 16.04'
#echo '2. test with NFS for root + ephemeral disks'
@ -35,7 +35,7 @@ echo '2. NFS testing is skipped due to setup failures with Ubuntu 16.04'
#nfs_setup
#nfs_configure_tempest
#nfs_verify_setup
#run_tempest "NFS shared storage test"
#run_tempest "NFS shared storage test" "live_migration"
#nfs_teardown
echo '3. Ceph testing is skipped due to setup failures with Ubuntu 16.04'
@ -49,9 +49,9 @@ echo '3. Ceph testing is skipped due to setup failures with Ubuntu 16.04'
#setup_ceph_cluster
#configure_and_start_glance
#configure_and_start_nova
#run_tempest "Ceph nova&glance test"
#run_tempest "Ceph nova&glance test" "live_migration"
#echo '4. test with Ceph for volumes and root + ephemeral disk'
#configure_and_start_cinder
#run_tempest "Ceph nova&glance&cinder test"
#run_tempest "Ceph nova&glance&cinder test" "live_migration"

View File

@ -2,7 +2,8 @@
function run_tempest {
local message=$1
sudo -H -u tempest tox -eall -- --concurrency=$TEMPEST_CONCURRENCY live_migration
local tempest_regex=$2
sudo -H -u tempest tox -eall -- --concurrency=$TEMPEST_CONCURRENCY $tempest_regex
exitcode=$?
if [[ $exitcode -ne 0 ]]; then
die $LINENO "$message failure"