Skip to content

Commit

Permalink
qemu-check.exp: catch more RCU messages
Browse files Browse the repository at this point in the history
Update the regular expression that catches RCU errors from the
kernel in order to report an error upon:

  [   79.434969] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:

Without this fix, the test framework would either report a timeout (if
the command causing the RCU message has hung), or report nothing (if
the RCU message is triggered by a different thread of execution).

Signed-off-by: Jerome Forissier <[email protected]>
Acked-by: Jens Wiklander <[email protected]>
  • Loading branch information
jforissier committed Dec 18, 2024
1 parent 3d7c54d commit 89ab87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu-check.exp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ proc check_test_result arg {
info " $expect_out(1,string) FAIL\n"
exit 1
}
-re {rcu_sched detected stalls} {
-re {rcu.*detected stalls} {
info " Kernel error: '$expect_out(0,string)'\n"
exit 1
}
Expand Down

0 comments on commit 89ab87c

Please sign in to comment.