Spdk/test/lib/nvme
Paul Luse 6052d9a432 nvme.sh: add delay after app startup when they are primary
A short delay is required between starting up a primary and
secondary process with DPDK depending on what the secondary
depends on wrt the primary. As the SPDK sample apps are not
designed to be dependent on each other, when we use them
as primary/secondary in test scripts with no deterministic
synchronization, it is possible for one ore more to hang
resulting in DPDK fatal init failures. Often times this would
show up as a failure to get hugepages in vtophys

A related fix, same failing signature in the same test script,
is also included here where the stub app, which is designed
to act as primary in certain sections of the test script, was
being killed by the test script but the next primary app was
coming up before the process was dead and coming up as a
secondary. A wait was added to assure that the stub process is
gone before the next app tries to start.

Change-Id: If2f6fc25e76b769ad8edafa8e965be246e98dab9
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/367725
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-07-05 15:40:10 -04:00
..
aer test/nvme/aer: clean up and simplify AER test 2017-06-21 14:04:14 -04:00
e2edp test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
overhead test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
reset env_dpdk: save and restore optind in spdk_env_init 2017-06-13 17:39:38 -04:00
sgl test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
hotplug.sh test/nvme: optimization of hotplug script. 2017-06-19 17:22:54 -04:00
Makefile test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
nvme.sh nvme.sh: add delay after app startup when they are primary 2017-07-05 15:40:10 -04:00
nvmemp.sh nvme: detach the pci device with calling process's own devhandle 2017-05-16 10:35:29 -07:00