From f506cc42bd5e8f3b19378cbc03fe686e439bb109 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Wed, 11 Dec 2019 10:27:41 -0700 Subject: [PATCH] test/bdev: fix nightly failure on hello_bdev Currently the blockdev.sh tests fail due to using a GPT partition on the hello_bdev portion of the test. On some of the test machines, sgdisk is not installed, so they silently fail to create the GPT partitions that we were trying to use. This change is only geared towards fixing the current nightly failure in the bdev tests. It does not address the test machines silently failing to create GPT partitions. fixes: issue #1107 Signed-off-by: Seth Howell Change-Id: If58201ff4eb7dce9a44e2f93dfe25601ad1b508a Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477611 Community-CI: Broadcom SPDK FC-NVMe CI Reviewed-by: Tomasz Zawadzki Reviewed-by: Karol Latecki Reviewed-by: Jim Harris Tested-by: SPDK CI Jenkins --- test/bdev/blockdev.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/bdev/blockdev.sh b/test/bdev/blockdev.sh index 7e7297cc2..4639b6700 100755 --- a/test/bdev/blockdev.sh +++ b/test/bdev/blockdev.sh @@ -262,12 +262,7 @@ $rootdir/scripts/gen_nvme.sh >> $testdir/bdev_gpt.conf # End bdev configuration #----------------------------------------------------- -if [ $RUN_NIGHTLY -eq 1 ]; then - if grep -q Nvme0 $testdir/bdev.conf; then - run_test "case" "bdev_hello_world" $rootdir/examples/bdev/hello_world/hello_bdev -c $testdir/bdev.conf -b Nvme0n1p1 - fi -fi - +run_test "case" "bdev_hello_world" $rootdir/examples/bdev/hello_world/hello_bdev -c $testdir/bdev.conf -b Malloc0 run_test "case" "bdev_bounds" bdev_bounds run_test "case" "bdev_nbd" nbd_function_test $testdir/bdev.conf "$bdevs_name" if [ -d /usr/src/fio ]; then