The rv_deadline selftest case runs a few stressors with Round-Robin policy and priority 50 for 5 seconds. This may starve RCU callbacks and timers on PREEMPT_RT, which results in splats, runtime replenishment errors and (legit) model failures.
Lower the priority to 1 to allow ktimers and rcu threads (usually FF:1) to run when they need to. Signed-off-by: Gabriele Monaco <[email protected]> --- tools/testing/selftests/verification/test.d/rv_deadline.tc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/verification/test.d/rv_deadline.tc b/tools/testing/selftests/verification/test.d/rv_deadline.tc index fc95267dbb82..5f57a3753f8a 100644 --- a/tools/testing/selftests/verification/test.d/rv_deadline.tc +++ b/tools/testing/selftests/verification/test.d/rv_deadline.tc @@ -8,8 +8,8 @@ load() { # returns true if there was a reaction lines_before=$(dmesg | wc -l) stress-ng --cpu 2 --sched deadline --sched-period 100000000 \ --sched-deadline 100000000 --sched-runtime 20000000 -t 5 & - stress-ng --cpu 2 --sched rr --sched-prio 50 --cyclic 1 \ - --cyclic-policy rr --cyclic-prio 50 -t 5 & + stress-ng --cpu 2 --sched rr --sched-prio 1 --cyclic 1 \ + --cyclic-policy rr --cyclic-prio 1 -t 5 & wait dmesg | tail -n +$((lines_before + 1)) | grep -q "rv: monitor [a-z]\+ does not allow event" } -- 2.55.0
