build cgroup error's
Issue
- Build fail with cgroup error
STEP 8/9: RUN /opt/frame/s2i/assemble
error running container: from /usr/bin/runc creating container for [/bin/sh -c /opt/frame/s2i/assemble]: time="2025-07-16T11:49:01Z" level=warning msg="Failed to remove cgroup (will retry)" error="rmdir /sys/fs/cgroup/memory/buildah-buildah3878919535: device or resource busy"
time="2025-07-16T11:49:01Z" level=warning msg="Failed to remove cgroup (will retry)" error="rmdir /sys/fs/cgroup/blkio/buildah-buildah3878919535: device or resource busy"
time="2025-07-16T11:49:01Z" level=warning msg="Failed to remove cgroup (will retry)" error="rmdir /sys/fs/cgroup/net_cls,net_prio/buildah-buildah3878919535: device or resource busy"
time="2025-07-16T11:49:01Z" level=warning msg="Failed to remove cgroup (will retry)" error="rmdir /sys/fs/cgroup/pids/buildah-buildah3878919535: device or resource busy"
time="2025-07-16T11:49:01Z" level=warning msg="Failed to remove cgroup (will retry)" error="rmdir /sys/fs/cgroup/hugetlb/buildah-buildah3878919535: device or resource busy"
time="2025-07-16T11:49:01Z" level=warning msg="Failed to remove cgroup (will retry)" error="rmdir /sys/fs/cgroup/systemd/buildah-buildah3878919535: device or resource busy"
On the node where the build is run, segmentation fault errors are seen.
dmesg -T
[Wed Jul 16 13:44:52 2025] OAperiodicreque[2282863]: segfault at 18 ip 00007f67f450a57c sp 00007f67e3ffdce0 error 4 in libc.so.6[7f67f44a000+175000] likely on CPU 8 (core 4, socket 0)
[Wed Jul 16 13:44:52 2025] Code: 0f 11 07 0f 11 47 20 8b 06 8b 56 04 89 47 30 31 c0 85 d2 0f 95 c0 89 47 1c 31 c0 c3 66 90 f3 0f 1e fa 4154 55 53 48 89 fb 90 <8b> 57 18 64 8b 04 25 d0 02 00 00 39 c2 0f 84 91 00 00 00 83 7f 30
[Wed Jul 16 13:44:59 2025] device 6d48e794eb9c543 left promiscuous mode
[Wed Jul 16 13:47:57 2025] OAperiodicreque[2289823]: segfault at 18 ip 00007fb41131657c sp 00007fb40d2e2ce0 error 4 in libc.so.6[7fb4112a000+175000] likely on CPU 8 (core 4, socket 0)
[Wed Jul 16 13:47:57 2025] Code: 0f 11 07 0f 11 47 20 8b 06 8b 56 04 89 47 30 31 c0 85 d2 0f 95 c0 89 47 1c 31 c0 c3 66 90 f3 0f 1e fa 4154 55 53 48 89 fb 90 <8b> 57 18 64 8b 04 25 d0 02 00 00 39 c2 0f 84 91 00 00 00 83 7f 30
Environment
- Redhat OpenShift Container Platform 4.x (RHOCP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.