[LTP] LTP Release preparations

Cyril Hrubis chrubis@suse.cz
Wed Sep 3 14:16:25 CEST 2025


Hi!
> > It's about the time we start to prepare for the September release. As
> > usuall I will go over the patches in the patchwork in the next week or
> > two. If there is something that you think should be part of the release,
> > please point it out so that I can have a look ASAP.
> >
> We are facing an issue related to sched_football test after the 
> following patch introduced:
> 
> https://lore.kernel.org/ltp/20250829095635.193116-1-liwang@redhat.com/
> 
> Test started to fail quite often in SUSE distros, while before it was 
> working fine: 
> https://openqa.opensuse.org/tests/5283668#step/sched_football/6
> 
> After an analysis we are now sure that it's not a product bug but a test 
> issue. There might be a need to fallback the patch if we can't fix the 
> test before release. @Li WDYT?

Try this:

diff --git a/testcases/realtime/func/sched_football/sched_football.c b/testcases/realtime/func/sched_football/sched_football.c
index 0617bdb87..0d64210b0 100644
--- a/testcases/realtime/func/sched_football/sched_football.c
+++ b/testcases/realtime/func/sched_football/sched_football.c
@@ -115,8 +115,8 @@ void referee(int game_length)
        now = start;
 
        /* Start the game! */
-       tst_atomic_store(0, &the_ball);
        pthread_barrier_wait(&start_barrier);
+       tst_atomic_store(0, &the_ball);
        atrace_marker_write("sched_football", "Game_started!");


We have to be sure that the defense has started before we clear the
ball. Previously we had the loop that waited for the players to be ready
before we called referee() function so all the players were ready when
we cleared it.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list