Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci test] resource limit set in cgroup v2 #4226

Closed

add some integrate tests for cpu and memory limits update

3c08154
Select commit
Loading
Failed to load commit list.
Closed

[ci test] resource limit set in cgroup v2 #4226

add some integrate tests for cpu and memory limits update
3c08154
Select commit
Loading
Failed to load commit list.
Cirrus CI / ci / centos-stream-9 failed Jul 2, 2024 in 6m 20s

Task Summary

Instruction integration_systemd failed in 03:11

Details

✅ 00:05 clone
✅ 01:59 install_dependencies
✅ 00:01 host_info
✅ 00:01 check_config
✅ 00:58 unit_tests
❌ 03:11 integration_systemd

#  in test file tests/integration/update.bats, line 374)
#   `check_cpu_quota 504000 900000 "560ms"' failed
# runc spec (status=0):
#
# runc run -d --console-socket /tmp/bats-run-wu53FO/runc.td3gjd/tty/sock test_update (status=0):
#
# current max 100000 !? max 100000
# systemd CPUQuotaPerSecUSec: current infinity !? infinity
# systemd CPUQuotaPeriodUSec: current infinity !? 100ms infinity
# runc update test_update --cpu-period 900000 --cpu-quota 504000 (status=0):
#
# current 504000 900000 !? 504000 900000
# systemd CPUQuotaPerSecUSec: current 560ms !? 560ms
# systemd CPUQuotaPeriodUSec: current 900ms !? 900ms
# runc update test_update --cpu-period 900000 (status=0):
#
# current 504000 900000 !? 504000 900000
# systemd CPUQuotaPerSecUSec: current 560ms !? 560ms
# systemd CPUQuotaPeriodUSec: current 900ms !? 900ms
# runc update test_update --memory 500M (status=0):
#
# current 504000 900000 !? 504000 900000
# systemd CPUQuotaPerSecUSec: current 560ms !? 560ms
# systemd CPUQuotaPeriodUSec: current 900ms !? 900ms
# runc update test_update --cpu-period 900000 (status=0):
#
# current max 900000 !? 504000 900000
ok 253 cpu burst
ok 254 set cpu period with no quota
ok 255 set cpu period with no quota (invalid period)
ok 256 set cpu quota with no period
ok 257 update cpu period with no previous period/quota set
ok 258 update cpu quota with no previous period/quota set
ok 259 update cpu period in a pod cgroup with pod limit set # skip test requires cgroups_v1
ok 260 update cgroup cpu.idle
ok 261 update cgroup cpu.idle via systemd v252+
ok 262 update cgroup v2 resources via unified map
ok 263 update cpuset parameters via resources.CPU
ok 264 update cpuset parameters via v2 unified map
ok 265 update cpuset cpus range via v2 unified map # skip test requires more_than_8_core
ok 266 update rt period and runtime # skip test requires cgroups_v1
ok 267 update devices [minimal transition rules]
ok 268 update paused container
ok 269 update memory vs CheckBeforeUpdate
ok 270 userns with simple mount
ok 271 userns with 2 inaccessible mounts
ok 272 userns with inaccessible mount + exec
ok 273 userns with bind mount before a cgroupfs mount # skip test requires cgroups_v1
ok 274 userns join other container userns
ok 275 userns join other container userns [bind-mounted nsfd]
ok 276 runc version
make: *** [Makefile:175: localintegration] Error 1
make: Leaving directory '/home/runc'
Connection to localhost closed.

Exit status: 2