public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* selftests/sched_ext: testing on BPF CI
@ 2025-01-29  0:21 Ihor Solodrai
  2025-01-29  7:27 ` Andrea Righi
  2025-05-02 21:40 ` Ihor Solodrai
  0 siblings, 2 replies; 5+ messages in thread
From: Ihor Solodrai @ 2025-01-29  0:21 UTC (permalink / raw)
  To: Tejun Heo, David Vernet, Andrea Righi, Changwoo Min,
	Alexei Starovoitov, bpf, linux-kernel

Hi Tejun, Andrea.

I tested a couple of variants of bpf-next + sched_ext source tree,
just sharing the results.

I found a working state: BPF CI pipeline ran successfully twice
(that's 8 build + run of selftests/sched_ext/runner in total).

Working state requires most patches between sched_ext/master and
sched_ext/for-6.14-fixes [1], and also the patch
  "tools/sched_ext: Receive updates from SCX repo" [2]

On plain bpf-next the dsp_local_on test fails [3].
Without the patch [2] there is a build error [4]: missing
SCX_ENUM_INIT definition.

We probably don't want to enable selftests/sched_ext on BPF CI with
that many "temporary" patches. I suggest to wait until all of this is
merged upstream.

You can check the full list of patches here:
https://github.com/kernel-patches/vmtest/pull/332/files

[1] https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/log/?h=for-6.14-fixes
[2] https://lore.kernel.org/all/Z1ucTqJP8IeIXZql@slm.duckdns.org/
[3] https://github.com/kernel-patches/vmtest/actions/runs/13019837022
[4] https://github.com/kernel-patches/vmtest/actions/runs/13020458479

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

* Re: selftests/sched_ext: testing on BPF CI
  2025-01-29  0:21 selftests/sched_ext: testing on BPF CI Ihor Solodrai
@ 2025-01-29  7:27 ` Andrea Righi
  2025-01-29 16:19   ` Tejun Heo
  2025-05-02 21:40 ` Ihor Solodrai
  1 sibling, 1 reply; 5+ messages in thread
From: Andrea Righi @ 2025-01-29  7:27 UTC (permalink / raw)
  To: Ihor Solodrai
  Cc: Tejun Heo, David Vernet, Changwoo Min, Alexei Starovoitov, bpf,
	linux-kernel

Hi Ihor,

On Wed, Jan 29, 2025 at 12:21:43AM +0000, Ihor Solodrai wrote:
> Hi Tejun, Andrea.
> 
> I tested a couple of variants of bpf-next + sched_ext source tree,
> just sharing the results.

Thanks for testing!

> 
> I found a working state: BPF CI pipeline ran successfully twice
> (that's 8 build + run of selftests/sched_ext/runner in total).

Ok.

> 
> Working state requires most patches between sched_ext/master and
> sched_ext/for-6.14-fixes [1], and also the patch
>   "tools/sched_ext: Receive updates from SCX repo" [2]
> 
> On plain bpf-next the dsp_local_on test fails [3].
> Without the patch [2] there is a build error [4]: missing
> SCX_ENUM_INIT definition.

We definitely need all the patches in sched_ext/for-6.14-fixes. I think
once Tejun sends the PR and we land the for-6.14-fixes upstream we should
reach a stable state with the sched_ext selftests. I don't have any other
additional pending fix at the moment.

> 
> We probably don't want to enable selftests/sched_ext on BPF CI with
> that many "temporary" patches. I suggest to wait until all of this is
> merged upstream.

Sounds reasonable to me. Tejun?

> 
> You can check the full list of patches here:
> https://github.com/kernel-patches/vmtest/pull/332/files
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/log/?h=for-6.14-fixes
> [2] https://lore.kernel.org/all/Z1ucTqJP8IeIXZql@slm.duckdns.org/
> [3] https://github.com/kernel-patches/vmtest/actions/runs/13019837022
> [4] https://github.com/kernel-patches/vmtest/actions/runs/13020458479

Thanks,
-Andrea

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

* Re: selftests/sched_ext: testing on BPF CI
  2025-01-29  7:27 ` Andrea Righi
@ 2025-01-29 16:19   ` Tejun Heo
  0 siblings, 0 replies; 5+ messages in thread
From: Tejun Heo @ 2025-01-29 16:19 UTC (permalink / raw)
  To: Andrea Righi
  Cc: Ihor Solodrai, David Vernet, Changwoo Min, Alexei Starovoitov,
	bpf, linux-kernel

On Wed, Jan 29, 2025 at 08:27:02AM +0100, Andrea Righi wrote:
> Hi Ihor,
> 
> On Wed, Jan 29, 2025 at 12:21:43AM +0000, Ihor Solodrai wrote:
> > Hi Tejun, Andrea.
> > 
> > I tested a couple of variants of bpf-next + sched_ext source tree,
> > just sharing the results.
> 
> Thanks for testing!
> 
> > 
> > I found a working state: BPF CI pipeline ran successfully twice
> > (that's 8 build + run of selftests/sched_ext/runner in total).
> 
> Ok.
> 
> > 
> > Working state requires most patches between sched_ext/master and
> > sched_ext/for-6.14-fixes [1], and also the patch
> >   "tools/sched_ext: Receive updates from SCX repo" [2]
> > 
> > On plain bpf-next the dsp_local_on test fails [3].
> > Without the patch [2] there is a build error [4]: missing
> > SCX_ENUM_INIT definition.
> 
> We definitely need all the patches in sched_ext/for-6.14-fixes. I think
> once Tejun sends the PR and we land the for-6.14-fixes upstream we should
> reach a stable state with the sched_ext selftests. I don't have any other
> additional pending fix at the moment.
> 
> > 
> > We probably don't want to enable selftests/sched_ext on BPF CI with
> > that many "temporary" patches. I suggest to wait until all of this is
> > merged upstream.
> 
> Sounds reasonable to me. Tejun?

Sure.

Thanks.

-- 
tejun

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

* Re: selftests/sched_ext: testing on BPF CI
  2025-01-29  0:21 selftests/sched_ext: testing on BPF CI Ihor Solodrai
  2025-01-29  7:27 ` Andrea Righi
@ 2025-05-02 21:40 ` Ihor Solodrai
  2025-05-03  5:41   ` Andrea Righi
  1 sibling, 1 reply; 5+ messages in thread
From: Ihor Solodrai @ 2025-05-02 21:40 UTC (permalink / raw)
  To: Tejun Heo, Andrea Righi, Changwoo Min, Alexei Starovoitov
  Cc: bpf, linux-kernel

On 2025-01-28 4:21 p.m., Ihor Solodrai wrote:
> Hi Tejun, Andrea.
> 
> I tested a couple of variants of bpf-next + sched_ext source tree,
> just sharing the results.
> 
> I found a working state: BPF CI pipeline ran successfully twice
> (that's 8 build + run of selftests/sched_ext/runner in total).
> 
> Working state requires most patches between sched_ext/master and
> sched_ext/for-6.14-fixes [1], and also the patch
>    "tools/sched_ext: Receive updates from SCX repo" [2]
> 
> On plain bpf-next the dsp_local_on test fails [3].
> Without the patch [2] there is a build error [4]: missing
> SCX_ENUM_INIT definition.
> 
> We probably don't want to enable selftests/sched_ext on BPF CI with
> that many "temporary" patches. I suggest to wait until all of this is
> merged upstream.
> 

Hi everyone. I tried enabling sched_ext selftests on CI today, and there
are no issues on bpf-next tip (f263336a41da).

https://github.com/kernel-patches/vmtest/actions/runs/14802453691

If there are no objections, I'm going to push this to BPF CI on Monday.

As a reminder, this means that selftests/sched_ext test runner will be 
built and executed for pending BPF patches, and BPF CI pipeline will 
fail in case of problems there.

> You can check the full list of patches here:
> https://github.com/kernel-patches/vmtest/pull/332/files
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/log/?h=for-6.14-fixes
> [2] https://lore.kernel.org/all/Z1ucTqJP8IeIXZql@slm.duckdns.org/
> [3] https://github.com/kernel-patches/vmtest/actions/runs/13019837022
> [4] https://github.com/kernel-patches/vmtest/actions/runs/13020458479


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

* Re: selftests/sched_ext: testing on BPF CI
  2025-05-02 21:40 ` Ihor Solodrai
@ 2025-05-03  5:41   ` Andrea Righi
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea Righi @ 2025-05-03  5:41 UTC (permalink / raw)
  To: Ihor Solodrai
  Cc: Tejun Heo, Changwoo Min, Alexei Starovoitov, bpf, linux-kernel

Hi Ihor,

On Fri, May 02, 2025 at 02:40:45PM -0700, Ihor Solodrai wrote:
> On 2025-01-28 4:21 p.m., Ihor Solodrai wrote:
> > Hi Tejun, Andrea.
> > 
> > I tested a couple of variants of bpf-next + sched_ext source tree,
> > just sharing the results.
> > 
> > I found a working state: BPF CI pipeline ran successfully twice
> > (that's 8 build + run of selftests/sched_ext/runner in total).
> > 
> > Working state requires most patches between sched_ext/master and
> > sched_ext/for-6.14-fixes [1], and also the patch
> >    "tools/sched_ext: Receive updates from SCX repo" [2]
> > 
> > On plain bpf-next the dsp_local_on test fails [3].
> > Without the patch [2] there is a build error [4]: missing
> > SCX_ENUM_INIT definition.
> > 
> > We probably don't want to enable selftests/sched_ext on BPF CI with
> > that many "temporary" patches. I suggest to wait until all of this is
> > merged upstream.
> > 
> 
> Hi everyone. I tried enabling sched_ext selftests on CI today, and there
> are no issues on bpf-next tip (f263336a41da).
> 
> https://github.com/kernel-patches/vmtest/actions/runs/14802453691
> 
> If there are no objections, I'm going to push this to BPF CI on Monday.
> 
> As a reminder, this means that selftests/sched_ext test runner will be built
> and executed for pending BPF patches, and BPF CI pipeline will fail in case
> of problems there.

I don't have any objection. The sched_ext selftests are in a stable state
now and I think it's a good idea to run them periodically against the
latest BPF patches to catch potential breakages early.

Thanks,
-Andrea

> 
> > You can check the full list of patches here:
> > https://github.com/kernel-patches/vmtest/pull/332/files
> > 
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/log/?h=for-6.14-fixes
> > [2] https://lore.kernel.org/all/Z1ucTqJP8IeIXZql@slm.duckdns.org/
> > [3] https://github.com/kernel-patches/vmtest/actions/runs/13019837022
> > [4] https://github.com/kernel-patches/vmtest/actions/runs/13020458479
> 

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

end of thread, other threads:[~2025-05-03  5:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29  0:21 selftests/sched_ext: testing on BPF CI Ihor Solodrai
2025-01-29  7:27 ` Andrea Righi
2025-01-29 16:19   ` Tejun Heo
2025-05-02 21:40 ` Ihor Solodrai
2025-05-03  5:41   ` Andrea Righi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox