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 2049639 - [RHEL8.6] pyverbs-tests fail with 5 errors in "tests.test_mlx5_mkey.Mlx5MkeyTest" for MLX5 CIB devices
Summary: [RHEL8.6] pyverbs-tests fail with 5 errors in "tests.test_mlx5_mkey.Mlx5MkeyT...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rdma-core
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Kamal Heib
QA Contact: Infiniband QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-02 13:49 UTC by Brian Chae
Modified: 2023-08-02 07:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-02 07:28:19 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-110737 0 None None None 2022-02-02 13:58:08 UTC

Description Brian Chae 2022-02-02 13:49:31 UTC
Description of problem:

pyverbs-tests fail with the following error when tested on rdma-qe-06 and rdma-qe-07, which are the MLX5 Connected IB devices.

     test_mkey_interleaved (tests.test_mlx5_mkey.Mlx5MkeyTest) ... ERROR
      test_mkey_interleaved_new_api (tests.test_mlx5_mkey.Mlx5MkeyTest) ... ERROR
      test_mkey_list (tests.test_mlx5_mkey.Mlx5MkeyTest) ... ERROR
      test_mkey_list_bad_flow (tests.test_mlx5_mkey.Mlx5MkeyTest) ... ERROR
      test_mkey_list_new_api (tests.test_mlx5_mkey.Mlx5MkeyTest) ... ERROR

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

Clients: rdma-qe-07
Servers: rdma-qe-06

DISTRO=RHEL-8.6.0-20220118.5

Red Hat Enterprise Linux release 8.6 Beta (Ootpa)

Linux rdma-qe-07.rdma.lab.eng.rdu2.redhat.com 4.18.0-359.el8.x86_64 #1 SMP Mon Jan 10 15:32:06 EST 2022 x86_64 x86_64 x86_64 GNU/Linux
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-359.el8.x86_64 root=UUID=0befaeb7-521d-43f5-8ed4-fb86ad16e70b ro intel_idle.max_cstate=0 intremap=no_x2apic_optout processor.max_cstate=0 console=tty0 rd_NO_PLYMOUTH crashkernel=auto resume=UUID=6b97c420-3201-41ae-832d-4c2e8b26b930 console=ttyS1,115200n81

rdma-core-37.2-1.el8.x86_64
linux-firmware-20211119-105.gitf5d51956.el8.noarch
10.16.1200
03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5717 Gigabit Ethernet PCIe (rev 10)
03:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5717 Gigabit Ethernet PCIe (rev 10)
05:00.0 Infiniband controller: Mellanox Technologies MT27600 [Connect-IB]


python3-pyverbs-37.2-1.el8.x86_64


RDMA hosts tested:

Clients: rdma-qe-07
Servers: rdma-qe-06



How reproducible:

100%

Steps to Reproduce:

1. With the above build, on rdma-dev-19/20 or rdma-qe-06/07
2. clone the "rdma-core"
3. build the "rdma-core"
4. execute the pyverbs tests

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

    <HCA_ID:	mlx5_2 [IB] | mlx5_bond_0 [ROCE]>



Actual results:

======================================================================
ERROR: test_mkey_interleaved (tests.test_mlx5_mkey.Mlx5MkeyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_mlx5_mkey.py", line 395, in test_mkey_interleaved
    dv_send_ops_flags=dve.MLX5DV_QP_EX_WITH_MR_INTERLEAVED)
  File "./test_mlx5_mkey.py", line 115, in create_players
    self.client = resource(**self.dev_info, **resource_arg)
  File "./test_mlx5_mkey.py", line 44, in __init__
    self.create_mkey()
  File "./test_mlx5_mkey.py", line 61, in create_mkey
    raise ex
  File "./test_mlx5_mkey.py", line 57, in create_mkey
    self.mkey = Mlx5Mkey(self.pd, self.mkey_create_flags, 3)
  File "mlx5dv_mkey.pyx", line 186, in pyverbs.providers.mlx5.mlx5dv_mkey.Mlx5Mkey.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create mkey. Errno: 93, Protocol not supported

======================================================================
ERROR: test_mkey_interleaved_new_api (tests.test_mlx5_mkey.Mlx5MkeyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_mlx5_mkey.py", line 428, in test_mkey_interleaved_new_api
    dv_send_ops_flags=dve.MLX5DV_QP_EX_WITH_MKEY_CONFIGURE)
  File "./test_mlx5_mkey.py", line 115, in create_players
    self.client = resource(**self.dev_info, **resource_arg)
  File "./test_mlx5_mkey.py", line 44, in __init__
    self.create_mkey()
  File "./test_mlx5_mkey.py", line 61, in create_mkey
    raise ex
  File "./test_mlx5_mkey.py", line 57, in create_mkey
    self.mkey = Mlx5Mkey(self.pd, self.mkey_create_flags, 3)
  File "mlx5dv_mkey.pyx", line 186, in pyverbs.providers.mlx5.mlx5dv_mkey.Mlx5Mkey.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create mkey. Errno: 93, Protocol not supported

