6c1a1a3dca
In case the addr argument was not an existing unix socket file the rpc client would consider it to be an actual ip address. As a result connect() would be called with improper set of arguments. This could cause the rpc.py to block for undesired amount of time until connect() finally decided to return (seen on some fedora33 builds). This was affecting sh wrapper functions like waitforlisten() which use rpc.py to determine if given app is ready to be talk to blocking execution of the tests for way too long then intendent. To avoid such a scenario determine the format of the address and use routines proper for given address family. Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Iaac701d72c772629fa7c6478ff4781b0c5d485d5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7777 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> |
||
---|---|---|
.. | ||
__init__.py | ||
app.py | ||
bdev.py | ||
blobfs.py | ||
client.py | ||
cmd_parser.py | ||
env_dpdk.py | ||
helpers.py | ||
idxd.py | ||
ioat.py | ||
iscsi.py | ||
log.py | ||
lvol.py | ||
nbd.py | ||
net.py | ||
notify.py | ||
nvme.py | ||
nvmf.py | ||
pmem.py | ||
sock.py | ||
subsystem.py | ||
trace.py | ||
vhost.py | ||
vmd.py |