Bug 1568237

Summary: rdma tests should accpect devicePort as non-digital
Product: Red Hat Certification Program Reporter: Adam Ru <aru>
Component: redhat-certification-hardwareAssignee: Nobody <nobody>
Status: NEW --- QA Contact: rhcert qe <rhcert-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0CC: gcase, gnichols, yxue
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Ru 2018-04-17 03:12:55 UTC
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

Comment 1 Adam Ru 2018-04-17 03:15:45 UTC
Hi Xue and Gary
our RoCEConnectionTest tests always failed ping and ethtool because of this bug.