a95aefc38a
Test failed both on x86_64 and aarch64 on some cases: 1.nvme_cfg=$($rootdir/scripts/gen_nvme.sh) If the driver haven't been changed to vfio-pci(haven't run scripts/setup.sh), we got no result from gen_nvme.sh. 2."mountpoints=$(lsblk /dev/$blkname --output MOUNTPOINT -n | wc -w)" The global variable "blkname" (defined in get_nvme_name_from_bdf) is always null here. For the scope of shell global variable is current process. However, "name=$(get_nvme_name_from_bdf $1)" will create a new process. We use variable "name" here. 3."name=$(get_nvme_name_from_bdf $1)" If the "$rootdir/scripts/setup.sh reset" above is not ready, $name will be null. For some non-x86 platforms, the waiting time maybe not enough. So I adjust it to 5 seconds according to repeated tests. Signed-off-by: Richael Zhuang <richael.zhuang@arm.com> Change-Id: Ia91460a3116bc0cc7c6c5f5ee471957caf9d0e06 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/474184 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
compress | ||
config_converter | ||
cpp_headers | ||
env | ||
event | ||
ftl | ||
fuzz | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
make | ||
nvme | ||
nvmf | ||
ocf | ||
openstack | ||
pmem | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
vmd | ||
Makefile | ||
spdk_cunit.h |