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
21 stars 22 forks source link

tests/ffi/qm-oom-score-adj/test.sh is failing #523

Closed Yarboa closed 1 week ago

Yarboa commented 2 weeks ago

During the work to work of #518

The tests has started to fail. Need to inspect why, I would try the following

1) Increase duration 2) each test should be next to its input detection Instead of

QM_PID=$(podman inspect qm --format '{{.State.Pid}}' | tr -d '\r')
QM_FFI_PID=$(podman exec -it qm /bin/bash -c "podman inspect ffi-qm --format '{{.State.Pid}}'" | tr -d '\r')
QM_PID=$(podman inspect qm --format '{{.State.Pid}}' | tr -d '\r')
QM_OOM_SCORE_ADJ=$(cat "/proc/$QM_PID/oom_score_adj")

QM_FFI_PID=$(podman exec -it qm /bin/bash -c "podman inspect ffi-qm --format '{{.State.Pid}}'" | tr -d '\r')
Yarboa commented 2 weeks ago

@telemaco Can you take a look in this ?

Yarboa commented 2 weeks ago

podman run --replace --name ffi-qm -it f4bae30e8eee bash Error: OCI runtime error: crun: the requested cgroup controller pids is not available

Need to review the process of image_prepare