From aa168a3e4e0a2fe5e60b6c2d4cdea4f53573fad4 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 9 Sep 2026 17:34:00 +0200 Subject: [PATCH] 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 --- .github/workflows/lima.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/lima.yml b/.github/workflows/lima.yml index cde44b3dfd..35fdf3d3fc 100644 --- a/.github/workflows/lima.yml +++ b/.github/workflows/lima.yml @@ -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.