When running RoCEConnectionTest testing, the ping testing always failed. by read the test script /usr/lib/python2.7/site-packages/rhcert/suites/hwcert/tests/rdmaConnection/rdmaConnection.py line 63 m = re.match('(?P<device>.*?)_devicePort_(?P<num>\d+)_netDevice_(?P<netDevice>.*$)', name can not match our --device input,thus self.netDevice always be null. the command to add tests is as following rhcert-cli plan --add --test RoCEConnectionTest --device vmw_pvrdma0_devicePort_00505600009efb5e_netDevice_ens224f0 the devicePort_(?P<num>\d+) only allow devicePort as digital but our devicePort have non-digital efb5e in it. [root@prmb-swcert-dhcp203 rdmaConnection]# ibv_devices device node GUID ------ ---------------- vmw_pvrdma0 00505600009efb5e
Hi Xue and Gary our RoCEConnectionTest tests always failed ping and ethtool because of this bug.