numam-spdk/test/nvmf
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
..
bdev_io_wait test/nvmf: Use create_transport instead of set_tgt_opts 2018-10-12 16:30:24 +00:00
create_transport test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
discovery test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
filesystem test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
fio test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
host test/nvmf: start the perf tests w/ dynamic memory 2019-01-16 19:06:20 +00:00
lvol test/nvmf: fix the error message in nvmf_lvol test 2019-01-23 01:43:14 +00:00
multiconnection test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
nmic test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
nvme_cli test/nvmf/nvme-cli: don't run nvme-cli as secondary process 2019-01-29 20:54:13 +00:00
rpc test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
shutdown nvme_bdev: add parsing for hostaddr and hostsvcid 2018-12-20 17:31:43 +00:00
common.sh test/nvmf: Don't use the stub 2018-12-06 16:53:07 +00:00
nvmf.sh test/nvmf: Don't use the stub 2018-12-06 16:53:07 +00:00
test_plan.md test/nvmf: remove nvmf_tgt+pmem test 2018-04-03 14:14:29 -04:00