The cross-arch Genesis finalize collected every OS directory except openEuler, then demanded that each one carry both architectures and that each architecture hold its own xCAT-genesis-base rpm. A SUSE cell satisfies neither: cells.tsv gives the sles12 cell x86_64 alone, so its ppc64le peer will never exist, and openSUSE ships no legacy Genesis, so no openSUSE target builds a payload. So sles12/x86_64 failed for a missing peer and a two-arch sles15 failed for an absent payload, and a SUSE cell beside a valid EL pair stopped the whole finalize. A sles* directory is now collected like an openeuler* one: outside the cross-arch copy and outside the peer and payload requirements. The skip line names the directories it passed over, so a cell left out is visible rather than implied. What still runs for a SUSE cell: the repository cell lock, and the manifest completeness and repomd signature gate, which mockbuild-all.pl applies to every finalized cell and already globs sles* beside rh*. What no longer runs: the foreign-architecture Genesis copy, the peer requirement and the payload requirement, none of which a family without a legacy payload can satisfy. The EL cases keep dying for both reasons, which the cases beside the new ones assert. native/openeuler-srpm.t asserted the old skip message; it now asserts that the message names the skipped directory and the skip, which is the stronger claim. t/mockbuild-all.t fails 3 of 235 on the parent commit. prove -j4 t/ and prove -j4 native/ pass: 29 and 9 files, 1308 and 874 tests. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
Native packaging tests
The openEuler packaging tests build and sign RPMs or require Linux namespaces.
They run separately from prove -r t on a disposable host with the required
native tools:
prove -v native/*.t
uftp-fixes.t builds the UFTP programs from the archive and patches in uftp/
with AddressSanitizer. It needs a C compiler, make, patch and the OpenSSL
headers.
Use an ordinary user for RPM builds. openeuler-power-inputs.t exercises the
whole build owner only on POWER with native Mock; its RPM admission checks also
run on x86_64. When running that test as root, set XCAT_TEST_BUILD_USER to an
unprivileged account for the fixture builds.
The fixtures are command doubles at the downloader and Mock boundaries. The POWER Mock adapter uses the installed Python API directly to load generated configurations. It does not execute another Python interpreter.
The Mock configuration test loads the installed Python API from a checked-in fixture and is kept outside the unit run.
Inspect TAP skips: a successful exit does not qualify an unavailable native tool or architecture.