Since [1], TMT finally applies downstream patches when extracting
sources for testing. Fixing this took eternity, and in the meantime, we
moved to using rhpkg / centpkg to prepare the sources for testing. rhpkg
started to reach out to Red Hat Product Pages, which requires RH VPN
access and a valid kerberos ticket, which is not available in CI
environment.
Let's move back to relying on TMT to extract sources and apply
downstream, patches.
In addition, support dot releases.
Resolves: RHEL-111405
[1] https://github.com/teemtee/tmt/pull/2641
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
TF renamed their tag repos, which makes out unit tests prepare step
fail. Moreover, these repos are now enabled by default, so there's no
value in enabling them explicitly.
Resolves: RHEL-111405
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This should solve https://issues.redhat.com/browse/TFT-2810 and make
sure that the packages that the tested RPM was built against, are
available on the VM for installation.
Related: RHEL-56049
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
We have been running just a subset of osbuild unit tests and also not as
a root, so some of them would be skipped.
In addition, the downstream patches were never applied on sources which
were used for unit-testing. Thus if any issue with test was just
backported as a patch, this had no effect on the test result.
Rework how tests are executed by using a dedicated script which will
take care of the installation of test dependencies, preparation of
sources including application of downstream patches and execute all unit
tests.
Rework also the FMF test metadata and test discovery.
Related: rhbz#2174847
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
Previously, the integration test was always skipped in c9s. Rework it to
pick the correct image manifest based on the running distro and build it
using osbuild.
Pick manifests for the latest distro versions from the upstream
osbuild-composer repository. Use qcow2 image with customizations.
Related: rhbz#2132250
Signed-off-by: Tomáš Hozza <thozza@redhat.com>