Bug 2049639
| Summary: | [RHEL8.6] pyverbs-tests fail with 5 errors in "tests.test_mlx5_mkey.Mlx5MkeyTest" for MLX5 CIB devices | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Brian Chae <bchae> |
| Component: | rdma-core | Assignee: | Kamal Heib <kheib> |
| Status: | CLOSED WONTFIX | QA Contact: | Infiniband QE <infiniband-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.6 | CC: | hwkernel-mgr, kheib, rdma-dev-team |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-02 07:28:19 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: | |||
This bug may be same issue observed in RHEL9.0-Beta build. https://bugzilla.redhat.com/show_bug.cgi?id=1971564 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. |
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