From 5816421572083a3fbc10853abf040da8da848035 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Wed, 20 Nov 2019 15:22:26 -0700 Subject: [PATCH] test/ocf: kill -9 bdevperf in stats.sh We have encountered several latent failures in test/ocf/stats.sh because we fail to kill bdevperf with sigterm. We really need to figure out why we can't always kill bdevperf, but in the meantime we can get this test passing consistently by sending sigkill to bdevperf. Change-Id: I6f233f4da79293283e3afaf01fd4baf5e60048bd Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/475315 Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Reviewed-by: Ben Walker Tested-by: SPDK CI Jenkins --- test/ocf/integrity/stats.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/ocf/integrity/stats.sh b/test/ocf/integrity/stats.sh index bfe7c03b6..4a870f1ff 100755 --- a/test/ocf/integrity/stats.sh +++ b/test/ocf/integrity/stats.sh @@ -12,4 +12,5 @@ bdev_perf_pid=$! waitforlisten $bdev_perf_pid sleep 1 $rpc_py bdev_ocf_get_stats MalCache1 -killprocess $bdev_perf_pid +kill -9 $bdev_perf_pid +wait $bdev_perf_pid || true