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 <eddyz87@gmail.com>
This commit is contained in:
Eduard Zingerman
2023-11-22 22:14:35 +02:00
committed by Andrii Nakryiko
parent 4161e1f41d
commit a6b990991c
2 changed files with 0 additions and 3 deletions

View File

@@ -33,7 +33,6 @@ rdonly_maps
section_names
signal_pending
sockmap_ktls
sockopt
spinlock
stacktrace_map
stacktrace_map_raw_tp

View File

@@ -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