numam-spdk/test/nvme
Darek Stojaczyk 20f4a21d84 test/nvmf/nvme-cli: don't run nvme-cli as secondary process
nvme-cli in NVMf tests currently fails to initialize
the NVMe driver and exits straight away [1]. It expects
the primary process to initialize the driver first, but
since the primary process doesn't operate on any NVMe
devices, it doesn't initialize the driver at all.

Fix this by running nvme-cli without multi-process mode.
In NVMf tests, nvme-cli is only used to discover, connect
and disconnect from an SPDK NVMf target. It does not need
to access any shared memory resources.

This wasn't an issue before, because we used an outdated
DPDK version for nvme-cli which didn't detect any other
shared memory processes of SPDK.

[1] nvme.c: 337:nvme_driver_init: *ERROR*: primary process
is not started yet

Change-Id: Id56f94c6655049e87ab9d93ee38853faf40a11e5
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/442552
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-01-29 20:54:13 +00:00
..
aer test/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
deallocated_value test: move lib/nvme up one directory 2018-03-27 00:46:52 -04:00
e2edp memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
err_injection env: remove default pre-reserved memory size 2018-12-12 11:00:57 +00:00
overhead test/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
reset test/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
sgl test: fix typos in the test directory 2018-08-27 19:39:31 +00:00
hotplug.sh test: Sanitize log file 2018-12-18 17:22:25 +00:00
Makefile nvme: add nvme error injection support 2018-06-22 17:26:34 +00:00
nvme.sh test/nvme: sleep after mounting in the setup.sh test 2018-12-05 00:36:08 +00:00
spdk_nvme_cli.sh test/nvmf/nvme-cli: don't run nvme-cli as secondary process 2019-01-29 20:54:13 +00:00