Bug 2139297

Summary: [9.2] pyverbs-tests failures on irdma iwarp
Product: Red Hat Enterprise Linux 9 Reporter: zguo <zguo>
Component: rdma-coreAssignee: Kamal Heib <kheib>
Status: CLOSED MIGRATED QA Contact: Brian Chae <bchae>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: hwkernel-mgr, kheib, rdma-dev-team, tmichael
Target Milestone: rcKeywords: MigratedToJIRA, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2144371 (view as bug list) Environment:
Last Closed: 2023-09-21 15:06:10 UTC 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:
Bug Depends On:    
Bug Blocks: 2144371    

Description zguo 2022-11-02 06:03:52 UTC
Description of problem:


Version-Release number of selected component (if applicable):
5.14.0-182.el9.x86_64, rdma-core-41.0-3.el9, i40e, iw, E810-C & irdma1


How reproducible:
Always

Steps to Reproduce:
$ pwd
/usr/share/doc/rdma-core/tests
$ python run_tests.py -v --dev $device_id

Actual results:
https://beaker.engineering.redhat.com/jobs/7185083
https://beaker.engineering.redhat.com/recipes/12864559#task152154418
https://beaker.engineering.redhat.com/recipes/12864559/tasks/152154418/results/709470686/logs/resultoutputfile.log

======================================================================
FAIL: test_create_cq_bad_flow (tests.test_cq.CQAPITest)
Test ibv_create_cq() with wrong comp_vector / number of cqes
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/doc/rdma-core/tests/./test_cq.py", line 74, in test_create_cq_bad_flow
    CQ(self.ctx, self.attr.max_cqe + 1, None, None, 0)
AssertionError: PyverbsRDMAError not raised

======================================================================
FAIL: test_create_cq_ex_bad_flow (tests.test_cqex.CQEXAPITest)
Test ibv_create_cq_ex() with wrong comp_vector / number of cqes
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/doc/rdma-core/tests/./test_cqex.py", line 125, in test_create_cq_ex_bad_flow
    CQEX(self.ctx, cq_attrs_ex)
AssertionError: PyverbsRDMAError not raised

======================================================================
FAIL: test_query_rc_qp (tests.test_qp.QPTest)
Queries an RC QP after creation. Verifies that its properties are as
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/doc/rdma-core/tests/./test_qp.py", line 219, in test_query_rc_qp
    self.query_qp_common_test(e.IBV_QPT_RC)
  File "/usr/share/doc/rdma-core/tests/./test_qp.py", line 200, in query_qp_common_test
    self.verify_qp_attrs(caps, e.IBV_QPS_INIT, qp_init_attr, qp_attr)
  File "/usr/share/doc/rdma-core/tests/./test_qp.py", line 174, in verify_qp_attrs
    self.assertEqual(state, attr.qp_state)
AssertionError: <ibv_qp_state.IBV_QPS_INIT: 1> != 0

----------------------------------------------------------------------
Ran 250 tests in 0.265s

FAILED (failures=3, skipped=223)

Expected results:
Test PASS or SKIPPED

Additional info:

Comment 2 RHEL Program Management 2023-09-21 14:40:44 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 3 RHEL Program Management 2023-09-21 15:06:10 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.