Skip to content

runc: gracefully handle low RLIMIT_NOFILE instead of crashing#5097

Closed
arnavgogia20 wants to merge 2 commits into
opencontainers:mainfrom
arnavgogia20:fix/low-rlimit-crash
Closed

runc: gracefully handle low RLIMIT_NOFILE instead of crashing#5097
arnavgogia20 wants to merge 2 commits into
opencontainers:mainfrom
arnavgogia20:fix/low-rlimit-crash

tests: add regression test for low RLIMIT_NOFILE (gh-5082)

caf1809
Select commit
Loading
Failed to load commit list.
Cirrus CI / ci / almalinux-8 failed Feb 2, 2026 in 7m 36s

Task Summary

Instruction integration_systemd failed in 03:07

Details

✅ 00:05 clone
✅ 03:25 install_dependencies
✅ 00:01 host_info
✅ 00:01 check_config
✅ 00:54 unit_tests
❌ 03:07 integration_systemd

ok 294 state (pause + resume)
ok 295 runc run [timens offsets with no timens]
ok 296 runc run [timens with no offsets]
ok 297 runc run [simple timens]
ok 298 runc exec [simple timens]
ok 299 runc run [simple timens + userns]
ok 300 runc run [stdin not a tty]
ok 301 runc run [tty ptsname]
ok 302 runc run [tty owner]
ok 303 runc run [tty owner] ({u,g}id != 0)
ok 304 runc exec [stdin not a tty]
ok 305 runc exec [tty ptsname]
ok 306 runc exec [tty owner]
ok 307 runc exec [tty owner] ({u,g}id != 0)
ok 308 runc exec [tty consolesize]
ok 309 runc create [terminal=false]
ok 310 runc run [terminal=false]
ok 311 runc run -d [terminal=false]
ok 312 umask
ok 313 update cgroup v1/v2 common limits
ok 314 update cgroup cpu limits
ok 315 update pids.limit
ok 316 cpu burst # skip test requires cgroups_cpu_burst
ok 317 set cpu period with no quota
ok 318 set cpu period with no quota (invalid period)
ok 319 set cpu quota with no period
ok 320 update cpu period with no previous period/quota set
ok 321 update cpu quota with no previous period/quota set
ok 322 update cpu period in a pod cgroup with pod limit set
ok 323 update cgroup cpu.idle # skip test requires cgroups_cpu_idle
ok 324 update cgroup cpu.idle via systemd v252+ # skip test requires cgroups_v2
ok 325 update cgroup v2 resources via unified map # skip test requires cgroups_v2
ok 326 update cpuset parameters via resources.CPU
ok 327 update cpuset parameters via v2 unified map # skip test requires cgroups_v2
ok 328 update cpuset cpus range via v2 unified map # skip test requires cgroups_v2
ok 329 update rt period and runtime # skip test requires no_systemd
ok 330 update devices [minimal transition rules]
ok 331 update paused container
ok 332 update memory vs CheckBeforeUpdate # skip test requires cgroups_v2
ok 333 update per-device iops/bps values
ok 334 userns with simple mount
ok 335 userns with 2 inaccessible mounts
ok 336 userns with inaccessible mount + exec
ok 337 userns with bind mount before a cgroupfs mount
ok 338 userns join other container userns
ok 339 userns join other container userns[selinux enabled]
ok 340 userns join other container userns [bind-mounted nsfd]
ok 341 userns join external namespaces [wrong userns owner]
ok 342 userns with network interface
ok 343 userns with network interface renamed
ok 344 runc version
make: *** [Makefile:174: localintegration] Error 1
make: Leaving directory '/home/runc'
Connection to localhost closed.

Exit status: 2