containerd / containerd/nerdctl
[CI]: TestRunBlkioSettingCgroupV2 appears non functioning on EL9 (linux 5?)
- Dominant language
- Go
- Stars
- 10.4k
- Forks
- 826
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 44
Description
### Description
PR #4154 tentatively introduces additional testing on EL9 (as a way to bisect failures and figure out which are EL8-specific or in-lima-specific).
EL9 is cgroupv2, however it does not look it is quite working.
It could be the testing environment, or we have a bug.
Is there a cgroup jedi-master around who could advise on the following error?
### Steps to reproduce the issue
TestRunBlkioSettingCgroupV2
### Describe the results you received and expected
```
+------------------------------------------------------------------------------------------------------------+
| ➡️ | ⚙️ /usr/local/bin/nerdctl run -d --name testrunblkiosettingcgroupv2-blkio-weight-device-888e71b0 |
| | --blkio-weight-device /dev/dummy-zero:100 ghcr.io/stargz-containers/alpine:3.13-org sleep infin |
| | ity |
+------------------------------------------------------------------------------------------------------------+
| | 🚫 command returned a non-zero exit code |
+------------------------------------------------------------------------------------------------------------+
| | ⚠️ 1 |
+------------------------------------------------------------------------------------------------------------+
| | 🟠 time="2025-05-02T20:17:50Z" level=fatal msg="failed to create shim task: OCI runtime create f |
| | ailed: runc create failed: unable to start container process: error during container init: error |
| | setting cgroup config for procHooks process: setting device weight \"1:5 100\": write /sys/fs/c |
| | group/system.slice/nerdctl-84d7508c134fd3489e413241ac4c09bb9110d7f5273177152ae916e48cf77049.scop |
| | e/io.bfq.weight: operation not supported" |
+------------------------------------------------------------------------------------------------------------+
| 🌱 | HOME=/root |
| | PATH=/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin |
| | :/bin |
| | DOCKER_CONFIG=/tmp/TestRunBlkioSettingCgroupV2blkio-weight-device1124629430/003 |
| | NERDCTL_TOML=/tmp/TestRunBlkioSettingCgroupV2blkio-weight-device1124629430/003/nerdctl.toml |
+------------------------------------------------------------------------------------------------------------+
| ⏰ | 2.673147491s (limit: 3m0s) |
+------------------------------------------------------------------------------------------------------------+
| 📁 | /tmp/TestRunBlkioSettingCgroupV2blkio-weight-device1124629430/002 |
+------------------------------------------------------------------------------------------------------------+
container_run_cgroup_linux_test.go:669:
<<<<<<<<<<<<<<<<<<<<
🖊️ Command should succeed
👀 testing: `command returned a non-zero exit code`
❌ FAILED! is ``
>>>>>>>>>>>>>>>>>>>>
```
### What version of nerdctl are you using?
main
### Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
### Host information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.