From e0f63b969d2791d5f897211395cfe1010d1b637b Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Wed, 29 Jan 2020 13:07:06 -0700 Subject: [PATCH] test/nvmf: disable bdevperf tests on soft-roce Github issue 1165 details some issues we have with soft-roce and these tests. Right now we are disabling them for build stability. Change-Id: I3a9e28ff3cc1c6ac7d9aa91d93541e295514bb7b Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483300 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Shuhei Matsumoto Reviewed-by: Alexey Marchuk Reviewed-by: Paul Luse Community-CI: Broadcom SPDK FC-NVMe CI Community-CI: SPDK CI Jenkins --- test/nvmf/host/bdevperf.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/nvmf/host/bdevperf.sh b/test/nvmf/host/bdevperf.sh index f35187734..ca73c9560 100755 --- a/test/nvmf/host/bdevperf.sh +++ b/test/nvmf/host/bdevperf.sh @@ -22,6 +22,13 @@ function tgt_init() } nvmftestinit +# There is an intermittent error relating to this test and Soft-RoCE. for now, just +# skip this test if we are using rxe. TODO: get to the bottom of GitHub issue #1165 +if [ $TEST_TRANSPORT == "rdma" ] && check_ip_is_soft_roce $NVMF_FIRST_TARGET_IP; then + echo "Using software RDMA, skipping the host bdevperf tests." + exit 0 +fi + tgt_init