Commit graph

296 commits

Author SHA1 Message Date
Tomáš Hozza
eb2e4715b9 Test: remove image_tests.sh
The image_tests.sh test case is being run only as part of the RHEL
nightly pipeline. This test case evolved over the years. In principle
it can do the following:
 1. Read test cases from /test/data/manifests.
 2. Rebuild the manifest attached to the test case directly by running
    osbuild.
 3. Compare the image-info report if attached to the test case (NOT
    done for any test cases in /test/data/manifests).
 4. Boot-test the built image in the respective environment (NOT done
    for any test cases in /test/data/manifests).

Moreover, these manifests (or test cases) are not updated regularly
after being generated for the first time.

All in all, given the fact that the test case rebuilds outdated
manifests by directly calling osbuild and does not run any additional
tests, it adds no value compared to the osbuild/images CI.
osbuild/images CI always rebuilds the latest image definition version
manifests with osbuild, so at the time the library is updated in
osbuild-composer, this scenario has already been tested.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-08-07 10:22:55 +02:00
Tom Koscielniak
d8db1e7c39 CI: Remove Edge tests for RHEL 10.0 GA
Edge is not supported anymore in RHEL 10, exclude it from the CI
2025-07-21 13:04:03 +02:00
Tom Koscielniak
d19d933fe8 tests/CI: Add runners for RHEL 9.6 GA and 10.0 GA
Add new GA runners and remove the old 9.5 GA runner. Remove repo overrides for new runners as well. Add a comment explaining why a regression-old-worker-new-composer test will fail when a new major version GA runner is added.
2025-07-21 13:04:03 +02:00
Tomáš Hozza
c4430ffa7a CI: disable consistently failing EDGE CI tests
These test have been failing consistently for very long time (many
months). They need to be investigated and fixed before re-enabling them.

The ticket to re-enable them is:
https://issues.redhat.com/browse/HMS-8719

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-06-20 12:55:17 +02:00
Tomáš Hozza
019c6771c6 CI: disable Installer test on c10s / el10.1 due to a known bug
The ticket to re-enable the test is:
https://issues.redhat.com/browse/HMS-8718

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-06-20 12:55:17 +02:00
Achilleas Koutsou
61e3fc7f2e Stop testing on Fedora 40 - Start testing on Fedora 42
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-06-20 10:06:51 +02:00
Achilleas Koutsou
fd7dc96d06 gitlab: enable OCI tests
The problem with the test infrastructure should be resolved.

This reverts commit d0e805e8be.
2025-06-05 09:29:55 +02:00
Tom Koscielniak
557d5f440c tests/CI: Add runners for RHEL 9.7 and 10.1
Add runners for RHEL 9.7 and 10.1 and remove 9.6 and 10.0 runners.
2025-06-03 17:06:52 +02:00
Achilleas Koutsou
d0e805e8be gitlab: disable OCI tests
OCI tests are constantly failing due to a known issue.  A fix is coming
but it's taking a while so let's disable them so we can keep merging
PRs.
2025-05-30 18:56:40 +02:00
Sanne Raymaekers
7c0aecdd82 .gitlab-ci.yml: test WSL images on RHEL 10 2025-04-24 16:59:44 +02:00
Achilleas Koutsou
362712a71d gitlab: disable vmware tests
The vmware tests are consistently failing.  While the build succeeds,
 the upload step fails with:

  Unable to protect host, if the host isn't running as part of an
  autoscaling group, this can safely be ignored: operation error Auto
  Scaling: DescribeAutoScalingInstances, get identity: get credentials:
  failed to refresh cached credentials, no EC2 IMDS role found,
  operation error ec2imds: GetMetadata, http response error StatusCode:
  404, request to EC2 IMDS failed

