mbox series

[bpf-next,v1,0/3] Optimize bpf selftest to increase CI success rate

Message ID 20250227142646.59711-1-jiayuan.chen@linux.dev (mailing list archive)
Headers show
Series Optimize bpf selftest to increase CI success rate | expand

Message

Jiayuan Chen Feb. 27, 2025, 2:26 p.m. UTC
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(-)

Comments

Alexei Starovoitov Feb. 27, 2025, 4:17 p.m. UTC | #1
On Thu, Feb 27, 2025 at 6:27 AM Jiayuan Chen <jiayuan.chen@linux.dev> wrote:
>
> 1. Optimized some static bound port selftests to avoid port occupation
> when running test_progs -j.
> 2. Optimized the retry logic for test_maps.

Looks great. Applied.
Thank you for fixing them.
patchwork-bot+netdevbpf@kernel.org Feb. 27, 2025, 4:20 p.m. UTC | #2
Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Thu, 27 Feb 2025 22:26:43 +0800 you wrote:
> 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?)
> 
> [...]

Here is the summary with links:
  - [bpf-next,v1,1/3] selftests/bpf: Allow auto port binding for cgroup connect
    https://git.kernel.org/bpf/bpf-next/c/27e3162a0364
  - [bpf-next,v1,2/3] selftests/bpf: Allow auto port binding for bpf nf
    https://git.kernel.org/bpf/bpf-next/c/dbe7d46ed109
  - [bpf-next,v1,3/3] selftests/bpf: Fixes for test_maps test
    https://git.kernel.org/bpf/bpf-next/c/09de329523c8

You are awesome, thank you!