From 209c04eb5ebed01b1dc3fbcfcb3ba2d563695773 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Thu, 26 Sep 2024 15:43:52 +0100 Subject: [PATCH] run unittests in privileged docker container The code coverage tests already run in a privileged container, so this does not affect our security posture. Additionally, it will unblock vsock unit tests in the vhost-user-vsock crate, see also https://github.com/rust-vmm/vhost-device/pull/706 and https://github.com/rust-vmm/vhost-device/pull/728 Signed-off-by: Patrick Roy --- .buildkite/test_description.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.buildkite/test_description.json b/.buildkite/test_description.json index b2cf243..6029da7 100644 --- a/.buildkite/test_description.json +++ b/.buildkite/test_description.json @@ -28,7 +28,10 @@ "x86_64", "aarch64", "riscv64" - ] + ], + "docker_plugin": { + "privileged": true + } }, { "test_name": "unittests-musl", @@ -36,7 +39,10 @@ "platform": [ "x86_64", "aarch64" - ] + ], + "docker_plugin": { + "privileged": true + } }, { "test_name": "clippy",