Skip to content

Commit cfeb889

Browse files
committed
Sync ci/ directory from kernel-patches/vmtest@master
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
1 parent 25bc563 commit cfeb889

11 files changed

Lines changed: 30 additions & 42 deletions

File tree

.github/workflows/kernel-build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101
test: ${{ matrix.test }}
102102
continue_on_error: ${{ toJSON(matrix.continue_on_error) }}
103103
timeout_minutes: ${{ matrix.timeout_minutes }}
104+
llvm_version: ${{ inputs.llvm_version }}
104105

105106
gcc-bpf:
106107
name: 'GCC BPF'
@@ -116,4 +117,3 @@ jobs:
116117
toolchain: ${{ inputs.toolchain }}
117118
toolchain_full: ${{ inputs.toolchain_full }}
118119
download_sources: ${{ inputs.download_sources }}
119-

.github/workflows/kernel-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ on:
3131
required: true
3232
type: number
3333
description: In case a test runs for too long, after how many seconds shall we timeout and error.
34+
llvm_version:
35+
required: true
36+
type: string
3437

3538
jobs:
3639
test:
@@ -70,6 +73,7 @@ jobs:
7073
ARCH: ${{ inputs.arch }}
7174
DEPLOYMENT: ${{ env.DEPLOYMENT }}
7275
KERNEL_TEST: ${{ inputs.test }}
76+
LLVM_VERSION: ${{ inputs.llvm_version }}
7377
SELFTESTS_BPF: ${{ github.workspace }}/selftests/bpf
7478
VMTEST_CONFIGS: ${{ github.workspace }}/ci/vmtest/configs
7579
VMTEST_MEMORY: 5G

ci/vmtest/configs/DENYLIST

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
# TEMPORARY
2-
btf_dump/btf_dump: syntax
3-
kprobe_multi_bench_attach
4-
core_reloc/enum64val
5-
core_reloc/size___diff_sz
6-
core_reloc/type_based___diff_sz
7-
test_ima # All of CI is broken on it following 6.3-rc1 merge
8-
lwt_reroute # crashes kernel after netnext merge from 2ab1efad60ad "net/sched: cls_api: complement tcf_tfilter_dump_policy"
9-
tc_links_ingress # started failing after net-next merge from 2ab1efad60ad "net/sched: cls_api: complement tcf_tfilter_dump_policy"
10-
xdp_bonding/xdp_bonding_features # started failing after net merge from 359e54a93ab4 "l2tp: pass correct message length to ip6_append_data"
11-
tc_redirect/tc_redirect_dtime # uapi breakage after net-next commit 885c36e59f46 ("net: Re-use and set mono_delivery_time bit for userspace tstamp packets")
12-
migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler # flaky, under investigation
13-
migrate_reuseport/IPv6 TCP_NEW_SYN_RECV reqsk_timer_handler # flaky, under investigation
14-
connect_force_port # unreliably fails
15-
sockmap_ktls/sockmap_ktls disconnect_after_delete* # https://lore.kernel.org/bpf/20250415163332.1836826-1-ihor.solodrai@linux.dev/
16-
verif_scale_pyperf600 # llvm 20 generates code that fails verification
17-
arena_spin_lock # llvm 20 generates code that fails verification
18-
perf_branches/perf_branches_no_hw # this fails on github-hosted runners
1+
file_reader
2+
verif_scale_pyperf600
3+
sockmap_basic/sockmap udp multi channels
4+
map_kptr

ci/vmtest/configs/DENYLIST.aarch64

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
cgrp_local_storage # libbpf: prog 'update_cookie_tracing': failed to attach: ERROR: strerror_r(-524)=22
2-
core_reloc_btfgen # run_core_reloc_tests:FAIL:run_btfgen unexpected error: 32512 (errno 22)
3-
usdt/multispec # usdt_300_bad_attach unexpected pointer: 0x558c63d8f0
4-
xdp_bonding # whole test suite is very unstable on aarch64
5-
res_spin_lock_success # flaky
1+
map_kptr/success-map
2+
ns_xsk_drv
3+
ns_xsk_skb
4+
send_signal
5+
unpriv_bpf_disabled

ci/vmtest/configs/DENYLIST.s390x

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
deny_namespace # not yet in bpf denylist
2-
tc_redirect/tc_redirect_dtime # very flaky
3-
lru_bug # not yet in bpf-next denylist
4-
# Disabled temporarily for a crash.
5-
# https://lore.kernel.org/bpf/c9923c1d-971d-4022-8dc8-1364e929d34c@gmail.com/
6-
dummy_st_ops/dummy_init_ptr_arg
7-
fexit_bpf2bpf
8-
tailcalls
9-
trace_ext
10-
xdp_bpf2bpf
11-
xdp_metadata
1+
arena_spin_lock
2+
map_kptr/success-map
3+
ns_xsk_drv
4+
ns_xsk_skb
5+
res_spin_lock_stress
6+
tc_edt

ci/vmtest/configs/config

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
CONFIG_KASAN=y
2-
CONFIG_KASAN_GENERIC=y
3-
CONFIG_KASAN_VMALLOC=y
41
CONFIG_LIVEPATCH=y
52
CONFIG_SAMPLES=y
63
CONFIG_SAMPLE_LIVEPATCH=m
7-
# CONFIG_UBSAN=y

ci/vmtest/configs/config.aarch64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_KASAN=y
2+
CONFIG_KASAN_GENERIC=y
3+
CONFIG_KASAN_VMALLOC=y

ci/vmtest/configs/config.x86_64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_KASAN=y
2+
CONFIG_KASAN_GENERIC=y
3+
CONFIG_KASAN_VMALLOC=y

ci/vmtest/configs/run-vmtest.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ ALLOWLIST_FILES=(
3030
DENYLIST_FILES=(
3131
"${SELFTESTS_BPF}/DENYLIST"
3232
"${SELFTESTS_BPF}/DENYLIST.${ARCH}"
33+
"${SELFTESTS_BPF}/DENYLIST.${SELFTESTS_BPF_ASAN:+asan}"
3334
"${VMTEST_CONFIGS}/DENYLIST"
3435
"${VMTEST_CONFIGS}/DENYLIST.${ARCH}"
3536
"${VMTEST_CONFIGS}/DENYLIST.${DEPLOYMENT}"
3637
"${VMTEST_CONFIGS}/DENYLIST.${KERNEL_TEST}"
38+
"${VMTEST_CONFIGS}/DENYLIST.${SELFTESTS_BPF_ASAN:+asan}"
3739
)
3840

3941
# Export pipe-separated strings, because bash doesn't support array export
4042
export SELFTESTS_BPF_ALLOWLIST_FILES=$(IFS="|"; echo "${ALLOWLIST_FILES[*]}")
4143
export SELFTESTS_BPF_DENYLIST_FILES=$(IFS="|"; echo "${DENYLIST_FILES[*]}")
42-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
VERISTAT_OBJECTS_DIR="${CILIUM_PROGS}"
1+
VERISTAT_OBJECTS_DIR="${CILIUM_BUILD_OUTPUT}/bpf"
22
VERISTAT_OBJECTS_GLOB="*.o"
33
VERISTAT_OUTPUT="veristat-cilium"

0 commit comments

Comments
 (0)