From 4e7cdef8ceed94ea26b8a52f6bfb559e1b9e6eb5 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Wed, 21 Oct 2026 10:58:07 -0300 Subject: [PATCH] fix(xcat-test): the statelite SELinux case has no image to boot selinux_cn_statelite_disabled_by_design ran nodeset against the statelite osimage without building it. copycds declares the osimage, and nodeset needs the image tree and the litefile links that genimage and liteimg create, so the case failed on a fresh cluster for a reason that has nothing to do with SELinux. Build the image in the case. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-test/autotest/testcase/selinux/cases1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-test/autotest/testcase/selinux/cases1 b/xCAT-test/autotest/testcase/selinux/cases1 index 6d78fbaf98..5450fb3312 100644 --- a/xCAT-test/autotest/testcase/selinux/cases1 +++ b/xCAT-test/autotest/testcase/selinux/cases1 @@ -187,6 +187,10 @@ check:rc==0 check:output=~^Enforcing$ cmd:chdef -t node -o $$CN selinux=enforcing check:rc==0 +cmd:genimage $$STATELITE +check:rc==0 +cmd:liteimg $$STATELITE +check:rc==0 cmd:nodeset $$CN osimage=$$STATELITE check:rc==0 check:output=~SELinux is disabled