containers / qm

QM is a containerized environment for running Functional Safety qm (Quality Management) software
https://github.com/containers/qm
GNU General Public License v2.0
22 stars 26 forks source link

tests/ffi/qm-oom-score-adj is failing #576

Closed pengshanyu closed 1 month ago

pengshanyu commented 1 month ago

The error message found is as follows:

Error: OCI runtime error: crun: the requested cgroup controller `pids` is not available
Error: ffi-qm container failed to start. Status: created
dougsland commented 1 month ago

@giuseppe can you help us with this one please? We started talking about this one..... cgroups v2 seems correct but still failing. We I also setup the CI/CD to show cgroupv2 settings and everthing seems correct.

@pengshanyu can you help @giuseppe figure out this one? I will be around helping as well.

pengshanyu commented 1 month ago

Sure.

giuseppe commented 1 month ago

is it a flake or does it happen every time?

I've tried opening a PR with some debugging statements but the CI job was successful: https://github.com/containers/qm/pull/578

pengshanyu commented 1 month ago

Hi @giuseppe, thanks for the test, I'll ping you directly.

pengshanyu commented 1 month ago

I tried to run the test again and found that if I run qm-oom-score-adj alone it will pass, but if I run it with other test cases (under /tests/ffi), it will fail.

pengshanyu commented 1 month ago

Found the issue, it was caused by the cleanup steps, will fix it.

pengshanyu commented 1 month ago

The fix works, the failure that occurred later were not caused by this test case itself.