From d891b398a35a056bb7d6bc6b6e90d1dbd7d2361a Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Mon, 23 Jul 2018 10:39:50 +0900 Subject: [PATCH] test/nbdjson: Fix solid/intermittent CI failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In part_dev_by_gpt(), stop_nbd_disk is missing and it looks that this has caused solid/intermittent CI failure in the nbdjson test. Change-Id: I46b14fa3b7c91547b88f49b28d0cba252b00e8a2 Signed-off-by: Shuhei Matsumoto Reviewed-on: https://review.gerrithub.io/420123 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Ziye Yang Reviewed-by: Paweł Niedźwiecki Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- test/common/autotest_common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index 229f6cb4f..00a8b4203 100755 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -490,6 +490,8 @@ function part_dev_by_gpt () { dd if=/dev/zero of=$nbd_path bs=4096 count=8 oflag=direct fi + $rootdir/scripts/rpc.py -s "$rpc_server" stop_nbd_disk $nbd_path + killprocess $nbd_pid rm -f ${conf}.gpt fi