Bug 1568237 - rdma tests should accpect devicePort as non-digital
Summary: rdma tests should accpect devicePort as non-digital
Keywords:
Status: NEW
Alias: None
Product: Red Hat Certification Program
Classification: Red Hat
Component: redhat-certification-hardware
Version: 1.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nobody
QA Contact: rhcert qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-17 03:12 UTC by Adam Ru
Modified: 2022-09-07 04:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.