post_vm_skip

Function post_vm_skip 

Source
pub fn post_vm_skip(reason: impl Into<String>) -> Error
Expand description

Request a test SKIP from a post_vm / post_vm_unconditional callback: return Err(post_vm_skip(reason)) when the run is INCONCLUSIVE — the VM could not produce the artifact the assertion needs (e.g. a load-starved VM whose BPF probe never attached, leaving a placeholder failure dump), as distinct from a real regression. The framework detects the attached HostSkipRequest marker and converts the run to crate::assert::AssertResult::skip instead of a failure.

A genuine Err from a sibling callback dominates (see combine_post_vm_errs): a skip request never masks a regression.