Skip to content

ci: Denylist libarena parallel tests on s390x - #501

Open
mrpre wants to merge 1 commit into
kernel-patches:masterfrom
mrpre:arena
Open

ci: Denylist libarena parallel tests on s390x#501
mrpre wants to merge 1 commit into
kernel-patches:masterfrom
mrpre:arena

Conversation

@mrpre

@mrpre mrpre commented Jul 29, 2026

Copy link
Copy Markdown

The libarena parallel selftests spawn several threads, each running one
BPF syscall program, and rendezvous them with a spin barrier inside BPF:

run_libarena_parallel_test:FAIL:parallel_test_bitmap unexpected error: -110

The barrier cannot wait indefinitely - BPF loops must be bounded, and on
architectures with timed may_goto support the effective budget is a 250ms
wall clock deadline. That budget is wall clock, but what it is waiting for
is CPU work on a peer thread, and emulation stretches that work by orders
of magnitude while leaving the deadline unchanged. The barrier therefore
times out long before the peer gets to run.

Beyond the timeout, an emulated VM cannot provide the real concurrency
these tests exist to exercise, so running them there produces noise rather
than coverage. This is the same reasoning behind the arena_spin_lock and
res_spin_lock_stress entries already in this list.

Only the parallel subtests are denied. The serial libarena subtests keep
running and still cover the s390 JIT's atomic instruction generation
(bmp_test_and_set_bit() and friends compile down to cmpxchg on arena
memory), so no JIT coverage is lost.

https://github.com/kernel-patches/bpf/actions/runs/30407571610/job/90439350390
https://github.com/kernel-patches/bpf/actions/runs/30407371815/job/90438295786
https://github.com/kernel-patches/bpf/actions/runs/30407309576/job/90438238976
https://github.com/kernel-patches/bpf/actions/runs/30407232425/job/90437839166

The libarena parallel selftests spawn several threads, each running one
BPF syscall program, and rendezvous them with a spin barrier inside BPF:
  run_libarena_parallel_test:FAIL:parallel_test_bitmap unexpected error: -110

an emulated VM cannot provide the real concurrency
these tests exist to exercise, so running them there produces noise rather
than coverage. This is the same reasoning behind the arena_spin_lock and
res_spin_lock_stress entries already in this list
https://github.com/kernel-patches/bpf/actions/runs/30407571610/job/90439350390
https://github.com/kernel-patches/bpf/actions/runs/30407371815/job/90438295786
https://github.com/kernel-patches/bpf/actions/runs/30407309576/job/90438238976
https://github.com/kernel-patches/bpf/actions/runs/30407232425/job/90437839166

Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant