From 6d62ef1e815be1631648ec4f101d2167816f5f91 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Thu, 14 Nov 2019 12:56:17 -0700 Subject: [PATCH] test/nvmf: skip target disconnect on RXE. There is an intermittent failure on the CI involving RXE and the target disconnect test. We believe it is an internal issue in RXE. So for the time being, disable that test when using RXE. Fixes issue #1043 Change-Id: I5cc11e51c398e132a09baf3a26e48aa4ae7370a3 Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/474279 Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Community-CI: Broadcom SPDK FC-NVMe CI Tested-by: SPDK CI Jenkins --- test/nvmf/host/target_disconnect.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/nvmf/host/target_disconnect.sh b/test/nvmf/host/target_disconnect.sh index 9fdb06496..33a38a9b9 100755 --- a/test/nvmf/host/target_disconnect.sh +++ b/test/nvmf/host/target_disconnect.sh @@ -25,6 +25,13 @@ function disconnect_init() $rpc_py nvmf_subsystem_add_listener nqn.2016-06.io.spdk:cnode1 -t $TEST_TRANSPORT -a $1 -s $NVMF_PORT } +# 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 #1043 +if check_ip_is_soft_roce $NVMF_FIRST_TARGET_IP; then + echo "Using software RDMA, skipping the target disconnect tests." + exit 0 +fi + timing_enter target_disconnect nvmftestinit