From 396aba7a52e77340f8bb56a5c99246829e58b9f4 Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Fri, 7 Mar 2025 01:35:12 +0800 Subject: [PATCH] tests: Skip test_snapshot_restore_with_fd on aarch64 `test_snapshot_restore_with_fd` uses unsafe file descriptors and with rust 1.82.0 it errors with: ``` fatal runtime error: IO Safety violation: owned file descriptor already closed ``` so has been skipped for now. Signed-off-by: Ruoqing He --- tests/integration.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration.rs b/tests/integration.rs index c28514ffd..a8c7d7dd3 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -7587,6 +7587,7 @@ mod common_sequential { } #[test] + #[cfg_attr(target_arch = "aarch64", ignore = "See #6970")] fn test_snapshot_restore_with_fd() { let focal = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string()); let guest = Guest::new(Box::new(focal));