[PATCH bpf-next v1 0/3] Optimize bpf selftest to increase CI success rate
From: Jiayuan Chen
Date: Thu Feb 27 2025 - 09:46:43 EST
1. Optimized some static bound port selftests to avoid port occupation
when running test_progs -j.
2. Optimized the retry logic for test_maps.
Some Failed CI:
https://github.com/kernel-patches/bpf/actions/runs/13275542359/job/37064974076
https://github.com/kernel-patches/bpf/actions/runs/13549227497/job/37868926343
https://github.com/kernel-patches/bpf/actions/runs/13548089029/job/37865812030
https://github.com/kernel-patches/bpf/actions/runs/13553536268/job/37883329296
(Perhaps it's due to the large number of pull requests requiring CI runs?)
Jiayuan Chen (3):
selftests/bpf: Allow auto port binding for cgroup connect
selftests/bpf: Allow auto port binding for bpf nf
selftests/bpf: Fixes for test_maps test
tools/testing/selftests/bpf/prog_tests/bpf_nf.c | 9 ++++++---
.../testing/selftests/bpf/prog_tests/cgroup_v1v2.c | 13 +++++++++----
.../testing/selftests/bpf/progs/connect4_dropper.c | 4 +++-
tools/testing/selftests/bpf/test_maps.c | 9 +++++----
4 files changed, 23 insertions(+), 12 deletions(-)
--
2.47.1