Disabling the test until we have time to look into it furhter.
2025-04-16 10:46:13 +02:00
Tomáš Hozza
869b59faf4 .gitlab-ci.yml: move to latest RHEL-9 GA release (9.5)
Move testing on the latest RHEL-9 GA testing to the latest GA minor
version, which is 9.5.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-04-01 08:40:13 +02:00
Tom Koscielniak
a1a6722ed4 tests/CI: Disable installer test for RHEL 10.0 nightly
Disable installer test because it will keep failing due to the fix for dracut missing ifcfg won't make RHEL 10 nightly composes.
2025-03-05 08:17:02 +01:00
Tom Koscielniak
9b850de9f1 tests/CI: Re-enable the vmware tests on RHEL 10
Re-enable the vmware tests on RHEL 10 and use vcenter 8 instead of 6. This fixes the issues caused by outdated CPUs in old cluster by migrating to a new one with new hosts as well.
2025-02-25 16:29:20 +01:00
Achilleas Koutsou
a237447ca0 gitlab: run all versions of filesystem.sh
Run filesystem.sh with all the valid arguments for the customization
type.
2025-02-05 11:32:52 +01:00
Tomáš Hozza
7af1b57701 GitLab CI: don't test on EOL F39
Replace F39 with F41

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-01-30 07:48:44 +01:00
Tom Koscielniak
d8295ea2ea Test with rhel-9.6 nightly 2024-11-21 08:14:22 +01:00
Tom Koscielniak
fb7a2aab96 Disable Packer job in scheduled GA pipelines 2024-10-21 14:43:18 +02:00
Jakub Rusz
07a18a5d49 tests/regression: Add config for v3 certificates
When generating x509 v3 certs we need to explicitely set "CA:TRUE"
otherwise they're not trusted to be used. Also start running the tests
on RHEL-9.5 and RHEL-10.0
2024-10-03 16:27:21 +02:00
Jakub Rusz
763cc2ffb0 CI: integration test rules fixup
Just making it more clear and scheduling aws.sh on RHEL-10 and GA
runners.
2024-09-30 07:43:42 +02:00
Jakub Rusz
d0ac2f1a37 tests/CI: enable oci api test on rhel-10 2024-09-25 08:30:45 +02:00
Sanne Raymaekers
84d916dd96 Revert ".gitlab-ci.yml: add fedora-41"
This reverts commit 75cd8ee780.
2024-09-24 14:46:58 +02:00
Sanne Raymaekers
75cd8ee780 .gitlab-ci.yml: add fedora-41 2024-09-23 14:30:27 -07:00
Tomáš Hozza
0053a6187b CI/Koji: run Koji tests only on the latest RHEL-9 GA
None of our worker is running RHEL-8 any more. There's no value in
testing the Koji scenario on RHEL-8, RHEL-9 is fully sufficient.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-09-20 17:02:09 +02:00
Tomáš Hozza
b50816a706 CI/Koji: test building of RHEL-10 on RHEL-9
This is what is currently happening on our Brew workers.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-09-20 17:02:09 +02:00
Tomáš Hozza
dd7afa416c CI/Koji: test RHEL-8 builds on RHEL-9
We have been testing builds of RHEL-9 on RHEL-8 for the Koji use case.
However, all of our workers are now running the latest GA RHEL-9
version. Therefore we should flip the test and test building of RHEL-8
on RHEL-9.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-09-20 17:02:09 +02:00
Jakub Rusz
758982907a tests/cases: Rename upgrade test
And schedule on rhel-10
2024-09-06 14:38:57 +02:00
Tomáš Hozza
82ff759ee1 Test: test GCE image type on el10 / c10s
Enable testing of GCE image type on el10 / c10s. The el10 / c10s image
type temporarily uses cloud-init, because there are no GCP guest tools
for el10 / c10s yet and el9 version can't be installed. This implies
that we need to set the SSH key in the instance metadata and use SSH
directly.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-23 13:10:53 +02:00
Tomáš Hozza
8035bd2c56 Test: enable image-installer tests on el10 / c10s
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-23 13:10:53 +02:00
Jakub Rusz
411711c9b4 CI: enable image_tests on rhel-10 2024-08-16 15:15:38 +02:00
Jakub Rusz
f2bd9e57f9 CI: temporarily disable image-tests on rhel-10 nightly 2024-08-12 08:39:05 +03:00
Jakub Rusz
66625ffea1 ci: run libvirt test on rhel-10 using rhos-01 runner
We can run this in openstack until we have the gcp image.
2024-08-12 08:39:05 +03:00
Jakub Rusz
0f902a67c9 CI: Add rules for scheduled RHEL-10 nightly 2024-08-12 08:39:05 +03:00
Jakub Rusz
d5995c13ef tests/ci: temporarily disable vmware tests on el-10
See COMPOSER-2328 for details.
2024-08-12 08:39:05 +03:00
Jakub Rusz
22b42d9c95 CI: Add internal network for api tests 2024-08-12 08:39:05 +03:00
Jakub Rusz
306772aafa tests/CI: additional scheduling and loggin updates
Do not schedule gcp.sh on rhel-10 and centos-stream-10. Also improve
loggin for aws.sh and azure.sh as the cloud-image-val testing is
currently not preformed there.
2024-08-12 08:39:05 +03:00
Jakub Rusz
9a223500aa tests/regression: do not schedule skipped tests
Also fail in case it does get scheduled so we actually notice.
2024-08-12 08:39:05 +03:00
Tomáš Hozza
239b69261a Test: dot-notation backward compatibility is not supported on el10
The backward compatibility layer to support also distro / repo names
without a dot is no longer supported since RHEL-10 onwards. Disable the
test case on el10.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-12 08:39:05 +03:00
Tomáš Hozza
2f9266e240 Tests/api.sh: test only a subset of image types on el10
c10s/el10 for now support only a subset of image types.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-12 08:39:05 +03:00
Alexander Todorov
a909cae0dc Skip test b/c image-installer unsupoorted on cs10 & rhel-10 for now 2024-08-12 08:39:05 +03:00
Alexander Todorov
0a30d79d9b Skip testing in GCP - unsupported for now 2024-08-12 08:39:05 +03:00
Tomáš Hozza
eae8b50ad3 CI: don't run some tests on el9.5-nightly aarch64
Runners in some jobs suggest, that the intention was to run them only on
x86_64. However, there were two instances when such job was also run on
aarch64 el9.5-nightly runner. Let's assume that this was a copy&paste
error and delete such cases.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-12 08:39:05 +03:00
Alexander Todorov
06a897390a Start running tests on rhel-10.0-nightly
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-12 08:39:05 +03:00
Alexander Todorov
6aa02bdd4d Start running tests on centos-stream-10 2024-08-12 08:39:05 +03:00
Tomáš Hozza
ef4bfb0bd5 CI: build c10s RPMs
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-23 12:14:13 +02:00
Tomáš Hozza
ce1543b39e CI: build RHEL-10.0-nightly RPMs
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-23 12:14:13 +02:00
Tom Koscielniak
62ae5aa4ea Create new nightly pipeline for GA/EUS images 2024-07-16 17:00:52 +02:00
Sanne Raymaekers
b48b88005c .gitlab-ci.yml: remove rhel-8.4
8.4 EUS is now EOL, just test on 8.10 from now on.
2024-07-03 16:52:02 +02:00
Sanne Raymaekers
6483a75971 .gitlab-ci.yml: switch to rhel 8.10 and 9.4 GA 2024-07-03 16:52:02 +02:00
Sanne Raymaekers
6b09c59365 .gitlab-ci: run filesystem test on f40 2024-07-01 14:09:08 +02:00