Commit 14c0f94c authored by Kamil Godzwon's avatar Kamil Godzwon Committed by Tomasz Zawadzki
Browse files

test/fio: supress fio output files



verify.state files are not very useful because
we fail the tests at any first failure.
If there was something wrong with IO verification
then autotest.sh would fail.

Fio files with metrics output (IOPS, BW, latency, etc)
are also not very useful as per-patch tests are not
focused on benchmarking.

Fixes #2546

Signed-off-by: default avatarKamil Godzwon <kamilx.godzwon@intel.com>
Change-Id: I33fbe2fb0749d840f08ffe0d606d206268140991
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13019


Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 619da103
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ fio_config() {
		numjobs=$numjobs
		verify_dump=1
		verify_backlog=512
		verify_state_save=0
	FIO

	if ((verify == 1)); then
+4 −4
Original line number Diff line number Diff line
@@ -234,10 +234,10 @@ function fio_test_suite() {
		echo "filename=$b" >> $testdir/bdev.fio
	done

	local fio_params="--ioengine=spdk_bdev --iodepth=8 --bs=4k --runtime=10 $testdir/bdev.fio --spdk_json_conf=$conf_file"
	local fio_params="--ioengine=spdk_bdev --iodepth=8 --bs=4k --runtime=10 $testdir/bdev.fio \
			--verify_state_save=0 --spdk_json_conf=$conf_file"

	run_test "bdev_fio_rw_verify" fio_bdev $fio_params --spdk_mem=$PRE_RESERVED_MEM \
		--output=$output_dir/blockdev_fio_verify.txt --aux-path=$output_dir
	run_test "bdev_fio_rw_verify" fio_bdev $fio_params --spdk_mem=$PRE_RESERVED_MEM --aux-path=$output_dir
	rm -f ./*.state
	rm -f $testdir/bdev.fio

@@ -255,7 +255,7 @@ function fio_test_suite() {
		return 0
	fi

	run_test "bdev_fio_trim" fio_bdev $fio_params --output=$output_dir/blockdev_trim.txt --aux-path=$output_dir
	run_test "bdev_fio_trim" fio_bdev $fio_params --verify_state_save=0 --aux-path=$output_dir
	rm -f ./*.state
	rm -f $testdir/bdev.fio
	popd
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ verify=md5
verify_fatal=1
verify_dump=1
verify_backlog=8
verify_state_save=0

[randwrite]
rw=randwrite
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ verify_backlog=1024
iodepth=128
bs=4K
runtime=10
verify_state_save=0

size=20%

+1 −0
Original line number Diff line number Diff line
@@ -8,4 +8,5 @@ verify=md5
verify_backlog=1024
fsync_on_close=1
iodepth=32
verify_state_save=0
[job0]
Loading