mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-21 15:18:19 +00:00
06cc43c863
Every service node defect in this change set was a generated artifact that was already wrong before any node booted: a repository file that enabled no builder repo, a template that resolved to the wrong installer, an exports line that was never written. The tests that caught them are one file per fix, so each knows one defect and together they know no defect class. A fix nobody has made yet is covered by none of them. service_node_artifacts_el.t renders the artifacts an EL service node needs from one fixture and asserts each: the builder repository per release and vendor, including that EL8 is powertools and not crb; the template the service profile resolves, which must not be a Subiquity one; and the export line for a local directory and for a re-exported mount, where an absent fsid is what made a service node export nothing. A missing module or sub fails rather than skips, and the file reports every gap instead of dying at the first, because on an unfixed tree this test is the gap report. Measured: 17 assertions pass on the branch, and the base fails two of them by name. It does not cover the boot half -- the lease, the tftp handover, the mount the installer performs -- so it replaces no end-to-end run. It replaces the 45 to 90 minutes those runs cost in the ROUNDS of a minimization. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
20 lines
1011 B
Plaintext
20 lines
1011 B
Plaintext
# The fast oracle of the EL service node cell.
|
|
#
|
|
# xCAT-test/quick.sh -f xCAT-test/quick-servicenode-el.txt
|
|
#
|
|
# One test, not seven. Every service node defect in this change set was a generated artifact that
|
|
# was wrong before any node booted, so this renders the artifacts an EL service node needs from
|
|
# one fixture and asserts each: the builder repository per release and vendor, the install
|
|
# template the service profile resolves, and the NFS export line for a local directory and for a
|
|
# re-exported mount.
|
|
#
|
|
# It fails for any wrong artifact, including one nobody has hit, which a file-per-fix list cannot
|
|
# do. Measured: PASS on the branch, FAIL on the base with two named gaps rather than a death at
|
|
# the first.
|
|
#
|
|
# What it does NOT cover, and why the end-to-end run stays: the boot half. Whether the compute
|
|
# node takes its lease from the service node, whether tftp hands over, whether the installer
|
|
# mounts what was exported. Those are not artifacts.
|
|
|
|
xCAT-test/unit/service_node_artifacts_el.t
|