ci: add dmesg debug for kvm failure

The oracle runners sometimes fail with:
chown: cannot access '/dev/kvm': No such file or directory

Log the kernel logs to see if they say anything of value then to know
why this failed.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2026-09-09 17:34:00 +02:00
parent 95cad5d172
commit aa168a3e4e
No known key found for this signature in database
GPG key ID: EB145DD938A3CAF2

View file

@ -63,6 +63,12 @@ jobs:
with:
version: v2.1.1
# lima action setup fails sometimes with "chown: cannot access '/dev/kvm': No such file or directory"
# Add logs to debug this error and see if the module loading failed somehow
- name: "Run dmesg on failure"
if: failure()
run: sudo dmesg
# NOTE, we are not using a cache here as documented in the lima action.
# This is because our VM images are above 5GB and the total github limit is 10 GB which means
# it will clean out the other image basically right away making the cache useless for other tasks.