Bug 1894516
| Summary: | [RHEL8.4] pyverb-tests fail over qedr iw on "test_create_cq_bad_flow" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Brian Chae <bchae> | ||||
| Component: | rdma-core | Assignee: | Honggang LI <honli> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Chae <bchae> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 8.4 | CC: | bchae, hwkernel-mgr, rdma-dev-team, tmichael | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | 8.4 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | rdma-core-32.0-3.el8 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-05-18 14:45:12 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: | 1903942 | ||||||
| Attachments: |
|
||||||
|
Description
Brian Chae
2020-11-04 12:06:18 UTC
Issue fixed in upstream. Will backport it for rhel-8.4.
commit fd10f4c26b1ff052ea3b893247d1b6d06d01e36a (github/qedr_iwarp)
Author: Kamal Heib <kamalheib1>
Date: Tue Nov 10 16:59:59 2020 +0200
libqedr: Set XRC functions only in RoCE mode
As libqedr support both RoCE and iWarp, make sure to set the XRC
functions only in RoCE mode, also change the assignment of the XRC
functions to use verbs_set_ops().
Fixes: cae4a99ae679 ("libqedr: add support for XRC-SRQ's.")
Signed-off-by: Kamal Heib <kamalheib1>
The issue still exists on the following build.
RHEL-8.4.0-20210108.n.0
Failure log
===========
test_create_raw_qp_ex_no_attr (tests.test_qp.QPTest) ... skipped 'Create Raw Packet QP without extended attrs is not supported'
test_create_raw_qp_ex_with_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create Raw Packet QP with extended attrs is not supported'
test_create_raw_qp_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create Raw Packet QP without attrs is not supported'
test_create_raw_qp_with_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create Raw Packet QP with attrs is not supported'
test_create_rc_qp_ex_no_attr (tests.test_qp.QPTest) ... skipped 'Create RC QP without extended attrs is not supported'
test_create_rc_qp_ex_with_attr (tests.test_qp.QPTest) ... skipped 'Create RC QP with extended attrs is not supported'
test_create_rc_qp_no_attr (tests.test_qp.QPTest) ... ok
test_create_rc_qp_with_attr (tests.test_qp.QPTest) ... ok
test_create_uc_qp_ex_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UC QP without extended attrs is not supported'
test_create_uc_qp_ex_with_attr (tests.test_qp.QPTest) ... skipped 'Create UC QP with extended attrs is not supported'
test_create_uc_qp_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UC QP without attrs is not supported'
test_create_uc_qp_with_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UC QP with attrs is not supported'
test_create_ud_qp_ex_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UD QP without extended attrs is not supported'
test_create_ud_qp_ex_with_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UD QP with extended attrs is not supported'
test_create_ud_qp_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UD QP without attrs is not supported'
test_create_ud_qp_with_attr (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UD QP with attrs is not supported'
test_modify_ud_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UD QP without attrs is not supported'
test_query_raw_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create Raw Packet QP without attrs is not supported'
test_query_rc_qp (tests.test_qp.QPTest) ... FAIL
test_query_uc_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UC QP without attrs is not supported'
test_query_ud_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95
skipped 'Create UD QP without attrs is not supported'
test_qp_ex_rc_atomic_cmp_swp (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_rc_atomic_fetch_add (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_rc_rdma_read (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_rc_rdma_write (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_rc_rdma_write_imm (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_rc_send (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_rc_send_imm (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_ud_send (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_ud_send_imm (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_xrc_send (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_qp_ex_xrc_send_imm (tests.test_qpex.QpExTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_async_ex_multicast_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_async_multicast_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_async_read (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_async_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_async_traffic_external_qp (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_async_udp_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_async_write (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_rdmacm_sync_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No supported port is up, can't run traffic"
test_ro_rc_traffic (tests.test_relaxed_ordering.RoTestCase) ... skipped "No supported port is up, can't run traffic"
test_ro_ud_traffic (tests.test_relaxed_ordering.RoTestCase) ... skipped "No supported port is up, can't run traffic"
test_ro_xrc_traffic (tests.test_relaxed_ordering.RoTestCase) ... skipped "No supported port is up, can't run traffic"
test_imported_rc_ex_rdma_write (tests.test_shared_pd.SharedPDTestCase) ... skipped "No supported port is up, can't run traffic"
======================================================================
FAIL: test_query_rc_qp (tests.test_qp.QPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/tmp.3538CYD8cs/rdma-core/tests/test_qp.py", line 223, in test_query_rc_qp
self.query_qp_common_test(e.IBV_QPT_RC)
File "/tmp/tmp.3538CYD8cs/rdma-core/tests/test_qp.py", line 209, in query_qp_common_test
self.verify_qp_attrs(caps, e.IBV_QPS_RESET, qp_init_attr, qp_attr)
File "/tmp/tmp.3538CYD8cs/rdma-core/tests/test_qp.py", line 181, in verify_qp_attrs
self.assertEqual(state, attr.cur_qp_state)
AssertionError: <ibv_qp_state.IBV_QPS_RESET: 0> != 1
----------------------------------------------------------------------
Ran 140 tests in 0.190s
(In reply to Brian Chae from comment #4) > The issue still exists on the following build. > > RHEL-8.4.0-20210108.n.0 > > Failure log > =========== > > test_create_raw_qp_ex_no_attr (tests.test_qp.QPTest) ... skipped 'Create Raw > Packet QP without extended attrs is not supported' > test_create_raw_qp_ex_with_attr (tests.test_qp.QPTest) ... > [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create Raw Packet QP with extended attrs is not supported' > test_create_raw_qp_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create > qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create Raw Packet QP without attrs is not supported' > test_create_raw_qp_with_attr (tests.test_qp.QPTest) ... > [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create Raw Packet QP with attrs is not supported' > test_create_rc_qp_ex_no_attr (tests.test_qp.QPTest) ... skipped 'Create RC > QP without extended attrs is not supported' > test_create_rc_qp_ex_with_attr (tests.test_qp.QPTest) ... skipped 'Create RC > QP with extended attrs is not supported' > test_create_rc_qp_no_attr (tests.test_qp.QPTest) ... ok > test_create_rc_qp_with_attr (tests.test_qp.QPTest) ... ok > test_create_uc_qp_ex_no_attr (tests.test_qp.QPTest) ... > [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create UC QP without extended attrs is not supported' > test_create_uc_qp_ex_with_attr (tests.test_qp.QPTest) ... skipped 'Create UC > QP with extended attrs is not supported' > test_create_uc_qp_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create > qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create UC QP without attrs is not supported' > test_create_uc_qp_with_attr (tests.test_qp.QPTest) ... > [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create UC QP with attrs is not supported' > test_create_ud_qp_ex_no_attr (tests.test_qp.QPTest) ... > [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create UD QP without extended attrs is not supported' > test_create_ud_qp_ex_with_attr (tests.test_qp.QPTest) ... > [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create UD QP with extended attrs is not supported' > test_create_ud_qp_no_attr (tests.test_qp.QPTest) ... [create_qp:2745]create > qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create UD QP without attrs is not supported' > test_create_ud_qp_with_attr (tests.test_qp.QPTest) ... > [create_qp:2745]create qp: failed on ibv_cmd_create_qp with 95 > skipped 'Create UD QP with attrs is not supported' > test_modify_ud_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: > failed on ibv_cmd_create_qp with 95 > skipped 'Create UD QP without attrs is not supported' > test_query_raw_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: > failed on ibv_cmd_create_qp with 95 > skipped 'Create Raw Packet QP without attrs is not supported' > test_query_rc_qp (tests.test_qp.QPTest) ... FAIL > test_query_uc_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: > failed on ibv_cmd_create_qp with 95 > skipped 'Create UC QP without attrs is not supported' > test_query_ud_qp (tests.test_qp.QPTest) ... [create_qp:2745]create qp: > failed on ibv_cmd_create_qp with 95 > skipped 'Create UD QP without attrs is not supported' > test_qp_ex_rc_atomic_cmp_swp (tests.test_qpex.QpExTestCase) ... skipped "No > supported port is up, can't run traffic" > test_qp_ex_rc_atomic_fetch_add (tests.test_qpex.QpExTestCase) ... skipped > "No supported port is up, can't run traffic" > test_qp_ex_rc_rdma_read (tests.test_qpex.QpExTestCase) ... skipped "No > supported port is up, can't run traffic" > test_qp_ex_rc_rdma_write (tests.test_qpex.QpExTestCase) ... skipped "No > supported port is up, can't run traffic" > test_qp_ex_rc_rdma_write_imm (tests.test_qpex.QpExTestCase) ... skipped "No > supported port is up, can't run traffic" > test_qp_ex_rc_send (tests.test_qpex.QpExTestCase) ... skipped "No supported > port is up, can't run traffic" > test_qp_ex_rc_send_imm (tests.test_qpex.QpExTestCase) ... skipped "No > supported port is up, can't run traffic" > test_qp_ex_ud_send (tests.test_qpex.QpExTestCase) ... skipped "No supported > port is up, can't run traffic" > test_qp_ex_ud_send_imm (tests.test_qpex.QpExTestCase) ... skipped "No > supported port is up, can't run traffic" > test_qp_ex_xrc_send (tests.test_qpex.QpExTestCase) ... skipped "No supported > port is up, can't run traffic" > test_qp_ex_xrc_send_imm (tests.test_qpex.QpExTestCase) ... skipped "No > supported port is up, can't run traffic" > test_rdmacm_async_ex_multicast_traffic (tests.test_rdmacm.CMTestCase) ... > skipped "No supported port is up, can't run traffic" > test_rdmacm_async_multicast_traffic (tests.test_rdmacm.CMTestCase) ... > skipped "No supported port is up, can't run traffic" > test_rdmacm_async_read (tests.test_rdmacm.CMTestCase) ... skipped "No > supported port is up, can't run traffic" > test_rdmacm_async_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No > supported port is up, can't run traffic" > test_rdmacm_async_traffic_external_qp (tests.test_rdmacm.CMTestCase) ... > skipped "No supported port is up, can't run traffic" > test_rdmacm_async_udp_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No > supported port is up, can't run traffic" > test_rdmacm_async_write (tests.test_rdmacm.CMTestCase) ... skipped "No > supported port is up, can't run traffic" > test_rdmacm_sync_traffic (tests.test_rdmacm.CMTestCase) ... skipped "No > supported port is up, can't run traffic" > test_ro_rc_traffic (tests.test_relaxed_ordering.RoTestCase) ... skipped "No > supported port is up, can't run traffic" > test_ro_ud_traffic (tests.test_relaxed_ordering.RoTestCase) ... skipped "No > supported port is up, can't run traffic" > test_ro_xrc_traffic (tests.test_relaxed_ordering.RoTestCase) ... skipped "No > supported port is up, can't run traffic" > test_imported_rc_ex_rdma_write (tests.test_shared_pd.SharedPDTestCase) ... > skipped "No supported port is up, can't run traffic" > > ====================================================================== > FAIL: test_query_rc_qp (tests.test_qp.QPTest) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/tmp/tmp.3538CYD8cs/rdma-core/tests/test_qp.py", line 223, in > test_query_rc_qp > self.query_qp_common_test(e.IBV_QPT_RC) > File "/tmp/tmp.3538CYD8cs/rdma-core/tests/test_qp.py", line 209, in > query_qp_common_test > self.verify_qp_attrs(caps, e.IBV_QPS_RESET, qp_init_attr, qp_attr) > File "/tmp/tmp.3538CYD8cs/rdma-core/tests/test_qp.py", line 181, in > verify_qp_attrs > self.assertEqual(state, attr.cur_qp_state) > AssertionError: <ibv_qp_state.IBV_QPS_RESET: 0> != 1 > > ---------------------------------------------------------------------- > Ran 140 tests in 0.190s The above failure was not for this bug headline and will raise another bug report for that. So, this will declare as verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RDMA stack bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1594 |