RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1894516 - [RHEL8.4] pyverb-tests fail over qedr iw on "test_create_cq_bad_flow"
Summary: [RHEL8.4] pyverb-tests fail over qedr iw on "test_create_cq_bad_flow"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rdma-core
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.4
Assignee: Honggang LI
QA Contact: Brian Chae
URL:
Whiteboard:
Depends On:
Blocks: 1903942
TreeView+ depends on / blocked
 
Reported: 2020-11-04 12:06 UTC by Brian Chae
Modified: 2021-05-18 14:45 UTC (History)
4 users (show)

Fixed In Version: rdma-core-32.0-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 14:45:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
QEDR IW server test log showing the pyverb test failures (64.52 KB, text/plain)
2020-11-04 12:06 UTC, Brian Chae
no flags Details

Description Brian Chae 2020-11-04 12:06:18 UTC
Created attachment 1726537 [details]
QEDR IW server test log showing the pyverb test failures

Description of problem:

The pyverbs-tests failed on the QEDR IW with the following error messages.

test_create_ah (tests.test_addr.AHTest) ... skipped 'Create AH is not supported'
test_create_ah_roce (tests.test_addr.AHTest) ... skipped 'Create AH is not supported'
test_destroy_ah (tests.test_addr.AHTest) ... skipped 'Create AH is not supported'
test_create_comp_channel (tests.test_cq.CCTest) ... ok
test_destroy_comp_channel (tests.test_cq.CCTest) ... ok
test_create_cq_ex (tests.test_cq.CQEXTest) ... ok
test_create_cq_ex_bad_flow (tests.test_cq.CQEXTest) ... skipped 'Create extended CQ is not supported'
test_destroy_cq_ex (tests.test_cq.CQEXTest) ... ok
test_create_cq (tests.test_cq.CQTest) ... ok
test_create_cq_bad_flow (tests.test_cq.CQTest) ... [qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388521 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388505 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388550 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388503 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388541 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388514 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388566 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388498 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388552 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22

This causes all other subsequent pyverb tests to fail.

The RMDA hosts tested:
    rdma-dev-02 (server) - qede 45000 iw 
    rdma-dev-03 (client) - qede 45000 iw 


Version-Release number of selected component (if applicable):

DISTRO=RHEL-8.4.0-20201102.n.0

Red Hat Enterprise Linux release 8.4 Beta (Ootpa)

Linux rdma-dev-03.lab.bos.redhat.com 4.18.0-240.10.el8.x86_64 #1 SMP Fri Oct 30 03:57:57 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-240.10.el8.x86_64 root=UUID=cf42f78c-f5f5-4db0-ac28-27ee589e255f ro console=tty0 rd_NO_PLYMOUTH intel_iommu=on iommu=on crashkernel=auto resume=UUID=c7b7b8ad-b06e-4d63-9905-ffa3cb36ea38 console=ttyS1,115200

rdma-core-29.0-3.el8.x86_64
linux-firmware-20200619-99.git3890db36.el8.noarch

==> /sys/class/infiniband/qedr0/fw_ver <==
8. 42. 2. 0

==> /sys/class/infiniband/qedr1/fw_ver <==
8. 42. 2. 0
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe
08:00.0 Ethernet controller: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller (rev 10)
08:00.1 Ethernet controller: QLogic Corp. FastLinQ QL45000 Series 25GbE Controller (rev 10)


How reproducible:

100%


Steps to Reproduce:
1. With the above RHEL8.4 build, install the following packages on both server and client hosts

   gcc pkgconfig valgrind-devel libudev-devel cmake libnl3-devel python3-devel pandoc ninja-build python3-docutils python3-Cython

2. clone "rdma-core"

    git clone https://github.com/linux-rdma/rdma-core.git

3. execute the build.sh

    cd rdma-core
    bash build.sh

3. execute the pyverbs tests

    ./build/bin/run_tests.py -v --dev $HCA_ID

    <HCA_ID:	qedr1>


Actual results:

As shown above, 
test_create_cq_bad_flow (tests.test_cq.CQTest) ... [qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388521 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388505 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388550 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388503 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388541 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388514 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388566 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388498 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388552 cqes but valid range is 1...1
[qelr_create_cq:256]create cq: failed with rc = 22
[qelr_create_cq:234]create cq: failed. attempted to allocate 8388555 cqes but valid range is 1...1


======================================================================
ERROR: test_create_raw_qp_ex_no_attr (tests.test_qp.QPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 152, in test_create_raw_qp_ex_no_attr
    self.create_qp_common_test(e.IBV_QPT_RAW_PACKET, e.IBV_QPS_RESET, True, False)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 68, in create_qp_common_test
    qp = self.create_qp(creator, qia, is_ex, with_attr, port_num)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 40, in create_qp
    raise ex
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 34, in create_qp
    return QP(creator, qp_init_attr, qp_attr)
  File "qp.pyx", line 954, in pyverbs.qp.QP.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create QP. Errno: 22, Invalid argument

======================================================================
ERROR: test_create_raw_qp_ex_with_attr (tests.test_qp.QPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 178, in test_create_raw_qp_ex_with_attr
    self.create_qp_common_test(e.IBV_QPT_RAW_PACKET, e.IBV_QPS_RTS, True, True)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 68, in create_qp_common_test
    qp = self.create_qp(creator, qia, is_ex, with_attr, port_num)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 40, in create_qp
    raise ex
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 34, in create_qp
    return QP(creator, qp_init_attr, qp_attr)
  File "qp.pyx", line 954, in pyverbs.qp.QP.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create QP. Errno: 22, Invalid argument

======================================================================
ERROR: test_create_uc_qp_ex_no_attr (tests.test_qp.QPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 137, in test_create_uc_qp_ex_no_attr
    self.create_qp_common_test(e.IBV_QPT_UC, e.IBV_QPS_RESET, True, False)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 68, in create_qp_common_test
    qp = self.create_qp(creator, qia, is_ex, with_attr, port_num)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 40, in create_qp
    raise ex
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 34, in create_qp
    return QP(creator, qp_init_attr, qp_attr)
  File "qp.pyx", line 954, in pyverbs.qp.QP.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create QP. Errno: 22, Invalid argument

======================================================================
ERROR: test_create_ud_qp_ex_with_attr (tests.test_qp.QPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 170, in test_create_ud_qp_ex_with_attr
    self.create_qp_common_test(e.IBV_QPT_UD, e.IBV_QPS_RTS, True, True)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 68, in create_qp_common_test
    qp = self.create_qp(creator, qia, is_ex, with_attr, port_num)
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 40, in create_qp
    raise ex
  File "/tmp/tmp.SU6erzki2G/rdma-core/tests/test_qp.py", line 34, in create_qp
    return QP(creator, qp_init_attr, qp_attr)
  File "qp.pyx", line 954, in pyverbs.qp.QP.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create QP. Errno: 22, Invalid argument

======================================================================
FAIL: test_query_rc_qp (tests.test_qp.QPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.SU6erzki2G/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.SU6erzki2G/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.SU6erzki2G/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 120 tests in 0.402s

FAILED (failures=1, errors=4, skipped=81)


Expected results:

Normal execution with all pyverb tests with PASS

Additional info:

Refer to the attached test log for more details - J4698903_pyverb_test_fail_server_log_qedr_iw

Comment 1 Honggang LI 2020-12-10 23:51:55 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>

Comment 4 Brian Chae 2021-01-11 15:41:35 UTC
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

Comment 5 Brian Chae 2021-01-12 20:35:03 UTC
(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.

Comment 7 errata-xmlrpc 2021-05-18 14:45:12 UTC
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


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