Let's print more information about the machine - the list of all installed RPMs
and the list of all repositories (including the filenames - that's why find is
used). Also, the old WORKSPACE workaround was removed (no longer needed).
The timeout for unit tests is now longer and we use the up-to-date RHEL 9
keys.
This commit also removes a lot of the tests, see the reasoning inline. The
process just took way too long. We have upstream CI and we have also the
nightly pipeline so we should be fine even though we remove some bits from
here.
The repositories were also removed, rhel-9.json is actually not used anymore
in recent RHEL versions and the test should just use their own stable
snapshots nevertheless.
Related: rhbz#2059870
Resolves: rhbz#2011877
Enabled all tests:
- Copied script from RHEL 8.6.0 branch.
- Added nightly RHEL 9.0 repositories.
- Don't install EPEL for RHEL 9.0: Koji and Ansible aren't required for
any of the enabled tests.
Unmount /tmp before running tests:
/tmp is too small to contain the results of image building tests.
Unmounting the partition makes it part of the underlying root partition,
which is much larger.
This commit also copies gating from RHEL 8. The integration test is currently
disabled because there's not much to test on RHEL 9 yet.
Also, the patch is removed, this was probably forgotten in Fedora
dist-git.
Related: rhbz#1972427