From 2240a8b2ef6f7b8e1ab386c8c226e34be5cd8561 Mon Sep 17 00:00:00 2001 From: Pawel Niedzwiecki Date: Tue, 11 Dec 2018 15:48:23 +0100 Subject: [PATCH] test/nightly: Add tests to RUN_NIGHTLY_FAILING. Test case in blockdev.sh is causing nightly tests to fail so put it back to nightly_failing list. Put vhost read-only test on the list to check if it passes on qemu 3.0.0. Bring back vhost live migration test since it is missing vhost.sh. Change-Id: Ic8b5341808cdf843850d22fb6a22a64e92dccafa Signed-off-by: Pawel Niedzwiecki Reviewed-on: https://review.gerrithub.io/c/436840 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Karol Latecki Reviewed-by: Darek Stojaczyk --- test/bdev/blockdev.sh | 2 +- test/vhost/vhost.sh | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/test/bdev/blockdev.sh b/test/bdev/blockdev.sh index f3dee980c..1f457eff5 100755 --- a/test/bdev/blockdev.sh +++ b/test/bdev/blockdev.sh @@ -11,7 +11,7 @@ function run_fio() { if [ $RUN_NIGHTLY -eq 0 ]; then LD_PRELOAD=$plugindir/fio_plugin /usr/src/fio/fio --ioengine=spdk_bdev --iodepth=8 --bs=4k --runtime=10 $testdir/bdev.fio "$@" - else + elif [ $RUN_NIGHTLY_FAILING -eq 1 ]; then # Use size 192KB which both exceeds typical 128KB max NVMe I/O # size and will cross 128KB Intel DC P3700 stripe boundaries. LD_PRELOAD=$plugindir/fio_plugin /usr/src/fio/fio --ioengine=spdk_bdev --iodepth=128 --bs=192k --runtime=100 $testdir/bdev.fio "$@" diff --git a/test/vhost/vhost.sh b/test/vhost/vhost.sh index 64a4e435a..e991b16aa 100755 --- a/test/vhost/vhost.sh +++ b/test/vhost/vhost.sh @@ -36,10 +36,16 @@ if [ $RUN_NIGHTLY -eq 1 ]; then timing_enter integrity_lvol_blk_nightly run_test suite ./test/vhost/spdk_vhost.sh --integrity-lvol-blk-nightly timing_exit integrity_lvol_blk_nightly +fi - # timing_enter readonly - # run_test suite ./test/vhost/spdk_vhost.sh --readonly - # timing_exit readonly +if [ $RUN_NIGHTLY_FAILING -eq 1 ]; then + timing_enter vhost_migration + run_test suite ./test/vhost/spdk_vhost.sh --migration + timing_exit vhost_migration + + timing_enter readonly + run_test suite ./test/vhost/spdk_vhost.sh --readonly + timing_exit readonly fi timing_enter integrity_lvol_scsi