2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-21 23:28:19 +00:00
Commit Graph

3336 Commits

Author SHA1 Message Date
Daniel Hilst be9c063981 Merge pull request #7913 from VersatusHPC/test/r26-ubuntu-image-behavior
test(ubuntu): exercise media imports and genimage behavior
2026-10-13 11:21:29 -03:00
Daniel Hilst ba6d3c15a9 Merge pull request #7905 from VersatusHPC/test/r26-ddns-policy-behavior
test(ddns): verify key-file behavior instead of source layout
2026-10-13 10:58:11 -03:00
Daniel Hilst d1f63dfc25 Merge pull request #7925 from VersatusHPC/test/r26-genesis-behavior
test(genesis): exercise startup and OpenEmbedded build contracts
2026-10-13 10:16:23 -03:00
Daniel Hilst abf0f2228f Merge pull request #7935 from VersatusHPC/refactor/r26-package-lifecycle
refactor(packaging): share package lifecycle helpers
2026-10-13 10:00:14 -03:00
Vinícius Ferrão 105069634d docs(test): describe Genesis test boundaries 2026-10-12 15:56:25 -03:00
Vinícius Ferrão 54ce837c6f test(genesis): evaluate OpenEmbedded build contracts 2026-10-12 15:56:25 -03:00
Vinícius Ferrão 5408e25a54 test(genesis): run secondary DHCP cases through startup 2026-10-12 15:56:25 -03:00
Vinícius Ferrão 6a0629571c test(ddns): verify key-file behavior instead of source layout
Remove source-pattern and helper-call counts. Check key-file creation and
replacement through the real DDNS code, with file access redirected to a
temporary fixture. Keep the signing and named configuration checks.
2026-10-12 15:07:57 -03:00
Vinícius Ferrão 4a202f1b52 test(genesis): exercise InfiniBand startup through doxcat 2026-10-12 15:07:00 -03:00
Vinícius Ferrão b2a73685fb docs(test): document Ubuntu image fixture boundaries
Describe the native test prerequisites, external command doubles and the image-building behavior these fixtures do not qualify.
2026-10-12 13:58:45 -03:00
Vinícius Ferrão 320a1a1299 test(ubuntu): inspect resolver files in generated initrds
Run the unchanged initrd builder with fixture binaries and inspect both generated archives. Replace source extraction with checks for selected libraries and their contents.
2026-10-12 13:58:45 -03:00
Vinícius Ferrão a4e14299ee test(ubuntu): exercise genimage mirror selection
Read site settings from an isolated database and inspect the sources.list written into the image. Stop at an injected package-metadata failure without downloading packages.
2026-10-12 13:58:45 -03:00
Vinícius Ferrão 5013f85774 test(ubuntu): check debootstrap architecture arguments
Run genimage and inspect the arguments passed to debootstrap instead of evaluating an extracted assignment. Keep the existing ppc64le pass-through explicit.
2026-10-12 13:58:45 -03:00
Vinícius Ferrão 114efc35e1 test(ubuntu): exercise live-media imports and warnings
Replace source-text assertions with real media imports in an isolated filesystem and database. Run the native fixture before the package build in CI.
2026-10-12 13:58:32 -03:00
Vinícius Ferrão 90d7813d7d test(packaging): cover upgrades without the postscript payload
Exclude node postscripts through the native RPM and dpkg options. Verify
that upgrade configuration, captured output and cleanup still complete.

Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-12 12:35:35 -03:00
Vinícius Ferrão eb2df9cb70 test(packaging): stage shared shell scriptlet sources
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-12 12:31:56 -03:00
Vinícius Ferrão 8816ea47f1 test(packimage): cover the replacement of the root image archive
The test packs cpio and tar archives with gzip, xz and pigz, and squashfs
images, on the Red Hat path. A wrapper around the compressor, mksquashfs,
cpio or find records the file under the final name while the pack runs,
and then runs the real tool or fails.

It checks that nodes get the previous archive during the pack, that a
pack whose compressor, cpio or file listing fails keeps the previous
archive, metainfo and other formats, that a successful pack replaces
them, and that no temporary file is left. The next pack removes a
temporary file or directory that an interrupted pack on the same host
left, and keeps one that another host is writing.

For a StateLite tree, it checks that a pack that fails while listing the
files, compressing them or creating the temporary directory restores the
files that packimage switched, and that a retry keeps them. When a file
cannot be moved back, the original and the previous archive must stay,
and the next pack must refuse to run.

