Spdk/test/common
Michal Berger 8bb27faff6 test/common: Always wait min 2s in waitforserial()
It seems like there's some race in the kernel when we try to
delete_controller (nvme disconnect) right after the new nvme subsystem
is connected. This results in a block subsystem left with lingering
nvme devices which are not usable and which start to affect the nvmf
suite. They also can't be removed either unless the kernel is rebooted.

To workaround it make sure that we wait long enough for all of the
subsystems to be in a sane state before we attempt to stress
the connect<->disconnect path.

Mitigates #2060.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I9299ecfc760e334504730aab6f19d338fad88081
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9059
Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-08-04 14:11:28 +00:00
..
config pkgdep/git: Patch refspdk repos 2021-07-27 14:55:34 +00:00
lib unittest/nvme_tcp: increase code coverage for nvme_tcp.c 2021-06-09 07:21:05 +00:00
applications.sh test/common: Add SPDK_APP wrapper for spdk_tgt 2021-01-07 13:38:26 +00:00
autotest_common.sh test/common: Always wait min 2s in waitforserial() 2021-08-04 14:11:28 +00:00
skipped_build_files.txt idxd: Add the kernel idxd support 2021-07-13 17:22:30 +00:00
skipped_tests.txt autotest: Don't mark pmr tests as skipped 2021-07-20 07:59:43 +00:00