test/common: Separate failing nightly tests
Introduce RUN_NIGHTLY_FAILING flag for nightly tests that are always or periodically failing. A new cron job will be added to run test with this flag. RUN_NIGHTLY_FAILING is set for: test/vhost/readonly/readonly.sh test/nvmf/multiconnection/multiconnection.sh a fio job in test/lib/bdev/blockdev.sh Change-Id: I32640c0d4b916156c2ee996a9847c7c9e64941f8 Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com> Reviewed-on: https://review.gerrithub.io/403985 Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
2191985125
commit
b96cf2ef2a
10
autotest.sh
10
autotest.sh
@ -151,10 +151,6 @@ if [ $SPDK_TEST_VHOST -eq 1 ]; then
|
||||
run_test ./test/vhost/spdk_vhost.sh --integrity
|
||||
timing_exit integrity
|
||||
|
||||
timing_enter readonly
|
||||
run_test ./test/vhost/spdk_vhost.sh --readonly
|
||||
timing_exit readonly
|
||||
|
||||
# timing_enter fs_integrity_scsi
|
||||
# run_test ./test/vhost/spdk_vhost.sh --fs-integrity-scsi
|
||||
# timing_exit fs_integrity_scsi
|
||||
@ -172,6 +168,12 @@ if [ $SPDK_TEST_VHOST -eq 1 ]; then
|
||||
timing_exit integrity_lvol_blk_nightly
|
||||
fi
|
||||
|
||||
if [ $RUN_NIGHTLY_FAILING -eq 1 ]; then
|
||||
timing_enter readonly
|
||||
run_test ./test/vhost/spdk_vhost.sh --readonly
|
||||
timing_exit readonly
|
||||
fi
|
||||
|
||||
timing_enter integrity_lvol_scsi
|
||||
run_test ./test/vhost/spdk_vhost.sh --integrity-lvol-scsi
|
||||
timing_exit integrity_lvol_scsi
|
||||
|
@ -12,6 +12,9 @@ ulimit -c unlimited
|
||||
: ${RUN_NIGHTLY:=0}
|
||||
export RUN_NIGHTLY
|
||||
|
||||
: ${RUN_NIGHTLY_FAILING:=0}
|
||||
export RUN_NIGHTLY_FAILING
|
||||
|
||||
if [[ ! -z $1 ]]; then
|
||||
if [ -f $1 ]; then
|
||||
source $1
|
||||
|
@ -10,7 +10,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 "$@"
|
||||
|
@ -39,7 +39,7 @@ if [ $SPDK_TEST_NVML -eq 1 ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $RUN_NIGHTLY -eq 1 ]; then
|
||||
if [ $RUN_NIGHTLY_FAILING -eq 1 ]; then
|
||||
run_test test/nvmf/multiconnection/multiconnection.sh
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user