mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
tests: Print ExitStatus for 'test_serial_socket_interaction'
This test has been failing fairly often on the AMD worker. Let's collect more log for debugging. Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
5d411d257a
commit
c0faa75922
@ -4128,7 +4128,12 @@ mod common_parallel {
|
||||
|
||||
let r = std::panic::catch_unwind(|| {
|
||||
// Check that the cloud-hypervisor binary actually terminated
|
||||
assert!(output.status.success())
|
||||
if !output.status.success() {
|
||||
panic!(
|
||||
"Cloud Hypervisor process failed to terminate gracefully: {:?}",
|
||||
output.status
|
||||
);
|
||||
}
|
||||
});
|
||||
handle_child_output(r, &output);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user