Repository navigation
script/critest.sh: always skip OOMKilled on systemd cgroup - #12819
Conversation
bf6fef0 to
b772e2d
Compare
|
Do we have an issue tracking this open yet? If not, we should get one. Reliability of the oom-killed indication has been a challenge for a long time, and if we do know at least one cause of that we should think about how to fix it too. |
There is open one - #8893
We have already fixed the missed event issue for the cgroupfs case. For the systemd case, I added a comment in In theory, we could invoke I’ve also been considering using eBPF for tracing and removing the dependency on inotify altogether—this is just an idea at the moment. I’ll revisit this issue once I’ve cleaned up my pending work items. |
Skip the OOMKilled test when running with systemd cgroups, regardless of the user-provided ginkgo skip list, to avoid this known issue. ``` critest '--ginkgo.skip=should prefer new apparmor field|should support apparmor field|should support deprecated apparmor_profile field|should support unsafe sysctls|should support safe sysctls|should allow privilege escalation when false' Jan 23 08:55:25 c48dfdc00254 bash[130]: Summarizing 1 Failure: Jan 23 08:55:25 c48dfdc00254 bash[130]: [FAIL] [k8s.io] Container OOM runtime should output OOMKilled reason [It] should terminate with exitCode 137 and reason OOMKilled Jan 23 08:55:25 c48dfdc00254 bash[130]: sigs.k8s.io/cri-tools/pkg/validate/container_linux.go:165 ``` REF: https://github.com/containerd/containerd/actions/runs/21280114724/job/61248062856 Signed-off-by: Wei Fu <[email protected]>
b772e2d to
c3ba452
Compare
Skip the OOMKilled test when running with systemd cgroups, regardless of the user-provided ginkgo skip list, to avoid this known issue.
REF: https://github.com/containerd/containerd/actions/runs/21280114724/job/61248062856