-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Description
runc cgroups runc run (cgroup v2 resources.unified swap) test fails on ppc64le
openQA job: https://openqa.opensuse.org/tests/5224680
Steps to reproduce the issue
### RUN AS root
curl -sL --retry 9 --retry-delay 100 --retry-max-time 900 https://github.com/bats-core/bats-core/archive/refs/tags/v1.11.1.tar.gz | tar -zxf -
bash bats-core-1.11.1/install.sh /usr/local
rm -rf bats-core-1.11.1
mkdir -pm 0750 /etc/sudoers.d/
echo 'Defaults secure_path="/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin"' > /etc/sudoers.d/usrlocal
zypper --gpg-auto-import-keys -n install glibc-devel-static go1.24 jq libseccomp-devel make runc criu
sudo zypper --gpg-auto-import-keys -n install --allow-vendor-change git-core
mkdir -p /etc/systemd/system/[email protected]/
echo -e "[Service]\nDelegate=cpu cpuset io memory pids" > /etc/systemd/system/[email protected]/60-delegate.conf
reboot
### RUN AS user
cd /var/tmp/
git clone https://github.com/opencontainers/runc.git
cd /var/tmp/runc
git checkout v1.3.0
make memfd-bind fs-idmap pidfd-kill recvtty remap-rootfs sd-helper seccompagent || true
### RUN AS root
cd /var/tmp/runc
mkdir -p /var/tmp/test.0PmimC
env BATS_TMPDIR=/var/tmp/test.0PmimC PATH=/usr/local/bin:$PATH:/usr/sbin:/sbin RUNC=/usr/bin/runc RUNC_USE_SYSTEMD=1 bats --tap -T tests/integration/cgroups.bats
sudo rm -rf /var/tmp/test.0PmimC || true
Describe the results you received and expected
not ok 24 runc run (cgroup v2 resources.unified swap) in 497ms
# (in test file tests/integration/cgroups.bats, line 356)
# `echo "$output" | grep -q '^memory.max:20484096$'' failed
# runc spec (status=0):
#
# runc run -d --console-socket /tmp/bats-run-mkwgD2/runc.oY3hjo/tty/sock test_cgroups_unified (status=0):
#
# runc exec test_cgroups_unified sh -c cd /sys/fs/cgroup && grep . *.max (status=0):
# cpu.max:max 100000
# memory.max:20447232
# memory.swap.max:20971520
# memory.zswap.max:max
# pids.max:4818
# cpu.max:max 100000
# memory.max:20447232
# memory.swap.max:20971520
# memory.zswap.max:max
# pids.max:4818
# --- teardown ---
What version of runc are you using?
runc version 1.3.0
commit: v1.3.0-0-g4ca628d1d4c9
spec: 1.2.1
go: go1.24.2
libseccomp: 2.6.0
Host OS information
openSUSE Tumbleweed 20250805
Host kernel information
Linux susetest 6.15.8-1-default #1 SMP Thu Jul 24 07:19:58 UTC 2025 (e03d052) ppc64le ppc64le ppc64le GNU/Linux
Metadata
Metadata
Assignees
Labels
No labels