Skip to content

eBPF-based security platform

ci: wait for the LVH host mount in sanitizer jobs

Andrea Lattuada2497380c9aec
diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml
index 100ab437..ad67ab20 100644
--- a/.github/workflows/sanitizers.yml
+++ b/.github/workflows/sanitizers.yml
@@ -69,6 +69,8 @@ jobs:
echo 'kernel BTF lacks bpf_attr.signature_size; needs a signed-BPF capable bpf-next kernel' >&2
exit 1
}
+ # LVH's SSH probe can succeed before the guest mounts /host.
+ systemctl start host.mount
cd /host
sh .github/scripts/sanitizer-deps.sh
@@ -134,6 +136,7 @@ jobs:
echo 'kernel BTF lacks bpf_attr.signature_size; needs a signed-BPF capable bpf-next kernel' >&2
exit 1
}
+ systemctl start host.mount
cd /host
apt-get update
@@ -217,6 +220,7 @@ jobs:
images-folder-parent: ${{ github.workspace }}/../lvh
install-dependencies: true
cmd: |
+ systemctl start host.mount
cd /host
.github/scripts/vm-toolchain.sh libclang-rt-23-dev
. build/vm-toolchain.env
@@ -295,6 +299,7 @@ jobs:
images-folder-parent: ${{ github.workspace }}/../lvh
install-dependencies: true
cmd: |
+ systemctl start host.mount
cd /host
.github/scripts/vm-toolchain.sh libclang-rt-23-dev llvm-23-dev
. build/vm-toolchain.env