Merge pull request #849 from tamird/terminate-on-RCU

xtask: terminate QEMU on "RCU grace-period kthread stack dump"
pull/851/head
Tamir Duberstein 11 months ago committed by GitHub
commit 41351ec560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save