-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Description
runc no_pivot test fails on ppc64le.
Tracking in SUSE as https://bugzilla.suse.com/show_bug.cgi?id=1247568
openQA job: https://openqa.opensuse.org/tests/5220249
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
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.qFQ71a
env BATS_TMPDIR=/var/tmp/test.qFQ71a PATH=/usr/local/bin:$PATH:/usr/sbin:/sbin RUNC=/usr/bin/runc RUNC_USE_SYSTEMD=1 bats --tap -T tests/integration/no_pivot.bats
sudo rm -rf /var/tmp/test.qFQ71a || true
Describe the results you received and expected
not ok 174 runc run --no-pivot must not expose bare /proc in 961ms
# (in test file tests/integration/no_pivot.bats, line 21)
# `[ "$status" -eq 1 ]' failed
# runc spec (status=0):
#
# runc run --no-pivot test_no_pivot (status=139):
# + mount -t proc none /proc
# mount: permission denied (are you root?)
# --- 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 20250803
Host kernel information
Linux opensuse 6.15.8-1-default #1 SMP PREEMPT_DYNAMIC Thu Jul 24 07:19:58 UTC 2025 (e03d052) x86_64 x86_64 x86_64 GNU/Linux
Metadata
Metadata
Assignees
Labels
No labels