All of lore.kernel.org
 help / color / mirror / Atom feed
* BPF CI update: veristat-scx job
@ 2025-06-09 21:30 Ihor Solodrai
  2025-06-09 21:43 ` Andrii Nakryiko
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Solodrai @ 2025-06-09 21:30 UTC (permalink / raw)
  To: bpf, linux-kernel
  Cc: Kernel Team, kernel-ci, Alexei Starovoitov, tj, mkutsevol,
	scottbpc, jakehillion, mykolal

Hi everyone.

In effort to improve testing of both BPF subsystem and sched-ext
project [1], a new testing workflow has been added to BPF CI:
veristat-scx.

veristat-kernel and veristat-meta jobs have been running for a while
now, and veristat-scx is basically adding more test cases using
sched-ext BPF programs as input.

For those who aren't aware, veristat [2] is a command line tool that
can be used to load BPF object files into the kernel and check
verification results, among other things. It's source code is at
./tools/testing/selftests/bpf/veristat.c

On BPF CI, veristat-${target} job takes BPF object files (determined
by ${target}) as input, and runs veristat on them against the kernel
under testing. In addition to checking whether BPF program is accepted
by the verifier, the CI job also collects verifier performance stats,
and compares them to the baseline *failing* if a significant
regression is detected.

See an example of successful job run here:
https://github.com/kernel-patches/bpf/actions/runs/15543439297/job/43761685117

[1] https://github.com/sched-ext/scx
[2] https://github.com/libbpf/veristat

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BPF CI update: veristat-scx job
  2025-06-09 21:30 BPF CI update: veristat-scx job Ihor Solodrai
@ 2025-06-09 21:43 ` Andrii Nakryiko
  2025-06-09 21:49   ` Ihor Solodrai
  0 siblings, 1 reply; 3+ messages in thread
From: Andrii Nakryiko @ 2025-06-09 21:43 UTC (permalink / raw)
  To: Ihor Solodrai
  Cc: bpf, linux-kernel, Kernel Team, kernel-ci, Alexei Starovoitov, tj,
	mkutsevol, scottbpc, jakehillion, mykolal

On Mon, Jun 9, 2025 at 2:30 PM Ihor Solodrai <ihor.solodrai@linux.dev> wrote:
>
> Hi everyone.
>
> In effort to improve testing of both BPF subsystem and sched-ext
> project [1], a new testing workflow has been added to BPF CI:
> veristat-scx.
>
> veristat-kernel and veristat-meta jobs have been running for a while
> now, and veristat-scx is basically adding more test cases using
> sched-ext BPF programs as input.
>
> For those who aren't aware, veristat [2] is a command line tool that
> can be used to load BPF object files into the kernel and check
> verification results, among other things. It's source code is at
> ./tools/testing/selftests/bpf/veristat.c
>
> On BPF CI, veristat-${target} job takes BPF object files (determined
> by ${target}) as input, and runs veristat on them against the kernel
> under testing. In addition to checking whether BPF program is accepted
> by the verifier, the CI job also collects verifier performance stats,
> and compares them to the baseline *failing* if a significant
> regression is detected.
>
> See an example of successful job run here:
> https://github.com/kernel-patches/bpf/actions/runs/15543439297/job/43761685117

Unsuccessful veristat runs are actually more interesting :) Do you
have a link to some examples with veristat failures?

>
> [1] https://github.com/sched-ext/scx
> [2] https://github.com/libbpf/veristat
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BPF CI update: veristat-scx job
  2025-06-09 21:43 ` Andrii Nakryiko
@ 2025-06-09 21:49   ` Ihor Solodrai
  0 siblings, 0 replies; 3+ messages in thread
From: Ihor Solodrai @ 2025-06-09 21:49 UTC (permalink / raw)
  To: Andrii Nakryiko
  Cc: bpf, linux-kernel, Kernel Team, kernel-ci, Alexei Starovoitov, tj,
	mkutsevol, scottbpc, jakehillion, mykolal

On 6/9/25 2:43 PM, Andrii Nakryiko wrote:
> On Mon, Jun 9, 2025 at 2:30 PM Ihor Solodrai <ihor.solodrai@linux.dev> wrote:
>>
>> [...]
>>
>> See an example of successful job run here:
>> https://github.com/kernel-patches/bpf/actions/runs/15543439297/job/43761685117
> 
> Unsuccessful veristat runs are actually more interesting :) Do you
> have a link to some examples with veristat failures?

Here is a recent one (although it's not that interesting either):
https://github.com/kernel-patches/bpf/actions/runs/15496531493/job/43634843627

> 
>>
>> [1] https://github.com/sched-ext/scx
>> [2] https://github.com/libbpf/veristat
>>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-09 21:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-09 21:30 BPF CI update: veristat-scx job Ihor Solodrai
2025-06-09 21:43 ` Andrii Nakryiko
2025-06-09 21:49   ` Ihor Solodrai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.