From 12c6df2d56335534ffaf43ca9d1b5b39cebf78d1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 5 Jun 2026 01:56:03 +0000 Subject: [PATCH] tests: also verify dm_mod kernel module loads for erofs integrity mode --- tests/gha-run-k8s-common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/gha-run-k8s-common.sh b/tests/gha-run-k8s-common.sh index c0718012eb..57d61ba3b5 100644 --- a/tests/gha-run-k8s-common.sh +++ b/tests/gha-run-k8s-common.sh @@ -622,6 +622,11 @@ function deploy_k8s() { sudo modprobe dm-verity # Verify modules loaded successfully + if [[ ! -d /sys/module/dm_mod ]]; then + >&2 echo "ERROR: dm_mod kernel module not available after modprobe" + >&2 echo "dm-verity support requires dm-mod and dm-verity kernel modules" + exit 1 + fi if [[ ! -d /sys/module/dm_verity ]]; then >&2 echo "ERROR: dm_verity kernel module not available after modprobe" >&2 echo "dm-verity support requires dm-mod and dm-verity kernel modules"