From 7713da0578a203d5e04bdb40be7ca603ec2c4db5 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Tue, 16 Jun 2026 12:59:21 -0400 Subject: [PATCH 1/3] fix(ci): run e2e tests on pull requests Remove the condition that restricted the test-e2e job to main branch and tags only, so integration tests run on every PR. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 475aee1..1bf27be 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,12 +71,11 @@ jobs: - name: Build binary run: task build - # Tier 2: Integration tests (main branch and releases) + # Tier 2: Integration tests (every PR, main branch, and releases) test-e2e: name: E2E Tests runs-on: ubuntu-latest needs: [lint, test-unit, build] - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') steps: - uses: actions/checkout@v6 From ec1cdaaf5a76a71878ce803566f2ccc84147f219 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Tue, 16 Jun 2026 16:56:32 -0400 Subject: [PATCH 2/3] fix(ci): load vrf kernel module before Kind cluster setup The TestKernelCapabilities/vrf_module e2e test creates a VRF device inside a privileged pod to verify the host kernel supports VRF. On GitHub Actions ubuntu-24.04 runners the vrf module is available but not loaded by default, causing `ip link add ... type vrf` to fail with "RTNETLINK answers: Operation not supported". Load the module explicitly before creating the Kind cluster so the test environment matches what galactic requires at runtime. Co-Authored-By: Claude Sonnet 4.6 --- scripts/ci.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ci.sh b/scripts/ci.sh index 05d4859..6fac4b7 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -15,6 +15,9 @@ case "$COMMAND" in trap 'kind delete cluster --name "$CLUSTER_NAME"' EXIT + echo "--- Loading kernel modules required by galactic" + sudo modprobe vrf + echo "--- Installing kind" go install sigs.k8s.io/kind@latest From 90176ba30dc3d3681117b396dd45ef52713b0a45 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Tue, 16 Jun 2026 17:12:05 -0400 Subject: [PATCH 3/3] fix(ci): install linux-modules-extra-azure before loading vrf module The vrf kernel module is not preinstalled on GitHub-hosted Ubuntu runners. On Azure-optimized kernels, vrf.ko lives in linux-modules-extra-azure which must be explicitly installed before modprobe vrf can succeed. Using the unversioned metapackage avoids version-mismatch failures as the runner kernel ages between image rebuilds. Co-Authored-By: Claude Sonnet 4.6 --- scripts/ci.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci.sh b/scripts/ci.sh index 6fac4b7..7653ffb 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -16,6 +16,8 @@ case "$COMMAND" in trap 'kind delete cluster --name "$CLUSTER_NAME"' EXIT echo "--- Loading kernel modules required by galactic" + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends linux-modules-extra-azure sudo modprobe vrf echo "--- Installing kind"