A pack must wait while another host holds .packimage-publish. When a
pack that did not finish left the lock, the next pack must fail, name the
holder, and keep the previous archive and the lock. With --tracker,
ctorrent must build the metainfo from the new archive under its final
name before the archive is replaced. A ctorrent failure must keep the
previous archive and metainfo, and so must a previous metainfo that
cannot be removed.
2026-10-12 12:15:52 -03:00
Daniel Hilst aa05e7026b Merge pull request #7933 from VersatusHPC/refactor/r26-capture-lifecycle
refactor(dhcp): share the packet capture lifecycle
2026-10-12 10:54:00 -03:00
Daniel Hilst 1210e3c831 Merge pull request #7929 from VersatusHPC/refactor/r26-postinstall-bootstrap
refactor(postscripts): share the early postinit disable policy
2026-10-12 10:34:52 -03:00
Daniel Hilst 15db168634 Merge pull request #7928 from VersatusHPC/test/r26-file-io
test(fixtures): reuse file I/O helpers in unit tests
2026-10-12 10:32:31 -03:00
Daniel Hilst 2b1fb5a090 Merge pull request #7927 from VersatusHPC/test/r26-process-helper
test(process): share command execution across unit tests
2026-10-12 10:31:36 -03:00
Daniel Hilst 1786f80541 Merge pull request #7926 from VersatusHPC/test/r26-package-script-behavior
test(packages): exercise go-xcat and postscript behavior
2026-10-12 10:29:13 -03:00
Daniel Hilst 4d052c59d3 Merge pull request #7907 from VersatusHPC/test/r26-openbmc-retry-behavior
test(openbmc): exercise retries through the request handler
2026-10-12 10:25:14 -03:00
Daniel Hilst c3742d7623 Merge pull request #7910 from VersatusHPC/test/r26-grub-netboot-behavior
test(grub2): exercise netboot protocol configuration
2026-10-12 10:24:07 -03:00
Daniel Hilst ae9fd7912a Merge pull request #7932 from VersatusHPC/refactor/r26-string-trim
refactor(xcat): reuse whitespace trimming in blade and credential paths
2026-10-12 10:23:11 -03:00
Daniel Hilst 0f445e2596 Merge pull request #7931 from VersatusHPC/refactor/r26-omapi-twin-delete
refactor(dhcp): reuse the hardware-address delete formatter
2026-10-12 10:22:47 -03:00
Daniel Hilst 52cd6b26d1 Merge pull request #7919 from VersatusHPC/fix/blackbox-prov-missing-ptr-state
fix(xcat-test): missing-ptr still finds the node it withdrew
2026-10-12 10:05:56 -03:00
Vinícius Ferrão 88b2df8ec5 docs(test): describe package upgrade logging cases
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-11 11:50:49 -03:00
Vinícius Ferrão 41839052cc test(packaging): exercise upgrade logging and failure policy
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-11 11:50:49 -03:00
Vinícius Ferrão b75a959915 test(init): exercise packaged release classification
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-11 11:49:59 -03:00
Vinícius Ferrão 26f261b3e1 test(init): stage the complete compatibility helper bundle
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-11 11:41:46 -03:00
Vinícius Ferrão e41710a675 test(packaging): cover saved Apache defaults and config roots
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-11 11:41:45 -03:00
Vinícius Ferrão f11b740b56 test(packaging): stage shared Lua scriptlet sources
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-11 11:32:21 -03:00
Daniel Hilst 0742711bc5 Merge pull request #7921 from VersatusHPC/test/r26-package-lifecycle
test(packaging): exercise service and configuration lifecycles
2026-10-11 06:52:35 -03:00
Vinícius Ferrão e7cbf8b460 test(dhcp): cover packet capture output and termination
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-10-11 02:07:56 -03:00
Vinícius Ferrão 0349bb64d6 test(xcat): cover whitespace in blade and credential identities 2026-10-10 21:23:43 -03:00
Vinícius Ferrão 1882d2d0fe test(xcat): resolve trim callers from the checkout 2026-10-10 21:12:08 -03:00
Vinícius Ferrão f349adc20e test(dhcp): cover InfiniBand cleanup command ordering 2026-10-10 17:49:27 -03:00
Vinícius Ferrão 5e13ec0a6d test(dhcp): isolate InfiniBand command fixtures 2026-10-10 17:40:28 -03:00
Vinícius Ferrão 1ec18e3682 docs(test): describe the postinstall native test boundary 2026-10-10 02:41:02 -03:00
Vinícius Ferrão f4f596537e test(postscripts): exercise rendered postinit service policy
Run complete rendered installers and their emitted postboot scripts in
private Linux filesystems. Cover service selection, flag aliases, defaults,
debug output, ordering and failures, and select the test in CI.
2026-10-10 02:41:02 -03:00
Vinícius Ferrão c10cf9b924 docs(test): describe fixture file I/O contracts 2026-10-10 01:50:52 -03:00
Vinícius Ferrão b625732ef0 test(ubuntu): reuse binary file helpers in package-list fixtures 2026-10-10 01:34:45 -03:00
Vinícius Ferrão ea75eee21f test(scripts): reuse file helpers for package and postscript fixtures 2026-10-10 01:33:56 -03:00
Vinícius Ferrão fa7b255a82 test(boot): reuse binary file helpers in Genesis fixtures 2026-10-10 01:32:08 -03:00
Vinícius Ferrão caccfeb054 test(dhcp): reuse binary file helpers in OMAPI fixtures 2026-10-10 01:31:00 -03:00
Vinícius Ferrão fc231b7132 test(network): reuse binary file helpers in command fixtures 2026-10-10 01:29:49 -03:00
Vinícius Ferrão 7fdb437ea3 docs(test): describe the shared command runner 2026-10-09 22:43:07 -03:00
Vinícius Ferrão 0d2685a4c5 test(packages): reuse command capture in discovery checks 2026-10-09 22:43:07 -03:00
Vinícius Ferrão a79faa2d77 test(apache): reuse command capture in configuration checks 2026-10-09 22:43:07 -03:00