From 19f5232c5ac878ca6ba15f9b34d979b437246a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Sat, 21 Nov 2026 03:01:10 -0300 Subject: [PATCH] test(ci): exercise shared fixture contracts Run the image and postinstall fixture checks explicitly. Document their isolation boundaries and distinct process result contracts. --- .github/workflows/xcat_test.yml | 3 +++ xCAT-test/native/README.md | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/xcat_test.yml b/.github/workflows/xcat_test.yml index db8d3c4007..4f35eb45b6 100644 --- a/.github/workflows/xcat_test.yml +++ b/.github/workflows/xcat_test.yml @@ -38,6 +38,9 @@ jobs: - name: Exercise image chroot mounts if: ${{ !cancelled() }} run: prove xCAT-test/native/rh_genimage_chroot_mounts.t + - name: Check shared test fixtures + if: ${{ !cancelled() }} + run: prove xCAT-test/native/image_fixture_contract.t xCAT-test/native/postinstall_bootstrap.t - name: Check Debian probe payload permissions if: ${{ !cancelled() }} run: bats xCAT-test/native/probe_debian_permissions.bats diff --git a/xCAT-test/native/README.md b/xCAT-test/native/README.md index 2570e52f85..df5ff238f1 100644 --- a/xCAT-test/native/README.md +++ b/xCAT-test/native/README.md @@ -17,6 +17,11 @@ It can run as root or an ordinary user with user namespaces enabled. This case checks service policy and ordering; it does not boot or reinstall an OS. The client steps cannot access the source tree or the server postscripts directory. +`image_fixture_contract.t` checks the shared image fixture's file contents, +mount isolation and caller-specific results. UbuntuImage returns raw wait +status and merged output; ImageSandbox returns a decoded status and separate +output streams. CI runs this case and `postinstall_bootstrap.t` explicitly. + ## Ubuntu media and image fixtures The pull-request workflow runs these four tests explicitly: