From d8295ea2eabbcd2424d93878d83c62ceaa59d8c1 Mon Sep 17 00:00:00 2001 From: Tom Koscielniak Date: Mon, 11 Nov 2024 10:50:59 +0100 Subject: [PATCH] Test with rhel-9.6 nightly --- .gitlab-ci.yml | 44 +- Schutzfile | 76 +- schutzbot/terraform | 2 +- .../weldr-distro-dot-notation-and-aliases.sh | 4 +- .../rhel_9.6-aarch64-azure_rhui-boot.json | 15143 ++++++++++++ .../rhel_9.6-aarch64-minimal_raw-boot.json | 12569 ++++++++++ .../rhel_9.6-aarch64-openstack-boot.json | 11712 ++++++++++ .../rhel_9.6-aarch64-qcow2-boot.json | 11974 ++++++++++ ...rhel_9.6-aarch64-qcow2_customize-boot.json | 12690 ++++++++++ .../manifests/rhel_9.6-aarch64-tar-boot.json | 4848 ++++ .../rhel_9.6-ppc64le-qcow2-boot.json | 13621 +++++++++++ ...rhel_9.6-ppc64le-qcow2_customize-boot.json | 14320 ++++++++++++ .../manifests/rhel_9.6-ppc64le-tar-boot.json | 4887 ++++ .../manifests/rhel_9.6-s390x-qcow2-boot.json | 13138 +++++++++++ .../rhel_9.6-s390x-qcow2_customize-boot.json | 13875 +++++++++++ .../manifests/rhel_9.6-s390x-tar-boot.json | 4848 ++++ .../rhel_9.6-x86_64-azure_rhui-boot.json | 15818 +++++++++++++ .../rhel_9.6-x86_64-azure_sap_rhui-boot.json | 19403 ++++++++++++++++ .../rhel_9.6-x86_64-minimal_raw-boot.json | 12839 ++++++++++ .../manifests/rhel_9.6-x86_64-oci-boot.json | 12604 ++++++++++ .../rhel_9.6-x86_64-openstack-boot.json | 12615 ++++++++++ .../manifests/rhel_9.6-x86_64-qcow2-boot.json | 12625 ++++++++++ .../rhel_9.6-x86_64-qcow2_customize-boot.json | 13323 +++++++++++ .../manifests/rhel_9.6-x86_64-tar-boot.json | 4869 ++++ tools/test-case-generators/repos.json | 161 + 25 files changed, 237968 insertions(+), 40 deletions(-) create mode 100644 test/data/manifests/rhel_9.6-aarch64-azure_rhui-boot.json create mode 100644 test/data/manifests/rhel_9.6-aarch64-minimal_raw-boot.json create mode 100644 test/data/manifests/rhel_9.6-aarch64-openstack-boot.json create mode 100644 test/data/manifests/rhel_9.6-aarch64-qcow2-boot.json create mode 100644 test/data/manifests/rhel_9.6-aarch64-qcow2_customize-boot.json create mode 100644 test/data/manifests/rhel_9.6-aarch64-tar-boot.json create mode 100644 test/data/manifests/rhel_9.6-ppc64le-qcow2-boot.json create mode 100644 test/data/manifests/rhel_9.6-ppc64le-qcow2_customize-boot.json create mode 100644 test/data/manifests/rhel_9.6-ppc64le-tar-boot.json create mode 100644 test/data/manifests/rhel_9.6-s390x-qcow2-boot.json create mode 100644 test/data/manifests/rhel_9.6-s390x-qcow2_customize-boot.json create mode 100644 test/data/manifests/rhel_9.6-s390x-tar-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-azure_rhui-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-azure_sap_rhui-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-minimal_raw-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-oci-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-openstack-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-qcow2-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-qcow2_customize-boot.json create mode 100644 test/data/manifests/rhel_9.6-x86_64-tar-boot.json diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 332f5423e..5c4b04ccc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,12 +72,12 @@ init: .nightly_rules_all: rules: - - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.5-[^ga][\S]+/ && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' + - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.6-[^ga][\S]+/ && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-10.0-[^ga][\S]+/ && $NIGHTLY == "true" && $RHEL_MAJOR == "10"' .nightly_rules_x86_64: rules: - - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.5-[^ga][\S]+/ && $RUNNER =~ "/^.*(x86_64).*$/" && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' + - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.6-[^ga][\S]+/ && $RUNNER =~ "/^.*(x86_64).*$/" && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-10.0-[^ga][\S]+/ && $RUNNER =~ "/^.*(x86_64).*$/" && $NIGHTLY == "true" && $RHEL_MAJOR == "10"' .ga_rules_all: @@ -91,8 +91,8 @@ init: .RPM_RUNNERS_RHEL: &RPM_RUNNERS_RHEL RUNNER: - - aws/rhel-9.5-nightly-x86_64 - - aws/rhel-9.5-nightly-aarch64 + - aws/rhel-9.6-nightly-x86_64 + - aws/rhel-9.6-nightly-aarch64 - aws/rhel-10.0-nightly-x86_64 - aws/rhel-10.0-nightly-aarch64 @@ -178,7 +178,7 @@ Prepare-rhel-internal: - RUNNER: # NOTE: 1 runner prepares for all arches b/c subsequent jobs download # artifacts from all previous jobs and the last one wins - - aws/rhel-9.5-nightly-x86_64 + - aws/rhel-9.6-nightly-x86_64 - aws/rhel-10.0-nightly-x86_64 INTERNAL_NETWORK: ["true"] @@ -202,8 +202,8 @@ Base: - aws/rhel-9.4-ga-x86_64 - aws/rhel-9.4-ga-aarch64 - RUNNER: - - aws/rhel-9.5-nightly-x86_64 - - aws/rhel-9.5-nightly-aarch64 + - aws/rhel-9.6-nightly-x86_64 + - aws/rhel-9.6-nightly-aarch64 - aws/rhel-10.0-nightly-x86_64 - aws/rhel-10.0-nightly-aarch64 - aws/centos-stream-9-x86_64 @@ -232,8 +232,8 @@ Base: - aws/rhel-8.10-ga-aarch64 - aws/rhel-9.4-ga-x86_64 - aws/rhel-9.4-ga-aarch64 - - aws/rhel-9.5-nightly-x86_64 - - aws/rhel-9.5-nightly-aarch64 + - aws/rhel-9.6-nightly-x86_64 + - aws/rhel-9.6-nightly-aarch64 - aws/rhel-10.0-nightly-x86_64 - aws/rhel-10.0-nightly-aarch64 - aws/centos-stream-9-x86_64 @@ -326,8 +326,8 @@ Image Tests: - RUNNER: - aws/rhel-8.10-ga-x86_64 - aws/rhel-8.10-ga-aarch64 - - aws/rhel-9.5-nightly-x86_64 - - aws/rhel-9.5-nightly-aarch64 + - aws/rhel-9.6-nightly-x86_64 + - aws/rhel-9.6-nightly-aarch64 - aws/rhel-10.0-nightly-x86_64 - aws/rhel-10.0-nightly-aarch64 INTERNAL_NETWORK: ["true"] @@ -357,7 +357,7 @@ Trigger-rhel-edge-ci: RUNNER: - aws/rhel-8.10-ga-x86_64 - aws/rhel-9.4-ga-x86_64 - - aws/rhel-9.5-nightly-x86_64 + - aws/rhel-9.6-nightly-x86_64 - aws/rhel-10.0-nightly-x86_64 - aws/centos-stream-9-x86_64 - aws/centos-stream-10-x86_64 @@ -455,7 +455,7 @@ OpenShift_Virtualization: parallel: matrix: - RUNNER: - - aws/rhel-9.5-nightly-x86_64 + - aws/rhel-9.6-nightly-x86_64 - aws/rhel-10.0-nightly-x86_64 INTERNAL_NETWORK: ["true"] @@ -495,7 +495,7 @@ vmware.sh_vmdk: # Run only on x86_64 # Temporarily disabled for RHEL-10 and Centos-10 - if: '$CI_PIPELINE_SOURCE != "schedule" && $RUNNER =~ "/^.*(x86_64).*$/" && $RUNNER !~ /[\S]+rhel-[\S]+-(?:(?:ga)|(?:eus))[\S]+/ && $RUNNER !~ "/^.*(rhel-10.0-nightly|centos-stream-10).*$/"' - - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.5-[^ga][\S]+/ && $RUNNER =~ "/^.*(x86_64).*$/" && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' + - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.6-[^ga][\S]+/ && $RUNNER =~ "/^.*(x86_64).*$/" && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' # - !reference [.upstream_rules_x86_64, rules] # - !reference [.nightly_rules_x86_64, rules] - !reference [.ga_rules_x86_64, rules] @@ -509,7 +509,7 @@ vmware.sh_ova: # Temporarily disabled for RHEL-10 and Centos-10 - if: '$CI_PIPELINE_SOURCE != "schedule" && $RUNNER =~ "/^.*(x86_64).*$/" && $RUNNER !~ /[\S]+rhel-[\S]+-(?:(?:ga)|(?:eus))[\S]+/ && $RUNNER !~ "/^.*(rhel-10.0-nightly|centos-stream-10).*$/"' # - !reference [.upstream_rules_x86_64, rules] - - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.5-[^ga][\S]+/ && $RUNNER =~ "/^.*(x86_64).*$/" && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' + - if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-9.6-[^ga][\S]+/ && $RUNNER =~ "/^.*(x86_64).*$/" && $NIGHTLY == "true" && $RHEL_MAJOR == "9"' # - !reference [.nightly_rules_x86_64, rules] - !reference [.ga_rules_x86_64, rules] variables: @@ -559,7 +559,7 @@ API: RUNNER: - aws/rhel-8.10-ga-x86_64 - aws/rhel-9.4-ga-x86_64 - - aws/rhel-9.5-nightly-x86_64 + - aws/rhel-9.6-nightly-x86_64 INTERNAL_NETWORK: ["true"] # el10 for now supports only a subset of image types - IMAGE_TYPE: @@ -627,7 +627,7 @@ API-module-hotfixes: - RUNNER: - gcp/rhel-8.10-ga-x86_64 - gcp/rhel-9.4-ga-x86_64 - - gcp/rhel-9.5-nightly-x86_64 + - gcp/rhel-9.6-nightly-x86_64 # TODO: replace the rhos-01 runner with this gcp runner once it's available # - gcp/rhel-10.0-nightly-x86_64 - rhos-01/rhel-10.0-nightly-x86_64 @@ -670,14 +670,14 @@ weldr-distro-dot-notation+aliases: matrix: - RUNNER: - aws/rhel-8.8-ga-x86_64 - - aws/rhel-9.5-nightly-x86_64 + - aws/rhel-9.6-nightly-x86_64 INTERNAL_NETWORK: ["true"] .generic_s3: extends: .libvirt_integration rules: # BLACKLIST - - if: $RUNNER !~ "/^.*(rhel-9.5).*$/" && $CI_PIPELINE_SOURCE != "schedule" && $NIGHTLY != "true" && $RUNNER !~ /[\S]+rhel-[\S]+-(?:(?:ga)|(?:eus))[\S]+/ + - if: $RUNNER !~ "/^.*(rhel-9.6).*$/" && $CI_PIPELINE_SOURCE != "schedule" && $NIGHTLY != "true" && $RUNNER !~ /[\S]+rhel-[\S]+-(?:(?:ga)|(?:eus))[\S]+/ - !reference [.nightly_rules_all, rules] - !reference [.ga_rules_all, rules] @@ -752,7 +752,7 @@ Upgrade: parallel: matrix: - RUNNER: - - rhos-01/rhel-9.5-nightly-x86_64-large + - rhos-01/rhel-9.6-nightly-x86_64-large - rhos-01/rhel-10.0-nightly-x86_64-large NIGHTLY_FAIL: @@ -806,7 +806,7 @@ Installer: parallel: matrix: - RUNNER: - - rhos-01/rhel-9.5-nightly-x86_64 + - rhos-01/rhel-9.6-nightly-x86_64 - rhos-01/centos-stream-9-x86_64 - rhos-01/rhel-10.0-nightly-x86_64 - rhos-01/centos-stream-10-x86_64 @@ -841,7 +841,7 @@ ContainerEmbedding: RUNNER: - aws/centos-stream-9-x86_64 - aws/centos-stream-10-x86_64 - - aws/rhel-9.5-nightly-x86_64 + - aws/rhel-9.6-nightly-x86_64 - aws/rhel-10.0-nightly-x86_64 WorkerExecutor: diff --git a/Schutzfile b/Schutzfile index 3201f0771..96c164408 100644 --- a/Schutzfile +++ b/Schutzfile @@ -2,7 +2,7 @@ "fedora-39": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } }, "repos": [ @@ -45,7 +45,7 @@ "fedora-40": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } }, "repos": [ @@ -88,56 +88,56 @@ "rhel-8.4": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "rhel-8.8": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "rhel-8.9": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "rhel-8.10": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "rhel-9.2": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "rhel-9.3": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "rhel-9.4": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "rhel-9.5": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } }, "repos": [ @@ -180,10 +180,56 @@ } ] }, + "rhel-9.6": { + "dependencies": { + "osbuild": { + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" + } + }, + "repos": [ + { + "file": "/etc/yum.repos.d/rhel9internal.repo", + "x86_64": [ + { + "title": "RHEL-9-RPMREPO-NIGHTLY-BaseOS", + "name": "baseos", + "baseurl": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-x86_64-baseos-n9.6-20241115" + }, + { + "title": "RHEL-9-RPMREPO-NIGHTLY-AppStream", + "name": "appstream", + "baseurl": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-x86_64-appstream-n9.6-20241115" + }, + { + "title": "RHEL-9-RPMREPO-NIGHTLY-CRB", + "name": "crb", + "baseurl": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-x86_64-crb-n9.6-20241115" + } + ], + "aarch64": [ + { + "title": "RHEL-9-RPMREPO-NIGHTLY-BaseOS", + "name": "baseos", + "baseurl": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-aarch64-baseos-n9.6-20241115" + }, + { + "title": "RHEL-9-RPMREPO-NIGHTLY-AppStream", + "name": "appstream", + "baseurl": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-aarch64-appstream-n9.6-20241115" + }, + { + "title": "RHEL-9-RPMREPO-NIGHTLY-CRB", + "name": "crb", + "baseurl": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-aarch64-crb-n9.6-20241115" + } + ] + } + ] + }, "rhel-10.0": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } }, "repos": [ @@ -229,14 +275,14 @@ "centos-9": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "centos-stream-9": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } }, "repos": [ @@ -282,14 +328,14 @@ "centos-10": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } } }, "centos-stream-10": { "dependencies": { "osbuild": { - "commit": "3df75de65a5414866fa43133309c1fc67490a373" + "commit": "ff0cd854c88de900e4fe62c8a0f24cbe2f2317ed" } }, "repos": [ diff --git a/schutzbot/terraform b/schutzbot/terraform index c2b82038b..2ae0b1ea7 100644 --- a/schutzbot/terraform +++ b/schutzbot/terraform @@ -1 +1 @@ -b39783c2e634fa0aa0c77d31f9374bc71554db4e +9c4a3c9573208bf66d8c91a95ee759a39ed0a556 diff --git a/test/cases/weldr-distro-dot-notation-and-aliases.sh b/test/cases/weldr-distro-dot-notation-and-aliases.sh index fe9dae811..e6c948585 100644 --- a/test/cases/weldr-distro-dot-notation-and-aliases.sh +++ b/test/cases/weldr-distro-dot-notation-and-aliases.sh @@ -5,7 +5,7 @@ # This test case verifies that distributions can be specified with and without # the dot to sepratae the major and minor version (true for RHEL-8 and RHEL-9). # It also verifies the behavior of distro name aliases -# (e.g. "rhel-9" -> "rhel-9.5"). This is done by building a SAP image and +# (e.g. "rhel-9" -> "rhel-9.6"). This is done by building a SAP image and # inspecting it using guestfish. Specifically, the SAP image contains DNF VAR # config /etc/dnf/vars/releasever, which contains value "X.Y", which should be # the same as the distro release that the alias points to. @@ -46,7 +46,7 @@ cat <