From 35bf8eda8a1cb27d0df388cacefdb920689b3071 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, 24 Oct 2026 11:32:53 -0300 Subject: [PATCH] test(genesis): cover the UUID that the OpenEmbedded image reports The OpenEmbedded discovery sends the product_uuid fixture and expects it unchanged in the findme request. (cherry picked from commit 092d78a224ee57af834a74ccfb63185f7120a2b7) (cherry picked from commit 47fc5cf780e964ccb9ad939b19742bd61e95ba0f) --- xCAT-test/bats/genesis_openembedded_discovery.bats | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-test/bats/genesis_openembedded_discovery.bats b/xCAT-test/bats/genesis_openembedded_discovery.bats index 39bd62d8d2..7a86103f9c 100644 --- a/xCAT-test/bats/genesis_openembedded_discovery.bats +++ b/xCAT-test/bats/genesis_openembedded_discovery.bats @@ -190,6 +190,12 @@ not_in_packet() grep -qx STATE=READY "$XCAT_STATUS_DIR/discovery.env" } +@test "discovery reports the system UUID that the kernel prints" { + discover + [ "$status" -eq 0 ] + in_packet '00112233-4455-6677-8899-aabbccddeeff' +} + @test "successful discovery does not depend on logging" { XCAT_TEST_LOGGER_FAIL=1 discover [ "$status" -eq 0 ]