xtask: terminate QEMU on "RCU grace-period kthread stack dump"

See
https://github.com/aya-rs/bpf-linker/actions/runs/7067897954/job/19241830198
pull/849/head
Tamir Duberstein 1 year ago
parent b1769678f4
commit 7a4c6153a0
No known key found for this signature in database

@ -462,8 +462,11 @@ pub fn run(opts: Options) -> Result<()> {
let stderr = stderr.take().unwrap();
let stderr = BufReader::new(stderr);
const TERMINATE_AFTER_COUNT: &[(&str, usize)] =
&[("end Kernel panic", 0), ("watchdog: BUG: soft lockup", 1)];
const TERMINATE_AFTER_COUNT: &[(&str, usize)] = &[
("end Kernel panic", 0),
("rcu: RCU grace-period kthread stack dump:", 0),
("watchdog: BUG: soft lockup", 1),
];
let mut counts = [0; TERMINATE_AFTER_COUNT.len()];
let mut terminate_if_kernel_hang =

Loading…
Cancel
Save