Skip to content

Commit 092197e

Browse files
committed
ci: work around arm64 hang
The ubuntu 24.04 kernel used by CI seems to have a bug which causes it to crash when executing TestKfunc in our testsuite. === RUN TestKfunc [ 15.728492] BUG: unable to handle page fault for address: ffffffffea91fa00 [ 15.728724] #PF: supervisor read access in kernel mode [ 15.728940] #PF: error_code(0x0000) - not-present page [ 15.729302] PGD 18e3f067 P4D 18e3f067 PUD 18e41067 PMD 0 [ 15.729693] Oops: Oops: 0000 [#1] SMP NOPTI [ 15.729973] CPU: 1 UID: 0 PID: 1947 Comm: ebpf.test Not tainted 6.11.0-1015-azure #15~24.04.1-Ubuntu [ 15.730377] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.730620] RIP: 0010:bpf_test_run+0x183/0x3d0 This requires the nf_conntrack module to be loaded since we invoke bpf_skb_ct_lookup in the test. Signed-off-by: Lorenz Bauer <[email protected]>
1 parent 1beb390 commit 092197e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ jobs:
192192

193193
- name: Test
194194
# Skip TestGoarches/loong64 because the GH arm64 Go toolchain seems to be weird.
195-
run: gotestsum --ignore-non-json-output-lines --junitfile junit.xml -- -exec 'sudo -E' -short -count 1 -skip '^TestGoarches/loong64$' -json ./...
195+
# Ubuntu 24.04 crashes when executing TestKfunc.
196+
run: gotestsum --ignore-non-json-output-lines --junitfile junit.xml -- -exec 'sudo -E' -short -count 1 -skip '^TestGoarches/loong64$' -skip '^TestKfunc$' -json ./...
196197

197198
- name: Benchmark
198199
run: go test -exec sudo -short -run '^$' -bench . -benchtime=1x ./...

0 commit comments

Comments
 (0)