Spdk/test
Seth Howell 765f4a7363 test/nvmf: add initiator timeout test.
This test is meant to simulate uncommon network situations where lots of
I/O are getting dropped before they get to the initiator. Essentially,
we are trying to trigger the initiator timeout in the kernel which
disconnects from the target and reconnects after 10 seconds.

This test is different from the other tests that we have currently
because it doesn't rely on killing either the target or initiator.
Instead it expects the target to stay up and properly respond to the
initiator error conditions. The hope is that the fio job running on the
initiator can still complete successfully and the target doesn't crash
due to improperly handling the disconnect and reconnect.

This test should be added to the nightly CI jobs because it is rather
time consuming.

Change-Id: Id457d9eb21a980140f065663547b89b2c69ace93
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464459
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
2019-08-13 16:56:01 +00:00
..
app Remove remaining spdk_jsonrpc_begin_result() NULL checks 2019-08-09 16:35:00 +00:00
bdev Remove remaining spdk_jsonrpc_begin_result() NULL checks 2019-08-09 16:35:00 +00:00
blobfs test/rocksdb: remove run_tests.sh 2019-07-05 12:13:16 +00:00
blobstore test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
common test/bdev: fix fio test verification 2019-08-09 23:49:16 +00:00
compress test/compress: add bdevio and bdevperf tests 2019-07-30 07:36:03 +00:00
config_converter iscsi: Deprecate MinConnectionsPerCore 2019-05-06 17:10:48 +00:00
cpp_headers Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
env ut/cunit: added missing semicolon on CU_ASSERT macros 2019-07-24 18:21:22 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl test: Use $((..)) instead of deprecated $[..] 2019-08-08 21:27:40 +00:00
fuzz test/fuzz: Make test timeout configurable. 2019-07-23 04:08:52 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
json_config scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
lvol scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
nvme nvme: change retry count can be configured via bdev nvme driver 2019-08-09 00:44:50 +00:00
nvmf test/nvmf: add initiator timeout test. 2019-08-13 16:56:01 +00:00
ocf test/ocf: disable persistent metadata test 2019-06-11 18:16:55 +00:00
openstack test/openstack: Fix. Assign nvmfpid var as it is used in nvmftestfini 2019-08-08 22:58:35 +00:00
pmem scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
rpc_client jsonrpc: tolerate null json value for parameters in json-rpc call 2019-07-26 19:30:57 +00:00
spdkcli scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
unit ut/bdev/raid: try to break lines after 100 characters 2019-08-13 00:27:17 +00:00
vhost test/vhost: remove superfluous (..) around condition 2019-08-08 21:27:40 +00:00
vmd test/vmd: fix 'if' syntax error 2019-08-08 21:27:40 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00