2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-30 06:12:19 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Hilst f775471804 test(xcat-core): the OpenEmbedded Genesis DUID matches no reservation
The OpenEmbedded Genesis image sets ipv6.dhcp-duid=ll, so NetworkManager sends a
DUID-LL. makedhcp builds a DUID-UUID from vpd.uuid, and kea_node_reservations6 puts
either a duid or a hw-address in a reservation, never both. A node that reported an
SMBIOS UUID therefore gets a DUID-only reservation that its DUID-LL cannot match: it
takes a pool address with no bootfile-url and does not netboot over IPv6. The legacy
image is correct here, because doxcat writes a DUID-UUID in firmware order.

genesis_openembedded_duid.bats asserts the image turns the SMBIOS UUID into the same
DUID that xCAT-test/bats/genesis_duid_uuid.bats pins for the legacy image, and that a
node with no SMBIOS UUID keeps the DUID-LL, which is what a hw-address reservation
needs. genesis_openembedded_duid.t covers the unit that writes it before
NetworkManager, and genesis_metadata.py covers the installed files.

All 15 assertions fail on this commit: there is no genesis-duid script and no unit.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-26 17:51:45 -03:00
Vinícius Ferrão 516e915bcc test(genesis): exercise the NetworkManager wait-online policy 2026-10-20 12:03:51 -03:00
Vinícius Ferrão 28dc7a8059 test(genesis): execute the POWER metadata patch policy 2026-10-13 22:16:51 -03:00
Vinícius Ferrão bc8d4e58d8 test(genesis): check resolved common machine policy 2026-10-13 22:16:51 -03:00
Vinícius Ferrão a1bb33d1d3 test(genesis): preserve status publication failure policies 2026-10-13 22:16:50 -03:00
Vinícius Ferrão 2a201ab62c test(genesis): prepare shared runtime library fixtures 2026-10-13 22:16:50 -03:00
Vinícius Ferrão 3dd18b3996 test(genesis): exercise destiny transport and cleanup 2026-10-13 22:16:49 -03:00
Vinícius Ferrão 045ee1c327 test(genesis): wait for recipe rejection diagnostics
BitBake can return a rejected parse before its error event arrives.
Keep the log assertion open until the expected diagnostic arrives or
its deadline expires.
2026-10-13 22:16:49 -03:00
Vinícius Ferrão 54ce837c6f test(genesis): evaluate OpenEmbedded build contracts 2026-10-12 15:56:25 -03:00