Disable failing tests during rpmbuild in the SPEC file.
See https://github.com/osbuild/osbuild/pull/2338
Also disable one failing tests in the TMT CI run.
Resolves: RHEL-111405
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
The test case started to timeout in the CI pipeline, while being at
~95% completion. Increase the timeout by 1 hour.
Resolves: RHEL-111405
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
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>
It became a common thing that the SUT has newer selinux-policy installed
than the version available in the configured repositories. osbuild has a
build dependency on selinux-policy-devel, which installation fails in
such case (there is no `*-devel` package with of the installed version
available in the configured repositories). None of the other workarounds
actually work consistently, so fall back to allowing DNF to downgrade
the installed selinux-policy on SUT.
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>
After recent upstream rebase few tests were failing:
* test_libc_futimes_works FAILED
* test_exports_normal FAILED
* test_exports_with_force_no_preserve_owner FAILED
* test_fat FAILED
Patches fixing those issues has been presented upstream shortly after
rebasing has been completed. This commit adds backport those fixes.
Resolves: RHEL-1770