Bug 2149056

Summary: [RHEL8.8] UCX ended up with SIG6 core file on the RDMA server or client host after "openmpi ucx osu_bw" test
Product: Red Hat Enterprise Linux 8 Reporter: Brian Chae <bchae>
Component: ucxAssignee: Kamal Heib <kheib>
Status: CLOSED MIGRATED QA Contact: Infiniband QE <infiniband-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: kheib, rdma-dev-team
Target Milestone: rcKeywords: MigratedToJIRA
Target Release: ---Flags: pm-rhel: mirror+
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-09-21 14:31:23 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:

Description Brian Chae 2022-11-28 17:39:05 UTC
Description of problem:

After "openmpi ucx osu_bw" test, RDMA server host was left with SIG 6 core file, when the test was run on MLX5 ROCE with bonding/teaming. This took place on RDMA lab machines of rdma-dev-19/20 pair - rdma-dev-19 as server in bonding and rdma-dev-20 as client hosts in teaming.


On the rdma-dev-19 (server):

TIME                            PID   UID   GID SIG COREFILE  EXE
Mon 2022-11-28 11:39:01 EST   79390     0     0   6 present   /usr/lib64/openmpi/bin/mpitests-osu_bw
total 2452
-rw-r-----. 1 root root 2504822 Nov 28 11:39 core.mpitests-osu_bw.0.02d616224e974648ae9e3d757a08ba58.79390.1669653541000000.lz4
Red Hat Enterprise Linux release 8.8 Beta (Ootpa)

This seems to be a regression, as the same test in RHEL8.7.0 did not produce the core in the server side.


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

Clients: rdma-dev-20
Servers: rdma-dev-19

DISTRO=RHEL-8.8.0-20221120.2

+ [22-11-28 11:37:35] cat /etc/redhat-release
Red Hat Enterprise Linux release 8.8 Beta (Ootpa)

+ [22-11-28 11:37:35] uname -a
Linux rdma-dev-19.rdma.lab.eng.rdu2.redhat.com 4.18.0-438.el8.x86_64 #1 SMP Mon Nov 14 13:08:07 EST 2022 x86_64 x86_64 x86_64 GNU/Linux

+ [22-11-28 11:37:35] cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-438.el8.x86_64 root=UUID=67eba586-c572-49ad-8973-e9030c9f66e6 ro console=tty0 rd_NO_PLYMOUTH intel_idle.max_cstate=0 intel_iommu=on iommu=on processor.max_cstate=0 crashkernel=auto resume=UUID=a124f939-9473-482f-bc5f-f093bc222674 console=ttyS1,115200

+ [22-11-28 11:37:35] rpm -q rdma-core linux-firmware
rdma-core-41.0-1.el8.x86_64
linux-firmware-20220726-110.git150864a4.el8.noarch

+ [22-11-28 11:37:35] tail /sys/class/infiniband/mlx5_2/fw_ver /sys/class/infiniband/mlx5_3/fw_ver /sys/class/infiniband/mlx5_bond_0/fw_ver
==> /sys/class/infiniband/mlx5_2/fw_ver <==
12.28.2006

==> /sys/class/infiniband/mlx5_3/fw_ver <==
12.28.2006

==> /sys/class/infiniband/mlx5_bond_0/fw_ver <==
14.31.1014

+ [22-11-28 11:37:35] lspci
+ [22-11-28 11:37:35] grep -i -e ethernet -e infiniband -e omni -e ConnectX
01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
04:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
04:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
82:00.0 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4]
82:00.1 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4]

Installed:
  ucx-cma-1.13.0-1.el8.x86_64              ucx-ib-1.13.0-1.el8.x86_64          
  ucx-rdmacm-1.13.0-1.el8.x86_64          


How reproducible:
100%


Steps to Reproduce:
1. Install RHEL-8.8.0-20221120.2 on rdma-dev-19/20
2. Install & execute kernel-kernel-infiniband-ucx test script
3. Watch ucx result on client side


Actual results:

In rdma-dev-19 (server host), the above mentioned core file will be found.


Expected results:

No core files should be produced after the "openmpi ucx osu_bw" test

Additional info:

Comment 2 Brian Chae 2023-05-29 19:33:45 UTC
On RHEL-8.9, the same core file from "openmpi ucx sou_bw" test resulted in the client host.

May 25 10:12:56 rdma-dev-20.rdma.lab.eng.rdu2.redhat.com kernel: sd 11:0:0:7: Warning! Received an indication that the LUN assignments on this target have changed. The Linux SCSI layer does not automatical
TIME                            PID   UID   GID SIG COREFILE  EXE
Thu 2023-05-25 11:23:55 EDT  368752     0     0   6 none      /usr/lib64/openmpi/bin/mpitests-osu_bw
total 0

=================================================================

Clients: rdma-dev-20
Servers: rdma-dev-19

DISTRO=RHEL-8.9.0-20230521.41

+ [23-05-25 11:07:48] cat /etc/redhat-release
Red Hat Enterprise Linux release 8.9 Beta (Ootpa)

+ [23-05-25 11:07:48] uname -a
Linux rdma-dev-20.rdma.lab.eng.rdu2.redhat.com 4.18.0-492.el8.x86_64 #1 SMP Tue May 9 14:50:21 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

+ [23-05-25 11:07:48] cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-492.el8.x86_64 root=UUID=ceb5ecf0-f76e-43d9-a805-fb8115e8ca03 ro intel_idle.max_cstate=0 processor.max_cstate=0 intel_iommu=on iommu=on console=tty0 rd_NO_PLYMOUTH crashkernel=auto resume=UUID=318b16c0-dfd8-45e0-be0e-f6400597df19 console=ttyS1,115200n81

+ [23-05-25 11:07:48] rpm -q rdma-core linux-firmware
rdma-core-44.0-2.el8.1.x86_64
linux-firmware-20230515-115.gitd1962891.el8.noarch

+ [23-05-25 11:07:48] tail /sys/class/infiniband/mlx5_2/fw_ver /sys/class/infiniband/mlx5_3/fw_ver /sys/class/infiniband/mlx5_bond_0/fw_ver
==> /sys/class/infiniband/mlx5_2/fw_ver <==
12.28.2006

==> /sys/class/infiniband/mlx5_3/fw_ver <==
12.28.2006

==> /sys/class/infiniband/mlx5_bond_0/fw_ver <==
14.31.1014
+ [23-05-25 11:07:48] lspci
+ [23-05-25 11:07:48] grep -i -e ethernet -e infiniband -e omni -e ConnectX
01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
04:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
04:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
82:00.0 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4]
82:00.1 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4]

Comment 3 RHEL Program Management 2023-09-21 14:27:57 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 4 RHEL Program Management 2023-09-21 14:31:23 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.