From 22221124cf1a3c28053f0da45792491d542bf151 Mon Sep 17 00:00:00 2001 From: Lorenz Bauer Date: Fri, 10 May 2024 10:43:27 +0100 Subject: [PATCH] ci: ignore kprobe_multi test failures on arm64 Seems like the new CI arm64 kernels doesn't have the necessary config to support kprobe_multi. Ignore the error until we figure out what to do. Updates https://github.com/cilium/ebpf/issues/1460 Signed-off-by: Lorenz Bauer --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27d249a79..07bd25183 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,6 +142,8 @@ jobs: runs-on: actuated-arm64-2cpu-8gb needs: build-and-lint timeout-minutes: 15 + env: + EBPF_TEST_IGNORE_KERNEL_VERSION: 'TestKprobeMulti,TestKprobeMultiErrors,TestKprobeMultiCookie,TestKprobeMultiProgramCall,TestHaveBPFLinkKprobeMulti' steps: - uses: actions/checkout@v4 @@ -153,7 +155,7 @@ jobs: - run: go install gotest.tools/gotestsum@v1.8.1 - name: Test - run: gotestsum --ignore-non-json-output-lines --junitfile junit.xml -- -exec sudo -short -count 1 -json ./... + run: gotestsum --ignore-non-json-output-lines --junitfile junit.xml -- -exec 'sudo -E' -short -count 1 -json ./... - name: Benchmark run: go test -exec sudo -short -run '^$' -bench . -benchtime=1x ./...