From a6b990991c4c84061a3816b733753f28ef66e146 Mon Sep 17 00:00:00 2001 From: Eduard Zingerman Date: Wed, 22 Nov 2023 22:14:35 +0200 Subject: [PATCH] ci: disable sockopt selftest for 5.5 kernel The following 'sockopt' selftests fail on libbpf CI for kernel 5.5: - sockopt/getsockopt: read ctx->optlen:FAIL - sockopt/getsockopt: support smaller ctx->optlen:FAIL - sockopt/setsockopt: read ctx->level:FAIL - sockopt/setsockopt: read ctx->optname:FAIL - sockopt/setsockopt: read ctx->optlen:FAIL - sockopt/setsockopt: ctx->optlen == -1 is ok:FAIL Examples of failing CI runs: - https://github.com/libbpf/libbpf/actions/runs/6961182067 - https://github.com/libbpf/libbpf/actions/runs/6961088131 The failures are strange as all tests were added quite a while ago (Jun 27 2019) by commit: 9ec8a4c9489d ("selftests/bpf: add sockopt test") But seem to be unrelated to libbpf. Signed-off-by: Eduard Zingerman --- ci/vmtest/configs/ALLOWLIST-5.5.0 | 1 - ci/vmtest/configs/DENYLIST-5.5.0 | 2 -- 2 files changed, 3 deletions(-) diff --git a/ci/vmtest/configs/ALLOWLIST-5.5.0 b/ci/vmtest/configs/ALLOWLIST-5.5.0 index abeef3c..73ab4b2 100644 --- a/ci/vmtest/configs/ALLOWLIST-5.5.0 +++ b/ci/vmtest/configs/ALLOWLIST-5.5.0 @@ -33,7 +33,6 @@ rdonly_maps section_names signal_pending sockmap_ktls -sockopt spinlock stacktrace_map stacktrace_map_raw_tp diff --git a/ci/vmtest/configs/DENYLIST-5.5.0 b/ci/vmtest/configs/DENYLIST-5.5.0 index f8468f6..f7161d0 100644 --- a/ci/vmtest/configs/DENYLIST-5.5.0 +++ b/ci/vmtest/configs/DENYLIST-5.5.0 @@ -3,5 +3,3 @@ btf # "size check test", "func (Non zero vlen)" tailcalls # tailcall_bpf2bpf_1, tailcall_bpf2bpf_2, tailcall_bpf2bpf_3 tc_bpf/tc_bpf_non_root -sockopt/setsockopt: ignore >PAGE_SIZE optlen -sockopt/getsockopt: ignore >PAGE_SIZE optlen