From 5a46421ad837e876197295844696884c8587852a Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Thu, 24 Aug 2023 17:30:42 -0700 Subject: [PATCH] ci: deny newly added tc_bpf/tc_bpf_non_root for 5.5 It doesn't work on 5.5 and was just recently introduced as a new subtest to already existing test. Add subtest to denylist. Also clean up old denylist, leaving only "exception" relative to ALLOWLIST. Signed-off-by: Andrii Nakryiko --- ci/vmtest/configs/DENYLIST-5.5.0 | 119 +------------------------------ 1 file changed, 2 insertions(+), 117 deletions(-) diff --git a/ci/vmtest/configs/DENYLIST-5.5.0 b/ci/vmtest/configs/DENYLIST-5.5.0 index 2688771..f7161d0 100644 --- a/ci/vmtest/configs/DENYLIST-5.5.0 +++ b/ci/vmtest/configs/DENYLIST-5.5.0 @@ -1,120 +1,5 @@ -# This file is not used and is there for historic purposes only. -# See ALLOWLIST-5.5.0 instead. +# This complements ALLOWLIST-5.5.0 but excludes subtest that can't work on 5.5 -# PERMANENTLY DISABLED -align # verifier output format changed -atomics # new atomic operations (v5.12+) -atomic_bounds # new atomic operations (v5.12+) -bind_perm # changed semantics of return values (v5.12+) -bpf_cookie # 5.15+ -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 -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 -cgroup_skb_sk_lookup # bpf_sk_lookup_tcp() helper is missing -check_mtu # missing BPF helper (v5.12+) -cls_redirect # bpf_csum_level() helper is missing -connect_force_port # cgroup/get{peer,sock}name{4,6} support is missing -d_path # v5.10+ feature -enable_stats # BPF_ENABLE_STATS support is missing -fentry_fexit # bpf_prog_test_tracing missing -fentry_test # bpf_prog_test_tracing missing -fexit_bpf2bpf # freplace is missing -fexit_sleep # relies on bpf_trampoline fix in 5.12+ -fexit_test # bpf_prog_test_tracing missing -flow_dissector # bpf_link-based flow dissector is in 5.8+ -flow_dissector_reattach -for_each # v5.12+ -get_func_ip_test # v5.15+ -get_stack_raw_tp # exercising BPF verifier bug causing infinite loop -hash_large_key # v5.11+ -ima # v5.11+ -kfree_skb # 32-bit pointer arith in test_pkt_access -ksyms # __start_BTF has different name -kfunc_call # v5.13+ -link_pinning # bpf_link is missing -linked_vars # v5.13+ -load_bytes_relative # new functionality in 5.8 -lookup_and_delete # v5.14+ -map_init # per-CPU LRU missing -map_ptr # test uses BPF_MAP_TYPE_RINGBUF, added in 5.8 -metadata # v5.10+ -migrate_reuseport # v5.14+ -mmap # 5.5 kernel is too permissive with re-mmaping -modify_return # fmod_ret support is missing -module_attach # module BTF support missing (v5.11+) -netcnt -netns_cookie # v5.15+ -ns_current_pid_tgid # bpf_get_ns_current_pid_tgid() helper is missing -pe_preserve_elems # v5.10+ -perf_branches # bpf_read_branch_records() helper is missing -perf_link # v5.15+ -pkt_access # 32-bit pointer arith in test_pkt_access -probe_read_user_str # kernel bug with garbage bytes at the end -prog_run_xattr # 32-bit pointer arith in test_pkt_access -raw_tp_test_run # v5.10+ -recursion # v5.12+ -ringbuf # BPF_MAP_TYPE_RINGBUF is supported in 5.8+ - -# bug in verifier w/ tracking references -#reference_tracking/classifier/sk_lookup_success -reference_tracking - -select_reuseport # UDP support is missing -send_signal # bpf_send_signal_thread() helper is missing -sk_assign # bpf_sk_assign helper missing -sk_lookup # v5.9+ -sk_storage_tracing # missing bpf_sk_storage_get() helper -skb_ctx # ctx_{size, }_{in, out} in BPF_PROG_TEST_RUN is missing -skb_helpers # helpers added in 5.8+ -skeleton # creates too big ARRAY map -snprintf # v5.13+ -snprintf_btf # v5.10+ -sock_fields # v5.10+ -socket_cookie # v5.12+ -sockmap_basic # uses new socket fields, 5.8+ -sockmap_listen # no listen socket supportin SOCKMAP -sockopt/getsockopt: ignore >PAGE_SIZE optlen -sockopt/setsockopt: ignore >PAGE_SIZE optlen -sockopt_sk -sockopt_qos_to_cc # v5.15+ -stacktrace_build_id # v5.9+ -stack_var_off # v5.12+ -syscall # v5.14+ -task_local_storage # v5.12+ -task_pt_regs # v5.15+ -tcp_hdr_options # v5.10+, new TCP header options feature in BPF -tcpbpf_user # LINK_CREATE is missing -tc_redirect # v5.14+ -test_bpffs # v5.10+, new CONFIG_BPF_PRELOAD=y and CONFIG_BPF_PRELOAD_UMG=y|m -test_bprm_opts # v5.11+ -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 -test_profiler # needs verifier logic improvements from v5.10+ -test_skb_pkt_end # v5.11+ -timer # v5.15+ -timer_mim # v5.15+ -trace_ext # v5.10+ -trace_printk # v5.14+ -trampoline_count # v5.12+ have lower allowed limits -udp_limit # no cgroup/sock_release BPF program type (5.9+) -varlen # verifier bug fixed in later kernels -vmlinux # hrtimer_nanosleep() signature changed incompatibly -xdp_adjust_tail # new XDP functionality added in 5.8 -xdp_attach # IFLA_XDP_EXPECTED_FD support is missing -xdp_bonding # v5.15+ -xdp_bpf2bpf # freplace is missing -xdp_context_test_run # v5.15+ -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 +tc_bpf/tc_bpf_non_root