From e15a5484e4cda97f55b7584b19351710b019cd1f Mon Sep 17 00:00:00 2001 From: Xiangyu Chen Date: Wed, 19 Jun 2024 11:21:27 +0800 Subject: [PATCH] lxc: update ptest cases in black list Released lxc-test-shutdowntest and lxc-test-state-server due to those back to normal since lxc upgraded to 6.0.0. lxc-test-no-new-privs and lxc-test-checkpoint-restore are broken test, already reported to upstream[1][2], move them to blacklist until upstream fix them. lxc-test-usernic always fails when use ptest-runner, but normal with run-ptest by manual. Ref: [1] https://github.com/lxc/lxc/issues/4296 [2] https://github.com/lxc/lxc/issues/4435 Signed-off-by: Xiangyu Chen Signed-off-by: Bruce Ashfield --- recipes-containers/lxc/files/run-ptest | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/recipes-containers/lxc/files/run-ptest b/recipes-containers/lxc/files/run-ptest index 196adb04..278107d9 100644 --- a/recipes-containers/lxc/files/run-ptest +++ b/recipes-containers/lxc/files/run-ptest @@ -12,9 +12,15 @@ blacklist="$blacklist lxc-test-apparmor" blacklist="$blacklist lxc-test-apparmor-mount" #lxc-test-get_item would report Built without AppArmor support error blacklist="$blacklist lxc-test-get_item" -# These currently hang so skip them until someone fixes them up -blacklist="$blacklist lxc-test-shutdowntest" -blacklist="$blacklist lxc-test-state-server" +# This is a broken case, also fails on opensuse, already reported to +# upstream https://github.com/lxc/lxc/issues/4296 +blacklist="$blacklist lxc-test-no-new-privs" +# lxc doesn't adapt the criu's new mount flag, that cause restore fails +# already reported to upstream https://github.com/lxc/lxc/issues/4435 +blacklist="$blacklist lxc-test-checkpoint-restore" +# if we run "run-ptest" under /usr/lib64/lxc/ptest, the result is normal +# but it would be failed when using "ptest-runner lxc" +blacklist="$blacklist lxc-test-usernic" # Tests in firstrunlist will be run first firstrunlist=""