======================================================================
ERROR: test_mkey_list (tests.test_mlx5_mkey.Mlx5MkeyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_mlx5_mkey.py", line 406, in test_mkey_list
    dv_send_ops_flags=dve.MLX5DV_QP_EX_WITH_MR_LIST)
  File "./test_mlx5_mkey.py", line 115, in create_players
    self.client = resource(**self.dev_info, **resource_arg)
  File "./test_mlx5_mkey.py", line 44, in __init__
    self.create_mkey()
  File "./test_mlx5_mkey.py", line 61, in create_mkey
    raise ex
  File "./test_mlx5_mkey.py", line 57, in create_mkey
    self.mkey = Mlx5Mkey(self.pd, self.mkey_create_flags, 3)
  File "mlx5dv_mkey.pyx", line 186, in pyverbs.providers.mlx5.mlx5dv_mkey.Mlx5Mkey.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create mkey. Errno: 93, Protocol not supported

======================================================================
ERROR: test_mkey_list_bad_flow (tests.test_mlx5_mkey.Mlx5MkeyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_mlx5_mkey.py", line 440, in test_mkey_list_bad_flow
    dv_send_ops_flags=dve.MLX5DV_QP_EX_WITH_MR_LIST)
  File "./test_mlx5_mkey.py", line 115, in create_players
    self.client = resource(**self.dev_info, **resource_arg)
  File "./test_mlx5_mkey.py", line 44, in __init__
    self.create_mkey()
  File "./test_mlx5_mkey.py", line 61, in create_mkey
    raise ex
  File "./test_mlx5_mkey.py", line 57, in create_mkey
    self.mkey = Mlx5Mkey(self.pd, self.mkey_create_flags, 3)
  File "mlx5dv_mkey.pyx", line 186, in pyverbs.providers.mlx5.mlx5dv_mkey.Mlx5Mkey.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create mkey. Errno: 93, Protocol not supported

======================================================================
ERROR: test_mkey_list_new_api (tests.test_mlx5_mkey.Mlx5MkeyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_mlx5_mkey.py", line 417, in test_mkey_list_new_api
    dv_send_ops_flags=dve.MLX5DV_QP_EX_WITH_MKEY_CONFIGURE)
  File "./test_mlx5_mkey.py", line 115, in create_players
    self.client = resource(**self.dev_info, **resource_arg)
  File "./test_mlx5_mkey.py", line 44, in __init__
    self.create_mkey()
  File "./test_mlx5_mkey.py", line 61, in create_mkey
    raise ex
  File "./test_mlx5_mkey.py", line 57, in create_mkey
    self.mkey = Mlx5Mkey(self.pd, self.mkey_create_flags, 3)
  File "mlx5dv_mkey.pyx", line 186, in pyverbs.providers.mlx5.mlx5dv_mkey.Mlx5Mkey.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to create mkey. Errno: 93, Protocol not supported

----------------------------------------------------------------------
Ran 219 tests in 9.150s

FAILED (errors=5, skipped=118)


Expected results:

test_mkey_interleaved (tests.test_mlx5_mkey.Mlx5MkeyTest)
Create Mkeys, register an interleaved memory layout using this mkey and ... ok
test_mkey_interleaved_new_api (tests.test_mlx5_mkey.Mlx5MkeyTest)
Create Mkeys, configure it with interleaved memory layout using the new ... ok
test_mkey_list (tests.test_mlx5_mkey.Mlx5MkeyTest)
Create Mkeys, register a memory layout using this mkey and then perform ... ok
test_mkey_list_bad_flow (tests.test_mlx5_mkey.Mlx5MkeyTest)
Create Mkeys, register a memory layout using this mkey and then try to ... ok
test_mkey_list_new_api (tests.test_mlx5_mkey.Mlx5MkeyTest)
Create Mkeys, configure it with memory layout using the new API and ... ok
test_mkey_sig_crc (tests.test_mlx5_mkey.Mlx5MkeyTest)



Additional info:

Refer to https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2022/01/62234/6223410/11344188/138876665/649773769/resultoutputfile.log 

for test details

Comment 1 Brian Chae 2022-02-02 13:52:38 UTC
This bug may be same issue observed in RHEL9.0-Beta build.

https://bugzilla.redhat.com/show_bug.cgi?id=1971564

Comment 4 RHEL Program Management 2023-08-02 07:28:19 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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