From ff797cc905d9c5fe9acab92d2da127342b20f80f Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Tue, 29 Sep 2020 15:44:27 -0700 Subject: [PATCH] vmtests: blacklist new tests for 5.5 Blacklist new tests that are depending on features in latest kernel. Also temporarily blacklist raw_tp_test_run test, until it is fixed upstream. Signed-off-by: Andrii Nakryiko --- .../vmtest/configs/blacklist/BLACKLIST-5.5.0 | 17 ++++++++++------- .../vmtest/configs/blacklist/BLACKLIST-latest | 2 ++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/travis-ci/vmtest/configs/blacklist/BLACKLIST-5.5.0 b/travis-ci/vmtest/configs/blacklist/BLACKLIST-5.5.0 index 2222b9d..623f052 100644 --- a/travis-ci/vmtest/configs/blacklist/BLACKLIST-5.5.0 +++ b/travis-ci/vmtest/configs/blacklist/BLACKLIST-5.5.0 @@ -3,14 +3,8 @@ align # verifier output format changed bpf_iter # bpf_iter support is missing bpf_obj_id # bpf_link support missing for GET_OBJ_INFO, GET_FD_BY_ID, etc bpf_tcp_ca # STRUCT_OPS is missing - -# latest Clang generates code that fails to verify -bpf_verif_scale -#bpf_verif_scale/strobemeta.o -#bpf_verif_scale/strobemeta_nounroll1.o -#bpf_verif_scale/strobemeta_nounroll2.o btf_map_in_map # inner map leak fixed in 5.8 - +btf_skc_cls_ingress # v5.10+ functionality cg_storage_multi # v5.9+ functionality cgroup_attach_multi # BPF_F_REPLACE_PROG missing cgroup_link # LINK_CREATE is missing @@ -31,12 +25,14 @@ ksyms # __start_BTF has different name link_pinning # bpf_link is missing load_bytes_relative # new functionality in 5.8 map_ptr # test uses BPF_MAP_TYPE_RINGBUF, added in 5.8 +metadata # v5.10+ mmap # 5.5 kernel is too permissive with re-mmaping modify_return # fmod_ret support is missing ns_current_pid_tgid # bpf_get_ns_current_pid_tgid() helper is missing perf_branches # bpf_read_branch_records() helper is missing pkt_access # 32-bit pointer arith in test_pkt_access prog_run_xattr # 32-bit pointer arith in test_pkt_access +raw_tp_test_run # v5.10+ ringbuf # BPF_MAP_TYPE_RINGBUF is supported in 5.8+ # bug in verifier w/ tracking references @@ -47,6 +43,8 @@ select_reuseport # UDP support is missing send_signal # bpf_send_signal_thread() helper is missing sk_assign # bpf_sk_assign helper missing skb_helpers # helpers added in 5.8+ +snprintf_btf # v5.10+ +sock_fields # v5.10+ sockmap_basic # uses new socket fields, 5.8+ sockmap_listen # no listen socket supportin SOCKMAP sockopt_sk @@ -58,6 +56,7 @@ test_global_funcs # kernel doesn't support BTF linkage=global on FUNCs test_local_storage # v5.10+ feature test_lsm # no BPF_LSM support test_overhead # no fmod_ret support +trace_ext # v5.10+ udp_limit # no cgroup/sock_release BPF program type (5.9+) varlen # verifier bug fixed in later kernels vmlinux # hrtimer_nanosleep() signature changed incompatibly @@ -67,3 +66,7 @@ xdp_bpf2bpf # freplace is missing xdp_cpumap_attach # v5.9+ xdp_devmap_attach # new feature in 5.8 xdp_link # v5.9+ + +# SUBTESTS FAILING (block entire test until blocking subtests works properly) +btf # "size check test", "func (Non zero vlen)" +tailcalls # tailcall_bpf2bpf_1, tailcall_bpf2bpf_2, tailcall_bpf2bpf_3 diff --git a/travis-ci/vmtest/configs/blacklist/BLACKLIST-latest b/travis-ci/vmtest/configs/blacklist/BLACKLIST-latest index e69de29..47a40bd 100644 --- a/travis-ci/vmtest/configs/blacklist/BLACKLIST-latest +++ b/travis-ci/vmtest/configs/blacklist/BLACKLIST-latest @@ -0,0 +1,2 @@ +# TEMPORARY +raw_tp_test_run # kernel warning