Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
pyverbs-tests fail due to 6 errored testcases in "tests.test_mr.MWTest" on all MLX4 IB and MLX4 ROCE devices.
test_invalidate_mw_type1 (tests.test_mr.MWTest) ... ERROR
test_mw_type1 (tests.test_mr.MWTest) ... ERROR
test_mw_type2 (tests.test_mr.MWTest) ... ERROR
test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest) ... ERROR
test_mw_type2_invalidate_local (tests.test_mr.MWTest) ... ERROR
test_mw_type2_invalidate_remote (tests.test_mr.MWTest) ... ERROR
Version-Release number of selected component (if applicable):
DISTRO=RHEL-9.0.0-20210610.2
Red Hat Enterprise Linux release 9.0 Beta (Plow)
Linux rdma-perf-00.lab.bos.redhat.com 5.13.0-0.rc4.33.el9.x86_64 #1 SMP Wed Jun 2 19:15:08 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.13.0-0.rc4.33.el9.x86_64 root=/dev/mapper/rhel_rdma--perf--00-root ro intel_idle.max_cstate=0 intremap=no_x2apic_optout processor.max_cstate=0 intel_iommu=on iommu=on console=tty0 rd_NO_PLYMOUTH intel_idle.max_cstate=0 intremap=no_x2apic_optout processor.max_cstate=0 resume=/dev/mapper/rhel_rdma--perf--00-swap rd.lvm.lv=rhel_rdma-perf-00/root rd.lvm.lv=rhel_rdma-perf-00/swap console=ttyS1,115200n81
rdma-core-34.0-4.el9.x86_64
linux-firmware-20210315-120.el9.noarch
Installed:
kernel-kernel-infiniband-pyverbs-tests-1.5-1.noarch
How reproducible:
100%
Steps to Reproduce:
1. With the above build and packages on both RDMA server and client hosts
2. clone "rdma-core"
3. build "rdma-core"
4. execute the pyverbs tests
./build/bin/run_tests.py -v --dev $HCA_ID
<HCA_ID: mlx4_0[IB]/mlx4_1[ROCE]>
Actual results:
test_invalidate_mw_type1 (tests.test_mr.MWTest) ... ERROR
test_mw_type1 (tests.test_mr.MWTest) ... ERROR
test_mw_type2 (tests.test_mr.MWTest) ... ERROR
test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest) ... ERROR
test_mw_type2_invalidate_local (tests.test_mr.MWTest) ... ERROR
test_mw_type2_invalidate_remote (tests.test_mr.MWTest) ... ERROR
======================================================================
ERROR: test_invalidate_mw_type1 (tests.test_mr.MWTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 339, in test_invalidate_mw_type1
self.test_mw_type1()
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 333, in test_mw_type1
self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_1)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players
self.client = resource(**self.dev_info, **resource_arg)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__
raise ex
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__
self.mw = MW(self.pd, self.mw_type)
File "mr.pyx", line 305, in pyverbs.mr.MW.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted
======================================================================
ERROR: test_mw_type1 (tests.test_mr.MWTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 333, in test_mw_type1
self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_1)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players
self.client = resource(**self.dev_info, **resource_arg)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__
raise ex
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__
self.mw = MW(self.pd, self.mw_type)
File "mr.pyx", line 305, in pyverbs.mr.MW.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted
======================================================================
ERROR: test_mw_type2 (tests.test_mr.MWTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2
self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players
self.client = resource(**self.dev_info, **resource_arg)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__
raise ex
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__
self.mw = MW(self.pd, self.mw_type)
File "mr.pyx", line 305, in pyverbs.mr.MW.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted
======================================================================
ERROR: test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 366, in test_mw_type2_invalidate_dealloc
self.test_mw_type2()
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2
self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players
self.client = resource(**self.dev_info, **resource_arg)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__
raise ex
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__
self.mw = MW(self.pd, self.mw_type)
File "mr.pyx", line 305, in pyverbs.mr.MW.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted
======================================================================
ERROR: test_mw_type2_invalidate_local (tests.test_mr.MWTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 352, in test_mw_type2_invalidate_local
self.test_mw_type2()
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2
self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players
self.client = resource(**self.dev_info, **resource_arg)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__
raise ex
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__
self.mw = MW(self.pd, self.mw_type)
File "mr.pyx", line 305, in pyverbs.mr.MW.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted
======================================================================
ERROR: test_mw_type2_invalidate_remote (tests.test_mr.MWTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 359, in test_mw_type2_invalidate_remote
self.test_mw_type2()
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2
self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players
self.client = resource(**self.dev_info, **resource_arg)
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__
raise ex
File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__
self.mw = MW(self.pd, self.mw_type)
File "mr.pyx", line 305, in pyverbs.mr.MW.__init__
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted
----------------------------------------------------------------------
Ran 193 tests in 3.264s
FAILED (errors=6, skipped=121)
---
- TEST RESULT FOR rdma-core
- Test: Run pyverbs tests
- Result: FAIL
- Return: 1
---
Expected results:
The testcases should have tested with "ok" results
Additional info:
Only exception was the MLX4 ROCE device on "rdma-virt-01" which tested the same 6 above errorred tests fine when tested as RDMA client:
test_invalidate_mw_type1 (tests.test_mr.MWTest) ... ok
test_mw_type1 (tests.test_mr.MWTest) ... ok
test_mw_type2 (tests.test_mr.MWTest) ... ok
test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest) ... ok
test_mw_type2_invalidate_local (tests.test_mr.MWTest) ... ok
test_mw_type2_invalidate_remote (tests.test_mr.MWTest) ... ok
test_reg_mw_wrong_type (tests.test_mr.MWTest)
https://beaker.engineering.redhat.com/recipes/10132185#task127275367
Comment 5RHEL Program Management
2022-12-14 07:27:54 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.
Description of problem: pyverbs-tests fail due to 6 errored testcases in "tests.test_mr.MWTest" on all MLX4 IB and MLX4 ROCE devices. test_invalidate_mw_type1 (tests.test_mr.MWTest) ... ERROR test_mw_type1 (tests.test_mr.MWTest) ... ERROR test_mw_type2 (tests.test_mr.MWTest) ... ERROR test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest) ... ERROR test_mw_type2_invalidate_local (tests.test_mr.MWTest) ... ERROR test_mw_type2_invalidate_remote (tests.test_mr.MWTest) ... ERROR Version-Release number of selected component (if applicable): DISTRO=RHEL-9.0.0-20210610.2 Red Hat Enterprise Linux release 9.0 Beta (Plow) Linux rdma-perf-00.lab.bos.redhat.com 5.13.0-0.rc4.33.el9.x86_64 #1 SMP Wed Jun 2 19:15:08 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.13.0-0.rc4.33.el9.x86_64 root=/dev/mapper/rhel_rdma--perf--00-root ro intel_idle.max_cstate=0 intremap=no_x2apic_optout processor.max_cstate=0 intel_iommu=on iommu=on console=tty0 rd_NO_PLYMOUTH intel_idle.max_cstate=0 intremap=no_x2apic_optout processor.max_cstate=0 resume=/dev/mapper/rhel_rdma--perf--00-swap rd.lvm.lv=rhel_rdma-perf-00/root rd.lvm.lv=rhel_rdma-perf-00/swap console=ttyS1,115200n81 rdma-core-34.0-4.el9.x86_64 linux-firmware-20210315-120.el9.noarch Installed: kernel-kernel-infiniband-pyverbs-tests-1.5-1.noarch How reproducible: 100% Steps to Reproduce: 1. With the above build and packages on both RDMA server and client hosts 2. clone "rdma-core" 3. build "rdma-core" 4. execute the pyverbs tests ./build/bin/run_tests.py -v --dev $HCA_ID <HCA_ID: mlx4_0[IB]/mlx4_1[ROCE]> Actual results: test_invalidate_mw_type1 (tests.test_mr.MWTest) ... ERROR test_mw_type1 (tests.test_mr.MWTest) ... ERROR test_mw_type2 (tests.test_mr.MWTest) ... ERROR test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest) ... ERROR test_mw_type2_invalidate_local (tests.test_mr.MWTest) ... ERROR test_mw_type2_invalidate_remote (tests.test_mr.MWTest) ... ERROR ====================================================================== ERROR: test_invalidate_mw_type1 (tests.test_mr.MWTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 339, in test_invalidate_mw_type1 self.test_mw_type1() File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 333, in test_mw_type1 self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_1) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players self.client = resource(**self.dev_info, **resource_arg) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__ raise ex File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__ self.mw = MW(self.pd, self.mw_type) File "mr.pyx", line 305, in pyverbs.mr.MW.__init__ pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted ====================================================================== ERROR: test_mw_type1 (tests.test_mr.MWTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 333, in test_mw_type1 self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_1) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players self.client = resource(**self.dev_info, **resource_arg) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__ raise ex File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__ self.mw = MW(self.pd, self.mw_type) File "mr.pyx", line 305, in pyverbs.mr.MW.__init__ pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted ====================================================================== ERROR: test_mw_type2 (tests.test_mr.MWTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2 self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players self.client = resource(**self.dev_info, **resource_arg) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__ raise ex File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__ self.mw = MW(self.pd, self.mw_type) File "mr.pyx", line 305, in pyverbs.mr.MW.__init__ pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted ====================================================================== ERROR: test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 366, in test_mw_type2_invalidate_dealloc self.test_mw_type2() File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2 self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players self.client = resource(**self.dev_info, **resource_arg) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__ raise ex File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__ self.mw = MW(self.pd, self.mw_type) File "mr.pyx", line 305, in pyverbs.mr.MW.__init__ pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted ====================================================================== ERROR: test_mw_type2_invalidate_local (tests.test_mr.MWTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 352, in test_mw_type2_invalidate_local self.test_mw_type2() File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2 self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players self.client = resource(**self.dev_info, **resource_arg) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__ raise ex File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__ self.mw = MW(self.pd, self.mw_type) File "mr.pyx", line 305, in pyverbs.mr.MW.__init__ pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted ====================================================================== ERROR: test_mw_type2_invalidate_remote (tests.test_mr.MWTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 359, in test_mw_type2_invalidate_remote self.test_mw_type2() File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 346, in test_mw_type2 self.create_players(MWRC, mw_type=e.IBV_MW_TYPE_2) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 245, in create_players self.client = resource(**self.dev_info, **resource_arg) File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 209, in __init__ raise ex File "/tmp/tmp.gpc3AMoEjr/rdma-core/tests/test_mr.py", line 205, in __init__ self.mw = MW(self.pd, self.mw_type) File "mr.pyx", line 305, in pyverbs.mr.MW.__init__ pyverbs.pyverbs_error.PyverbsRDMAError: Failed to allocate MW. Errno: 1, Operation not permitted ---------------------------------------------------------------------- Ran 193 tests in 3.264s FAILED (errors=6, skipped=121) --- - TEST RESULT FOR rdma-core - Test: Run pyverbs tests - Result: FAIL - Return: 1 --- Expected results: The testcases should have tested with "ok" results Additional info: Only exception was the MLX4 ROCE device on "rdma-virt-01" which tested the same 6 above errorred tests fine when tested as RDMA client: test_invalidate_mw_type1 (tests.test_mr.MWTest) ... ok test_mw_type1 (tests.test_mr.MWTest) ... ok test_mw_type2 (tests.test_mr.MWTest) ... ok test_mw_type2_invalidate_dealloc (tests.test_mr.MWTest) ... ok test_mw_type2_invalidate_local (tests.test_mr.MWTest) ... ok test_mw_type2_invalidate_remote (tests.test_mr.MWTest) ... ok test_reg_mw_wrong_type (tests.test_mr.MWTest) https://beaker.engineering.redhat.com/recipes/10132185#task127275367