diff --git a/.github/workflows/genesis-openembedded.yml b/.github/workflows/genesis-openembedded.yml index ee8f3e5..c86062d 100644 --- a/.github/workflows/genesis-openembedded.yml +++ b/.github/workflows/genesis-openembedded.yml @@ -47,6 +47,7 @@ jobs: perl -c ipxe-xcat/verify-payload.pl rpmspec -P ipxe-xcat/ipxe-xcat.spec >/dev/null perl -c uftp/mockbuild.pl + perl -c uftp/sbuild.pl rpmspec -P uftp/uftp.spec >/dev/null rpmspec -P \ -D 'genesis_arch x86_64' \ @@ -70,7 +71,8 @@ jobs: t/genesis_openembedded_consumer.t \ t/ipxe_xcat_payload.t \ t/lib/XCAT/GenesisReleaseTest.pm \ - uftp/mockbuild.pl + uftp/mockbuild.pl \ + uftp/sbuild.pl - name: Run package tests run: | diff --git a/t/sbuild-all.t b/t/sbuild-all.t index 099933f..1fc4425 100644 --- a/t/sbuild-all.t +++ b/t/sbuild-all.t @@ -302,6 +302,12 @@ SKIP: { is_deeply(\@miss_go, [], 'goconserver present in every manifest target') or diag("missing goconserver in: @miss_go"); + # uftp is optional for xCAT, but a management node and a diskless image of every target need + # UFTP 5 to distribute images over UFTP, and Ubuntu ships UFTP 4. + my @miss_uftp = grep { !exists $m{$_}{'uftp'} } @targets; + is_deeply(\@miss_uftp, [], 'uftp present in every manifest target') + or diag("missing uftp in: @miss_uftp"); + # The noarch boot components (syslinux-xcat, grub2-xcat, elilo-xcat, xnba-undi, ipxe-xcat) are # Architecture:all single-producer (built ONCE on amd64) but REQUIRED-PRESENT on EVERY target # incl. ppc64el and riscv64, so the gate verifies those repos actually carry them (matches the @@ -719,6 +725,7 @@ STUB 'elilo-xcat' => 'elilo', 'xnba-undi' => 'xnba', 'ipxe-xcat' => 'ipxe-xcat', + 'uftp' => 'uftp', ); my %manifest = read_manifest("$root/debs-manifest.conf"); my %seen;