From 028c8cb4acb54d1b290b2e55d97b3881d0050d22 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Tue, 6 Feb 2018 12:20:21 +0100 Subject: [PATCH] test/vhost: remove virsh use from filesystem test Refactor filesystem test so that it does not use virsh, only qemu. Source compliation on filesystem was replaced with FIO+verify on file located on mounted filesystem. Reason for this change is that test for single filesystem type took about 1:30 for just compilation itself. Considering that we have 4 filesystems in test with 2 different vhost controllers, it took way too long. Change spaces to tabs. Change-Id: I396d653efe2bbf76934b2532576455be43632ff4 Signed-off-by: Karol Latecki Reviewed-on: https://review.gerrithub.io/398603 Tested-by: SPDK Automated Test System Reviewed-by: Tomasz Zawadzki Reviewed-by: Daniel Verkamp --- autotest.sh | 12 +- test/vhost/integrity/base_vm.xml | 68 ------- test/vhost/integrity/base_vnet.xml | 8 - test/vhost/integrity/integrity_start.sh | 251 ++++++++---------------- test/vhost/integrity/integrity_vm.sh | 95 ++++----- test/vhost/spdk_vhost.sh | 8 +- test/vhost/test_plan.md | 5 +- 7 files changed, 141 insertions(+), 306 deletions(-) delete mode 100644 test/vhost/integrity/base_vm.xml delete mode 100644 test/vhost/integrity/base_vnet.xml diff --git a/autotest.sh b/autotest.sh index 6bfbe0c68..acace47a3 100755 --- a/autotest.sh +++ b/autotest.sh @@ -151,13 +151,13 @@ if [ $SPDK_TEST_VHOST -eq 1 ]; then run_test ./test/vhost/spdk_vhost.sh --integrity timing_exit integrity - # timing_enter fs_integrity_scsi - # run_test ./test/vhost/spdk_vhost.sh --fs-integrity-scsi - # timing_exit fs_integrity_scsi + timing_enter fs_integrity_scsi + run_test ./test/vhost/spdk_vhost.sh --fs-integrity-scsi + timing_exit fs_integrity_scsi - # timing_enter fs_integrity_blk - # run_test ./test/vhost/spdk_vhost.sh --fs-integrity-blk - # timing_exit fs_integrity_blk + timing_enter fs_integrity_blk + run_test ./test/vhost/spdk_vhost.sh --fs-integrity-blk + timing_exit fs_integrity_blk timing_enter integrity_lvol_scsi_nightly run_test ./test/vhost/spdk_vhost.sh --integrity-lvol-scsi-nightly diff --git a/test/vhost/integrity/base_vm.xml b/test/vhost/integrity/base_vm.xml deleted file mode 100644 index cdf7aea29..000000000 --- a/test/vhost/integrity/base_vm.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - 4 - 4 - 8 - - hvm - - - - - - - - - - - - destroy - restart - destroy - - - - - - - -
- - -
- - - - - - -
- - - - - - - - - - -