diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9c919ca --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +.DS_Store +.RPM_CACHE_DIR +CHECKSUM* +RPM-GPG-KEY* +*.cache +*.diff +*.iso +*.log +*.out +*.rpm +*.save +.vagrant +vagrant-settings.yaml +patch.yml +*/*/pdot +*/*/pdot-dev +*/*/isos \ No newline at end of file diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 0000000..86bfa67 --- /dev/null +++ b/.shellcheckrc @@ -0,0 +1,8 @@ +# Disable specific warnings +disable=SC1091,SC1901,SC2034,SC2154,SC2329 + +# Specify shell dialect +shell=bash + +# Allow external sources +external-sources=true diff --git a/qa-testcase-boxes/README.md b/qa-testcase-boxes/README.md new file mode 100644 index 0000000..cb37d27 --- /dev/null +++ b/qa-testcase-boxes/README.md @@ -0,0 +1,28 @@ +# Vagrant Boxes for Rocky Linux QA Testing + +This repository holds Vagrant box definitions for various partially automated QA testing sequences. + +The Vagrant boxes will perform one sample analysis when they are instantiated. They can be reprovisioned with various other options to run other analyses, details are provided as examples within each box directory. Additionally, the script run the Vagrant boxes can be uses standalone in a system with similar specification and requirements without the need for Vagrant. + +## testcase-mediacheck + +This box will... + +- Download Rocky Linux ISOs, CHECKSUM files and official GPG Public Key +- Verify all ISO checksums +- Verify internal ISO md5 checksums +- Where applicable (minimal and dvd1 ISO)... + - Mount ISOs locally as loopback filesystems to /media + - Run `dnf repoclosure` on the included repositories + - Analyze packages in included repositories for conflicts + - Unmount ISOs from /media +- Generate output logs + + +## testcase-debranding-validation + +This box will... + +- Validate package debranding as described in QA:Testcase Debranding Validation +- Optionally use cached rpms, previously downloaded Rocky Linux ISOs or published Rocky Linux repositories for debranding analysis. +- Produce output than can be parsed into summary reports diff --git a/qa-testcase-boxes/testcase-debranding-validation/README.md b/qa-testcase-boxes/testcase-debranding-validation/README.md new file mode 100644 index 0000000..023320f --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/README.md @@ -0,0 +1,139 @@ +# testcase-debrand-validation + +This box will... + +- Validate package debranding as described in QA:Testcase Debranding Validation +- Optionally use cached rpms, previously downloaded Rocky Linux ISOs or published Rocky Linux repositories for debranding analysis. +- Produce output than can be parsed into summary reports + +## Requirements + +The machine used for testing must... + +- have the following RPM packages installed (in EL8), `coreutils`, `curl`, `dnf`, `isomd5sum`, `jq`, `koji`, `python3`, `rpm`, `util-linux` and `yq`. +- have available disk space in the test directory to hold the ISO(s) to be tested. +- have a connection to the Internet and/or access to pre-downloaded ISOs + + +## Quick Start + +The basic Vagrant sequence is simply (redacted content)... + +``` +[rocky@localhost ~]$ vagrant status +Current machine states: + +default not created (virtualbox) + +The environment has not yet been created. Run `vagrant up` to +create the environment. If a machine is not created, only the +default provider will be shown. So if a provider is not listed, +then the machine is not created for that environment. +``` + +``` +[rocky@localhost ~]$ vagrant up +Bringing machine 'default' up with 'virtualbox' provider... +==> default: Importing base box 'rockylinux/8'... +==> default: Matching MAC address for NAT networking... +==> default: Setting the name of the VM: testcase-debranding-validation_default_1653577650369_30157 +==> default: Clearing any previously set network interfaces... +==> default: Preparing network interfaces based on configuration... + default: Adapter 1: nat +==> default: Forwarding ports... + default: 22 (guest) => 2222 (host) (adapter 1) +==> default: Running 'pre-boot' VM customizations... +==> default: Booting VM... +==> default: Waiting for machine to boot. This may take a few minutes... + default: SSH address: 127.0.0.1:2222 + default: SSH username: vagrant + default: SSH auth method: private key + default: + default: Vagrant insecure key detected. Vagrant will automatically replace + default: this with a newly generated keypair for better security. + default: + default: Inserting generated public key within guest... + default: Removing insecure key from the guest if it's present... + default: Key inserted! Disconnecting and reconnecting using new SSH key... +==> default: Machine booted and ready! +==> default: Checking for guest additions in VM... +==> default: Mounting shared folders... + default: /vagrant => /home/rocky/testing/qa-testcase-boxes/testcase-debranding-validation +==> default: Running provisioner: Start Timestamp (shell)... + default: Running: script: Start Timestamp + default: Starting QA:Testcase-Debranding on Thu May 26 15:07:49 UTC 2022 +==> default: Running provisioner: Install requirements (shell)... + + ...... + +==> default: Running provisioner: file... + default: etc/koji.conf => /tmp/koji.conf +==> default: Running provisioner: Deploy koji.conf (shell)... + default: Running: script: Deploy koji.conf +==> default: Running provisioner: Prepare testing directories (shell)... + default: Running: script: Prepare testing directories +==> default: Running provisioner: Rocky 8.6 Debrand Validation (shell)... + default: Running: script: Rocky 8.6 Debrand Validation + default: mkdir: created directory '/home/rocky/testing/output/2022-05-26' + default: + default: ================================================================================ + default: Package Debrand Validation for x86_64 packages in Rocky-8.6-x86_64-dvd1.iso + default: + default: ================================================================================ + default: General Processing Parameters + default: + default: type: dvd1 + default: version: 8.6 + default: arch: x86_64 + default: + default: ================================================================================ + default: PackageKit + default: + default: + default: binary_pkg: PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: WALinuxAgent + default: + default: + default: binary_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + + ...... + + default: ================================================================================ + default: systemd + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: thunderbird + default: + default: + default: binary_pkg: thunderbird-91.9.0-3.el8_5.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. +==> default: Running provisioner: End Timestamp (shell)... + default: Running: script: End Timestamp + default: Finished QA:Testcase-Debranding on Thu May 26 15:08:37 UTC 2022 +``` + + +``` +[rocky@localhost ~]$ vagrant halt +==> default: Attempting graceful shutdown of VM... +``` + + +## Examples + +Vagrant and non-Vagrant examples of usage are show in the following locations in this repository... + +- [Default Vagrant](examples/default_vagrant.md) +- [Standalone System](examples/standalone_system.md) +- [Standalone Koji](examples/standalone_koji.md) +- [Standalone Cache](examples/standalone_cache.md) diff --git a/qa-testcase-boxes/testcase-debranding-validation/Vagrantfile b/qa-testcase-boxes/testcase-debranding-validation/Vagrantfile new file mode 100644 index 0000000..f3babe2 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/Vagrantfile @@ -0,0 +1,67 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +require 'yaml' + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +# configs, custom updates defaults +defaults_cfg = YAML.load_file('vagrant-settings.yaml_defaults') +if File.exist?('vagrant-settings.yaml') + custom_cfg = YAML.load_file('vagrant-settings.yaml') + cfg = defaults_cfg.merge(custom_cfg) +else + cfg = defaults_cfg +end + +Vagrant.configure("2") do |config| + config.vm.box = cfg["box_image"] + + config.vm.provider "virtualbox" do |vb| + vb.memory = cfg["box_ram"] + vb.cpus = cfg["box_cpus"] + end + + # set auto_update to false, if you do NOT want to check the correct + # additions version when booting this machine, set auto_update to true + # if/when updating and a new kernel arrives. + config.vbguest.auto_update = false + + config.vm.provision "shell", name: "Start Timestamp", inline: <<-SHELL + echo "Starting QA:Testcase-Debranding on $(date)" + SHELL + + config.vm.provision "shell", name: "Install requirements", inline: <<-SHELL + . /etc/os-release + [[ "${VERSION_ID}" =~ ^8 ]] && dnf -y --enablerepo=extras,powertools update + [[ "${VERSION_ID}" =~ ^9 ]] && dnf -y --enablerepo=extras,crb update + dnf -y install epel-release + dnf -y install jq koji python3 + dnf config-manager --set-enabled rt + dnf config-manager --set-enabled ha + curl -LR https://github.com/mikefarah/yq/releases/download/v4.25.1/yq_linux_amd64 -o yq + chmod +x yq && mv yq /usr/local/bin + SHELL + + config.vm.provision "file", source: "etc/koji.conf", destination: "/tmp/koji.conf" + + config.vm.provision "shell", name: "Deploy koji.conf", inline: <<-SHELL + cat /tmp/koji.conf > /etc/koji.conf + SHELL + + config.vm.provision "shell", name: "Prepare testing directories", inline: <<-SHELL + mkdir -pv /vagrant/{isos,output} + SHELL + + config.vm.provision "shell" do |script| + script.name = "Rocky #{cfg['version']} #{cfg['arch']} Debrand Validation" + script.privileged = false + script.inline = "/vagrant/scripts/test_wrapper.sh" + end + + config.vm.provision "shell", name: "End Timestamp", inline: <<-SHELL + echo "Finished QA:Testcase-Debranding on $(date)" + SHELL + +end diff --git a/qa-testcase-boxes/testcase-debranding-validation/docs/debranding_validation_process.md b/qa-testcase-boxes/testcase-debranding-validation/docs/debranding_validation_process.md new file mode 100644 index 0000000..55eb69d --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/docs/debranding_validation_process.md @@ -0,0 +1,200 @@ +# QA:Debranding Validation Process + +## Scope + +The purpose of debranding validation is to verify that debranding has been applied to specific packages identified by Release Engineering as requiring debranding prior to release to the community. + +Debranding validation shall be able to be performed against packages available in any official repository or distributed on any released media for any supported arch. + +Current methods for direct validation are... + +1. `PackageRequires` - examine package metadata to verify requires match expectations +2. `BinaryStrings` - examine binary file for specific strings +4. `FileContents` - examine text file for specific contents +4. `FileChecksum` - examine binary or text file for specific checksum +5. `FileExists` - detect presence of specific file in package contents + +If the criteria for the debranding validation are satisfied the package will be certified as debranded. + +## Workflow + +``` + Is pkg on debrand list? -----> NOOP + | no + yes | + V + Get specific nvra or src pkg for pkg + | + V + nvra or src pkg contents debranded? -----> FAIL + | no + yes | + V + SUCCESS +``` + + +## Debrand YAML (portion only) + +```yaml +--- + "r8": + "dotnet": + modular: false + check: FileContents + nvr_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky + file: /usr/lib64/dotnet/shared/Microsoft.NETCore.App/2.1.30/Microsoft.NETCore.App.deps.json + content: runtime.rocky + value: true + pkg_arch: + source: + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji +``` + + +## Sample Output + +The following is completed with packages on the debrand list built for Rocky Linux 8.6 and pulled directly from Rocky koji. Aside from anaconda-core package the remaining packages had already been pulled and were locally cached. + +``` +[rocky@localhost testing]$ ./scripts/debrand_validation.sh -x -t koji anaconda cloud-init dnf fwupd + +================================================================================ +Package Debrand Validation for x86_64 builds in koji + +anaconda cloud-init dnf fwupd + + +================================================================================ +General Processing Parameters + + type: koji + version: 8.6 + arch: x86_64 + baseurl: http://dl.rockylinux.org/pub/rocky + iso_baseurl: http://dl.rockylinux.org/pub/rocky/8.6/isos + iso_prefix: Rocky + repo_names: baseos,appstream,powertools,extras + koji_tag: dist-rocky8-compose + rocky_rel: 8 + log_dir: /home/rocky/testing/output/2022-05-26 + log_file_suffix: debrand_validation.out + extended: 1 + script_dir: /home/rocky/testing/scripts + rpm_cache_dir: /home/rocky/testing/rpms + +================================================================================ +anaconda + +r8.yaml contents for anaconda + + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + koji_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +Downloading: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm +[====================================] 100% 2.43 MiB / 2.43 MiB + + cache_path: /home/rocky/testing/rpms/anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +23009 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +cloud-init + +r8.yaml contents for cloud-init + + modular: false + check: FileContents + nvr_pkg: cloud-init-21.1-15.el8 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + koji_pkg: .rpm + +2022-05-26 15:29:03,944 [ERROR] koji: GenericError: invalid format: + + cache_path: /home/rocky/testing/rpms/cloud-init-21.1-15.el8.noarch.rpm + +7278 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dnf + +r8.yaml contents for dnf + + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-8.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: BUGTRACKER='https://bugs.rockylinux.org/' + value: true + pkg_arch: noarch + source: na + + binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + koji_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + +Downloading: python3-dnf-4.7.0-8.el8.noarch.rpm +File python3-dnf-4.7.0-8.el8.noarch.rpm already downloaded, skipping + + cache_path: /home/rocky/testing/rpms/python3-dnf-4.7.0-8.el8.noarch.rpm + +3816 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +fwupd + +r8.yaml contents for fwupd + + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.4-2.el8 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + koji_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + +2022-05-26 15:29:06,951 [ERROR] koji: PermissionError: [Errno 13] Permission denied: 'fwupd-1.7.4-2.el8.x86_64.rpm' +Downloading: fwupd-1.7.4-2.el8.x86_64.rpm + + cache_path: /home/rocky/testing/rpms/fwupd-1.7.4-2.el8.x86_64.rpm + +17009 blocks + + +SUCCESS: BinaryStrings found pattern. +``` diff --git a/qa-testcase-boxes/testcase-debranding-validation/docs/updating_debranding_configuration.md b/qa-testcase-boxes/testcase-debranding-validation/docs/updating_debranding_configuration.md new file mode 100644 index 0000000..123fc53 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/docs/updating_debranding_configuration.md @@ -0,0 +1,269 @@ +# Updating debranding configuration + +The first builds of packages for Rocky Linux 9 were occuring while these scripts and configuraiton were being developed. As a result some of the debranding configuration either does not exist or needs to be updated before final debranding validation can occur. + +This example will show the basic workflow for updating debranding configuration. + + +## Package debrand configuration + +Use `yq` to extract a specific debranding configuration block from the debranding configuration YAML file for the specific release. For this example we'll update the debranding configuration for the `anaconda` package for Rocky Linux 9. + +``` +[vagrant@localhost vagrant]$ yq '.all.anaconda' < r9.yaml +null +--- +modular: false +check: FileContents +nvr_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1 +file: /etc/anaconda/product.d/rocky.conf +content: rocky_help_placeholder.xml +value: true +pkg_arch: +source: +``` + +The above configuration says that debranding for the `anaconda` package will be performed by looking for specific content (`content: rocky_help_placeholder.xml`) inside a specific file (`file: /etc/anaconda/product.d/rocky.conf`) that is installed by the `anaconda-core` binary package using logic coded in the script `./scripts/debrand_validation.sh` (`check: FileContents`)/ + +You should also notice that specific NVR for the `ananconda-core` package is configured. This is currently required and means that the debranding configuration YAML must be updated each time the version or release of the package is updated. + + +## Download package from Peridot + +It's likely that debranding validation for Rocky Linux 9 will be most efficient from local cache or a configured yumrepofs repository clone from Peridot prior to the release of the final DVD ISO. + +In this example we will the cache method after downloading packages from Peridot. + +``` +[vagrant@localhost vagrant]$ ./scripts/debrand_validation.sh -t cache -r 9 -v 9.0 anaconda + +================================================================================ +Package Debrand Validation for x86_64 packages in local package cache + +================================================================================ +General Processing Parameters + + type: cache + version: 9.0 + arch: x86_64 + +================================================================================ +anaconda + + binary_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm +WARN: /tmp/tmp.ItnosEWoLS//etc/anaconda/product.d/rocky.conf does not exist, should you be using koji or cache? + +[vagrant@localhost vagrant]$ find rpms/ -name anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm +[vagrant@localhost vagrant]$ +``` + +This output indicates that the specified `anaconda-core` package is not found in the local package cache. + + +### Check Peridot yumrepofs for the binary package + +A utility script and configuration is provided in this repository to allow simple query of Peridot for packages it has already built and uploaded to the yumrepofs. + +**_NOTE: In the following examples any repository metadata errors have been removed from the output._** + +``` +[vagrant@localhost vagrant]$ ./scripts/peridot_repo_query.sh anaconda-core +# dnf --forcearch=x86_64 --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 --repo=pdot-x86_64 search anaconda-core +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 +Last metadata expiration check: 1:23:05 ago on Mon 30 May 2022 06:09:08 PM UTC. + +anaconda-core.x86_64 : Core of the Anaconda installer +# set +x +``` + + +### Check Peridot yumrepofs for package information + +``` +[vagrant@localhost vagrant]$ DNF_COMMAND=info ./scripts/peridot_repo_query.sh anaconda-core +# dnf --forcearch=x86_64 --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 --repo=pdot-x86_64 info anaconda-core +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 +Last metadata expiration check: 1:23:54 ago on Mon 30 May 2022 06:09:08 PM UTC. + +Available Packages +Name : anaconda-core +Version : 34.25.0.29 +Release : 1.el9_0.rocky.0.1 +Architecture : x86_64 +Size : 2.2 M +Source : anaconda-34.25.0.29-1.el9_0.rocky.0.1.src.rpm +Repository : pdot-x86_64 +Summary : Core of the Anaconda installer +URL : http://fedoraproject.org/wiki/Anaconda +License : GPLv2+ and MIT +Description : The anaconda-core package contains the program which was used to install your + : system. + +# set +x +``` + +### Download package and deposit in cache + +``` +[vagrant@localhost vagrant]$ DNF_COMMAND=download ./scripts/peridot_repo_query.sh anaconda-core +# dnf --forcearch=x86_64 --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 --repo=pdot-x86_64 download anaconda-core +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 +Last metadata expiration check: 1:27:53 ago on Mon 30 May 2022 06:09:08 PM UTC. + +anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm 1.2 MB/s | 2.2 MB 00:01 +# set +x + +[vagrant@localhost vagrant]$ mv anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm rpms/ +``` + + +## Run debrand validation + +``` +[vagrant@localhost vagrant]$ ./scripts/debrand_validation.sh -t cache -r 9 -v 9.0 anaconda + +================================================================================ +Package Debrand Validation for x86_64 packages in local package cache + +================================================================================ +General Processing Parameters + + type: cache + version: 9.0 + arch: x86_64 + +================================================================================ +anaconda + + binary_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm +FAIL: /etc/anaconda/product.d/rocky.conf does not contain pattern. +``` + +## Debrand validation configuration updated + +This debranding **FAIL** is typical and needs to be investigated. The Rocky Linux debranding sources for the `anaconda` package must be manually checked. It's possible that the file that is being checked no longer contains the pattern that is being searched for and this may be expected as debranding patches can be updated over time. + +Debranding patches for Rocky Linux packages are generally found at... + +- `https://git.rockylinux.org/staging/patch/[source_package_name]/-/tree/[release_branch]` + +The specific debranding patches for the `anaconda` package for Rocky Linux 9 are [here](https://git.rockylinux.org/staging/patch/anaconda/-/tree/r9). + + +### Update debranding configuration + +Examination of the debranding patches for the `anaconda` source will allow us to identify a candidate that is both easy to find and not likely to change with updates to the package. When such a patch / modification has been found the debranding configuration can be changed and the validation re-run. + + +#### Modify debranding configuration + +``` +[vagrant@localhost vagrant]$ git diff r9.yaml +diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.yaml +index f0cd470..b735f82 100644 +--- a/qa-testcase-boxes/testcase-debranding-validation/r9.yaml ++++ b/qa-testcase-boxes/testcase-debranding-validation/r9.yaml +@@ -24,8 +24,8 @@ + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1 +- file: /etc/anaconda/product.d/rocky.conf +- content: rocky_help_placeholder.xml ++ file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py ++ content: Rocky Linux + value: true + pkg_arch: + source: +``` + +#### Verify debranding configuration + +``` +[vagrant@localhost vagrant]$ yq '.all.anaconda' < r9.yaml +null +--- +modular: false +check: FileContents +nvr_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1 +file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py +content: Rocky Linux +value: true +pkg_arch: +source: +``` + + +#### Rerun debranding validation + +``` +[vagrant@localhost vagrant]$ ./scripts/debrand_validation.sh -t cache -r 9 -v 9.0 anaconda + +================================================================================ +Package Debrand Validation for x86_64 packages in local package cache + +================================================================================ +General Processing Parameters + + type: cache + version: 9.0 + arch: x86_64 + +================================================================================ +anaconda + + binary_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm + +SUCCESS: FileContents found pattern. +``` + +#### Rerun debranding validation (extended output) + +``` +[vagrant@localhost vagrant]$ ./scripts/debrand_validation.sh -x -t cache -r 9 -v 9.0 anaconda + +================================================================================ +Package Debrand Validation for x86_64 packages in local package cache + +anaconda + + +================================================================================ +General Processing Parameters + + type: cache + version: 9.0 + arch: x86_64 + baseurl: http://dl.rockylinux.org/pub/rocky + iso_baseurl: http://dl.rockylinux.org/pub/rocky/8.6/isos + iso_prefix: Rocky + repo_names: baseos,appstream,powertools,extras + koji_tag: dist-rocky8-compose + rocky_rel: 9 + log_dir: /vagrant/output/2022-05-30 + log_file_suffix: debrand_validation.out + extended: 1 + script_dir: /vagrant/scripts + rpm_cache_dir: /vagrant/rpms + +================================================================================ +anaconda + +r9.yaml contents for anaconda + + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm + cache_path: /vagrant/rpms/anaconda-core-34.25.0.29-1.el9_0.rocky.0.1.x86_64.rpm + +23950 blocks + + +SUCCESS: FileContents found pattern. +``` diff --git a/qa-testcase-boxes/testcase-debranding-validation/docs/using_peridot_yumrepofs.md b/qa-testcase-boxes/testcase-debranding-validation/docs/using_peridot_yumrepofs.md new file mode 100644 index 0000000..494ca68 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/docs/using_peridot_yumrepofs.md @@ -0,0 +1,119 @@ +# Using Peridot yumrepofs + +Prior to release of Rocky Linux 9 packages built by Peridot are available in a flat repository using the `dnf` tool. + +The `peridot_repo_query.sh` script can be used to query this repository for contents and to dowload packages for various testing activities. + + +## Basic Examples + +### Single package query - rocky-release + +``` +[vagrant@localhost vagrant]$ ./scripts/peridot_repo_query.sh rocky-release +# dnf --forcearch=x86_64 --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 --repo=pdot-x86_64 search rocky-release +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 +Last metadata expiration check: 8:26:45 ago on Mon 30 May 2022 06:09:08 PM UTC. + +============================================== Name Exactly Matched: rocky-release ============================================== +rocky-release.noarch : Rocky Linux release files +# set +x +``` + +### Single package info query - rocky-release + +``` +[vagrant@localhost vagrant]$ ./scripts/peridot_repo_query.sh -c info rocky-release +# dnf --forcearch=x86_64 --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 --repo=pdot-x86_64 info rocky-release +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 +Last metadata expiration check: 8:27:21 ago on Mon 30 May 2022 06:09:08 PM UTC. +Modular dependency problems: + + Problem 1: conflicting requests + - nothing provides module(platform:el8) needed by module perl:5.26:8050020211109115414:b4937e53.x86_64 + Problem 2: conflicting requests + - nothing provides module(platform:el8) needed by module perl-IO-Socket-SSL:2.066:8060020220513050719:bc93984d.x86_64 + Problem 3: conflicting requests + - nothing provides module(platform:el8) needed by module perl-libwww-perl:6.34:8060020220513153220:9168a43d.x86_64 + Problem 4: conflicting requests + - nothing provides module(platform:el8) needed by module python36:3.6:8050020211109130820:982725ab.x86_64 +Installed Packages +Name : rocky-release +Version : 8.6 +Release : 3.el8 +Architecture : noarch +Size : 18 k +Source : rocky-release-8.6-3.el8.src.rpm +Repository : @System +From repo : baseos +Summary : Rocky Linux release files +URL : https://rockylinux.org +License : BSD-3-Clause +Description : Rocky Linux release files. + +Available Packages +Name : rocky-release +Version : 9.0 +Release : 1.17.el9 +Architecture : noarch +Size : 21 k +Source : rocky-release-9.0-1.17.el9.src.rpm +Repository : pdot-x86_64 +Summary : Rocky Linux release files +URL : https://rockylinux.org +License : BSD-3-Clause +Description : Rocky Linux release files. + +# set +x +``` + + +### Single package download - rocky-release + +``` +[vagrant@localhost vagrant]$ ./scripts/peridot_repo_query.sh -c download rocky-release +# dnf --forcearch=x86_64 --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 --repo=pdot-x86_64 download rocky-release +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 +Last metadata expiration check: 8:27:53 ago on Mon 30 May 2022 06:09:08 PM UTC. + +rocky-release-9.0-1.17.el9.noarch.rpm 17 kB/s | 21 kB 00:01 +# set +x +``` + +### Single source package download - rocky-release + +``` +[vagrant@localhost vagrant]$ ./scripts/peridot_repo_query.sh -c download -s rocky-release +# dnf --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/src --repo=pdot-x86_64 download --source rocky-release +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/src +Last metadata expiration check: 5:07:23 ago on Mon 30 May 2022 09:30:32 PM UTC. +rocky-release-9.0-1.17.el9.src.rpm 44 kB/s | 33 kB 00:00 +# set +x +``` + + +## Advanced Examples + +The `peridot_repo_query.sh` script is designed to satisfy very simple testing requirements such as checking Peridot for specific package, checking package version and downloading packages from Peridot yumrepofs. More complex dnf commands are possible but not likely using `peridot_repo_query.sh`. One feature of `peridot_repo_query.sh` is that it prints the command used to query the Peridot yumrepofs repository. That command can be manually modified for more advanced examples. + +### Package dependency list - sos + +``` +[vagrant@localhost vagrant]$ dnf --forcearch=x86_64 --repofrompath=pdot-x86_64,https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 --repo=pdot-x86_64 repoquery --deplist sos +Added pdot-x86_64 repo from https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/x86_64 +Last metadata expiration check: 0:27:43 ago on Mon 30 May 2022 12:28:15 AM UTC. + +package: sos-4.2-15.el9.noarch + dependency: /usr/bin/python3 + provider: python3-3.9.10-2.el9.x86_64 + dependency: bzip2 + provider: bzip2-1.0.8-8.el9.x86_64 + dependency: libxml2-python3 + provider: python3-libxml2-2.9.13-1.el9.x86_64 + dependency: python(abi) = 3.9 + provider: python3-3.9.10-2.el9.x86_64 + dependency: tar + provider: tar-2:1.34-3.el9.x86_64 + dependency: xz + provider: xz-5.2.5-7.el9.x86_64 +``` diff --git a/qa-testcase-boxes/testcase-debranding-validation/etc/koji.conf b/qa-testcase-boxes/testcase-debranding-validation/etc/koji.conf new file mode 100644 index 0000000..c37458f --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/etc/koji.conf @@ -0,0 +1,4 @@ +[koji] +server = https://koji.rockylinux.org/kojihub +weburl = https://koji.rockylinux.org/koji +topurl = https://koji.rockylinux.org/kojifiles diff --git a/qa-testcase-boxes/testcase-debranding-validation/examples/default_vagrant.md b/qa-testcase-boxes/testcase-debranding-validation/examples/default_vagrant.md new file mode 100644 index 0000000..e0c8626 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/examples/default_vagrant.md @@ -0,0 +1,552 @@ +# Default Vagrant Example + +``` +[rocky@localhost ~]$ vagrant up +Bringing machine 'default' up with 'virtualbox' provider... +==> default: Importing base box 'rockylinux/8'... +==> default: Matching MAC address for NAT networking... +==> default: Setting the name of the VM: testcase-debranding-validation_default_1653577650369_30157 +==> default: Clearing any previously set network interfaces... +==> default: Preparing network interfaces based on configuration... + default: Adapter 1: nat +==> default: Forwarding ports... + default: 22 (guest) => 2222 (host) (adapter 1) +==> default: Running 'pre-boot' VM customizations... +==> default: Booting VM... +==> default: Waiting for machine to boot. This may take a few minutes... + default: SSH address: 127.0.0.1:2222 + default: SSH username: vagrant + default: SSH auth method: private key + default: + default: Vagrant insecure key detected. Vagrant will automatically replace + default: this with a newly generated keypair for better security. + default: + default: Inserting generated public key within guest... + default: Removing insecure key from the guest if it's present... + default: Key inserted! Disconnecting and reconnecting using new SSH key... +==> default: Machine booted and ready! +==> default: Checking for guest additions in VM... +==> default: Mounting shared folders... + default: /vagrant => /home/rocky/testing/qa-testcase-boxes/testcase-debranding-validation +==> default: Running provisioner: Start Timestamp (shell)... + default: Running: script: Start Timestamp + default: Starting QA:Testcase-Debranding on Thu May 26 15:07:49 UTC 2022 +==> default: Running provisioner: Install requirements (shell)... + default: Running: script: Install requirements + default: Rocky Linux 8 - AppStream 9.1 MB/s | 8.3 MB 00:00 + default: Rocky Linux 8 - BaseOS 3.3 MB/s | 2.6 MB 00:00 + default: Rocky Linux 8 - Extras 12 kB/s | 11 kB 00:00 + default: Rocky Linux 8 - PowerTools 2.9 MB/s | 2.3 MB 00:00 + default: Extra Packages for Enterprise Linux 8 - x86_64 7.2 MB/s | 11 MB 00:01 + default: Extra Packages for Enterprise Linux Modular 8 - 764 kB/s | 1.0 MB 00:01 + default: Dependencies resolved. + default: ================================================================================ + default: Package Architecture Version Repository Size + default: ================================================================================ + default: Upgrading: + default: rocky-gpg-keys noarch 8.6-3.el8 baseos 12 k + default: rocky-release noarch 8.6-3.el8 baseos 21 k + default: rocky-repos noarch 8.6-3.el8 baseos 14 k + default: + default: Transaction Summary + default: ================================================================================ + default: Upgrade 3 Packages + default: + default: Total download size: 47 k + default: Downloading Packages: + default: (1/3): rocky-gpg-keys-8.6-3.el8.noarch.rpm 157 kB/s | 12 kB 00:00 + default: (2/3): rocky-repos-8.6-3.el8.noarch.rpm 151 kB/s | 14 kB 00:00 + default: (3/3): rocky-release-8.6-3.el8.noarch.rpm 199 kB/s | 21 kB 00:00 + default: -------------------------------------------------------------------------------- + default: Total 166 kB/s | 47 kB 00:00 + default: Running transaction check + default: Transaction check succeeded. + default: Running transaction test + default: Transaction test succeeded. + default: Running transaction + default: Preparing : 1/1 + default: Running scriptlet: rocky-gpg-keys-8.6-3.el8.noarch 1/1 + default: Upgrading : rocky-gpg-keys-8.6-3.el8.noarch 1/6 + default: Upgrading : rocky-release-8.6-3.el8.noarch 2/6 + default: Upgrading : rocky-repos-8.6-3.el8.noarch 3/6 + default: Cleanup : rocky-release-8.6-2.el8.noarch 4/6 + default: Cleanup : rocky-repos-8.6-2.el8.noarch 5/6 + default: Cleanup : rocky-gpg-keys-8.6-2.el8.noarch 6/6 + default: Running scriptlet: rocky-gpg-keys-8.6-2.el8.noarch 6/6 + default: Verifying : rocky-gpg-keys-8.6-3.el8.noarch 1/6 + default: Verifying : rocky-gpg-keys-8.6-2.el8.noarch 2/6 + default: Verifying : rocky-release-8.6-3.el8.noarch 3/6 + default: Verifying : rocky-release-8.6-2.el8.noarch 4/6 + default: Verifying : rocky-repos-8.6-3.el8.noarch 5/6 + default: Verifying : rocky-repos-8.6-2.el8.noarch 6/6 + default: + default: Upgraded: + default: rocky-gpg-keys-8.6-3.el8.noarch rocky-release-8.6-3.el8.noarch + default: rocky-repos-8.6-3.el8.noarch + default: + default: Complete! + default: Last metadata expiration check: 0:00:02 ago on Thu 26 May 2022 03:08:01 PM UTC. + default: Package epel-release-8-15.el8.noarch is already installed. + default: Dependencies resolved. + default: Nothing to do. + default: Complete! + default: Last metadata expiration check: 0:00:03 ago on Thu 26 May 2022 03:08:01 PM UTC. + default: Dependencies resolved. + default: ======================================================================================== + default: Package Arch Version Repo Size + default: ======================================================================================== + default: Installing: + default: jq x86_64 1.6-3.el8 appstream 201 k + default: koji noarch 1.28.1-1.el8 epel 223 k + default: python36 x86_64 3.6.8-38.module+el8.5.0+671+195e4563 appstream 18 k + default: Installing dependencies: + default: oniguruma x86_64 6.8.2-2.el8 appstream 186 k + default: python3-chardet noarch 3.0.4-7.el8 baseos 194 k + default: python3-gssapi x86_64 1.5.1-5.el8 appstream 487 k + default: python3-idna noarch 2.5-5.el8 baseos 96 k + default: python3-koji noarch 1.28.1-1.el8 epel 331 k + default: python3-pip noarch 9.0.3-22.el8.rocky.0 appstream 19 k + default: python3-pysocks noarch 1.6.8-3.el8 baseos 33 k + default: python3-requests noarch 2.20.0-2.1.el8_1 baseos 122 k + default: python3-requests-gssapi noarch 1.2.2-1.el8 epel 26 k + default: python3-setuptools noarch 39.2.0-6.el8 baseos 162 k + default: python3-urllib3 noarch 1.24.2-5.el8 baseos 176 k + default: Enabling module streams: + default: python36 3.6 + default: + default: Transaction Summary + default: ======================================================================================== + default: Install 14 Packages + default: + default: Total download size: 2.2 M + default: Installed size: 8.1 M + default: Downloading Packages: + default: (1/14): oniguruma-6.8.2-2.el8.x86_64.rpm 346 kB/s | 186 kB 00:00 + default: (2/14): jq-1.6-3.el8.x86_64.rpm 332 kB/s | 201 kB 00:00 + default: (3/14): python3-pip-9.0.3-22.el8.rocky.0.noarch 219 kB/s | 19 kB 00:00 + default: (4/14): python36-3.6.8-38.module+el8.5.0+671+19 217 kB/s | 18 kB 00:00 + default: (5/14): python3-gssapi-1.5.1-5.el8.x86_64.rpm 430 kB/s | 487 kB 00:01 + default: (6/14): python3-idna-2.5-5.el8.noarch.rpm 187 kB/s | 96 kB 00:00 + default: (7/14): python3-chardet-3.0.4-7.el8.noarch.rpm 300 kB/s | 194 kB 00:00 + default: (8/14): python3-setuptools-39.2.0-6.el8.noarch. 1.7 MB/s | 162 kB 00:00 + default: (9/14): python3-requests-2.20.0-2.1.el8_1.noarc 710 kB/s | 122 kB 00:00 + default: (10/14): python3-urllib3-1.24.2-5.el8.noarch.rp 1.8 MB/s | 176 kB 00:00 + default: (11/14): python3-pysocks-1.6.8-3.el8.noarch.rpm 90 kB/s | 33 kB 00:00 + default: (12/14): python3-requests-gssapi-1.2.2-1.el8.no 145 kB/s | 26 kB 00:00 + default: (13/14): koji-1.28.1-1.el8.noarch.rpm 454 kB/s | 223 kB 00:00 + default: (14/14): python3-koji-1.28.1-1.el8.noarch.rpm 639 kB/s | 331 kB 00:00 + default: -------------------------------------------------------------------------------- + default: Total 814 kB/s | 2.2 MB 00:02 + default: Running transaction check + default: Transaction check succeeded. + default: Running transaction test + default: Transaction test succeeded. + default: Running transaction + default: Preparing : 1/1 + default: Installing : python3-setuptools-39.2.0-6.el8.noarch 1/14 + default: Installing : python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_ 2/14 + default: Running scriptlet: python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_ 2/14 + default: Installing : python3-pip-9.0.3-22.el8.rocky.0.noarch 3/14 + default: Installing : python3-pysocks-1.6.8-3.el8.noarch 4/14 + default: Installing : python3-urllib3-1.24.2-5.el8.noarch 5/14 + default: Installing : python3-idna-2.5-5.el8.noarch 6/14 + default: Installing : python3-chardet-3.0.4-7.el8.noarch 7/14 + default: Installing : python3-requests-2.20.0-2.1.el8_1.noarch 8/14 + default: Installing : python3-gssapi-1.5.1-5.el8.x86_64 9/14 + default: Installing : python3-requests-gssapi-1.2.2-1.el8.noarch 10/14 + default: Installing : python3-koji-1.28.1-1.el8.noarch 11/14 + default: Installing : oniguruma-6.8.2-2.el8.x86_64 12/14 + default: Running scriptlet: oniguruma-6.8.2-2.el8.x86_64 12/14 + default: Installing : jq-1.6-3.el8.x86_64 13/14 + default: Installing : koji-1.28.1-1.el8.noarch 14/14 + default: Running scriptlet: koji-1.28.1-1.el8.noarch 14/14 + default: Verifying : jq-1.6-3.el8.x86_64 1/14 + default: Verifying : oniguruma-6.8.2-2.el8.x86_64 2/14 + default: Verifying : python3-gssapi-1.5.1-5.el8.x86_64 3/14 + default: Verifying : python3-pip-9.0.3-22.el8.rocky.0.noarch 4/14 + default: Verifying : python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_ 5/14 + default: Verifying : python3-chardet-3.0.4-7.el8.noarch 6/14 + default: Verifying : python3-idna-2.5-5.el8.noarch 7/14 + default: Verifying : python3-pysocks-1.6.8-3.el8.noarch 8/14 + default: Verifying : python3-requests-2.20.0-2.1.el8_1.noarch 9/14 + default: Verifying : python3-setuptools-39.2.0-6.el8.noarch 10/14 + default: Verifying : python3-urllib3-1.24.2-5.el8.noarch 11/14 + default: Verifying : koji-1.28.1-1.el8.noarch 12/14 + default: Verifying : python3-koji-1.28.1-1.el8.noarch 13/14 + default: Verifying : python3-requests-gssapi-1.2.2-1.el8.noarch 14/14 + default: + default: Installed: + default: jq-1.6-3.el8.x86_64 + default: koji-1.28.1-1.el8.noarch + default: oniguruma-6.8.2-2.el8.x86_64 + default: python3-chardet-3.0.4-7.el8.noarch + default: python3-gssapi-1.5.1-5.el8.x86_64 + default: python3-idna-2.5-5.el8.noarch + default: python3-koji-1.28.1-1.el8.noarch + default: python3-pip-9.0.3-22.el8.rocky.0.noarch + default: python3-pysocks-1.6.8-3.el8.noarch + default: python3-requests-2.20.0-2.1.el8_1.noarch + default: python3-requests-gssapi-1.2.2-1.el8.noarch + default: python3-setuptools-39.2.0-6.el8.noarch + default: python3-urllib3-1.24.2-5.el8.noarch + default: python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 + default: + default: Complete! + default: % Total % Received % Xferd Average Speed Time Time Time Current + default: Dload Upload Total Spent Left Speed + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 +100 9912k 100 9912k 0 0 10.8M 0 --:--:-- --:--:-- --:--:-- 10.8M +==> default: Running provisioner: file... + default: etc/koji.conf => /tmp/koji.conf +==> default: Running provisioner: Deploy koji.conf (shell)... + default: Running: script: Deploy koji.conf +==> default: Running provisioner: Prepare testing directories (shell)... + default: Running: script: Prepare testing directories +==> default: Running provisioner: Rocky 8.6 Debrand Validation (shell)... + default: Running: script: Rocky 8.6 Debrand Validation + default: mkdir: created directory '/home/rocky/testing/output' + default: mkdir: created directory '/home/rocky/testing/output/2022-05-26' + default: + default: ================================================================================ + default: Package Debrand Validation for x86_64 packages in Rocky-8.6-x86_64-dvd1.iso + default: + default: ================================================================================ + default: General Processing Parameters + default: + default: type: dvd1 + default: version: 8.6 + default: arch: x86_64 + default: + default: ================================================================================ + default: PackageKit + default: + default: + default: binary_pkg: PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: WALinuxAgent + default: + default: + default: binary_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: abrt + default: + default: + default: binary_pkg: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm + default: + default: SUCCESS: PackageRequires: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm.rpm does not require libreport-plugin-rhtsupport. + default: + default: ================================================================================ + default: anaconda + default: + default: + default: binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: anaconda-user-help + default: + default: + default: binary_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: chrony + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: cloud-init + default: + default: + default: binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: crash + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: dhcp + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: dnf + default: + default: + default: binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: dotnet + default: + default: + default: binary_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: dotnet3.0 + default: + default: + default: binary_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: firefox + default: + default: + default: binary_pkg: firefox-91.9.0-1.el8_5.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: fwupd + default: + default: + default: binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + default: + default: SUCCESS: BinaryStrings found pattern. + default: + default: ================================================================================ + default: fwupdate + default: + default: + default: binary_pkg: fwupdate-efi-11-3.el8.1.1.x86_64.rpm + default: + default: SUCCESS: BinaryStrings found pattern. + default: + default: ================================================================================ + default: gcc + default: + default: + default: binary_pkg: gcc-8.5.0-10.el8.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: gnome-boxes + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: gnome-settings-daemon + default: + default: + default: binary_pkg: gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm + default: WARN: /tmp/tmp.1A1cVWYyn1/etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop does not exist, should you be using koji or cache? + default: + default: ================================================================================ + default: grub2 + default: + default: + default: binary_pkg: grub2-efi-x64-2.02-123.el8.x86_64.rpm + default: + default: SUCCESS: BinaryStrings found pattern. + default: + default: ================================================================================ + default: initial-setup + default: + default: + default: binary_pkg: initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: kernel + default: + default: + default: binary_pkg: kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + default: + default: SUCCESS: BinaryStrings found pattern. + default: + default: ================================================================================ + default: kernel-rt + default: + default: + default: binary_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm + default: cp: cannot stat '': No such file or directory + default: WARN: /tmp/tmp.9TPNgIxVaL/lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz does not exist, should you be using koji or cache? + default: + default: ================================================================================ + default: libdnf + default: + default: + default: binary_pkg: libdnf-0.63.0-8.el8.x86_64.rpm + default: + default: SUCCESS: BinaryStrings found pattern. + default: + default: ================================================================================ + default: libguestfs + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: libreoffice + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: libreport + default: + default: + default: binary_pkg: libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: nginx + default: + default: + default: binary_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: opa-ff + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: opa-fm + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: open-vm-tools + default: + default: + default: binary_pkg: open-vm-tools-11.3.5-1.el8.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: openscap + default: + default: + default: binary_pkg: openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: oscap-anaconda-addon + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: pcs + default: + default: + default: binary_pkg: pcs-0.10.12-6.el8.x86_64.rpm + default: cp: cannot stat '': No such file or directory + default: WARN: /tmp/tmp.LVI6hfpPuK/usr/lib64/pcsd/public/images/HAM-logo.png does not exist, should you be using koji or cache? + default: + default: ================================================================================ + default: pesign + default: + default: + default: binary_pkg: pesign-0.112-26.el8.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: plymouth + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: python-pip + default: + default: + default: binary_pkg: platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: python2 + default: + default: + default: binary_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: python3 + default: + default: + default: binary_pkg: python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: redhat-rpm-config + default: + default: + default: binary_pkg: redhat-rpm-config-129-1.el8.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: scap-security-guide + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: shim + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: shim-unsigned-aarch64 + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: shim-unsigned-x64 + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: sos + default: + default: + default: binary_pkg: sos-4.2-15.el8.noarch.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: subscription-manager + default: + default: + default: binary_pkg: subscription-manager-1.28.29-3.el8.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. + default: + default: ================================================================================ + default: systemd + default: + default: WARN: dvd1 media does not contain SRPMs, use koji or cache + default: + default: ================================================================================ + default: thunderbird + default: + default: + default: binary_pkg: thunderbird-91.9.0-3.el8_5.x86_64.rpm + default: + default: SUCCESS: FileContents found pattern. +==> default: Running provisioner: End Timestamp (shell)... + default: Running: script: End Timestamp + default: Finished QA:Testcase-Debranding on Thu May 26 15:08:37 UTC 2022 +``` diff --git a/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_cache.md b/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_cache.md new file mode 100644 index 0000000..409bec0 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_cache.md @@ -0,0 +1,1527 @@ +# Standalone System with Package in RPM cache + +## run with local cache and brief output + +``` +[rocky@localhost vagrant]$ ./scripts/debrand_validation.sh -t cache + +================================================================================ +Package Debrand Validation for x86_64 packages in local package cache + +================================================================================ +General Processing Parameters + + type: cache + version: 8.6 + arch: x86_64 + +================================================================================ +PackageKit + + + binary_pkg: PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +WALinuxAgent + + + binary_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +abrt + + + binary_pkg: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm + +SUCCESS: PackageRequires: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm.rpm does not require libreport-plugin-rhtsupport. + +================================================================================ +anaconda + + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +anaconda-user-help + + + binary_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +chrony + + src_pkg: chrony-4.1-1.el8.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +cloud-init + + + binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +crash + + src_pkg: crash-7.3.1-5.el8.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dhcp + + src_pkg: dhcp-4.3.6-47.el8.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dnf + + + binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet + + + binary_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet3.0 + + + binary_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +firefox + + + binary_pkg: firefox-91.9.0-1.el8_5.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +fwupd + + + binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +fwupdate + + + binary_pkg: fwupdate-efi-11-3.el8.1.1.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +gcc + + + binary_pkg: gcc-8.5.0-10.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-boxes + + src_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-settings-daemon + + + binary_pkg: gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm +WARN: /tmp/tmp.FgyAnH8LmS/etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop does not exist, should you be using koji or cache? + +================================================================================ +grub2 + + + binary_pkg: grub2-efi-x64-2.02-123.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +initial-setup + + + binary_pkg: initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +kernel + + + binary_pkg: kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +kernel-rt + + + binary_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm +WARN: /tmp/tmp.L0JdArcANa/lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz does not exist, should you be using koji or cache? + +================================================================================ +libdnf + + + binary_pkg: libdnf-0.63.0-8.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +libguestfs + + src_pkg: libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +libreoffice + + src_pkg: libreoffice-6.4.7.2-10.el8.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +libreport + + + binary_pkg: libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +nginx + + + binary_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-ff + + src_pkg: opa-ff-10.11.0.2-1.el8.rocky.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-fm + + src_pkg: opa-fm-10.11.0.2.1-1.el8.rocky.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +open-vm-tools + + + binary_pkg: open-vm-tools-11.3.5-1.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +openscap + + + binary_pkg: openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +oscap-anaconda-addon + + src_pkg: oscap-anaconda-addon-1.2.1-5.el8.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +pcs + + + binary_pkg: pcs-0.10.12-6.el8.x86_64.rpm +WARN: /tmp/tmp.AdpiWmJ0iW/usr/lib64/pcsd/public/images/HAM-logo.png does not exist, should you be using koji or cache? + +================================================================================ +pesign + + + binary_pkg: pesign-0.112-26.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +plymouth + + src_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +python-pip + + + binary_pkg: platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +python2 + + + binary_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +python3 + + + binary_pkg: python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +redhat-rpm-config + + + binary_pkg: redhat-rpm-config-129-1.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +scap-security-guide + + src_pkg: scap-security-guide-0.1.60-7.el8.rocky.0.1.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +shim + + src_pkg: shim-15.4-2.el8_5.2.rocky.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +shim-unsigned-aarch64 + + src_pkg: shim-unsigned-aarch64-15-7.el8.1.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +shim-unsigned-x64 + + src_pkg: shim-unsigned-x64-15.4-4.el8_5.2.rocky.src.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +sos + + + binary_pkg: sos-4.2-15.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +subscription-manager + + + binary_pkg: subscription-manager-1.28.29-3.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +systemd + + src_pkg: systemd-239-58.el8.src.rpm + +SUCCESS: systemd.spec does not contain pattern. + +================================================================================ +thunderbird + + + binary_pkg: thunderbird-91.9.0-3.el8_5.x86_64.rpm + +SUCCESS: FileContents found pattern. +``` + + +## run with local cache and extended output + +``` +[rocky@localhost testing]$ ./scripts/debrand_validation.sh -x -t cache + +================================================================================ +Package Debrand Validation for x86_64 packages in local package cache + +PackageKit WALinuxAgent abrt +anaconda anaconda-user-help chrony +cloud-init crash dhcp +dnf dotnet dotnet3.0 +firefox fwupd fwupdate +gcc gnome-boxes gnome-settings-daemon +grub2 initial-setup kernel +kernel-rt libdnf libguestfs +libreoffice libreport nginx +opa-ff opa-fm open-vm-tools +openscap oscap-anaconda-addon pcs +pesign plymouth python-pip +python2 python3 redhat-rpm-config +scap-security-guide shim shim-unsigned-aarch64 +shim-unsigned-x64 sos subscription-manager +systemd thunderbird + + +================================================================================ +General Processing Parameters + + type: cache + version: 8.6 + arch: x86_64 + baseurl: http://dl.rockylinux.org/pub/rocky + iso_baseurl: http://dl.rockylinux.org/pub/rocky/8.6/isos + iso_prefix: Rocky + repo_names: baseos,appstream,powertools,extras + koji_tag: dist-rocky8-compose + rocky_rel: 8 + log_dir: /home/rocky/testing/output/2022-05-26 + log_file_suffix: debrand_validation.out + extended: 1 + script_dir: /home/rocky/testing/scripts + rpm_cache_dir: /home/rocky/testing/rpms + +================================================================================ +PackageKit + + +r8.yaml contents for PackageKit + + + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-6.el8.0.2 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + cache_path: /home/rocky/testing/rpms/PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + +5420 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +WALinuxAgent + + +r8.yaml contents for WALinuxAgent + + + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + cache_path: /home/rocky/testing/rpms/WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + +3756 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +abrt + + +r8.yaml contents for abrt + + + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-21.el8.rocky.0 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: x86_64 + source: na + + binary_pkg: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm + +SUCCESS: PackageRequires: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm.rpm does not require libreport-plugin-rhtsupport. + +================================================================================ +anaconda + + +r8.yaml contents for anaconda + + + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + cache_path: /home/rocky/testing/rpms/anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +23009 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +anaconda-user-help + + +r8.yaml contents for anaconda-user-help + + + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: na + + binary_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + cache_path: /home/rocky/testing/rpms/anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + +252 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +chrony + + +r8.yaml contents for chrony + + + modular: false + check: FileContents + nvr_pkg: chrony-4.1-1.el8 + file: chrony.spec + content: The NTP people really + value: true + pkg_arch: src + source: koji + src_pkg: chrony-4.1-1.el8.src.rpm + cache_path: /home/rocky/testing/rpms/chrony-4.1-1.el8.src.rpm + +1314 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +cloud-init + + +r8.yaml contents for cloud-init + + + modular: false + check: FileContents + nvr_pkg: cloud-init-21.1-15.el8 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/cloud-init-21.1-15.el8.noarch.rpm + +7278 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +crash + + +r8.yaml contents for crash + + + modular: false + check: FileContents + nvr_pkg: crash-7.3.1-5.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: crash-7.3.1-5.el8.src.rpm + cache_path: /home/rocky/testing/rpms/crash-7.3.1-5.el8.src.rpm + +64147 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dhcp + + +r8.yaml contents for dhcp + + + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-47.el8 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + src_pkg: dhcp-4.3.6-47.el8.src.rpm + cache_path: /home/rocky/testing/rpms/dhcp-4.3.6-47.el8.src.rpm + +20582 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dnf + + +r8.yaml contents for dnf + + + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-8.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: BUGTRACKER='https://bugs.rockylinux.org/' + value: true + pkg_arch: noarch + source: na + + binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/python3-dnf-4.7.0-8.el8.noarch.rpm + +3816 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet + + +r8.yaml contents for dotnet + + + modular: false + check: FileContents + nvr_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky + file: /usr/lib64/dotnet/shared/Microsoft.NETCore.App/2.1.30/Microsoft.NETCore.App.deps.json + content: runtime.rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + cache_path: /home/rocky/testing/rpms/dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + +131048 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet3.0 + + +r8.yaml contents for dotnet3.0 + + + modular: false + check: FileContents + nvr_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky + file: /usr/lib64/dotnet/sdk/3.0.103/RuntimeIdentifierGraph.json + content: rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + cache_path: /home/rocky/testing/rpms/dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + +280847 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +firefox + + +r8.yaml contents for firefox + + + modular: false + check: FileContents + nvr_pkg: firefox-91.9.0-1.el8_5 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: firefox-91.9.0-1.el8_5.x86_64.rpm + cache_path: /home/rocky/testing/rpms/firefox-91.9.0-1.el8_5.x86_64.rpm + +536557 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +fwupd + + +r8.yaml contents for fwupd + + + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.4-2.el8 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/fwupd-1.7.4-2.el8.x86_64.rpm + +17009 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +fwupdate + + +r8.yaml contents for fwupdate + + + modular: false + check: BinaryStrings + nvr_pkg: fwupdate-efi-11-3.el8.1.1 + file: /boot/efi/EFI/rocky/fwupx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: fwupdate-efi-11-3.el8.1.1.x86_64.rpm + cache_path: /home/rocky/testing/rpms/fwupdate-efi-11-3.el8.1.1.x86_64.rpm + +281 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +gcc + + +r8.yaml contents for gcc + + + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-10.el8 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: gcc-8.5.0-10.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/gcc-8.5.0-10.el8.x86_64.rpm + +120716 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-boxes + + +r8.yaml contents for gnome-boxes + + + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + src_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1.src.rpm + cache_path: /home/rocky/testing/rpms/gnome-boxes-3.36.5-8.el8.rocky.0.1.src.rpm + +2545 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-settings-daemon + + +r8.yaml contents for gnome-settings-daemon + + + modular: false + check: FileExists + nvr_pkg: gnome-settings-daemon-3.32.0-16.el8 + file: /etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop + content: na + value: false + pkg_arch: x86_64 + source: na + + binary_pkg: gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm + +10698 blocks + +WARN: /tmp/tmp.0GgkeFFHTb/etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop does not exist, should you be using koji or cache? + +================================================================================ +grub2 + + +r8.yaml contents for grub2 + + + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.02-123.el8 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: grub2-efi-x64-2.02-123.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/grub2-efi-x64-2.02-123.el8.x86_64.rpm + +4480 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +initial-setup + + +r8.yaml contents for initial-setup + + + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + cache_path: /home/rocky/testing/rpms/initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + +430 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +kernel + + +r8.yaml contents for kernel + + + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-372.9.1.el8 + file: /lib/modules/4.18.0-372.9.1.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + +70300 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +kernel-rt + + +r8.yaml contents for kernel-rt + + + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8 + file: /lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: koji + + binary_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm + +cpio: premature end of archive + +WARN: /tmp/tmp.aIM5nn8npR/lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz does not exist, should you be using koji or cache? + +================================================================================ +libdnf + + +r8.yaml contents for libdnf + + + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-8.el8 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: libdnf-0.63.0-8.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/libdnf-0.63.0-8.el8.x86_64.rpm + +4725 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +libguestfs + + +r8.yaml contents for libguestfs + + + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + src_pkg: libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky.src.rpm + +46973 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +libreoffice + + +r8.yaml contents for libreoffice + + + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-10.el8 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + src_pkg: libreoffice-6.4.7.2-10.el8.src.rpm + cache_path: /home/rocky/testing/rpms/libreoffice-6.4.7.2-10.el8.src.rpm + +974756 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +libreport + + +r8.yaml contents for libreport + + + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + cache_path: /home/rocky/testing/rpms/libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + +4838 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +nginx + + +r8.yaml contents for nginx + + + modular: true + check: FileContents + nvr_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + cache_path: /home/rocky/testing/rpms/nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + +3448 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-ff + + +r8.yaml contents for opa-ff + + + modular: false + check: FileContents + nvr_pkg: opa-ff-10.11.0.2-1.el8.rocky + file: 5000-add-rocky.patch + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: opa-ff-10.11.0.2-1.el8.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/opa-ff-10.11.0.2-1.el8.rocky.src.rpm + +3626 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-fm + + +r8.yaml contents for opa-fm + + + modular: false + check: FileContents + nvr_pkg: opa-fm-10.11.0.2.1-1.el8.rocky + file: 5000-add-rocky.patch + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: opa-fm-10.11.0.2.1-1.el8.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/opa-fm-10.11.0.2.1-1.el8.rocky.src.rpm + +3716 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +open-vm-tools + + +r8.yaml contents for open-vm-tools + + + modular: true + check: FileContents + nvr_pkg: open-vm-tools-11.3.5-1.el8 + file: /usr/lib64/libvmtools.so.0.0.0 + content: Rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: open-vm-tools-11.3.5-1.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/open-vm-tools-11.3.5-1.el8.x86_64.rpm + +6558 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +openscap + + +r8.yaml contents for openscap + + + modular: false + check: FileContents + nvr_pkg: openscap-1.3.6-3.el8.rocky.0.1 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + cache_path: /home/rocky/testing/rpms/openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + +134700 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +oscap-anaconda-addon + + +r8.yaml contents for oscap-anaconda-addon + + + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-5.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + src_pkg: oscap-anaconda-addon-1.2.1-5.el8.src.rpm + cache_path: /home/rocky/testing/rpms/oscap-anaconda-addon-1.2.1-5.el8.src.rpm + +13259 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +pcs + + +r8.yaml contents for pcs + + + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.12-6.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: x86_64 + source: koji + + binary_pkg: pcs-0.10.12-6.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/pcs-0.10.12-6.el8.x86_64.rpm + +cpio: premature end of archive + +WARN: /tmp/tmp.P0bKqRDyns/usr/lib64/pcsd/public/images/HAM-logo.png does not exist, should you be using koji or cache? + +================================================================================ +pesign + + +r8.yaml contents for pesign + + + modular: false + check: FileContents + nvr_pkg: pesign-0.112-26.el8 + file: /usr/lib/rpm/macros.d/macros.pesign + content: Rocky Linux Secure Boot Signing Local Test Cert - Rocky Enterprise Software Foundation + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: pesign-0.112-26.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/pesign-0.112-26.el8.x86_64.rpm + +2205 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +plymouth + + +r8.yaml contents for plymouth + + + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8.src.rpm + cache_path: /home/rocky/testing/rpms/plymouth-0.9.4-11.20200615git1e36e30.el8.src.rpm + +2377 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +python-pip + + +r8.yaml contents for python-pip + + + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-22.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: na + + binary_pkg: platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + cache_path: /home/rocky/testing/rpms/platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + +14239 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +python2 + + +r8.yaml contents for python2 + + + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + cache_path: /home/rocky/testing/rpms/python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + +51587 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +python3 + + +r8.yaml contents for python3 + + + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-45.el8.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + cache_path: /home/rocky/testing/rpms/python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + +64128 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +redhat-rpm-config + + +r8.yaml contents for redhat-rpm-config + + + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-129-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: redhat-rpm-config-129-1.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/redhat-rpm-config-129-1.el8.noarch.rpm + +305 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +scap-security-guide + + +r8.yaml contents for scap-security-guide + + + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.60-7.el8.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_PRODUCT_ROCKY8 + value: true + pkg_arch: src + source: koji + src_pkg: scap-security-guide-0.1.60-7.el8.rocky.0.1.src.rpm + cache_path: /home/rocky/testing/rpms/scap-security-guide-0.1.60-7.el8.rocky.0.1.src.rpm + +28928 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +shim + + +r8.yaml contents for shim + + + modular: false + check: FileContents + nvr_pkg: shim-15.4-2.el8_5.2.rocky + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + src_pkg: shim-15.4-2.el8_5.2.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/shim-15.4-2.el8_5.2.rocky.src.rpm + +4955 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +shim-unsigned-aarch64 + + +r8.yaml contents for shim-unsigned-aarch64 + + + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-7.el8.1 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + src_pkg: shim-unsigned-aarch64-15-7.el8.1.src.rpm + cache_path: /home/rocky/testing/rpms/shim-unsigned-aarch64-15-7.el8.1.src.rpm + +2070 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +shim-unsigned-x64 + + +r8.yaml contents for shim-unsigned-x64 + + + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.4-4.el8_5.2.rocky + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + src_pkg: shim-unsigned-x64-15.4-4.el8_5.2.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/shim-unsigned-x64-15.4-4.el8_5.2.rocky.src.rpm + +2769 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +sos + + +r8.yaml contents for sos + + + modular: false + check: FileContents + nvr_pkg: sos-4.2-15.el8 + file: /usr/lib/python3.6/site-packages/sos/policies/distros/rocky.py + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: noarch + source: na + + binary_pkg: sos-4.2-15.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/sos-4.2-15.el8.noarch.rpm + +5555 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +subscription-manager + + +r8.yaml contents for subscription-manager + + + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.29-3.el8 + file: /etc/dnf/plugins/subscription-manager.conf + content: enabled=0 + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: subscription-manager-1.28.29-3.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/subscription-manager-1.28.29-3.el8.x86_64.rpm + +9079 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +systemd + + +r8.yaml contents for systemd + + + modular: false + check: FileContents + nvr_pkg: systemd-239-58.el8 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + src_pkg: systemd-239-58.el8.src.rpm + cache_path: /home/rocky/testing/rpms/systemd-239-58.el8.src.rpm + +28352 blocks + + +SUCCESS: systemd.spec does not contain pattern. + +================================================================================ +thunderbird + + +r8.yaml contents for thunderbird + + + modular: false + check: FileContents + nvr_pkg: thunderbird-91.9.0-3.el8_5 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: thunderbird-91.9.0-3.el8_5.x86_64.rpm + cache_path: /home/rocky/testing/rpms/thunderbird-91.9.0-3.el8_5.x86_64.rpm + +535088 blocks + + +SUCCESS: FileContents found pattern. +``` diff --git a/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_koji.md b/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_koji.md new file mode 100644 index 0000000..35d27e0 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_koji.md @@ -0,0 +1,113 @@ +# Standalone System with Packages from Rocky Linux koji + +When more specific tests are required the `debrand_validation.sh` script can be used directly. + +The script supports many options from the command line... + +``` +[vagrant@localhost testing]$ ./scripts/debrand_validation.sh -h +Usage: debrand_validation.sh [-h] [-x] [-t minimal|dvd1|repo|koji|cache] [-a x86_64|aarch64|ppc64le|s390x] [-v 8.6|9.0|maj.min] [others... see -h] [package(s)] +Perform debranding analysis on PACKAGEs. + + -h provide this help + -x enable extended output + -t specify source for packages + minimal and dvd1 specify locally available ISO + media, repo and koji specify Internet package sources + and cache specifies local package cache. If/when + using repo or koji packages pulled from that location + will be store in the local package cache. + -a specify architecture for packages + x86_64 and aarch64 are available pre 9 while + ppc64le and s390x will be added for Rocky Linux 9 + -v specify Rocky Linux version for ISOs + Typically 8.6 or 8 depending on the repository + -p iso filename prefix + The standard prefix for Rocky Linux is 'Rocky' with + the full ISO name being derived as... + ---.iso. Thus, + with creative use of these variables packages on + other ISOs (eg. prefix='CentOS-Stream') can possible + be examined as well. + -b repository baseurl + Allows definition of non-default repository baseurl + to support os of vault or staging repositories or + even closest mirrors + default='http://dl.rockylinux.org/pub/rocky/' + -l output log directory + default location for logs is $(pwd)/output/$(date +%Y-%m-%d) + but a custom location for the base for logs can be + supplied. + -r repository name(s) + default='baseos,appstream,extras,powertools' can + be overridden if/when working with a local repository + clone, for example of Peridot yumrepofs where this + might be... 'pdot-dev-x86_64'. Requires definition + of repo in /etc/yum.repos.d/.repo + -k koji tag + When koji is used for packages alternate koji tags + for package search may be used. default='dist-rocky8-compose' + -c debrand yaml override + When debrand validation for a non-default version + is being performed a version specific YAML file + can be selected. default='r8' + +``` + + +## Run with koji download and extended output + +``` +[vagrant@localhost vagrant]$ ./scripts/debrand_validation.sh -x -t koji anaconda + +================================================================================ +Package Debrand Validation for x86_64 builds in koji + +anaconda + + +================================================================================ +General Processing Parameters + + type: koji + version: 8.6 + arch: x86_64 + baseurl: http://dl.rockylinux.org/pub/rocky + iso_baseurl: http://dl.rockylinux.org/pub/rocky/8.6/isos + iso_prefix: Rocky + repo_names: baseos,appstream,powertools,extras + koji_tag: dist-rocky8-compose + rocky_rel: 8 + log_dir: /home/rocky/testing/output/2022-05-26 + log_file_suffix: debrand_validation.out + extended: 1 + script_dir: /home/rocky/testing/scripts + rpm_cache_dir: /home/rocky/testing/rpms + +================================================================================ +anaconda + +r8.yaml contents for anaconda + + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + koji_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +Downloading: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm +[====================================] 100% 2.43 MiB / 2.43 MiB + + cache_path: /home/rocky/testing/rpms/anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +23009 blocks + + +SUCCESS: FileContents found pattern. +``` diff --git a/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_system.md b/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_system.md new file mode 100644 index 0000000..ea28e9e --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/examples/standalone_system.md @@ -0,0 +1,364 @@ +# Standalone System + +**_NOTE: The dvd1 ISO must be downloaded and stored in the ./isos directory next to the ./scripts directory._** + +``` +[rocky@localhost testing]$ ./scripts/test_wrapper.sh +mkdir: created directory '/home/rocky/testing/output' +mkdir: created directory '/home/rocky/testing/output/2022-05-23' + +================================================================================ +abrt gcc libreport python-pip +anaconda gcc-toolset-10-gcc nginx redhat-rpm-config +anaconda-user-help gcc-toolset-11-gcc opa-ff scap-security-guide +chrony gcc-toolset-9-gcc opa-fm shim +cloud-init gnome-boxes openscap shim-unsigned-aarch64 +crash gnome-settings-daemon open-vm-tools shim-unsigned-x64 +dhcp grub2 oscap-anaconda-addon sos +dnf initial-setup PackageKit subscription-manager +dotnet kernel pcs systemd +dotnet3.0 kernel-rt pesign thunderbird +firefox libdnf plymouth WALinuxAgent +fwupd libguestfs python2 +fwupdate libreoffice python3 + +================================================================================ +Package Debrand Validation for x86_64 packages in Rocky-8.6-x86_64-dvd1.iso + +================================================================================ +General Processing Parameters + + type: dvd1 + version: 8.6 + arch: x86_64 + +================================================================================ +PackageKit + + + binary_pkg: PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +WALinuxAgent + + + binary_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +abrt + + + binary_pkg: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm + +SUCCESS: PackageRequires: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm.rpm does not require libreport-plugin-rhtsupport. + +================================================================================ +anaconda + + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +anaconda-user-help + + + binary_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +chrony + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +cloud-init + + + binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +crash + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +dhcp + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +dnf + + + binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet + + + binary_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet3.0 + + + binary_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +firefox + + + binary_pkg: firefox-91.9.0-1.el8_5.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +fwupd + + + binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +fwupdate + + + binary_pkg: fwupdate-efi-11-3.el8.1.1.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +gcc + + + binary_pkg: gcc-8.5.0-10.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-boxes + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +gnome-settings-daemon + + + binary_pkg: gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm +WARN: /tmp/tmp.ukWhLF8PuJ/etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop does not exist, should you be using koji or cache? + +================================================================================ +grub2 + + + binary_pkg: grub2-efi-x64-2.02-123.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +initial-setup + + + binary_pkg: initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +kernel + + + binary_pkg: kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +kernel-rt + + + binary_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm +cp: cannot stat '': No such file or directory +WARN: /tmp/tmp.vJSsPkh2FL/lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz does not exist, should you be using koji or cache? + +================================================================================ +libdnf + + + binary_pkg: libdnf-0.63.0-8.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +libguestfs + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +libreoffice + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +libreport + + + binary_pkg: libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +nginx + + + binary_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-ff + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +opa-fm + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +open-vm-tools + + + binary_pkg: open-vm-tools-11.3.5-1.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +openscap + + + binary_pkg: openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +oscap-anaconda-addon + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +pcs + + + binary_pkg: pcs-0.10.12-6.el8.x86_64.rpm +cp: cannot stat '': No such file or directory +WARN: /tmp/tmp.GSQJAUxmvR/usr/lib64/pcsd/public/images/HAM-logo.png does not exist, should you be using koji or cache? + +================================================================================ +pesign + + + binary_pkg: pesign-0.112-26.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +plymouth + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +python-pip + + + binary_pkg: platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +python2 + + + binary_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +python3 + + + binary_pkg: python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +redhat-rpm-config + + + binary_pkg: redhat-rpm-config-129-1.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +scap-security-guide + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +shim + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +shim-unsigned-aarch64 + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +shim-unsigned-x64 + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +sos + + + binary_pkg: sos-4.2-15.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +subscription-manager + + + binary_pkg: subscription-manager-1.28.29-3.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +systemd + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +thunderbird + + + binary_pkg: thunderbird-91.9.0-3.el8_5.x86_64.rpm + +SUCCESS: FileContents found pattern. +``` diff --git a/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-cache.debrand_validation.out b/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-cache.debrand_validation.out new file mode 100644 index 0000000..5f1e60e --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-cache.debrand_validation.out @@ -0,0 +1,1145 @@ + +================================================================================ +Package Debrand Validation for x86_64 packages in local package cache + +PackageKit WALinuxAgent abrt +anaconda anaconda-user-help chrony +cloud-init crash dhcp +dnf dotnet dotnet3.0 +firefox fwupd fwupdate +gcc gnome-boxes gnome-settings-daemon +grub2 initial-setup kernel +kernel-rt libdnf libguestfs +libreoffice libreport nginx +opa-ff opa-fm open-vm-tools +openscap oscap-anaconda-addon pcs +pesign plymouth python-pip +python2 python3 redhat-rpm-config +scap-security-guide shim shim-unsigned-aarch64 +shim-unsigned-x64 sos subscription-manager +systemd thunderbird + + +================================================================================ +General Processing Parameters + + type: cache + version: 8.6 + arch: x86_64 + baseurl: http://dl.rockylinux.org/pub/rocky + iso_baseurl: http://dl.rockylinux.org/pub/rocky/8.6/isos + iso_prefix: Rocky + repo_names: baseos,appstream,powertools,extras + koji_tag: dist-rocky8-compose + rocky_rel: 8 + log_dir: /home/rocky/testing/output/2022-05-26 + log_file_suffix: debrand_validation.out + extended: 1 + script_dir: /home/rocky/testing/scripts + rpm_cache_dir: /home/rocky/testing/rpms + +================================================================================ +PackageKit + + +r8.yaml contents for PackageKit + + + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-6.el8.0.2 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + cache_path: /home/rocky/testing/rpms/PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + +5420 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +WALinuxAgent + + +r8.yaml contents for WALinuxAgent + + + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + cache_path: /home/rocky/testing/rpms/WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + +3756 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +abrt + + +r8.yaml contents for abrt + + + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-21.el8.rocky.0 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: x86_64 + source: na + + binary_pkg: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm + +SUCCESS: PackageRequires: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm.rpm does not require libreport-plugin-rhtsupport. + +================================================================================ +anaconda + + +r8.yaml contents for anaconda + + + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + cache_path: /home/rocky/testing/rpms/anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +23009 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +anaconda-user-help + + +r8.yaml contents for anaconda-user-help + + + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: na + + binary_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + cache_path: /home/rocky/testing/rpms/anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + +252 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +chrony + + +r8.yaml contents for chrony + + + modular: false + check: FileContents + nvr_pkg: chrony-4.1-1.el8 + file: chrony.spec + content: The NTP people really + value: true + pkg_arch: src + source: koji + src_pkg: chrony-4.1-1.el8.src.rpm + cache_path: /home/rocky/testing/rpms/chrony-4.1-1.el8.src.rpm + +1314 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +cloud-init + + +r8.yaml contents for cloud-init + + + modular: false + check: FileContents + nvr_pkg: cloud-init-21.1-15.el8 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/cloud-init-21.1-15.el8.noarch.rpm + +7278 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +crash + + +r8.yaml contents for crash + + + modular: false + check: FileContents + nvr_pkg: crash-7.3.1-5.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: crash-7.3.1-5.el8.src.rpm + cache_path: /home/rocky/testing/rpms/crash-7.3.1-5.el8.src.rpm + +64147 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dhcp + + +r8.yaml contents for dhcp + + + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-47.el8 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + src_pkg: dhcp-4.3.6-47.el8.src.rpm + cache_path: /home/rocky/testing/rpms/dhcp-4.3.6-47.el8.src.rpm + +20582 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dnf + + +r8.yaml contents for dnf + + + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-8.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: BUGTRACKER='https://bugs.rockylinux.org/' + value: true + pkg_arch: noarch + source: na + + binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/python3-dnf-4.7.0-8.el8.noarch.rpm + +3816 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet + + +r8.yaml contents for dotnet + + + modular: false + check: FileContents + nvr_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky + file: /usr/lib64/dotnet/shared/Microsoft.NETCore.App/2.1.30/Microsoft.NETCore.App.deps.json + content: runtime.rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + cache_path: /home/rocky/testing/rpms/dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + +131048 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet3.0 + + +r8.yaml contents for dotnet3.0 + + + modular: false + check: FileContents + nvr_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky + file: /usr/lib64/dotnet/sdk/3.0.103/RuntimeIdentifierGraph.json + content: rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + cache_path: /home/rocky/testing/rpms/dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + +280847 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +firefox + + +r8.yaml contents for firefox + + + modular: false + check: FileContents + nvr_pkg: firefox-91.9.0-1.el8_5 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: firefox-91.9.0-1.el8_5.x86_64.rpm + cache_path: /home/rocky/testing/rpms/firefox-91.9.0-1.el8_5.x86_64.rpm + +536557 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +fwupd + + +r8.yaml contents for fwupd + + + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.4-2.el8 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/fwupd-1.7.4-2.el8.x86_64.rpm + +17009 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +fwupdate + + +r8.yaml contents for fwupdate + + + modular: false + check: BinaryStrings + nvr_pkg: fwupdate-efi-11-3.el8.1.1 + file: /boot/efi/EFI/rocky/fwupx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: fwupdate-efi-11-3.el8.1.1.x86_64.rpm + cache_path: /home/rocky/testing/rpms/fwupdate-efi-11-3.el8.1.1.x86_64.rpm + +281 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +gcc + + +r8.yaml contents for gcc + + + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-10.el8 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: gcc-8.5.0-10.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/gcc-8.5.0-10.el8.x86_64.rpm + +120716 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-boxes + + +r8.yaml contents for gnome-boxes + + + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + src_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1.src.rpm + cache_path: /home/rocky/testing/rpms/gnome-boxes-3.36.5-8.el8.rocky.0.1.src.rpm + +2545 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-settings-daemon + + +r8.yaml contents for gnome-settings-daemon + + + modular: false + check: FileExists + nvr_pkg: gnome-settings-daemon-3.32.0-16.el8 + file: /etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop + content: na + value: false + pkg_arch: x86_64 + source: na + + binary_pkg: gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm + +10698 blocks + +WARN: /tmp/tmp.0GgkeFFHTb/etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop does not exist, should you be using koji or cache? + +================================================================================ +grub2 + + +r8.yaml contents for grub2 + + + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.02-123.el8 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: grub2-efi-x64-2.02-123.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/grub2-efi-x64-2.02-123.el8.x86_64.rpm + +4480 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +initial-setup + + +r8.yaml contents for initial-setup + + + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + cache_path: /home/rocky/testing/rpms/initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + +430 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +kernel + + +r8.yaml contents for kernel + + + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-372.9.1.el8 + file: /lib/modules/4.18.0-372.9.1.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + +70300 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +kernel-rt + + +r8.yaml contents for kernel-rt + + + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8 + file: /lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: koji + + binary_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm + +cpio: premature end of archive + +WARN: /tmp/tmp.aIM5nn8npR/lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz does not exist, should you be using koji or cache? + +================================================================================ +libdnf + + +r8.yaml contents for libdnf + + + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-8.el8 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: libdnf-0.63.0-8.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/libdnf-0.63.0-8.el8.x86_64.rpm + +4725 blocks + + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +libguestfs + + +r8.yaml contents for libguestfs + + + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + src_pkg: libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/libguestfs-1.44.0-5.module+el8.6.0+847+b490afdd.rocky.src.rpm + +46973 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +libreoffice + + +r8.yaml contents for libreoffice + + + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-10.el8 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + src_pkg: libreoffice-6.4.7.2-10.el8.src.rpm + cache_path: /home/rocky/testing/rpms/libreoffice-6.4.7.2-10.el8.src.rpm + +974756 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +libreport + + +r8.yaml contents for libreport + + + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + cache_path: /home/rocky/testing/rpms/libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + +4838 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +nginx + + +r8.yaml contents for nginx + + + modular: true + check: FileContents + nvr_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + cache_path: /home/rocky/testing/rpms/nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + +3448 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-ff + + +r8.yaml contents for opa-ff + + + modular: false + check: FileContents + nvr_pkg: opa-ff-10.11.0.2-1.el8.rocky + file: 5000-add-rocky.patch + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: opa-ff-10.11.0.2-1.el8.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/opa-ff-10.11.0.2-1.el8.rocky.src.rpm + +3626 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-fm + + +r8.yaml contents for opa-fm + + + modular: false + check: FileContents + nvr_pkg: opa-fm-10.11.0.2.1-1.el8.rocky + file: 5000-add-rocky.patch + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: opa-fm-10.11.0.2.1-1.el8.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/opa-fm-10.11.0.2.1-1.el8.rocky.src.rpm + +3716 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +open-vm-tools + + +r8.yaml contents for open-vm-tools + + + modular: true + check: FileContents + nvr_pkg: open-vm-tools-11.3.5-1.el8 + file: /usr/lib64/libvmtools.so.0.0.0 + content: Rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: open-vm-tools-11.3.5-1.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/open-vm-tools-11.3.5-1.el8.x86_64.rpm + +6558 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +openscap + + +r8.yaml contents for openscap + + + modular: false + check: FileContents + nvr_pkg: openscap-1.3.6-3.el8.rocky.0.1 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + cache_path: /home/rocky/testing/rpms/openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + +134700 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +oscap-anaconda-addon + + +r8.yaml contents for oscap-anaconda-addon + + + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-5.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + src_pkg: oscap-anaconda-addon-1.2.1-5.el8.src.rpm + cache_path: /home/rocky/testing/rpms/oscap-anaconda-addon-1.2.1-5.el8.src.rpm + +13259 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +pcs + + +r8.yaml contents for pcs + + + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.12-6.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: x86_64 + source: koji + + binary_pkg: pcs-0.10.12-6.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/pcs-0.10.12-6.el8.x86_64.rpm + +cpio: premature end of archive + +WARN: /tmp/tmp.P0bKqRDyns/usr/lib64/pcsd/public/images/HAM-logo.png does not exist, should you be using koji or cache? + +================================================================================ +pesign + + +r8.yaml contents for pesign + + + modular: false + check: FileContents + nvr_pkg: pesign-0.112-26.el8 + file: /usr/lib/rpm/macros.d/macros.pesign + content: Rocky Linux Secure Boot Signing Local Test Cert - Rocky Enterprise Software Foundation + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: pesign-0.112-26.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/pesign-0.112-26.el8.x86_64.rpm + +2205 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +plymouth + + +r8.yaml contents for plymouth + + + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + src_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8.src.rpm + cache_path: /home/rocky/testing/rpms/plymouth-0.9.4-11.20200615git1e36e30.el8.src.rpm + +2377 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +python-pip + + +r8.yaml contents for python-pip + + + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-22.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: na + + binary_pkg: platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + cache_path: /home/rocky/testing/rpms/platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + +14239 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +python2 + + +r8.yaml contents for python2 + + + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + cache_path: /home/rocky/testing/rpms/python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + +51587 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +python3 + + +r8.yaml contents for python3 + + + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-45.el8.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + cache_path: /home/rocky/testing/rpms/python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + +64128 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +redhat-rpm-config + + +r8.yaml contents for redhat-rpm-config + + + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-129-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: redhat-rpm-config-129-1.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/redhat-rpm-config-129-1.el8.noarch.rpm + +305 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +scap-security-guide + + +r8.yaml contents for scap-security-guide + + + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.60-7.el8.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_PRODUCT_ROCKY8 + value: true + pkg_arch: src + source: koji + src_pkg: scap-security-guide-0.1.60-7.el8.rocky.0.1.src.rpm + cache_path: /home/rocky/testing/rpms/scap-security-guide-0.1.60-7.el8.rocky.0.1.src.rpm + +28928 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +shim + + +r8.yaml contents for shim + + + modular: false + check: FileContents + nvr_pkg: shim-15.4-2.el8_5.2.rocky + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + src_pkg: shim-15.4-2.el8_5.2.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/shim-15.4-2.el8_5.2.rocky.src.rpm + +4955 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +shim-unsigned-aarch64 + + +r8.yaml contents for shim-unsigned-aarch64 + + + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-7.el8.1 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + src_pkg: shim-unsigned-aarch64-15-7.el8.1.src.rpm + cache_path: /home/rocky/testing/rpms/shim-unsigned-aarch64-15-7.el8.1.src.rpm + +2070 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +shim-unsigned-x64 + + +r8.yaml contents for shim-unsigned-x64 + + + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.4-4.el8_5.2.rocky + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + src_pkg: shim-unsigned-x64-15.4-4.el8_5.2.rocky.src.rpm + cache_path: /home/rocky/testing/rpms/shim-unsigned-x64-15.4-4.el8_5.2.rocky.src.rpm + +2769 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +sos + + +r8.yaml contents for sos + + + modular: false + check: FileContents + nvr_pkg: sos-4.2-15.el8 + file: /usr/lib/python3.6/site-packages/sos/policies/distros/rocky.py + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: noarch + source: na + + binary_pkg: sos-4.2-15.el8.noarch.rpm + cache_path: /home/rocky/testing/rpms/sos-4.2-15.el8.noarch.rpm + +5555 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +subscription-manager + + +r8.yaml contents for subscription-manager + + + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.29-3.el8 + file: /etc/dnf/plugins/subscription-manager.conf + content: enabled=0 + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: subscription-manager-1.28.29-3.el8.x86_64.rpm + cache_path: /home/rocky/testing/rpms/subscription-manager-1.28.29-3.el8.x86_64.rpm + +9079 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +systemd + + +r8.yaml contents for systemd + + + modular: false + check: FileContents + nvr_pkg: systemd-239-58.el8 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + src_pkg: systemd-239-58.el8.src.rpm + cache_path: /home/rocky/testing/rpms/systemd-239-58.el8.src.rpm + +28352 blocks + + +SUCCESS: systemd.spec does not contain pattern. + +================================================================================ +thunderbird + + +r8.yaml contents for thunderbird + + + modular: false + check: FileContents + nvr_pkg: thunderbird-91.9.0-3.el8_5 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: thunderbird-91.9.0-3.el8_5.x86_64.rpm + cache_path: /home/rocky/testing/rpms/thunderbird-91.9.0-3.el8_5.x86_64.rpm + +535088 blocks + + +SUCCESS: FileContents found pattern. diff --git a/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-dvd1.debrand_validation.out b/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-dvd1.debrand_validation.out new file mode 100644 index 0000000..5ed6df1 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-dvd1.debrand_validation.out @@ -0,0 +1,338 @@ + +================================================================================ +Package Debrand Validation for x86_64 packages in Rocky-8.6-x86_64-dvd1.iso + +================================================================================ +General Processing Parameters + + type: dvd1 + version: 8.6 + arch: x86_64 + +================================================================================ +PackageKit + + + binary_pkg: PackageKit-1.1.12-6.el8.0.2.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +WALinuxAgent + + + binary_pkg: WALinuxAgent-2.3.0.2-2.el8.rocky.0.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +abrt + + + binary_pkg: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm + +SUCCESS: PackageRequires: abrt-2.10.9-21.el8.rocky.0.x86_64.rpm.rpm does not require libreport-plugin-rhtsupport. + +================================================================================ +anaconda + + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +anaconda-user-help + + + binary_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +chrony + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +cloud-init + + + binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +crash + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +dhcp + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +dnf + + + binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet + + + binary_pkg: dotnet-runtime-2.1-2.1.30-1.el8_4.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +dotnet3.0 + + + binary_pkg: dotnet-sdk-3.0-3.0.103-1.el8_1.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +firefox + + + binary_pkg: firefox-91.9.0-1.el8_5.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +fwupd + + + binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +fwupdate + + + binary_pkg: fwupdate-efi-11-3.el8.1.1.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +gcc + + + binary_pkg: gcc-8.5.0-10.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +gnome-boxes + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +gnome-settings-daemon + + + binary_pkg: gnome-settings-daemon-3.32.0-16.el8.x86_64.rpm +WARN: /tmp/tmp.ukWhLF8PuJ/etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop does not exist, should you be using koji or cache? + +================================================================================ +grub2 + + + binary_pkg: grub2-efi-x64-2.02-123.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +initial-setup + + + binary_pkg: initial-setup-0.3.81.7-1.el8.rocky.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +kernel + + + binary_pkg: kernel-core-4.18.0-372.9.1.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +kernel-rt + + + binary_pkg: kernel-rt-core-4.18.0-372.9.1.rt7.166.el8.x86_64.rpm +WARN: /tmp/tmp.vJSsPkh2FL/lib/modules/4.18.0-372.9.1.rt7.166.el8.x86_64/vmlinuz does not exist, should you be using koji or cache? + +================================================================================ +libdnf + + + binary_pkg: libdnf-0.63.0-8.el8.x86_64.rpm + +SUCCESS: BinaryStrings found pattern. + +================================================================================ +libguestfs + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +libreoffice + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +libreport + + + binary_pkg: libreport-2.9.5-15.el8.rocky.6.3.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +nginx + + + binary_pkg: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +opa-ff + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +opa-fm + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +open-vm-tools + + + binary_pkg: open-vm-tools-11.3.5-1.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +openscap + + + binary_pkg: openscap-1.3.6-3.el8.rocky.0.1.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +oscap-anaconda-addon + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +pcs + + + binary_pkg: pcs-0.10.12-6.el8.x86_64.rpm +WARN: /tmp/tmp.GSQJAUxmvR/usr/lib64/pcsd/public/images/HAM-logo.png does not exist, should you be using koji or cache? + +================================================================================ +pesign + + + binary_pkg: pesign-0.112-26.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +plymouth + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +python-pip + + + binary_pkg: platform-python-pip-9.0.3-22.el8.rocky.0.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +python2 + + + binary_pkg: python2-libs-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +python3 + + + binary_pkg: python3-libs-3.6.8-45.el8.rocky.0.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +redhat-rpm-config + + + binary_pkg: redhat-rpm-config-129-1.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +scap-security-guide + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +shim + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +shim-unsigned-aarch64 + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +shim-unsigned-x64 + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +sos + + + binary_pkg: sos-4.2-15.el8.noarch.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +subscription-manager + + + binary_pkg: subscription-manager-1.28.29-3.el8.x86_64.rpm + +SUCCESS: FileContents found pattern. + +================================================================================ +systemd + +WARN: dvd1 media does not contain SRPMs, use koji or cache + +================================================================================ +thunderbird + + + binary_pkg: thunderbird-91.9.0-3.el8_5.x86_64.rpm + +SUCCESS: FileContents found pattern. diff --git a/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-koji.debrand_validation.out b/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-koji.debrand_validation.out new file mode 100644 index 0000000..b51ded3 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/output/2022-05-26/Rocky-8.6-x86_64-koji.debrand_validation.out @@ -0,0 +1,131 @@ + +================================================================================ +Package Debrand Validation for x86_64 builds in koji + +anaconda cloud-init dnf fwupd + + +================================================================================ +General Processing Parameters + + type: koji + version: 8.6 + arch: x86_64 + baseurl: http://dl.rockylinux.org/pub/rocky + iso_baseurl: http://dl.rockylinux.org/pub/rocky/8.6/isos + iso_prefix: Rocky + repo_names: baseos,appstream,powertools,extras + koji_tag: dist-rocky8-compose + rocky_rel: 8 + log_dir: /home/rocky/testing/output/2022-05-26 + log_file_suffix: debrand_validation.out + extended: 1 + script_dir: /home/rocky/testing/scripts + rpm_cache_dir: /home/rocky/testing/rpms + +================================================================================ +anaconda + +r8.yaml contents for anaconda + + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + koji_pkg: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +Downloading: anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm +[============== ] 41% 1.00 MiB / 2.43 MiB [============================= ] 82% 2.00 MiB / 2.43 MiB [====================================] 100% 2.43 MiB / 2.43 MiB + + cache_path: /home/rocky/testing/rpms/anaconda-core-33.16.6.7-1.el8.rocky.0.4.x86_64.rpm + +23009 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +cloud-init + +r8.yaml contents for cloud-init + + modular: false + check: FileContents + nvr_pkg: cloud-init-21.1-15.el8 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: na + + binary_pkg: cloud-init-21.1-15.el8.noarch.rpm + koji_pkg: .rpm + +2022-05-26 15:29:03,944 [ERROR] koji: GenericError: invalid format: + + cache_path: /home/rocky/testing/rpms/cloud-init-21.1-15.el8.noarch.rpm + +7278 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +dnf + +r8.yaml contents for dnf + + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-8.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: BUGTRACKER='https://bugs.rockylinux.org/' + value: true + pkg_arch: noarch + source: na + + binary_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + koji_pkg: python3-dnf-4.7.0-8.el8.noarch.rpm + +Downloading: python3-dnf-4.7.0-8.el8.noarch.rpm +File python3-dnf-4.7.0-8.el8.noarch.rpm already downloaded, skipping + + cache_path: /home/rocky/testing/rpms/python3-dnf-4.7.0-8.el8.noarch.rpm + +3816 blocks + + +SUCCESS: FileContents found pattern. + +================================================================================ +fwupd + +r8.yaml contents for fwupd + + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.4-2.el8 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: na + + binary_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + koji_pkg: fwupd-1.7.4-2.el8.x86_64.rpm + +2022-05-26 15:29:06,951 [ERROR] koji: PermissionError: [Errno 13] Permission denied: 'fwupd-1.7.4-2.el8.x86_64.rpm' +Downloading: fwupd-1.7.4-2.el8.x86_64.rpm + + cache_path: /home/rocky/testing/rpms/fwupd-1.7.4-2.el8.x86_64.rpm + +17009 blocks + + +SUCCESS: BinaryStrings found pattern. diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_aarch64.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_aarch64.repo new file mode 100644 index 0000000..2a0bce5 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_aarch64.repo @@ -0,0 +1,12 @@ +[peridot_aarch64] +name=peridot_aarch64 +baseurl=https://yumrepofs.build.resf.org/v1/projects/df5bcbfc-ba83-4da8-84d6-ae0168921b4d/repo/all/aarch64 +gpgcheck=0 +enabled=1 +priority=10 + +# Rocky 9.0 - 55b17281-bc54-4929-8aca-a8a11d628738 +# Rocky 9.1 - 0048077b-1573-4cb7-8ba7-cce823857ba5 +# Rocky 9.2 - dff20351-7d36-4f7c-9eea-7f039f5026d0 +# Rocky 9.3 - 6202c09e-6252-4d3a-bcd3-9c7751682970 +# Rocky 9.4 - df5bcbfc-ba83-4da8-84d6-ae0168921b4d diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_ppc64le.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_ppc64le.repo new file mode 100644 index 0000000..d8dba2c --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_ppc64le.repo @@ -0,0 +1,6 @@ +[peridot_ppc64le] +name=peridot_ppc64le +baseurl=https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/ppc64le +gpgcheck=0 +enabled=1 +priority=10 \ No newline at end of file diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky.repo new file mode 100644 index 0000000..8dcf06b --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky.repo @@ -0,0 +1,27 @@ +# rocky.repo +# +# Peridot Project for Rocky Linux 9.4 = df5bcbfc-ba83-4da8-84d6-ae0168921b4d +# Repository names from https://peridot.build.resf.org/df5bcbfc-ba83-4da8-84d6-ae0168921b4d/repositories +# + +[baseos] +name=Rocky Linux Peridot 9.4 - BaseOS +baseurl=https://yumrepofs.build.resf.org/v1/projects/df5bcbfc-ba83-4da8-84d6-ae0168921b4d/repo/BaseOS/$basearch +gpgcheck=0 +enabled=1 +priority=10 + +[appstream] +name=Rocky Linux Peridot 9.4 - AppStream +baseurl=https://yumrepofs.build.resf.org/v1/projects/df5bcbfc-ba83-4da8-84d6-ae0168921b4d/repo/AppStream/$basearch +gpgcheck=0 +enabled=1 +priority=10 + +[crb] +name=Rocky Linux Peridot 9.4 - CRB +baseurl=https://yumrepofs.build.resf.org/v1/projects/df5bcbfc-ba83-4da8-84d6-ae0168921b4d/repo/CRB/$basearch +gpgcheck=0 +enabled=1 +priority=10 + diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky10.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky10.repo new file mode 100644 index 0000000..095d502 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky10.repo @@ -0,0 +1,27 @@ +# rocky.repo +# +# Peridot Project for Rocky Linux 10 = e7b83c0a-b514-4903-b739-6943bbb307f7 +# Repository names from https://peridot.build.resf.org/e7b83c0a-b514-4903-b739-6943bbb307f7/repositories +# + +[baseos] +name=Rocky Linux Peridot 10.0 - BaseOS +baseurl=https://yumrepofs.build.resf.org/v1/projects/e7b83c0a-b514-4903-b739-6943bbb307f7/repo/BaseOS/$basearch +gpgcheck=0 +enabled=1 +priority=10 + +[appstream] +name=Rocky Linux Peridot 10.0 - AppStream +baseurl=https://yumrepofs.build.resf.org/v1/projects/e7b83c0a-b514-4903-b739-6943bbb307f7/repo/AppStream/$basearch +gpgcheck=0 +enabled=1 +priority=10 + +[crb] +name=Rocky Linux Peridot 10 - CRB +baseurl=https://yumrepofs.build.resf.org/v1/projects/e7b83c0a-b514-4903-b739-6943bbb307f7/repo/CRB/$basearch +gpgcheck=0 +enabled=1 +priority=10 + diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky9.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky9.repo new file mode 100644 index 0000000..ef40442 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_rocky9.repo @@ -0,0 +1,27 @@ +# rocky.repo +# +# Peridot Project for Rocky Linux 9.6 = 05d2a73d-41c8-4ee1-b079-99d02c23a4bd +# Repository names from https://peridot.build.resf.org/05d2a73d-41c8-4ee1-b079-99d02c23a4bd/repositories +# + +[baseos] +name=Rocky Linux Peridot 9.6 - BaseOS +baseurl=https://yumrepofs.build.resf.org/v1/projects/05d2a73d-41c8-4ee1-b079-99d02c23a4bd/repo/BaseOS/$basearch +gpgcheck=0 +enabled=1 +priority=10 + +[appstream] +name=Rocky Linux Peridot 9.6 - AppStream +baseurl=https://yumrepofs.build.resf.org/v1/projects/05d2a73d-41c8-4ee1-b079-99d02c23a4bd/repo/AppStream/$basearch +gpgcheck=0 +enabled=1 +priority=10 + +[crb] +name=Rocky Linux Peridot 9.6 - CRB +baseurl=https://yumrepofs.build.resf.org/v1/projects/05d2a73d-41c8-4ee1-b079-99d02c23a4bd/repo/CRB/$basearch +gpgcheck=0 +enabled=1 +priority=10 + diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_s390x.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_s390x.repo new file mode 100644 index 0000000..3e0b2c6 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_s390x.repo @@ -0,0 +1,6 @@ +[peridot_s390x] +name=peridot_s390x +baseurl=https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/s390x +gpgcheck=0 +enabled=1 +priority=10 \ No newline at end of file diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_stg_x86_64.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_stg_x86_64.repo new file mode 100644 index 0000000..3f60722 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_stg_x86_64.repo @@ -0,0 +1,15 @@ +[peridot] +name=peridot +#baseurl=https://yumrepofs.build.resf.org/v1/projects/dff20351-7d36-4f7c-9eea-7f039f5026d0/repo/all/$basearch +baseurl=https://yumrepofs.build.resf.org/v1/projects/6202c09e-6252-4d3a-bcd3-9c7751682970/repo/all/$basearch +gpgcheck=0 +enabled=1 +priority=10 + +[peridot_AppStream] +name=peridot_AppStream +#baseurl=https://yumrepofs.build.resf.org/v1/projects/dff20351-7d36-4f7c-9eea-7f039f5026d0/repo/all/$basearch +baseurl=https://yumrepofs.build.resf.org/v1/projects/6202c09e-6252-4d3a-bcd3-9c7751682970/repo/all/$basearch +gpgcheck=0 +enabled=1 +priority=10 diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_x86_64.repo b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_x86_64.repo new file mode 100644 index 0000000..278fb3d --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot/peridot_x86_64.repo @@ -0,0 +1,12 @@ +[peridot_x86_64] +name=peridot_x86_64 +baseurl=https://yumrepofs.build.resf.org/v1/projects/df5bcbfc-ba83-4da8-84d6-ae0168921b4d/repo/all/x86_64 +gpgcheck=0 +enabled=1 +priority=10 + +# Rocky 9.0 - 55b17281-bc54-4929-8aca-a8a11d628738 +# Rocky 9.1 - 0048077b-1573-4cb7-8ba7-cce823857ba5 +# Rocky 9.2 - dff20351-7d36-4f7c-9eea-7f039f5026d0 +# Rocky 9.3 - 6202c09e-6252-4d3a-bcd3-9c7751682970 +# Rocky 9.4 - df5bcbfc-ba83-4da8-84d6-ae0168921b4d diff --git a/qa-testcase-boxes/testcase-debranding-validation/peridot_yumrepofs.yml b/qa-testcase-boxes/testcase-debranding-validation/peridot_yumrepofs.yml new file mode 100644 index 0000000..7b0bb6e --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/peridot_yumrepofs.yml @@ -0,0 +1,9 @@ +--- +"dev": + "host": yumrepofs.pdot-dev.rockylinux.org + "projectID": e7b83c0a-b514-4903-b739-6943bbb307f7 +"prod": + "host": yumrepofs.build.resf.org + "projectID": 05d2a73d-41c8-4ee1-b079-99d02c23a4bd # r9.6 + # "projectID": ae163d6a-f050-484f-bbaa-100ca673f146 + # "projectID": df5bcbfc-ba83-4da8-84d6-ae0168921b4d diff --git a/qa-testcase-boxes/testcase-debranding-validation/r10.0-combinations b/qa-testcase-boxes/testcase-debranding-validation/r10.0-combinations new file mode 100644 index 0000000..00719ec --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r10.0-combinations @@ -0,0 +1,36 @@ +anaconda anaconda-core-40.22.3.30-1.el10.rocky.0.2 x86_64 SUCCESS +cloud-init cloud-init-24.4-5.el10.0.1 noarch SUCCESS +cockpit-composer cockpit-composer-53-1.el10.rocky.0.1 noarch FAIL, needs fine tuning, RHEL in README.md with no replacement with Enterprise Linux +crash crash-9.0.0-1.el10 src SUCCESS +dhcp dhcp-4.4.3-13.P1.el10 src SUCCESS +dnf python3-dnf-4.20.0-14.el10.rocky.0.1 noarch SUCCESS +dnf5 python3-libdnf5-5.1.12-1.el10.rocky.0.1 x86_64 SUCCESS +firefox firefox-128.10.0-1.el10_0.0.1 x86_64 SUCCESS +fwupd-efi fwupd-efi-1.6-3.el10.rocky.0.2 x86_64 SUCCESS +gcc gcc-14.2.1-7.el10 x86_64 SUCCESS +gdb gdb-headless-14.2-4.1.el10_0 x86_64 SUCCESS +gnome-initial-setup gnome-initial-setup-46.alpha-15.el10_0 x86_64 SUCCESS +gnome-session gnome-session-46.0-8.el10_0.rocky.0.2 src SUCCESS +gnome-settings-daemon gnome-settings-daemon-47.2-5.el10.rocky.0.1 src SUCCESS +gnome-shell gnome-shell-47.4-2.el10.rocky.0.2 src SUCCESS +gnome-tour gnome-tour-46.0-4.el10.rocky.0.1 src SUCCESS +grub2 grub2-efi-x64-2.12-14.el10_0 x86_64 SUCCESS +ima-evm-utils ima-evm-utils-1.6.2-1.el10.rocky.0.2 x86_64 SUCCESS +kernel kernel-core-6.12.0-88.el10 x86_64 SUCCESS +libdnf libdnf-0.73.1-10.el10.rocky.0.1 x86_64 SUCCESS +nginx nginx-1.26.3-1.el10 x86_64 no r10 branch in patches/nginx but in the all portion of patch.yml +openscap openscap-1.3.12-2.el8_10.rocky.1.0 x86_64 SUCCESS +osbuild osbuild-149-1.el10.rocky.0.2 noarch SUCCESS +osbuild-composer osbuild-composer-141-1.el10.rocky.0.6 src SUCCESS +PackageKit PackageKit-1.2.8-8.el10 x86_64 SUCCESS +redhat-rpm-config redhat-rpm-config-288-1.el10_0.1 noarch SUCCESS +scap-security-guide scap-security-guide-0.1.76-2.el10.rocky.0.2 src SUCCESS +shim shim-15.8-3.el10 src SUCCESS +shim-unsigned-aarch64 shim-unsigned-aarch64-15.8-2.el10 src SUCCESS +shim-unsigned-x64 him-unsigned-x64-15.8-2.el10 src SUCCESS +subscription-manager subscription-manager-1.30.7-1.el10.rocky.0.1 x86_64 SUCCESS +subscription-manager-cockpit subscription-manager-cockpit-7-1.el10.rocky.0.1 src SUCCESS +systemd systemd-257-11.el10 src SUCCESS +thunderbird thunderbird-128.10.0-1.el10_0 x86_64 SUCCESS +WALinuxAgent WALinuxAgent-2.13.1.1-1.el10 noarch SUCCESS + diff --git a/qa-testcase-boxes/testcase-debranding-validation/r10.0.yaml b/qa-testcase-boxes/testcase-debranding-validation/r10.0.yaml new file mode 100644 index 0000000..3948b20 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r10.0.yaml @@ -0,0 +1,327 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-40.22.3.30-1.el10.rocky.0.2 + file: /usr/lib64/python3.12/site-packages/pyanaconda/core/constants.py + content: Used by EL derivatives for minimal images only + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-24.4-5.el10.0.1 + file: /usr/lib/python3.12/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "cockpit-composer": + modular: false + check: FileContents + nvr_pkg: cockpit-composer-53-1.el10.rocky.0.1 + file: /usr/share/doc/cockpit-composer/README.md + content: RHEL + value: false + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-9.0.0-1.el10 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.3-13.P1.el10 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.20.0-14.el10.rocky.0.1 + file: /usr/lib/python3.12/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "dnf5": + modular: false + check: BinaryStrings + nvr_pkg: python3-libdnf5-5.1.12-1.el10.rocky.0.1 + file: /usr/lib64/python3.12/site-packages/libdnf5/_conf.so + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-128.10.0-1.el10_0.0.1 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd-efi": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-efi-1.6-3.el10.rocky.0.2 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-14.2.1-7.el10 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-14.2-4.1.el10_0 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-initial-setup": + modular: false + check: FileContents + nvr_pkg: gnome-initial-setup-46.alpha-15.el10_0 + file: gnome-initial-setup.spec + content: '^#Patch\: *0001-RHEL10-style-illustrations.patch' + value: true + pkg_arch: src + source: stg + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-46.0-8.el10_0.rocky.0.2 + file: gnome-session.spec + content: Disable subman dependencies + value: true + pkg_arch: src + source: koji + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-47.2-5.el10.rocky.0.1 + file: gnome-settings-daemon.spec + content: Disable subman dependencies + value: true + pkg_arch: src + source: koji + "gnome-shell": + modular: false + check: FileContents + nvr_pkg: gnome-shell-47.4-2.el10.rocky.0.2 + file: gnome-shell.spec + content: 0001-Add-custom-start-logo.patch + value: true + pkg_arch: src + source: koji + "gnome-tour": + modular: false + check: FileContents + nvr_pkg: gnome-tour-46.0-4.el10.rocky.0.1 + file: gnome-tour.spec + content: Use default gnome-tour illustrations + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.12-14.el10_0 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "ima-evm-utils": + modular: false + check: BinaryStrings + nvr_pkg: ima-evm-utils-1.6.2-1.el10.rocky.0.2 + file: /etc/keys/ima/rocky-imarelease.der + content: Rocky Linux IMA Release Key + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-6.12.0-55.12.1.el10_0 + file: /lib/modules/6.12.0-55.12.1.el10_0.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.73.1-10.el10.rocky.0.1 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.26.3-1.el10 + file: /usr/share/nginx/html/50x.html + content: '' + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.12-2.el8_10.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-149-1.el10.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-141-1.el10.rocky.0.6 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: koji + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.8-8.el10 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-288-1.el10_0.1 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.76-2.el10.rocky.0.2 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: BinaryStrings + nvr_pkg: shim-15.8-2.el10 + file: shimx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: src + source: stg + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15.8-2.el10.0.1 + file: sbat.rocky.csv + content: shim.rocky,3,Rocky Linux,shim + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.8-2.el10.0.1 + file: sbat.rocky.csv + content: shim.rocky,3,Rocky Linux,shim + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.30.7-1.el10.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-7-1.el10.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-257-11.el10 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-128.10.0-1.el10_0 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.13.1.1-1.el10 + file: /usr/lib/python3.12/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r10.1-combinations b/qa-testcase-boxes/testcase-debranding-validation/r10.1-combinations new file mode 100644 index 0000000..3205dfa --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r10.1-combinations @@ -0,0 +1,31 @@ +anaconda anaconda-core-40.22.3.30-1.el10.rocky.0.2 x86_64 SUCCESS +cloud-init cloud-init-24.4-5.el10.0.1 noarch SUCCESS +crash crash-9.0.0-1.el10 src SUCCESS +dnf python3-dnf-4.20.0-14.el10.rocky.0.1 noarch SUCCESS +dnf5 python3-libdnf5-5.1.12-1.el10.rocky.0.1 x86_64 SUCCESS +firefox firefox-128.10.0-1.el10_0.0.1 x86_64 SUCCESS +fwupd-efi fwupd-efi-1.6-3.el10.rocky.0.2 x86_64 SUCCESS +gcc gcc-14.2.1-7.el10 x86_64 SUCCESS +gdb gdb-headless-14.2-4.1.el10_0 x86_64 SUCCESS +gnome-initial-setup gnome-initial-setup-46.alpha-15.el10_0 x86_64 SUCCESS +gnome-session gnome-session-46.0-8.el10_0.rocky.0.2 src SUCCESS +gnome-settings-daemon gnome-settings-daemon-47.2-5.el10.rocky.0.1 src SUCCESS +gnome-shell gnome-shell-47.4-2.el10.rocky.0.2 src SUCCESS +gnome-tour gnome-tour-46.0-4.el10.rocky.0.1 src SUCCESS +grub2 grub2-efi-x64-2.12-14.el10_0 x86_64 SUCCESS +ima-evm-utils ima-evm-utils-1.6.2-1.el10.rocky.0.2 x86_64 SUCCESS +kernel kernel-core-6.12.0-88.el10 x86_64 SUCCESS +libdnf libdnf-0.73.1-10.el10.rocky.0.1 x86_64 SUCCESS +nginx nginx-1.26.3-1.el10 x86_64 SUCCESS +osbuild osbuild-149-1.el10.rocky.0.2 noarch SUCCESS +osbuild-composer osbuild-composer-141-1.el10.rocky.0.6 src SUCCESS +PackageKit PackageKit-1.2.8-8.el10 x86_64 SUCCESS +redhat-rpm-config redhat-rpm-config-288-1.el10_0.1 noarch SUCCESS +scap-security-guide scap-security-guide-0.1.76-2.el10.rocky.0.2 src SUCCESS +shim shim-15.8-3.el10 src SUCCESS +shim-unsigned-aarch64 shim-unsigned-aarch64-15.8-2.el10 src SUCCESS +shim-unsigned-x64 shim-unsigned-x64-15.8-2.el10 src SUCCESS +subscription-manager subscription-manager-1.30.7-1.el10.rocky.0.1 x86_64 SUCCESS +subscription-manager-cockpit subscription-manager-cockpit-7-1.el10.rocky.0.1 src SUCCESS +systemd systemd-257-11.el10 src SUCCESS +thunderbird thunderbird-128.10.0-1.el10_0 x86_64 SUCCESS diff --git a/qa-testcase-boxes/testcase-debranding-validation/r10.1.yaml b/qa-testcase-boxes/testcase-debranding-validation/r10.1.yaml new file mode 100644 index 0000000..9ab8dbc --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r10.1.yaml @@ -0,0 +1,291 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-40.22.3.33-1.el10.rocky.0.3 + file: /usr/lib64/python3.12/site-packages/pyanaconda/core/constants.py + content: Used by EL derivatives for minimal images only + value: true + pkg_arch: + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-24.4-6.el10.0.1 + file: /usr/lib/python3.12/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-9.0.0-4.el10 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.20.0-18.el10.rocky.0.1 + file: /usr/lib/python3.12/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "dnf5": + modular: false + check: BinaryStrings + nvr_pkg: python3-libdnf5-5.1.12-1.el10.rocky.0.1 + file: /usr/lib64/python3.12/site-packages/libdnf5/_conf.so + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-140.4.0-3.el10_0 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd-efi": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-efi-1.6-3.el10.rocky.0.2 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-14.3.1-2.3.el10 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-16.3-2.el10 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-initial-setup": + modular: false + check: FileContents + nvr_pkg: gnome-initial-setup-46.7-1.el10 + file: gnome-initial-setup.spec + content: '^#Patch\: *0001-RHEL10-style-illustrations.patch' + value: true + pkg_arch: src + source: stg + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-46.0-10.el10 + file: gnome-session.spec + content: Disable subman dependencies + value: true + pkg_arch: src + source: koji + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-47.2-5.el10.rocky.0.1 + file: gnome-settings-daemon.spec + content: Disable subman dependencies + value: true + pkg_arch: src + source: koji + "gnome-shell": + modular: false + check: FileContents + nvr_pkg: gnome-shell-47.8-6.el10.rocky.0.2 + file: gnome-shell.spec + content: 0001-Add-custom-start-logo.patch + value: true + pkg_arch: src + source: koji + "gnome-tour": + modular: false + check: FileContents + nvr_pkg: gnome-tour-46.0-4.el10.rocky.0.1 + file: gnome-tour.spec + content: Use default gnome-tour illustrations + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.12-28.el10.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "ima-evm-utils": + modular: false + check: BinaryStrings + nvr_pkg: ima-evm-utils-1.6.2-3.el10.rocky.0.2 + file: /etc/keys/ima/rocky-imarelease.der + content: Rocky Linux IMA Release Key + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-6.12.0-124.2.1.el10_1 + file: /lib/modules/6.12.0-124.2.1.el10_1.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.73.1-12.el10.rocky.0.1 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.26.3-1.el10 + file: nginx.spec + content: Debrand default pages + value: true + pkg_arch: src + source: + "openssh": + modular: false + check: FileContents + nvr_pkg: openssh-9.9p1-11.el10.rocky.0.1 + file: openssh.spec + content: Remove redhat message + value: true + pkg_arch: src + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-158-1.el10.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-149-1.el10.rocky.0.6 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: koji + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.8-8.el10 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-293-1.el10 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.78-1.el10_0.rocky.0.2 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: BinaryStrings + nvr_pkg: shim-15.8-3.el10 + file: shimx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: src + source: stg + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15.8-2.el10 + file: sbat.rocky.csv + content: shim.rocky,3,Rocky Linux,shim + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.8-2.el10 + file: sbat.rocky.csv + content: shim.rocky,3,Rocky Linux,shim + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.30.10-1.el10.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-9-1.el10.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-257-13.el10 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-140.4.0-2.el10_0 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r10.yaml b/qa-testcase-boxes/testcase-debranding-validation/r10.yaml new file mode 100644 index 0000000..9ab8dbc --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r10.yaml @@ -0,0 +1,291 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-40.22.3.33-1.el10.rocky.0.3 + file: /usr/lib64/python3.12/site-packages/pyanaconda/core/constants.py + content: Used by EL derivatives for minimal images only + value: true + pkg_arch: + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-24.4-6.el10.0.1 + file: /usr/lib/python3.12/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-9.0.0-4.el10 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.20.0-18.el10.rocky.0.1 + file: /usr/lib/python3.12/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "dnf5": + modular: false + check: BinaryStrings + nvr_pkg: python3-libdnf5-5.1.12-1.el10.rocky.0.1 + file: /usr/lib64/python3.12/site-packages/libdnf5/_conf.so + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-140.4.0-3.el10_0 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd-efi": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-efi-1.6-3.el10.rocky.0.2 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-14.3.1-2.3.el10 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-16.3-2.el10 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-initial-setup": + modular: false + check: FileContents + nvr_pkg: gnome-initial-setup-46.7-1.el10 + file: gnome-initial-setup.spec + content: '^#Patch\: *0001-RHEL10-style-illustrations.patch' + value: true + pkg_arch: src + source: stg + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-46.0-10.el10 + file: gnome-session.spec + content: Disable subman dependencies + value: true + pkg_arch: src + source: koji + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-47.2-5.el10.rocky.0.1 + file: gnome-settings-daemon.spec + content: Disable subman dependencies + value: true + pkg_arch: src + source: koji + "gnome-shell": + modular: false + check: FileContents + nvr_pkg: gnome-shell-47.8-6.el10.rocky.0.2 + file: gnome-shell.spec + content: 0001-Add-custom-start-logo.patch + value: true + pkg_arch: src + source: koji + "gnome-tour": + modular: false + check: FileContents + nvr_pkg: gnome-tour-46.0-4.el10.rocky.0.1 + file: gnome-tour.spec + content: Use default gnome-tour illustrations + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.12-28.el10.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "ima-evm-utils": + modular: false + check: BinaryStrings + nvr_pkg: ima-evm-utils-1.6.2-3.el10.rocky.0.2 + file: /etc/keys/ima/rocky-imarelease.der + content: Rocky Linux IMA Release Key + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-6.12.0-124.2.1.el10_1 + file: /lib/modules/6.12.0-124.2.1.el10_1.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.73.1-12.el10.rocky.0.1 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.26.3-1.el10 + file: nginx.spec + content: Debrand default pages + value: true + pkg_arch: src + source: + "openssh": + modular: false + check: FileContents + nvr_pkg: openssh-9.9p1-11.el10.rocky.0.1 + file: openssh.spec + content: Remove redhat message + value: true + pkg_arch: src + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-158-1.el10.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-149-1.el10.rocky.0.6 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: koji + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.8-8.el10 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-293-1.el10 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.78-1.el10_0.rocky.0.2 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: BinaryStrings + nvr_pkg: shim-15.8-3.el10 + file: shimx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: src + source: stg + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15.8-2.el10 + file: sbat.rocky.csv + content: shim.rocky,3,Rocky Linux,shim + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.8-2.el10 + file: sbat.rocky.csv + content: shim.rocky,3,Rocky Linux,shim + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.30.10-1.el10.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-9-1.el10.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-257-13.el10 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-140.4.0-2.el10_0 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8-combinations b/qa-testcase-boxes/testcase-debranding-validation/r8-combinations new file mode 100644 index 0000000..500391b --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8-combinations @@ -0,0 +1,45 @@ +abrt abrt-2.10.9-24.el8.rocky.0.1 +anaconda anaconda-core-33.16.8.8-1.el8.rocky.0.1 +anaconda-user-help anaconda-user-help-8.8.3-1.el8.rocky.0.3 +cloud-init cloud-init-22.1-8.el8.0.2 +crash crash-7.3.2-4.el8 +dhcp dhcp-4.3.6-49.el8 +dnf python3-dnf-4.7.0-16.el8_8 +dotnet dotnet-host-7.0.5-2.el8_8 +firefox firefox-102.10.0-1.el8_7 +fwupd fwupd-1.7.8-1.el8.rocky.0.4 +fwupdate fwupdate-11-3.el8.1.1 +gcc gcc-8.5.0-18.el8 +gnome-boxes gnome-boxes-3.36.5-8.el8.rocky.0.1 +gnome-settings-daemon gnome-settings-daemon-3.32.0-19.el8 +grub2 grub2-efi-x64-2.02-148.el8.rocky.0.3 +initial-setup initial-setup-0.3.81.7-1.el8.rocky +kernel kernel-core-4.18.0-477.10.1.el8_8 +kernel-rt kernel-rt-core-4.18.0-477.10.1.rt7.274.el8_8 +libdnf libdnf-0.63.0-14.el8_8 +libguestfs libguestfs +libreoffice libreoffice-6.4.7.2-13.el8 +libreport libreport-2.9.5-15.el8.rocky.6.3 +lorax-templates-rhel lorax-templates-rhel-8.7-1.el8.rocky.0.1 +nginx nginx +openscap oscap-anaconda-addon-1.2.1-12.el8 +osbuild-composer osbuild-composer-core-75-1.el8.rocky.0.2 +oscap-anaconda-addon oscap-anaconda-addon-1.2.1-12.el8 +PackageKit PackageKit-1.1.12-6.el8.0.2 +pcs pcs +pesign pesign +plymouth plymouth +python2 python2-libs +python3 python3-libs-3.6.8-51.el8.rocky.0 +python-pip platform-python-pip-9.0.3-22.el8.rocky.0 +redhat-rpm-config redhat-rpm-config-131-1.el8 +scap-security-guide scap-security-guide-0.1.66-2.el8_7.rocky.0.1 +shim shim-15.6-1.el8.rocky.0.2 +shim-unsigned-aarch64 shim-unsigned-aarch64 +shim-unsigned-x64 shim-unsigned-x64 +subscription-manager subscription-manager-1.28.36-2.el8 +subscription-manager-cockpit subscription-manager-cockpit +systemd systemd-239-74.el8_8 +thunderbird thunderbird-102.10.0-2.el8_7 +WALinuxAgent WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 + diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.10-combinations b/qa-testcase-boxes/testcase-debranding-validation/r8.10-combinations new file mode 100644 index 0000000..bab8cee --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.10-combinations @@ -0,0 +1,43 @@ +abrt abrt-2.10.9-24.el8.rocky.0.1 x86_64 +anaconda anaconda-core-33.16.10.5-1.el8.rocky.0.1 x86_64 +anaconda-user-help anaconda-user-help-8.8.3-1.el8.rocky.0.3 noarch +cloud-init cloud-init-23.4-7.el8_10.0.1 noarch +crash crash-8.0.4-2.el8 src +cockpit-composer cockpit-composer-50-1.el8.rocky.0.1 src +dhcp dhcp-4.3.6-50.el8_10 src +dotnet dotnet-host-8.0.5-1.el8_10 x86_64 +dnf python3-dnf-4.7.0-20.el8 noarch +firefox firefox-115.11.0-1.el8_10 x86_64 +fwupd fwupd-1.7.8-2.el8.rocky.0.3 x86_64 +gcc gcc-8.5.0-22.el8_10 x86_64 +gdb gdb-headless-8.2-20.el8.0.1 x86_64 +gnome-boxes gnome-boxes-3.36.5-8.el8.rocky.0.3 src +grub2 grub2-efi-x64-2.02-156.el8.rocky.0.1 x86_64 +initial-setup initial-setup-0.3.81.7-1.el8.rocky x86_64 +kernel kernel-core-4.18.0-553.el8_10 x86_64 +kernel-rt kernel-rt-core-4.18.0-513.24.1.rt7.326.el8_9 x86_64 +libdnf libdnf-0.63.0-19.el8 x86_64 +libguestfs libguestfs-1.44.0-9.module+el8.10.0+1590+a67ab969.rocky src +libreoffice libreoffice-6.4.7.2-16.el8_9 src +libreport libreport-2.9.5-15.el8.rocky.6.3 x86_64 +lorax-templates-rhel lorax-templates-rhel-8.7-1.el8.rocky.0.1 src +nginx nginx-1.14.1-9.module+el8.4.0+542+81547229 x86_64 +openscap openscap-1.3.10-2.el8_10.rocky.1.0 x86_64 +osbuild osbuild-110-1.el8.rocky.0.2 noarch +osbuild-composer osbuild-composer-101-1.el8.rocky.0.4 src +oscap-anaconda-addon oscap-anaconda-addon-1.2.1-14.el8 src +PackageKit PackageKit-1.1.12-7.el8 x86_64 +pcs pcs-0.10.17-2.el8 x86_64 +plymouth plymouth-0.9.4-11.20200615git1e36e30.el8 src +python-pip platform-python-pip-9.0.3-24.el8.rocky.0 noarch +python2 python2-libs-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2 x86_64 +python3 python3-libs-3.6.8-62.el8_10.rocky.0 x86_64 +redhat-rpm-config redhat-rpm-config-131-1.el8 noarch +scap-security-guide scap-security-guide-0.1.73-1.el8_10.rocky.1.1 src +shim shim-15.8-2.el8 src +subscription-manager subscription-manager-1.28.42-1.el8.rocky.0.2 x86_64 +subscription-manager-cockpit subscription-manager-1.28.42-1.el8.rocky.0.2 src +systemd systemd-239-82.el8_10.1 src +thunderbird thunderbird-115.11.0-1.el8_10 x86_64 +toolbox toolbox-0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2 x86_64 +WALinuxAgent WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 noarch diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.10.aarch64.yaml b/qa-testcase-boxes/testcase-debranding-validation/r8.10.aarch64.yaml new file mode 100644 index 0000000..7972e59 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.10.aarch64.yaml @@ -0,0 +1,400 @@ +--- +"r8": + "dotnet": + modular: false + check: BinaryStrings + nvr_pkg: dotnet-host-8.0.0-2.el8_9 + file: /usr/bin/dotnet + content: rocky + value: true + pkg_arch: + source: + "gnome-boxes": + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-9.module+el8.10.0+1462+f82cbb81.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + "oscap-anaconda-addon": + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-14.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + "pcs": + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.17-2.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: + source: koji + "plymouth": + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "python2": + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-16.module+el8.10.0+1556+da0fa9e7.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: + source: + "python3": + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-56.el8_9.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: + source: +--- +"all": + "abrt": + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-24.el8.rocky.0.1 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: + source: + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.9.4-1.el8.rocky.0.1 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.8.3-1.el8.rocky.0.3 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-23.1.1-9.el8.0.1 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-7.3.2-8.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-49.el8 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-19.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.4.0-1.el8_8 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-2.el8.rocky.0.1 + file: /usr/libexec/fwupd/efi/fwupdaa64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-20.el8 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-8.2-20.el8.0.1 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-3.32.0-19.el8 + file: gnome-settings-daemon.spec + content: Remove all subman patches + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-aa64-2.02-150.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubaa64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-513.5.1.el8_9 + file: /lib/modules/4.18.0-513.5.1.el8_9.aarch64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-513.5.1.rt7.307.el8_9 + file: /lib/modules/4.18.0-513.5.1.rt7.307.el8_9.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: koji + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-17.el8_9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-15.el8 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-8.7-1.el8.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: koji + "nginx": + modular: true + check: FileContents + package: nginx-1.14.1-9.module+el8.4.0+542+81547229 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-93-1.el8.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky8 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-88-1.el8.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.8-1.el8_8.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-7.el8 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-23.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-131-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.69-2.el8_8.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el8.rocky.0.2 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-7.el8.1.1 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el8 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: subscription-manager.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-239-78.el8 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.4.1-1.el8_8 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.10.yaml b/qa-testcase-boxes/testcase-debranding-validation/r8.10.yaml new file mode 100644 index 0000000..b49f0c3 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.10.yaml @@ -0,0 +1,436 @@ +--- +"r8": + "dotnet": + modular: false + check: BinaryStrings + nvr_pkg: dotnet-host-8.0.5-1.el8_10 + file: /usr/bin/dotnet + content: rocky + value: true + pkg_arch: + source: + "gnome-boxes": + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-9.module+el8.10.0+1590+a67ab969.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + "oscap-anaconda-addon": + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-14.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + "pcs": + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.17-2.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: + source: koji + "plymouth": + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "python2": + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: + source: + "python3": + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-62.el8_10.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: + source: +--- +"all": + "abrt": + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-24.el8.rocky.0.1 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: + source: + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.10.5-1.el8.rocky.0.1 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.8.3-1.el8.rocky.0.3 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-23.4-7.el8_10.0.1 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "cockpit-composer": + modular: false + check: FileContents + nvr_pkg: cockpit-composer-50-1.el8.rocky.0.1 + file: cockpit-composer.spec + content: s,RHEL for Edge,Enterprise Linux for Edge,g + value: true + pkg_arch: src + source: koji + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.4-2.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-50.el8_10 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-20.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.11.0-1.el8_10 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-2.el8.rocky.0.3 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-2.el8.rocky.0.3 + file: /usr/libexec/fwupd/efi/fwupdaa64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: aarch64 + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-22.el8_10 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-8.2-20.el8.0.1 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.02-156.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-aa64-2.02-156.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubaa64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: aarch64 + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-553.el8_10 + file: /lib/modules/4.18.0-553.el8_10.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: + "kernel": + modular: false + check: Strings + nvr_pkg: kernel-core-4.18.0-553.el8_10 + file: /lib/modules/4.18.0-553.el8_10.aarch64/config + content: Rocky Linux 8 - Kernel Cryptographic API + value: true + pkg_arch: aarch64 + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-513.24.1.rt7.326.el8_9 + file: /lib/modules/4.18.0-513.24.1.rt7.326.el8_9.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: koji + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-19.el8 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-16.el8_9 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-8.7-1.el8.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: koji + "nginx": + modular: true + check: FileContents + package: nginx-1.14.1-9.module+el8.4.0+542+81547229 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-110-1.el8.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky8 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-101-1.el8.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.10-2.el8_10.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-7.el8 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-24.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-131-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.73-1.el8_10.rocky.1.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.8-2.el8 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15.8-2.el8 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.8-2.el8 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.42-1.el8.rocky.0.2 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.42-1.el8.rocky.0.2 + file: subscription-manager.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-239-82.el8_10.1 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.11.0-1.el8_10 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "toolbox": + modular: false + check: FileContents + nvr_pkg: toolbox-0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2 + file: /etc/containers/toolbox.conf + content: rocky-toolbox + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.7.yaml b/qa-testcase-boxes/testcase-debranding-validation/r8.7.yaml new file mode 100644 index 0000000..e9489f5 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.7.yaml @@ -0,0 +1,463 @@ +--- +"r8": + "abrt": + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-21.el8.rocky.0 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: + source: + "dotnet": + modular: false + check: BinaryStrings + nvr_pkg: dotnet-host-7.0.0-1.el8_7 + file: /usr/bin/dotnet + content: rocky + value: true + pkg_arch: + source: + "fwupdate": + modular: false + check: BinaryStrings + nvr_pkg: fwupdate-efi-11-3.el8.1.1 + file: /boot/efi/EFI/rocky/fwupx64.efi + strings: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gnome-boxes": + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-9.module+el8.7.0+1084+97b81f61.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + "open-vm-tools": + modular: true + check: FileContents + nvr_pkg: open-vm-tools-11.3.5-1.el8 + file: /usr/lib64/libvmtools.so.0.0.0 + content: Rocky + value: true + pkg_arch: + source: + "oscap-anaconda-addon": + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-8.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + "pcs": + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.14-5.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: + source: koji + "plymouth": + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "python2": + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-11.module+el8.7.0+1062+663ba31c.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: + source: + "python3": + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-48.el8_7.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: + source: +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.7.12-1.el8.rocky.0.1 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.3.3-1.el8.rocky.3.2 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-22.1-5.el8 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-7.3.2-2.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-48.el8 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-11.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-102.4.0-1.el8_6.0.1 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-1.el8.rocky.0.3 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-15.el8 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gcc-toolset-9-gcc": + modular: false + check: FileContents + nvr_pkg: gcc-toolset-9-gcc-9.2.1-2.3.el8 + file: gcc.spec + content: http://bugzilla.redhat.com/bugzilla + value: false + pkg_arch: src + source: koji + "gcc-toolset-10-gcc": + modular: false + check: FileContents + nvr_pkg: gcc-toolset-10-gcc-10.3.1-1.2.el8_5 + file: gcc.spec + content: http://bugzilla.redhat.com/bugzilla + value: false + pkg_arch: src + source: koji + "gcc-toolset-11-gcc": + modular: false + check: FileContents + nvr_pkg: gcc-toolset-11-gcc-11.2.1-9.1.el8 + file: /opt/rh/gcc-toolset-11/root/usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-3.32.0-16.el8_6.1 + file: gnome-settings-daemon.spec + content: Remove all subman patches + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.02-142.el8.rocky.0.2 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-425.3.1.el8 + file: /lib/modules/4.18.0-425.3.1.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-425.3.1.rt7.213.el8 + file: /lib/modules/4.18.0-425.3.1.rt7.213.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: koji + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-11.1.el8 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-12.el8_7 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-8.7-1.el8.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: koji + "nginx": + modular: true + check: FileContents + package: nginx-1.20.1-1.module+el8.6.0+791+48a2bb9d + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "opa-ff": + modular: false + check: FileContents + nvr_pkg: opa-ff-10.11.0.2-1.el8.rocky + file: 5000-add-rocky.patch + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "opa-fm": + modular: false + check: FileContents + nvr_pkg: opa-fm-10.11.0.2.1-1.el8.rocky + file: 5000-add-rocky.patch + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.6-4.el8.rocky.0.2 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-65-1.el8.rocky.0.1 + file: /usr/lib/osbuild/runners/org.osbuild.rocky87 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-core-62-3.el8_7.rocky.0.1 + file: /usr/share/osbuild-composer/repositories/rocky-87.json + content: na + value: true + pkg_arch: + source: + "pesign": + modular: false + check: FileContents + nvr_pkg: pesign-0.112-26.el8 + file: /usr/lib/rpm/macros.d/macros.pesign + content: Rocky Linux Secure Boot Signing Local Test Cert - Rocky Enterprise Software Foundation + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-6.el8.0.2 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-22.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-130-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.63-4.el8.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el8 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-7.el8.1.1 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el8 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.32-1.el8 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.32-1.el8 + file: subscription-manager.spec + content: Remove Red Hat specific references and certificates + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-239-68.el8 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkc_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-102.4.0-1.el8_6.0.1 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-6.el8.rocky.0.1 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.8.yaml b/qa-testcase-boxes/testcase-debranding-validation/r8.8.yaml new file mode 100644 index 0000000..674d843 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.8.yaml @@ -0,0 +1,400 @@ +--- +"r8": + "dotnet": + modular: false + check: BinaryStrings + nvr_pkg: dotnet-host-8.0.0~rc.1-0.5.el8_9 + file: /usr/bin/dotnet + content: rocky + value: true + pkg_arch: + source: + "gnome-boxes": + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-9.module+el8.10.0+1462+f82cbb81.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + "oscap-anaconda-addon": + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-14.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + "pcs": + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.17-3.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: + source: koji + "plymouth": + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "python2": + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-16.module+el8.10.0+1556+da0fa9e7.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: + source: + "python3": + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-55.el8.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: + source: +--- +"all": + "abrt": + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-24.el8.rocky.0.1 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: + source: + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.9.4-1.el8.rocky.0.1 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.8.3-1.el8.rocky.0.3 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-23.1.1-10.el8.0.1 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-7.3.2-8.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-49.el8 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-19.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.3.1-1.el8_8 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-1.el8.rocky.0.4 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-20.el8 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-3.32.0-20.el8 + file: gnome-settings-daemon.spec + content: Remove all subman patches + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.02-150.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-513.el8 + file: /lib/modules/4.18.0-513.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-513.rt7.302.el8 + file: /lib/modules/4.18.0-513.rt7.302.el8.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: koji + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-17.el8_9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-15.el8 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-8.7-1.el8.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: koji + "nginx": + modular: true + check: FileContents + package: nginx-1.20.1-2.module+el8.10.0+1541+85258ade + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-93-1.el8.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky8 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-core-88-1.el8.rocky.0.2 + file: /usr/share/osbuild-composer/repositories/rocky-88.json + content: na + value: true + pkg_arch: + source: + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.8-1.el8_8.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-7.el8 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-23.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-131-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.69-2.el8_8.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el8.rocky.0.2 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-7.el8.1.1 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el8 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: subscription-manager.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-239-78.el8 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkc_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.3.1-1.el8_8 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.9-combinations b/qa-testcase-boxes/testcase-debranding-validation/r8.9-combinations new file mode 100644 index 0000000..76f85e0 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.9-combinations @@ -0,0 +1,39 @@ +abrt abrt-2.10.9-24.el8.rocky.0.1 x86_64 +anaconda anaconda-core-33.16.9.4-1.el8.rocky.0.1 x86_64 +anaconda-user-help anaconda-user-help-8.8.3-1.el8.rocky.0.3 noarch +cloud-init cloud-init-23.1.1-10.el8.0.1 noarch +crash crash-7.3.2-8.el8 src +dhcp dhcp-4.3.6-49.el8 src +dotnet dotnet-host-8.0.0~rc.1-0.5.el8_9 x86_64 +firefox firefox-115.3.1-1.el8_8 x86_64 +fwupd fwupd-1.7.8-1.el8.rocky.0.4 x86_64 +gcc gcc-8.5.0-20.el8 x86_64 +gdb gdb-headless-8.2-20.el8.0.1 x86_64 +gnome-boxes gnome-boxes-3.36.5-8.el8.rocky.0.1 src +gnome-settings-daemon gnome-settings-daemon-3.32.0-19.el8 src +grub2 grub2-efi-x64-2.02-150.el8.rocky.0.1 x86_64 +initial-setup initial-setup-0.3.81.7-1.el8.rocky x86_64 +kernel kernel-core-4.18.0-513.el8 x86_64 +kernel-rt kernel-rt-core-4.18.0-513.rt7.302.el8 x86_64 +libdnf libdnf-0.63.0-17.el8_9 x86_64 +libreoffice libreoffice-6.4.7.2-15.el8 src +libreport libreport-2.9.5-15.el8.rocky.6.3 x86_64 +lorax-templates-rhel lorax-templates-rhel-8.7-1.el8.rocky.0.1 src +openscap openscap-1.3.8-1.el8_8.rocky.1.0 x86_64 +osbuild osbuild-93-1.el8.rocky.0.2 noarch +osbuild-composer osbuild-composer-88-1.el8.rocky.0.2 src +oscap-anaconda-addon oscap-anaconda-addon-1.2.1-14.el8 src +PackageKit PackageKit-1.1.12-7.el8 x86_64 +pcs pcs-0.10.17-3.el8 x86_64 +plymouth plymouth-0.9.4-11.20200615git1e36e30.el8 src +python-pip python3-pip-9.0.3-23.el8.rocky.0 noarch +python2 python2-libs-2.7.18-16.module+el8.10.0+1556+da0fa9e7.rocky.0.2 x86_64 +python3 python3-libs-3.6.8-55.el8.rocky.0 x86_64 +redhat-rpm-config redhat-rpm-config-131-1.el8 noarch +scap-security-guide scap-security-guide-0.1.69-2.el8_8.rocky.0.1 src +shim shim-15.6-1.el8.rocky.0.2 src +subscription-manager subscription-manager-1.28.40-1.el8_9.rocky.0.1 x86_64 +subscription-manager-cockpit subscription-manager-1.28.40-1.el8_9.rocky.0.1 src +systemd systemd-239-78.el8 src +thunderbird thunderbird-115.3.1-1.el8_8 x86_64 +WALinuxAgent WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 noarch diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.9.aarch64.yaml b/qa-testcase-boxes/testcase-debranding-validation/r8.9.aarch64.yaml new file mode 100644 index 0000000..7972e59 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.9.aarch64.yaml @@ -0,0 +1,400 @@ +--- +"r8": + "dotnet": + modular: false + check: BinaryStrings + nvr_pkg: dotnet-host-8.0.0-2.el8_9 + file: /usr/bin/dotnet + content: rocky + value: true + pkg_arch: + source: + "gnome-boxes": + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-9.module+el8.10.0+1462+f82cbb81.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + "oscap-anaconda-addon": + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-14.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + "pcs": + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.17-2.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: + source: koji + "plymouth": + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "python2": + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-16.module+el8.10.0+1556+da0fa9e7.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: + source: + "python3": + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-56.el8_9.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: + source: +--- +"all": + "abrt": + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-24.el8.rocky.0.1 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: + source: + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.9.4-1.el8.rocky.0.1 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.8.3-1.el8.rocky.0.3 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-23.1.1-9.el8.0.1 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-7.3.2-8.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-49.el8 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-19.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.4.0-1.el8_8 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-2.el8.rocky.0.1 + file: /usr/libexec/fwupd/efi/fwupdaa64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-20.el8 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-8.2-20.el8.0.1 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-3.32.0-19.el8 + file: gnome-settings-daemon.spec + content: Remove all subman patches + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-aa64-2.02-150.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubaa64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-513.5.1.el8_9 + file: /lib/modules/4.18.0-513.5.1.el8_9.aarch64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-513.5.1.rt7.307.el8_9 + file: /lib/modules/4.18.0-513.5.1.rt7.307.el8_9.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: koji + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-17.el8_9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-15.el8 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-8.7-1.el8.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: koji + "nginx": + modular: true + check: FileContents + package: nginx-1.14.1-9.module+el8.4.0+542+81547229 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-93-1.el8.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky8 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-88-1.el8.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.8-1.el8_8.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-7.el8 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-23.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-131-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.69-2.el8_8.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el8.rocky.0.2 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-7.el8.1.1 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el8 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: subscription-manager.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-239-78.el8 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.4.1-1.el8_8 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.9.yaml b/qa-testcase-boxes/testcase-debranding-validation/r8.9.yaml new file mode 100644 index 0000000..1bcf21d --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.9.yaml @@ -0,0 +1,400 @@ +--- +"r8": + "dotnet": + modular: false + check: BinaryStrings + nvr_pkg: dotnet-host-8.0.0-2.el8_9 + file: /usr/bin/dotnet + content: rocky + value: true + pkg_arch: + source: + "gnome-boxes": + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-9.module+el8.10.0+1462+f82cbb81.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + "oscap-anaconda-addon": + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-14.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + "pcs": + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.17-2.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: + source: koji + "plymouth": + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "python2": + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-16.module+el8.10.0+1556+da0fa9e7.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: + source: + "python3": + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-56.el8_9.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: + source: +--- +"all": + "abrt": + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-24.el8.rocky.0.1 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: + source: + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.9.4-1.el8.rocky.0.1 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.8.3-1.el8.rocky.0.3 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-23.1.1-9.el8.0.1 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-7.3.2-8.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-49.el8 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-19.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.4.0-1.el8_8 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-2.el8.rocky.0.1 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-20.el8 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-8.2-20.el8.0.1 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-3.32.0-19.el8 + file: gnome-settings-daemon.spec + content: Remove all subman patches + value: true + pkg_arch: src + source: koji + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.02-150.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-4.18.0-513.5.1.el8_9 + file: /lib/modules/4.18.0-513.5.1.el8_9.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-513.5.1.rt7.307.el8_9 + file: /lib/modules/4.18.0-513.5.1.rt7.307.el8_9.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: koji + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-17.el8_9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-15.el8 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-8.7-1.el8.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: koji + "nginx": + modular: true + check: FileContents + package: nginx-1.14.1-9.module+el8.4.0+542+81547229 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-93-1.el8.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky8 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-88-1.el8.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.8-1.el8_8.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-7.el8 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-23.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-131-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.69-2.el8_8.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el8.rocky.0.2 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-7.el8.1.1 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el8 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.40-1.el8_9.rocky.0.2 + file: subscription-manager.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-239-78.el8 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.4.1-1.el8_8 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r8.yaml b/qa-testcase-boxes/testcase-debranding-validation/r8.yaml new file mode 100644 index 0000000..a41a030 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r8.yaml @@ -0,0 +1,427 @@ +--- +"r8": + "dotnet": + modular: false + check: BinaryStrings + nvr_pkg: dotnet-host-8.0.5-1.el8_10 + file: /usr/bin/dotnet + content: rocky + value: true + pkg_arch: + source: + "gnome-boxes": + modular: false + check: FileContents + nvr_pkg: gnome-boxes-3.36.5-8.el8.rocky.0.1 + file: add-rocky-logo-and-update-recommended-list.patch + content: http://rockylinux.org/rocky/8.6 + value: true + pkg_arch: src + source: koji + "libguestfs": + modular: true + check: FileContents + nvr_pkg: libguestfs-1.44.0-9.module+el8.10.0+1590+a67ab969.rocky + file: 0001-Add-ROCKY-to-list-of-REDHAT-distros.patch + content: ROCKY + value: true + pkg_arch: src + source: koji + "oscap-anaconda-addon": + modular: true + check: FileContents + nvr_pkg: oscap-anaconda-addon-1.2.1-14.el8 + file: oscap-anaconda-addon.spec + content: This is a Rocky maintained package + value: true + pkg_arch: src + source: koji + "pcs": + modular: false + check: FileChecksum + nvr_pkg: pcs-0.10.17-2.el8 + file: /usr/lib64/pcsd/public/images/HAM-logo.png + content: 043a89fba25a8dbf8d1b860f4a991e4b4dd20ce30b9eccd969f77a85cf1715fd + value: true + pkg_arch: + source: koji + "plymouth": + modular: false + check: FileContents + nvr_pkg: plymouth-0.9.4-11.20200615git1e36e30.el8 + file: plymouth.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "python2": + modular: true + check: FileContents + nvr_pkg: python2-libs-2.7.18-17.module+el8.10.0+1813+4b021305.rocky.0.2 + file: /usr/lib64/python2.7/platform.py + content: rocky + value: true + pkg_arch: + source: + "python3": + modular: false + check: FileContents + nvr_pkg: python3-libs-3.6.8-62.el8_10.rocky.0 + file: /usr/lib64/python3.6/platform.py + content: rocky + value: true + pkg_arch: + source: +--- +"all": + "abrt": + modular: false + check: PackageRequires + nvr_pkg: abrt-2.10.9-24.el8.rocky.0.1 + file: na + content: libreport-plugin-rhtsupport + value: false + pkg_arch: + source: + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-33.16.10.5-1.el8.rocky.0.1 + file: /etc/anaconda/product.d/rocky.conf + content: rocky_help_placeholder.xml + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-8.8.3-1.el8.rocky.0.3 + file: /usr/share/anaconda/help/rocky/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-23.4-7.el8_10.0.1 + file: /usr/lib/python3.6/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "cockpit-composer": + modular: false + check: FileContents + nvr_pkg: cockpit-composer-50-1.el8.rocky.0.1 + file: cockpit-composer.spec + content: s,RHEL for Edge,Enterprise Linux for Edge,g + value: true + pkg_arch: src + source: koji + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.4-2.el8 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: koji + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.3.6-50.el8_10 + file: dhcp-errwarn-message.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: koji + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.7.0-20.el8 + file: /usr/lib/python3.6/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.11.0-1.el8_10 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-2.el8.rocky.0.3 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.8-2.el8.rocky.0.3 + file: /usr/libexec/fwupd/efi/fwupdaa64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: aarch64 + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-8.5.0-22.el8_10 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-8.2-20.el8.0.1 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.02-156.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-aa64-2.02-156.el8.rocky.0.1 + file: /boot/efi/EFI/rocky/grubaa64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: aarch64 + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-0.3.81.7-1.el8.rocky + file: /usr/lib/python3.6/site-packages/initial_setup/product.py + content: /usr/share/rocky-release + value: true + pkg_arch: + source: + "kernel": + modular: false + check: FileContents + nvr_pkg: kernel-core-4.18.0-553.el8_10 + file: /lib/modules/4.18.0-553.el8_10.aarch64/config + content: Rocky Linux 8 - Kernel Cryptographic API + value: true + pkg_arch: aarch64 + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-4.18.0-513.24.1.rt7.326.el8_9 + file: /lib/modules/4.18.0-513.24.1.rt7.326.el8_9.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: x86_64 + source: koji + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.63.0-19.el8 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-6.4.7.2-16.el8_9 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: koji + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.9.5-15.el8.rocky.6.3 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-8.7-1.el8.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: koji + "nginx": + modular: true + check: FileContents + package: nginx-1.14.1-9.module+el8.4.0+542+81547229 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-110-1.el8.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky8 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-101-1.el8.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.10-2.el8_10.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 8 + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.1.12-7.el8 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: platform-python-pip-9.0.3-24.el8.rocky.0 + file: /usr/lib/python3.6/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-131-1.el8 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.73-1.el8_10.rocky.1.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: koji + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.8-2.el8 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15.8-2.el8 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.8-2.el8 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: koji + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.42-1.el8.rocky.0.2 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.28.42-1.el8.rocky.0.2 + file: subscription-manager.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: koji + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-239-82.el8_10.1 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: koji + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.11.0-1.el8_10 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "toolbox": + modular: false + check: FileContents + nvr_pkg: toolbox-0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2 + file: /etc/containers/toolbox.conf + content: rocky-toolbox + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-8.el8_8.rocky.0.1 + file: /usr/lib/python3.6/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9-combinations b/qa-testcase-boxes/testcase-debranding-validation/r9-combinations new file mode 100644 index 0000000..afd456c --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9-combinations @@ -0,0 +1,36 @@ +anaconda anaconda-core-34.25.2.10-1.el9_2.rocky.0.3 +anaconda-user-help anaconda-user-help-9.2.1-1.el9.rocky.0.2 +cloud-init cloud-init-22.1-9.el9.0.2 +crash crash-8.0.2-2.el9 +dhcp dhcp-4.4.2-18.b1.el +dnf python3-dnf-4.14.0-5.el9_2 +firefox firefox-102.10.0-1.el9_1 +fwupd fwupd-1.8.10-2.el9 +gcc gcc-11.3.1-4.3.el9 +gnome-session gnome-session-40.1.1-7.el9.rocky.1 +gnome-settings-daemon gnome-settings-daemon-40.0.1-11.el9_2 +grub2 grub2-efi-x64-2.06-61.el9.rocky.0.1 +initial-setup initial-setup-gui-0.3.90.2-2.el9 +kernel kernel-core-5.14.0-284.11.1.el9_2 +kernel-rt kernel-rt-core-5.14.0-284.11.1.rt14.296.el9_2 +libdnf libdnf-0.69.0-3.el9_2 +libreoffice libreoffice-7.1.8.1-8.el9_1 +libreport libreport-2.15.2-6.el9.rocky.0.2 +lorax-templates-rhel lorax-templates-rhel-9.0-37.el9.rocky.0.1 +nginx nginx-1.20.1-14.el9 +openscap openscap-1.3.7-1.el9.rocky.1.0 +osbuild osbuild-81-1.el9_2.1.rocky.0.2 +osbuild-composer osbuild-composer-76-2.el9_2.2.rocky.0.2 +PackageKit PackageKit-1.2.4-2.el9 +pesign pesign-115-6.el9_1.rocky.2 +python-pip python3-pip-21.2.3-6.el9 +redhat-rpm-config redhat-rpm-config-199-1.el9 +scap-security-guide scap-security-guide-0.1.66-1.el9_1.rocky.0.1 +shim shim-15.6-1.el9.rocky.0.2 +shim-unsigned-aarch64 shim-unsigned-aarch64-15-6.el9.rocky.2 +shim-unsigned-x64 shim-unsigned-x64-15.6-1.el9.rocky.1 +subscription-manager subscription-manager-1.29.33.1-1.el9_2 +subscription-manager-cockpit subscription-manager-cockpit-6-1.el9.rocky.0.1 +systemd systemd-252-13.el9_2 +thunderbird thunderbird-102.10.0-2.el9_1 +WALinuxAgent WALinuxAgent-2.7.0.6-9.el9.rocky.0 diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9-validate-list b/qa-testcase-boxes/testcase-debranding-validation/r9-validate-list new file mode 100644 index 0000000..c3d623e --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9-validate-list @@ -0,0 +1,35 @@ +abrt +anaconda +anaconda-user-help +cloud-init +crash +dhcp +dnf +firefox +fwupd +gcc +gnome-session +gnome-settings-daemon +grub2 +initial-setup +kernel +kernel-rt +libdnf +libreoffice +libreport +lorax-templates-rhel +nginx +openscap +osbuild-composer +PackageKit +python-pip +redhat-rpm-config +scap-security-guide +shim +shim-unsigned-aarch64 +shim-unsigned-x64 +subscription-manager +subscription-manager-cockpit +systemd +thunderbird +WALinuxAgent diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.1.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.1.yaml new file mode 100644 index 0000000..0c49476 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.1.yaml @@ -0,0 +1,327 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.1.14-1.el9.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.0.0-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": # temporary till 21.3 + modular: false + check: FileContents + nvr_pkg: cloud-init-22.1-5.el9 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.1-2.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-17.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.12.0-4.el9 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-102.4.0-1.el9_0.0.1 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.7.9-1.el9 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.3.1-2.1.el9 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-6.el9.rocky.1 + file: gnome-session.spec + content: subscription-manager-support.patch + value: false + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-8.el9 + file: gnome-settings-daemon.spec + content: "%if %{undefined rocky}" + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.06-61.el9.rocky.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-162.6.1.el9_1.0.1 + file: /lib/modules/5.14.0-162.6.1.el9_1.0.1.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-162.6.1.rt21.168.el9_1 + file: /lib/modules/5.14.0-162.6.1.rt21.168.el9_1.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.67.0-3.el9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-7.el9 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "nginx": + modular: true + check: FileContents + package: nginx-1.20.1-13.el9 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": # temporary, submitting upstream PR + modular: false + check: FileContents + nvr_pkg: openscap-1.3.6-4.el9.rocky.0.2 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-65-1.el9.rocky.0.1 + file: /usr/lib/osbuild/runners/org.osbuild.rocky91 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-core-62.1-3.el9_1.rocky.0.1 + file: /usr/share/osbuild-composer/repositories/rocky-91.json + content: na + value: true + pkg_arch: + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.4-2.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "pesign": + modular: false + check: FileContents + nvr_pkg: pesign-115-4.el9.rocky.2 + file: /usr/lib/rpm/macros.d/macros.pesign + content: Rocky Linux Secure Boot Signing Local Test Cert - Rocky Enterprise Software Foundation + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.2.3-6.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-196-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.63-5.el9.rocky.1.5 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el9.rocky.0.1 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el9.rocky.1 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-6.el9.rocky.2 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.30-1.el9 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-4-1.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-250-12.el9_1 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: + "thunderbird": + modular: true + check: FileContents + nvr_pkg: thunderbird-102.4.0-1.el9_0.0.1 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-6.el9.rocky.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.2.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.2.yaml new file mode 100644 index 0000000..0710413 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.2.yaml @@ -0,0 +1,327 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.2.10-1.el9_2.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-22.1-9.el9.0.2 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.2-2.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-18.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.14.0-5.el9_2 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: BUGTRACKER='https://bugs.rockylinux.org/' + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-102.10.0-1.el9_1 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.8.10-2.el9 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.3.1-4.3.el9 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-7.el9.rocky.1 + file: gnome-session.spec + content: subscription-manager-support.patch + value: false + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-11.el9_2 + file: gnome-settings-daemon.spec + content: "%if %{undefined rocky} + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.06-61.el9.rocky.0.1 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-284.11.1.el9_2 + file: /lib/modules/5.14.0-284.11.1.el9_2.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-284.11.1.rt14.296.el9_2 + file: /lib/modules/5.14.0-284.11.1.rt14.296.el9_2.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.69.0-3.el9_2 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: true + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-8.el9_1 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.20.1-14.el9 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.7-1.el9.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: "Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-81-1.el9_2.1.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-76-2.el9_2.2.rocky.0.2 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.4-2.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "pesign": + modular: false + check: FileContents + nvr_pkg: pesign-115-6.el9_1.rocky.2 + file: /usr/lib/rpm/macros.d/macros.pesign + content: Rocky Linux Secure Boot Signing Local Test Cert - Rocky Enterprise Software Foundation + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.2.3-6.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-199-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.66-1.el9_1.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el9.rocky.0.2 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-6.el9.rocky.2 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el9.rocky.1 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.33.1-1.el9_2 + file: /etc/dnf/plugins/subscription-manager.conf + content: enabled=0 + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-6-1.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-252-13.el9_2 + file: systemd.spec + content: '0028-journal-change-support-URL-shown-in-the-catalog-entr.patch' + value: false + pkg_arch: src + source: + "thunderbird": + modular: true + check: FileContents + nvr_pkg: thunderbird-102.10.0-2.el9_1 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-9.el9.rocky.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.3-combinations b/qa-testcase-boxes/testcase-debranding-validation/r9.3-combinations new file mode 100644 index 0000000..553face --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.3-combinations @@ -0,0 +1,36 @@ +anaconda anaconda-core-34.25.3.8-1.el9.rocky.0.3 x86_64 +anaconda-user-help anaconda-user-help-9.2.1-1.el9.rocky.0.2 noarch +cloud-init cloud-init-23.1.1-11.el9.0.1 noarch +crash crash-8.0.3-1.el9 src +dhcp dhcp-4.4.2-19.b1.el9 src +dnf python3-dnf-4.14.0-8.el9 noarch +firefox firefox-115.4.0-1.el9_2 x86_64 +fwupd fwupd-1.8.16-1.el9 x86_64 +gcc gcc-11.4.1-2.1.el9 x86_64 +gdb gdb-headless-10.2-11.el9 x86_64 +gnome-session gnome-session-40.1.1-8.el9 src +gnome-settings-daemon gnome-settings-daemon-40.0.1-13.el9.rocky.0.1 src +grub2 grub2-efi-x64-2.06-70.el9_3.1.rocky.0.2 x86_64 +initial-setup initial-setup-gui-0.3.90.2-2.el9 x86_64 +kernel kernel-core-5.14.0-362.8.1.el9_3 x86_64 +kernel-rt kernel-rt-core-5.14.0-362.8.1.el9_3 x86_64 +libdnf libdnf-0.69.0-5.el9 x86_64 +libreoffice libreoffice-7.1.8.1-11.el9 src +libreport libreport-2.15.2-6.el9.rocky.0.2 x86_64 +lorax-templates-rhel lorax-templates-rhel-9.0-37.el9.rocky.0.1 src +nginx nginx-1.22.1-5.module+el9.3.0+15865+c068dd99 x86_64 +openscap openscap-1.3.8-1.el9_2.rocky.1.0 x86_64 +osbuild osbuild-93-1.el9.rocky.0.2 noarch +osbuild-composer osbuild-composer-88.1-1.el9_3.rocky.0.4 src +PackageKit PackageKit-1.2.4-2.el9 x86_64 +python-pip python3-pip-21.2.3-7.el9 noarch +redhat-rpm-config redhat-rpm-config-201-1.el9 noarch +scap-security-guide scap-security-guide-0.1.69-2.el9_2.rocky.0.1 src +shim shim-15.6-1.el9.rocky.0.2 src +shim-unsigned-aarch64 shim-unsigned-aarch64-15-6.el9.rocky.2 src +shim-unsigned-x64 shim-unsigned-x64-15.6-1.el9.rocky.1 src +subscription-manager subscription-manager-1.29.38-1.el9_3.rocky.0.1 x86_64 +subscription-manager-cockpit subscription-manager-cockpit-6-1.el9.rocky.0.1 src +systemd systemd-252-18.el9 src +thunderbird thunderbird-115.4.1-1.el9 x86_64 +WALinuxAgent WALinuxAgent-2.7.0.6-9.el9_2.1.rocky.1.0 noarch diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.3.aarch64.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.3.aarch64.yaml new file mode 100644 index 0000000..31c3426 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.3.aarch64.yaml @@ -0,0 +1,327 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.3.8-1.el9.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-23.1.1-11.el9.0.1 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.3-1.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-19.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.14.0-8.el9 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.4.0-1.el9_2 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.8.16-1.el9 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.4.1-2.1.el9 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-10.2-11.el9 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-8.el9 + file: gnome-session.spec + content: subscription-manager-support.patch + value: true + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-13.el9.rocky.0.1 + file: gnome-settings-daemon.spec + content: "#Patch00002: subscription-manager-support.patch" + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-aa64-2.06-70.el9_3.1.rocky.0.2 + file: /boot/efi/EFI/rocky/grubaa64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-362.8.1.el9_3 + file: /lib/modules/5.14.0-362.el9.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-362.8.1.el9_3 + file: /lib/modules/5.14.0-362.el9.x86_64+rt/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.69.0-6.el9_3 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: false + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-11.el9 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.22.1-5.module+el9.3.0+15865+c068dd99 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.8-1.el9_2.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-93-1.el9.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-88.1-1.el9_3.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.4-2.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.2.3-7.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-201-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.69-2.el9_2.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el9.rocky.0.2 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-6.el9.rocky.2 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el9.rocky.1 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.38-1.el9_3.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-6-1.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-252-18.el9 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.4.1-1.el9_2 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-9.el9_2.1.rocky.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.3.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.3.yaml new file mode 100644 index 0000000..ec986c1 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.3.yaml @@ -0,0 +1,327 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.3.8-1.el9.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-23.1.1-11.el9.0.1 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.3-1.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-19.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.14.0-8.el9 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.4.0-1.el9_2 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.8.16-1.el9 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.4.1-2.1.el9 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-10.2-11.el9 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-8.el9 + file: gnome-session.spec + content: subscription-manager-support.patch + value: true + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-13.el9.rocky.0.1 + file: gnome-settings-daemon.spec + content: "#Patch00002: subscription-manager-support.patch" + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.06-70.el9_3.1.rocky.0.2 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-362.8.1.el9_3 + file: /lib/modules/5.14.0-362.8.1.el9_3.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-362.8.1.el9_3 + file: /lib/modules/5.14.0-362.8.1.el9_3.x86_64+rt/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.69.0-6.el9_3 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: false + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-11.el9 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.22.1-5.module+el9.3.0+15865+c068dd99 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.8-1.el9_2.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-93-1.el9.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-88.1-1.el9_3.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.4-2.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.2.3-7.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-201-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.69-2.el9_2.rocky.0.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "shim": + modular: false + check: FileContents + nvr_pkg: shim-15.6-1.el9.rocky.0.2 + file: shim.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-aarch64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-aarch64-15-6.el9.rocky.2 + file: shim-unsigned-aarch64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "shim-unsigned-x64": + modular: false + check: FileContents + nvr_pkg: shim-unsigned-x64-15.6-1.el9.rocky.1 + file: shim-unsigned-x64.spec + content: rocky-root-ca.der + value: true + pkg_arch: src + source: + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.38-1.el9_3.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-6-1.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-252-18.el9 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.4.1-1.el9_2 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-9.el9_2.1.rocky.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.4-combinations b/qa-testcase-boxes/testcase-debranding-validation/r9.4-combinations new file mode 100644 index 0000000..b379fa3 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.4-combinations @@ -0,0 +1,35 @@ +anaconda anaconda-core-34.25.4.9-1.el9_4.rocky.0.3 x86_64 +anaconda-user-help anaconda-user-help-9.2.1-1.el9.rocky.0.2 noarch +cloud-init icloud-init-23.4-7.el9_4.0.1 noarch +crash crash-8.0.4-3.el9 src +dhcp dhcp-4.4.2-19.b1.el9 src +dnf python3-dnf-4.14.0-9.el9 noarch +firefox firefox-115.10.0-1.el9_3 x86_64 +fwupd fwupd-1.9.13-2.el9 x86_64 +gcc gcc-11.4.1-3.1.el9 x86_64 +gdb gdb-headless-10.2-13.el9 x86_64 +gnome-session gnome-session-40.1.1-9.el9 src +gnome-settings-daemon gnome-settings-daemon-40.0.1-16.el9.rocky.0.1 src +grub2 grub2-efi-x64-2.06-77.el9 x86_64 +initial-setup initial-setup-gui-0.3.90.2-2.el9 x86_64 +kernel kernel-core-5.14.0-427.13.1.el9_4 x86_64 +kernel-rt kernel-rt-core-5.14.0-427.13.1.el9_4 x86_64 +libdnf libdnf-0.69.0-8.el9 x86_64 +libreoffice libreoffice-7.1.8.1-12.el9_3 src +libreport libreport-2.15.2-6.el9.rocky.0.2 x86_64 +lorax-templates-rhel lorax-templates-rhel-9.0-37.el9.rocky.0.1 src +nginx nginx-1.22.1-5.module+el9.3.0+15865+c068dd99 x86_64 +openscap openscap-1.3.10-2.el9_3.rocky.1.0 x86_64 +osbuild osbuild-110-1.el9.rocky.0.2 noarch +osbuild-composer osbuild-composer-101-1.el9.rocky.0.4 src +PackageKit PackageKit-1.2.6-1.el9 x86_64 +python-pip python3-pip-21.2.3-8.el9 noarch +redhat-rpm-config redhat-rpm-config-207-1.el9 noarch +scap-security-guide scap-security-guide-0.1.72-1.el9_3.rocky.1.1 src +shim shim-15.8-2.el9 src +subscription-manager subscription-manager-1.29.38-1.el9_3.rocky.0.1 x86_64 +subscription-manager-cockpit subscription-manager-cockpit-6-1.el9.rocky.0.1 src +systemd systemd-252-32.el9_4 src +thunderbird thunderbird-115.10.0-2.el9_3 x86_64 +toolbox toolbox-0.0.99.5-2.el9.rocky.0.2 x86_64 +WALinuxAgent WALinuxAgent-2.7.0.6-9.el9_2.1.rocky.1.0 noarch diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.4.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.4.yaml new file mode 100644 index 0000000..1f43a5a --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.4.yaml @@ -0,0 +1,318 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.4.9-1.el9_4.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-23.4-7.el9_4.0.1 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "cockpit-composer": + modular: false + check: FileContents + nvr_pkg: cockpit-composer-50-1.el9.rocky.0.1 + file: /usr/share/cockpit/composer/translations_compiled_uk_json.main.js + content: RHEL + value: false + pkg_arch: noarch + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.4-3.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-19.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.14.0-9.el9 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-115.10.0-1.el9_3 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.9.13-2.el9 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.4.1-3.el9 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-10.2-13.el9 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-9.el9 + file: gnome-session.spec + content: subscription-manager-support.patch + value: true + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-16.el9.rocky.0.1 + file: gnome-settings-daemon.spec + content: "#Patch00002: subscription-manager-support.patch" + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-2.06-77.el9 + file: /0033-Add-friendly-grub2-password-config-tool-985962.patch + content: bugs.rockylinux.org + value: true + pkg_arch: src + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-427.13.1.el9_4 + file: /lib/modules/5.14.0-427.13.1.el9_4.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-427.13.1.el9_4 + file: /lib/modules/5.14.0-427.13.1.el9_4.x86_64+rt/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.69.0-8.el9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: false + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-12.el9_3 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.24.0-1.module+el9.4.0+20060+63aa6270 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.10-2.el9_3.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-110-1.el9.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-101-1.el9.rocky.0.4 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.6-1.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.2.3-8.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-207-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.72-1.el9_3.rocky.1.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.40-1.el9.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-6-1.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-252-32.el9_4 + file: systemd.spec + content: 0028-journal-change-support-URL-shown-in-the-catalog-entr.patch + value: false + pkg_arch: src + source: + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-115.10.0-2.el9_3 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "toolbox": + modular: false + check: FileContents + nvr_pkg: toolbox-0.0.99.5-2.el9.rocky.0.2 + file: /etc/containers/toolbox.conf + content: rocky-toolbox + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-9.el9_2.1.rocky.1.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.5-combinations b/qa-testcase-boxes/testcase-debranding-validation/r9.5-combinations new file mode 100644 index 0000000..cd563aa --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.5-combinations @@ -0,0 +1,36 @@ +anaconda anaconda-core-34.25.4.9-1.el9_4.rocky.0.3 x86_64 ver +anaconda-user-help anaconda-user-help-9.2.1-1.el9.rocky.0.2 noarch good +cloud-init cloud-init-23.4-19.el9.0.2 noarch ver +crash crash-8.0.5-1.el9 src ver +dhcp dhcp-4.4.2-19.b1.el9 src missing +dnf python3-dnf-4.14.0-17.el9 noarch var +elfutils elfutils-0.191-4.el9 src good +firefox firefox-128.4.0-1.el9_4 x86_64 ver +fwupd fwupd-1.9.13-2.el9 x86_64 ver +gcc gcc-11.5.0-2.el9 x86_64 ver +gdb gdb-headless-14.2-3.el9 x86_64 ver +gnome-session gnome-session-40.1.1-9.el9 src ver +gnome-settings-daemon gnome-settings-daemon-40.0.1-17.el9.rocky.0.1 src ver +grub2 grub2-efi-x64-2.06-92.el9 x86_64 +initial-setup initial-setup-gui-0.3.90.2-2.el9 x86_64 +kernel kernel-core-5.14.0-503.11.1.el9_5 x86_64 +kernel-rt kernel-rt-core-5.14.0-503.11.1.el9_5 x86_64 +libdnf libdnf-0.69.0-12.el9 x86_64 +libreoffice libreoffice-7.1.8.1-14.el9_4 src +libreport libreport-2.15.2-6.el9.rocky.0.2 x86_64 +lorax-templates-rhel lorax-templates-rhel-9.0-37.el9.rocky.0.1 src +nginx nginx-1.20.1-20.el9.0.1 x86_64 +openscap openscap-1.3.10-2.el9_3.rocky.1.0 x86_64 +osbuild osbuild-126-1.el9.rocky.0.2 noarch +osbuild-composer osbuild-composer-118-2.el9_5.rocky.0.6 src ver +PackageKit PackageKit-1.2.6-1.el9 x86_64 +python-pip python3-pip-21.3.1-1.el9 noarch +redhat-rpm-config redhat-rpm-config-208-1.el9 noarch +scap-security-guide scap-security-guide-0.1.74-1.el9_4.rocky.1.1 src +shim shim-15.8-2.el9 src missing +subscription-manager subscription-manager-1.29.42-1.el9.rocky.0.1 x86_64 +subscription-manager-cockpit subscription-manager-cockpit-6-1.el9.rocky.0.1 src +systemd systemd-252-46.el9_5.2 src +thunderbird thunderbird-128.4.0-1.el9_4 x86_64 +toolbox toolbox-0.0.99.5-2.el9.rocky.0.2 x86_64 +WALinuxAgent WALinuxAgent-2.7.0.6-10.el9.rocky.0 noarch diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.5.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.5.yaml new file mode 100644 index 0000000..bf560c8 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.5.yaml @@ -0,0 +1,327 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.5.9-1.el9.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-23.4-19.el9.0.2 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "cockpit-composer": + modular: false + check: FileContents + nvr_pkg: cockpit-composer-52-1.el9.rocky.0.1 + file: cockpit-composer.spec + content: "s,RHEL,Enterprise Linux,g" + value: true + pkg_arch: src + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.5-1.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-19.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.14.0-17.el9 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "elfutils": + modular: false + check: FileContents + nvr_pkg: elfutils-0.191-4.el9 + file: elfutils.spec + content: "enable-debuginfod-urls=https://debuginfod.centos.org/" + value: false + pkg_arch: src + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-128.4.0-1.el9_4 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.9.13-2.el9 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.5.0-2.el9 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-14.2-3.el9 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-9.el9 + file: gnome-session.spec + content: subscription-manager-support.patch + value: true + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-17.el9.rocky.0.1 + file: gnome-settings-daemon.spec + content: "#Patch00002: subscription-manager-support.patch" + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.06-92.el9 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-503.11.1.el9_5 + file: /lib/modules/5.14.0-503.11.1.el9_5.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-503.11.1.el9_5 + file: /lib/modules/5.14.0-503.11.1.el9_5.x86_64+rt/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.69.0-12.el9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: false + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-14.el9_4 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.20.1-20.el9.0.1 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.10-2.el9_3.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-126-1.el9.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-118-2.el9_5.rocky.0.6 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.6-1.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.3.1-1.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-208-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.74-1.el9_4.rocky.1.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.42-1.el9.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-6-1.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-252-46.el9_5.2.0.1 + file: systemd.spec + content: "https://wiki.rockylinux.org/rocky/support" + value: true + pkg_arch: src + source: + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-128.4.0-1.el9_4 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "toolbox": + modular: false + check: FileContents + nvr_pkg: toolbox-0.0.99.5-5.el9.rocky.0.2 + file: /etc/containers/toolbox.conf + content: "docker.io/rockylinux/rocky-toolbox" + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-10.el9.rocky.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.6-combinations b/qa-testcase-boxes/testcase-debranding-validation/r9.6-combinations new file mode 100644 index 0000000..4c2ba92 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.6-combinations @@ -0,0 +1,38 @@ +anaconda anaconda-core-34.25.5.17-1.el9_6.rocky.0.3 x86_64 SUCCESS +anaconda-user-help anaconda-user-help-9.2.1-1.el9.rocky.0.2 noarch SUCCESS +cloud-init cloud-init-24.4-4.el9.0.1 noarch SUCCESS +cockpit-composer cockpit-composer-52-1.el9.rocky.0.1 src SUCCESS +crash crash-8.0.6-1.el9 src SUCCESS +dhcp dhcp-4.4.2-19.b1.el9 src SUCCESS +dnf python3-dnf-4.14.0-25.el9 noarch SUCCESS +elfutils elfutils-0.192-5.el9 src SUCCESS +firefox firefox-128.10.1-1.el9_6 x86_64 SUCCESS +fwupd fwupd-1.9.26-1.el9.rocky.0.1 x86_64 SUCCESS +gcc gcc-11.5.0-5.el9_5 x86_64 SUCCESS +gdb gdb-headless-14.2-4.el9 x86_64 SUCCESS +gnome-session gnome-session-40.1.1-9.el9 src SUCCESS +gnome-settings-daemon gnome-settings-daemon-40.0.1-19.el9.rocky.0.1 src SUCCESS +grub2 grub2-efi-x64-2.06-104.el9_6 x86_64 SUCCESS +ima-evm-utils ima-evm-utils-1.5-3.el9.rocky.0.1 x86_64 SUCCESS +initial-setup initial-setup-gui-0.3.90.2-2.el9 x86_64 SUCCESS +kernel kernel-core-5.14.0-570.16.1.el9_6 x86_64 SUCCESS +kernel-rt kernel-rt-core-5.14.0-570.16.1.el9_6 x86_64 SUCCESS +libdnf libdnf-0.69.0-13.el9 x86_64 SUCCESS +libreoffice libreoffice-7.1.8.1-15.el9_5 src SUCCESS +libreport libreport-2.15.2-6.el9.rocky.0.2 x86_64 SUCCESS +lorax-templates-rhel lorax-templates-rhel-9.0-37.el9.rocky.0.1 src SUCCESS +nginx nginx-1.20.1-22.el9_6.2 x86_64 SUCCESS +openscap openscap-1.3.12-1.el9_6.rocky.1.0 x86_64 SUCCESS +osbuild osbuild-141.2-1.el9_6.rocky.0.2 noarch SUCCESS +osbuild-composer osbuild-composer-132.2-1.el9_6.rocky.0.6 src SUCCESS +PackageKit PackageKit-1.2.6-1.el9 x86_64 SUCCESS +python-pip python3-pip-21.3.1-1.el9 noarch SUCCESS +redhat-rpm-config redhat-rpm-config-209-1.el9 noarch SUCCESS +scap-security-guide scap-security-guide-0.1.76-1.el9.rocky.1.1 src SUCCESS +shim shim-15.8-2.el9 src SUCCESS +subscription-manager subscription-manager-1.29.45-1.el9.rocky.0.1 x86_64 SUCCESS +subscription-manager-cockpit subscription-manager-cockpit-6-2.el9.rocky.0.1 src SUCCESS +systemd systemd-252-51.el9 src SUCCESS +thunderbird thunderbird-128.10.1-1.el9_6 x86_64 SUCCESS +toolbox toolbox-0.1.1-1.el9.rocky.0.2 x86_64 SUCCESS +WALinuxAgent WALinuxAgent-2.7.0.6-11.el9.rocky.0 noarch SUCCESS diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.6.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.6.yaml new file mode 100644 index 0000000..cb60378 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.6.yaml @@ -0,0 +1,327 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.5.17-1.el9_6.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-24.4-4.el9.0.1 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "cockpit-composer": + modular: false + check: FileContents + nvr_pkg: cockpit-composer-52-1.el9.rocky.0.1 + file: cockpit-composer.spec + content: "s,RHEL,Enterprise Linux,g" + value: true + pkg_arch: src + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.6-1.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-19.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.14.0-25.el9 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "elfutils": + modular: false + check: FileContents + nvr_pkg: elfutils-0.192-5.el9 + file: elfutils.spec + content: "enable-debuginfod-urls=https://debuginfod.centos.org/" + value: false + pkg_arch: src + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-128.10.1-1.el9_6 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.9.26-1.el9.rocky.0.1 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.5.0-5.el9_5 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-14.2-4.el9 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-9.el9 + file: gnome-session.spec + content: subscription-manager-support.patch + value: true + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-19.el9.rocky.0.1 + file: gnome-settings-daemon.spec + content: "#Patch00002: subscription-manager-support.patch" + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.06-104.el9_6 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-570.16.1.el9_6 + file: /lib/modules/5.14.0-503.11.1.el9_5.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-503.11.1.el9_5 + file: /lib/modules/5.14.0-503.11.1.el9_5.x86_64+rt/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.69.0-13.el9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: false + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-15.el9_5 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.20.1-22.el9_6.2 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.12-1.el9_6.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-141.2-1.el9_6.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-132.2-1.el9_6.rocky.0.6 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.6-1.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.3.1-1.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-209-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.76-1.el9.rocky.1.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.45-1.el9.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-6-2.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-252-51.el9 + file: systemd.spec + content: "https://wiki.rockylinux.org/rocky/support" + value: true + pkg_arch: src + source: + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-128.10.1-1.el9_6 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "toolbox": + modular: false + check: FileContents + nvr_pkg: toolbox-0.1.1-1.el9.rocky.0.2 + file: /etc/containers/toolbox.conf + content: "docker.io/rockylinux/rocky-toolbox" + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-11.el9.rocky.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/r9.yaml b/qa-testcase-boxes/testcase-debranding-validation/r9.yaml new file mode 100644 index 0000000..b740f01 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/r9.yaml @@ -0,0 +1,345 @@ +--- +"all": + "anaconda": + modular: false + check: FileContents + nvr_pkg: anaconda-core-34.25.5.17-1.el9_6.rocky.0.3 + file: /usr/lib64/python3.9/site-packages/pyanaconda/core/constants.py + content: Rocky Linux + value: true + pkg_arch: + source: + "anaconda-user-help": + modular: false + check: FileContents + nvr_pkg: anaconda-user-help-9.2.1-1.el9.rocky.0.2 + file: /usr/share/anaconda/help/rhel/en-US/anaconda-help.xml + content: Welcome to Rocky Linux + value: true + pkg_arch: noarch + source: + "cloud-init": + modular: false + check: FileContents + nvr_pkg: cloud-init-24.4-4.el9.0.1 + file: /usr/lib/python3.9/site-packages/cloudinit/distros/__init__.py + content: rocky + value: true + pkg_arch: noarch + source: + "cockpit-composer": + modular: false + check: FileContents + nvr_pkg: cockpit-composer-52-1.el9.rocky.0.1 + file: cockpit-composer.spec + content: "s,RHEL,Enterprise Linux,g" + value: true + pkg_arch: src + source: + "crash": + modular: false + check: FileContents + nvr_pkg: crash-8.0.6-1.el9 + file: crash.spec + content: Rocky Linux + value: true + pkg_arch: src + source: + "dhcp": + modular: false + check: FileContents + nvr_pkg: dhcp-4.4.2-19.b1.el9 + file: 0001-change-bug-url.patch + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: src + source: + "dnf": + modular: false + check: FileContents + nvr_pkg: python3-dnf-4.14.0-25.el9 + file: /usr/lib/python3.9/site-packages/dnf/const.py + content: "BUGTRACKER='https://bugs.rockylinux.org/'" + value: true + pkg_arch: noarch + source: + "elfutils": + modular: false + check: FileContents + nvr_pkg: elfutils-0.192-5.el9 + file: elfutils.spec + content: "enable-debuginfod-urls=https://debuginfod.centos.org/" + value: false + pkg_arch: src + source: + "firefox": + modular: false + check: FileContents + nvr_pkg: firefox-128.10.1-1.el9_6 + file: /usr/lib64/firefox/defaults/preferences/all-redhat.js + content: https://rockylinux.org + value: true + pkg_arch: + source: + "fwupd": + modular: false + check: BinaryStrings + nvr_pkg: fwupd-1.9.26-1.el9.rocky.0.1 + file: /usr/libexec/fwupd/efi/fwupdx64.efi.signed + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "gcc": + modular: false + check: FileContents + nvr_pkg: gcc-11.5.0-5.el9_5 + file: /usr/share/man/man1/gcc.1.gz + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "gdb": + modular: false + check: BinaryStrings + nvr_pkg: gdb-headless-14.2-4.el9 + file: /usr/libexec/gdb + content: Rocky Linux + value: true + pkg_arch: + source: + "gnome-session": + modular: false + check: FileContents + nvr_pkg: gnome-session-40.1.1-9.el9 + file: gnome-session.spec + content: subscription-manager-support.patch + value: true + pkg_arch: src + source: peridot + "gnome-settings-daemon": + modular: false + check: FileContents + nvr_pkg: gnome-settings-daemon-40.0.1-19.el9.rocky.0.1 + file: gnome-settings-daemon.spec + content: "#Patch00002: subscription-manager-support.patch" + value: true + pkg_arch: src + source: + "grub2": + modular: false + check: BinaryStrings + nvr_pkg: grub2-efi-x64-2.06-104.el9_6 + file: /boot/efi/EFI/rocky/grubx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "initial-setup": + modular: false + check: FileContents + nvr_pkg: initial-setup-gui-0.3.90.2-2.el9 + file: /usr/lib/python3.9/site-packages/initial_setup/gui/spokes/eula.py + content: http://bugs.rockylinux.org + value: true + pkg_arch: + source: + "ima-evm-utils": + modular: false + check: BinaryStrings + nvr_pkg: ima-evm-utils-1.5-3.el9.rocky.0.1 + file: /etc/keys/ima/rocky-imarelease.der + content: Rocky Linux IMA Release Key + value: true + pkg_arch: + source: + "kernel": + modular: false + check: BinaryStrings + nvr_pkg: kernel-core-5.14.0-570.17.1.el9_6 + file: /lib/modules/5.14.0-570.17.1.el9_6.x86_64/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "kernel-rt": + modular: false + check: BinaryStrings + nvr_pkg: kernel-rt-core-5.14.0-570.17.1.el9_6 + file: /lib/modules/5.14.0-570.17.1.el9_6.x86_64+rt/vmlinuz + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: + source: + "libdnf": + modular: false + check: BinaryStrings + nvr_pkg: libdnf-0.69.0-13.el9 + file: /usr/lib64/libdnf.so.2 + content: https://bugs.rockylinux.org/ + value: true + pkg_arch: + source: + "libreoffice": + modular: false + check: FileContents + nvr_pkg: libreoffice-7.1.8.1-15.el9_5 + file: libreoffice.spec + content: Rocky Enterprise Software Foundation + value: true + pkg_arch: src + source: + "libreport": + modular: false + check: FileContents + nvr_pkg: libreport-2.15.2-6.el9.rocky.0.2 + file: /usr/share/doc/libreport/README.md + content: https://bugs.rockylinux.org + value: true + pkg_arch: + source: + "lorax-templates-rhel": + modular: false + check: FileContents + nvr_pkg: lorax-templates-rhel-9.0-37.el9.rocky.0.1 + file: lorax-templates-rhel.spec + content: Remove libreport package that rocky does not ship + value: true + pkg_arch: src + source: + "nginx": + modular: true + check: FileContents + nvr_pkg: nginx-1.20.1-22.el9_6.2 + file: /usr/share/nginx/html/404.html + content: + value: true + pkg_arch: + source: + "openscap": + modular: false + check: FileContents + nvr_pkg: openscap-1.3.12-1.el9_6.rocky.1.0 + file: /usr/share/openscap/cpe/openscap-cpe-oval.xml + content: Rocky Linux 9 + value: true + pkg_arch: + source: + "osbuild": + modular: false + check: FileExists + nvr_pkg: osbuild-141.2-1.el9_6.rocky.0.2 + file: /usr/lib/osbuild/runners/org.osbuild.rocky9 + content: na + value: true + pkg_arch: noarch + source: + "osbuild-composer": + modular: false + check: FileExists + nvr_pkg: osbuild-composer-132.2-1.el9_6.rocky.0.6 + file: osbuild-composer.spec + content: repositories/rocky + value: true + pkg_arch: src + source: + "PackageKit": + modular: false + check: FileContents + nvr_pkg: PackageKit-1.2.6-1.el9 + file: /etc/PackageKit/Vendor.conf + content: https://wiki.rockylinux.org/ + value: true + pkg_arch: + source: + "python-pip": + modular: false + check: FileContents + nvr_pkg: python3-pip-21.3.1-1.el9 + file: /usr/lib/python3.9/site-packages/pip/_vendor/distro.py + content: Rocky Linux + value: true + pkg_arch: noarch + source: + "redhat-rpm-config": + modular: false + check: FileContents + nvr_pkg: redhat-rpm-config-209-1.el9 + file: /usr/lib/rpm/redhat/dist.sh + content: Rocky + value: true + pkg_arch: noarch + source: + "scap-security-guide": + modular: false + check: FileContents + nvr_pkg: scap-security-guide-0.1.76-1.el9.rocky.1.1 + file: scap-security-guide.spec + content: DSSG_ROCKY_LINUX_DERIVATIVES_ENABLED + value: true + pkg_arch: src + source: + "shim": + modular: false + check: BinaryStrings + nvr_pkg: shim-15.8-2.el9 + file: shimx64.efi + content: Rocky Linux Secure Boot Root CA + value: true + pkg_arch: src + source: peridot + "subscription-manager": + modular: false + check: FileContents + nvr_pkg: subscription-manager-1.29.45-1.el9.rocky.0.1 + file: /etc/dnf/plugins/subscription-manager.conf + content: "enabled=0" + value: true + pkg_arch: + source: + "subscription-manager-cockpit": + modular: false + check: FileContents + nvr_pkg: subscription-manager-cockpit-6-2.el9.rocky.0.1 + file: subscription-manager-cockpit.spec + content: Remove Red Hat specific references + value: true + pkg_arch: src + source: + "systemd": + modular: false + check: FileContents + nvr_pkg: systemd-252-51.el9 + file: systemd.spec + content: "https://wiki.rockylinux.org/rocky/support" + value: true + pkg_arch: src + source: + "thunderbird": + modular: false + check: FileContents + nvr_pkg: thunderbird-128.10.1-1.el9_6 + file: /usr/lib64/thunderbird/defaults/pref/all-redhat.js + content: Rocky + value: true + pkg_arch: + source: + "toolbox": + modular: false + check: FileContents + nvr_pkg: toolbox-0.1.1-1.el9.rocky.0.2 + file: /etc/containers/toolbox.conf + content: "docker.io/rockylinux/rocky-toolbox" + value: true + pkg_arch: + source: + "WALinuxAgent": + modular: false + check: FileContents + nvr_pkg: WALinuxAgent-2.7.0.6-11.el9.rocky.0 + file: /usr/lib/python3.9/site-packages/azurelinuxagent/common/osutil/factory.py + content: rocky + value: true + pkg_arch: noarch + source: +... diff --git a/qa-testcase-boxes/testcase-debranding-validation/scripts/check_debrand.sh b/qa-testcase-boxes/testcase-debranding-validation/scripts/check_debrand.sh new file mode 100755 index 0000000..f077c7e --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/scripts/check_debrand.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +echo -e "======== DEBRANDED PKGS ========" +mapfile -t debrand_pkgs < <(yq '.debrand.r9 + .debrand.all | sort() | .[]' patch.yml | tr '\n' ' ') + +for pkg in "${debrand_pkgs[@]}" +do + koji list-builds --after=2022-05-10T00:00:00 --quiet --owner=distrobuild --package="${pkg}" --reverse | head -n 1 + koji list-builds --after=2022-05-10T00:00:00 --quiet --owner=mbs --package="${pkg}" --reverse | head -n 1 +done diff --git a/qa-testcase-boxes/testcase-debranding-validation/scripts/check_koji.sh b/qa-testcase-boxes/testcase-debranding-validation/scripts/check_koji.sh new file mode 100755 index 0000000..1b1871a --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/scripts/check_koji.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +echo -e "======== ACTIVE BUILDING =======" +koji list-builds --quiet --state=BUILDING | wc -l +echo "" + +echo -e "===== DISTROBUILD COMPLETE =====" +koji list-builds --after=2023-11-01T00:00:00 --owner=distrobuild --state=COMPLETE | wc -l +echo "" + +echo -e "========= MBS COMPLETE =========" +koji list-builds --after=2023-11-01T00:00:00 --owner=mbs --state=COMPLETE | wc -l +echo "" diff --git a/qa-testcase-boxes/testcase-debranding-validation/scripts/debrand_validation.sh b/qa-testcase-boxes/testcase-debranding-validation/scripts/debrand_validation.sh new file mode 100755 index 0000000..3d31050 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/scripts/debrand_validation.sh @@ -0,0 +1,536 @@ +#!/usr/bin/env bash + +# Copyright (c) 2022 Rocky Enterprise Software Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Author: Trevor Cooper +# + +# NOTE: This script will currently only pull packages from koji, dl.r.o. or +# or a local repository cache (eg. Peridot yumrepofs). +# Something else will be needed for builds in Peridot but what that is +# will be TBD until Peridot is deployed and available for query. + +function usage { + printf "Usage: %s " "$(basename "${BASH_SOURCE[1]}")" + printf "[-h] [-x] [-t minimal|dvd|dvd1|repo|koji|cache] [-a x86_64|aarch64|ppc64le|s390x] [-v 8.6|9.0|maj.min] [others... see -h] [package(s)]\n" + printf "Perform debranding analysis on PACKAGEs.\n" + + cat <<- "EOF" + + -h provide this help + -x enable extended output + -t specify source for packages + minimal and {dvd,dvd1} specify locally available ISO + media, repo and koji specify Internet package sources + and cache specifies local package cache. If/when + using repo or koji packages pulled from that location + will be store in the local package cache. + -a specify architecture for packages + x86_64 and aarch64 are available pre 9 while + ppc64le and s390x will be added for Rocky Linux 9 + -v specify Rocky Linux version for ISOs + Typically 8.6 or 8 depending on the repository + -p iso filename prefix + The standard prefix for Rocky Linux is 'Rocky' with + the full ISO name being derived as... + ---.iso. Thus, + with creative use of these variables packages on + other ISOs (eg. prefix='CentOS-Stream') can possible + be examined as well. + -b repository baseurl + Allows definition of non-default repository baseurl + to support os of vault or staging repositories or + even closest mirrors + default='http://dl.rockylinux.org/pub/rocky/' + -l output log directory + default location for logs is $(pwd)/output/$(date +%Y-%m-%d) + but a custom location for the base for logs can be + supplied. + -n repository name(s) + default='baseos,appstream,extras,powertools' can + be overridden if/when working with a local repository + clone, for example of Peridot yumrepofs where this + might be... 'pdot-dev-x86_64'. Requires definition + of repo in /etc/yum.repos.d/.repo + -k koji tag + When koji is used for packages alternate koji tags + for package search may be used. default='dist-rocky8-compose' + -r debrand yaml override + When debrand validation for a non-default version + is being performed a version specific YAML file + can be selected. default='8' + +EOF +} + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +# Defaults +iso_type="dvd1" +iso_version="9.6" +iso_arch="$(arch)" +baseurl="http://dl.rockylinux.org/pub/rocky" +iso_baseurl="${baseurl}/${iso_version}/isos" +iso_prefix="Rocky" +log_dir="$(pwd)/output/$(date +%Y-%m-%d)" +repo_names="baseos,appstream,powertools,extras" +koji_tag="dist-rocky9-compose" +rocky_rel="9" +log_dir="${parent_path}/output/$(date +%Y-%m-%d)" +log_file_suffix="debrand_validation.out" +extended=0 + +optstring="hxt:a:v:p:n:s:b:r:k:c:" + +while getopts ${optstring} arg; do + case ${arg} in + h) + usage + exit 0 + ;; + t) + iso_type="${OPTARG}" + ;; + a) + iso_arch="${OPTARG}" + ;; + v) + iso_version="${OPTARG}" + ;; + p) + iso_prefix="${OPTARG}" + ;; + b) + iso_baseurl="${OPTARG}" + ;; + l) + log_dir="${OPTARG}" + ;; + n) + repo_names="${OPTARG}" + ;; + k) + koji_tag="${OPTARG}" + ;; + r) + rocky_rel="${OPTARG}" + ;; + x) + extended=1 + ;; + :) + echo "$0: Must supply an argument to -$OPTARG." >&2 + exit 1 + ;; + ?) + echo "Invalid option: -${OPTARG}." + echo + exit 1 + ;; + esac +done + +# The rest of the arguments are package names +shift "$((OPTIND -1))" +declare -a all_pkgs=() +for pkg in "$@"; do + all_pkgs+=("${pkg}") +done + +log_msg() { + printf '%b\n' "$1" | tee -a "${log_file}" +} + +log_hdr() { + msg=$(printf '=%.0s' {1..80}) + log_msg "\n${msg}\n${1}" +} + +log_extra() { + if (( extended == 1 )); then + log_msg "$1" + fi +} + +mkdir -pv "${log_dir}" || exit +iso_name="${iso_prefix}-${iso_version}-${iso_arch}-${iso_type}" +log_base="${log_dir}/${iso_name}" +log_file="${log_base}.${log_file_suffix}" + +truncate -s0 "${log_file}" + +declare -r patch_yml="https://git.rockylinux.org/rocky/metadata/-/raw/main/patch.yml" +# if packages were supplied on the command line then this overrides the contents of patch.yml +if (( ${#all_pkgs[@]} == 0 )); then + # get patch.yml from git.r.o and extract debrand pkgs + #curl -sLOR "${patch_yml}" + readarray all_pkgs < <(/usr/local/bin/yq '.debrand.r'"${rocky_rel}"' + .debrand.all | sort() | .[]' patch.yml) +fi + +# Configure downloads to be from koji, repository, ISO or use package cache +if [[ "${iso_type}" == *"koji"* ]]; then + log_hdr "Package Debrand Validation for ${iso_arch} builds in ${iso_type}" +elif [[ "${iso_type}" == *"repo"* ]]; then + log_hdr "Package Debrand Validation for ${iso_arch} packages in ${repo_names} repos" + msg=$(dnf --refresh --disablerepo=* --enablerepo="${repo_names}" repoinfo 2>&1) + [ -n "$msg" ] && log_extra "\n${msg}\n" +elif [[ "${iso_type}" == *"cache"* ]]; then + log_hdr "Package Debrand Validation for ${iso_arch} packages in local package ${iso_type}" +else + log_hdr "Package Debrand Validation for ${iso_arch} packages in ${iso_name}.iso" + + iso_url="${iso_baseurl}/${iso_version}/isos/${iso_arch}/${iso_prefix}-${iso_version}-${iso_arch}-${iso_type}.iso" + iso_name=$(basename "${iso_url}") + + if [[ "${iso_type}" == *"minimal"* ]] + then + log_msg "WARN: ${iso_name} may not contain all packages requiring debranding.\n" + fi + + if [[ "${iso_type}" == *"boot"* ]] + then + log_msg "\nERROR: ${iso_name} does not contain local repositories.\n" + exit 1 + fi + + # For minimal and dvd ISOs there is/are repos inside the media + sudo mount -o loop,ro "${iso_name}" /media || exit + mapfile -t repodata_dirs < <(find /media -name repodata) + + if [[ "${repodata_dirs[*]}" =~ "repodata" ]]; then + # Construct dnf download command with repodata from ISO + dnf_cmd="dnf download --urls" + for rd in "${repodata_dirs[@]}" + do + dn=$(dirname "${rd}") + rn=$(basename "${dn}") + dnf_cmd="${dnf_cmd} --repofrompath ${rn},${dn} --repo ${rn}" + done + fi +fi + +# We always want to know the list of packages being evaluated +msg=$(printf "\n%s\n" "${all_pkgs[@]}" | column -x) +[ -n "$msg" ] && log_extra "\n${msg}\n" + +# Cache RPMs to improve performance on reruns when pulling from koji or repository +script_dir="$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")")" +rpm_cache_dir="$(dirname "${script_dir}")/rpms" + +log_hdr "General Processing Parameters\n" +log_msg " type: ${iso_type}" +log_msg " version: ${iso_version}" +log_msg " arch: ${iso_arch}" +log_extra " baseurl: ${baseurl}" +log_extra " iso_baseurl: ${iso_baseurl}" +log_extra " iso_prefix: ${iso_prefix}" +log_extra " repo_names: ${repo_names}" +log_extra " koji_tag: ${koji_tag}" +log_extra " rocky_rel: ${rocky_rel}" +log_extra " log_dir: ${log_dir}" +log_extra " log_file_suffix: ${log_file_suffix}" +log_extra " extended: ${extended}" +log_extra " script_dir: ${script_dir}" +log_extra " rpm_cache_dir: ${rpm_cache_dir}" + +download_from_iso(){ + pkg_path=$(find /media -name "${2}" -type f) + log_extra " pkg_path: ${pkg_path}\n" + dn="$(dirname "${pkg_path}")" + msg=$(cp -fv "${pkg_path}" "${rpm_cache_dir}") + [ -n "$msg" ] && log_extra "\n${msg}\n" +} + +koji_pkg_name(){ + # Don't know how to find modular packages in koji yet. Maybe Peridot will solve? + # Requires complete nvra. + koji_pkg="${2}" + if [[ "${yml_modular}" != "true" ]]; then + koji_pkg="$(koji latest-build --arch="${yml_pkg_arch}" "${koji_tag}" "${1}" | \ + grep -E "^${yml_nvr_pkg}.${yml_pkg_arch}" | grep -Ev "debugsource|debuginfo")" + # NOTE: At this point if the debrand.yaml file is not current with the + # latest koji build you will not have a package. + # Optionally, search for ${yml_nv_pkg} in ${yml_nvr_pkg} to see if + # RELEASE has been updated - TODO + fi + echo "${koji_pkg}" +} + +download_from_koji(){ + koji_pkg="$(koji_pkg_name "${1}" "${2}")" + log_extra " koji_pkg: ${koji_pkg}\n" + pushd "${rpm_cache_dir}" >/dev/null || return + #msg="" + #stat "${koji_pkg}" >/dev/null 2>&1 || msg=$(koji download-build --rpm "${koji_pkg}" 2>&1) + msg=$(koji download-build --rpm "${koji_pkg}" 2>&1) + [ -n "$msg" ] && log_extra "${msg}\n" + popd >/dev/null || return +} + +download_from_repo(){ + pushd "${rpm_cache_dir}" >/dev/null || return + if (( extended == 1 )); then + msg=$(dnf --disablerepo=* --enablerepo="${repo_names}" download --urls "${2}" 2>/dev/null | grep -Ev "^Last metadata") + log_extra " repo_path: ${msg}\n" + fi + msg=$(dnf --disablerepo=* --enablerepo="${repo_names}" download "${2}" 2>&1) + [ -n "$msg" ] && log_extra "\n${msg}\n" + popd >/dev/null || return +} + +extract_pkg(){ + log_extra " cache_path: ${rpm_cache_dir}/${1}" + msg=$(rpm2cpio "${rpm_cache_dir}/${1}" 2>&1 | cpio -idm 2>&1) + [ -n "$msg" ] && log_extra "\n${msg}\n" +} + +download_and_extract(){ + tmpdir=$(mktemp -d) + pushd "${tmpdir}" >/dev/null || return + + case "${iso_type}" in + (dvd|dvd1|minimal) + download_from_iso "${1}" "${2}" + extract_pkg "${2}" + ;; + (koji) + download_from_koji "${1}" "${2}" + extract_pkg "${2}" + ;; + (repo) + download_from_repo "$(basename -s ".rpm" "${2}")" + extract_pkg "${2}" + ;; + (cache) + extract_pkg "${2}" + ;; + (*) + ;; + esac + + popd >/dev/null || return +} + +download_only(){ + # download directly to package cache + case "${iso_type}" in + (dvd|dvd1|minimal) + download_from_iso "${1}" "${2}" + ;; + (koji) + download_from_koji "${1}" "${2}" + ;; + (repo) + download_from_repo "${1}" "${2}" + ;; + (*) + ;; + esac +} + +# Iterate over all_pkgs[@] and process +for pkg in "${all_pkgs[@]}" +do + + log_hdr "$pkg" + rep_pkg=${pkg//[\.]/_} + + query=".*.${rep_pkg}" + readarray -t criteria < <(/usr/local/bin/yq "${query} | .[]" "r${rocky_rel}.yaml" | grep -Ev "^null$") + + yml_modular="${criteria[0]}" + yml_check="${criteria[1]}" + yml_nvr_pkg="${criteria[2]}" + yml_file="${criteria[3]:-na}" + yml_content="${criteria[4]:-na}" + yml_value="${criteria[5]:-true}" + yml_pkg_arch="${criteria[6]:-${iso_arch}}" + yml_source="${criteria[7]:-na}" + + log_extra "\nr${rocky_rel}.yaml contents for ${pkg}\n" + log_extra " modular: $yml_modular" + log_extra " check: $yml_check" + log_extra " nvr_pkg: $yml_nvr_pkg" + log_extra " file: $yml_file" + log_extra " content: $yml_content" + log_extra " value: $yml_value" + log_extra " pkg_arch: $yml_pkg_arch" + log_extra " source: $yml_source" + + case "${iso_type}" in + (dvd|dvd1|minimal) + if [[ "${yml_pkg_arch}" == "src" ]]; then + src_pkg="${yml_nvr_pkg}.${yml_pkg_arch}.rpm" + log_extra "src_pkg: ${src_pkg}\n" + log_msg "WARN: ${iso_type} media does not contain SRPMs, use koji or cache" + continue + fi + ;; + (*) + ;; + esac + + binary_pkg="${yml_nvr_pkg}.${yml_pkg_arch}.rpm" + case "${yml_pkg_arch}" in + (src) + log_msg " src_pkg: ${binary_pkg}" + ;; + (x86_64|noarch|aarch64|ppc64le|s390x) + log_msg "\n binary_pkg: ${binary_pkg}" + ;; + (*) + ;; + esac + + tmpdir="" + case "${yml_check}" in + + PackageRequires) + # This is a package metadata check and doesn't require extract of the package + # just download directly to local cache + pushd "${rpm_cache_dir}" >/dev/null || return + download_only "${pkg}" "${binary_pkg}" + if [[ "${yml_value}" == "true" ]]; then + if ( ( rpm -q --requires -p "${binary_pkg}" | grep -Eq "${yml_content}" ) ); then + log_msg "\nSUCCESS: PackageRequires: ${binary_pkg}.rpm requires ${yml_content}" + else + log_msg "FAIL: PackageRequires: ${binary_pkg}.rpm does not require ${yml_content}." + fi + else + if ( ( rpm -q --requires -p "${binary_pkg}" | grep -Eq "${yml_content}" ) ); then + log_msg "FAIL: PackageRequires: ${binary_pkg}.rpm requires ${yml_content}" + else + log_msg "\nSUCCESS: PackageRequires: ${binary_pkg}.rpm does not require ${yml_content}." + fi + fi + popd >/dev/null || return + ;; + + BinaryStrings) + download_and_extract "${pkg}" "${binary_pkg}" + if [[ -f "${tmpdir}/${yml_file}" ]]; then + if [[ "${yml_value}" == "true" ]]; then + if ( ( strings "${tmpdir}/${yml_file}" | grep -Eq "${yml_content}" ) ); then + log_msg "\nSUCCESS: ${yml_check} found pattern." + else + log_msg "FAIL: ${yml_file} does not contain pattern." + fi + else + if ( ( strings "${tmpdir}/${yml_file}" | grep -Eq "${yml_content}" ) ); then + log_msg "FAIL: ${yml_check} found pattern." + else + log_msg "\nSUCCESS: ${yml_file} does not contain pattern." + fi + fi + else + log_msg "WARN: ${tmpdir}${yml_file} does not exist, should you be using koji or cache?" + fi + /bin/rm -rf "${tmpdir}" + ;; + + FileContents) + download_and_extract "${pkg}" "${binary_pkg}" + if [[ -f "${tmpdir}/${yml_file}" ]]; then + case "${yml_file}" in + *.gz) + gunzip "${tmpdir}/${yml_file}" + yml_file="$(dirname "${yml_file}")/$(basename -s .gz "${yml_file}")" + ;; + esac + if [[ "${yml_value}" == "true" ]]; then + if ( ( grep -Eq "${yml_content}" "${tmpdir}/${yml_file}" ) ); then + log_msg "\nSUCCESS: ${yml_check} found pattern." + else + log_msg "FAIL: ${yml_file} does not contain pattern." + fi + else + if ( ( grep -Eq "${yml_content}" "${tmpdir}/${yml_file}" ) ); then + log_msg "FAIL: ${yml_check} found pattern." + else + log_msg "\nSUCCESS: ${yml_file} does not contain pattern." + fi + fi + else + log_msg "WARN: ${tmpdir}/${yml_file} does not exist, should you be using koji or cache?" + fi + /bin/rm -rf "${tmpdir}" + ;; + + FileChecksum) + download_and_extract "${pkg}" "${binary_pkg}" + if [[ -f "${tmpdir}/${yml_file}" ]]; then + if [[ "${yml_value}" == "true" ]]; then + if ( ( sha256sum "${tmpdir}/${yml_file}" | grep -Eq "${yml_content}" ) ); then + log_msg "\nSUCCESS: ${yml_check} found pattern." + else + log_msg "FAIL: ${yml_file} does not contain pattern." + fi + else + if ( ( sha256sum "${tmpdir}/${yml_file}" | grep -Eq "${yml_content}" ) ); then + log_msg "FAIL: ${yml_check} found pattern." + else + log_msg "\nSUCCESS: ${yml_file} does not contain pattern." + fi + fi + else + log_msg "WARN: ${tmpdir}${yml_file} does not exist, should you be using koji or cache?" + fi + /bin/rm -rf "${tmpdir}" + ;; + + FileExists) + download_and_extract "${pkg}" "${binary_pkg}" + if [[ -f "${tmpdir}/${yml_file}" ]]; then + if [[ "${yml_value}" == "true" ]]; then + if ( ( stat "${tmpdir}/${yml_file}" >/dev/null 2>&1 ) ); then + log_msg "\nSUCCESS: ${yml_check}." + else + log_msg "FAIL: ${yml_file} does not exist." + fi + else + if ( ( stat "${tmpdir}/${yml_file}" >/dev/null 2>&1 ) ); then + log_msg "FAIL: ${yml_check}." + else + log_msg "\nSUCCESS: ${yml_file} does not exist." + fi + fi + else + log_msg "WARN: ${tmpdir}${yml_file} does not exist, should you be using koji or cache?" + fi + /bin/rm -rf "${tmpdir}" + ;; + + *) + ;; + esac + +done + +case "${iso_type}" in + (dvd|dvd1|minimal) + sudo umount /media + ;; + (*) + ;; +esac diff --git a/qa-testcase-boxes/testcase-debranding-validation/scripts/get_debrand_list.sh b/qa-testcase-boxes/testcase-debranding-validation/scripts/get_debrand_list.sh new file mode 100755 index 0000000..007b1b5 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/scripts/get_debrand_list.sh @@ -0,0 +1,192 @@ +#!/usr/bin/env bash + +# Copyright (c) 2022 Rocky Enterprise Software Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Author: Trevor Cooper +# + +# NOTE: This script will currently only pull packages from koji, dl.r.o. or +# or a local repository cache (eg. Peridot yumrepofs). +# Something else will be needed for builds in Peridot but what that is +# will be TBD until Peridot is deployed and available for query. + +function usage { + printf "Usage: %s " "$(basename "${BASH_SOURCE[1]}")" + printf "[-h] [-x] [-t minimal|dvd|dvd1|repo|koji|cache] [-a x86_64|aarch64|ppc64le|s390x] [-v 8.6|9.0|maj.min] [others... see -h] [package(s)]\n" + printf "Perform debranding analysis on PACKAGEs.\n" + + cat <<- "EOF" + + -h provide this help + -x enable extended output + -t specify source for packages + minimal and {dvd,dvd1} specify locally available ISO + media, repo and koji specify Internet package sources + and cache specifies local package cache. If/when + using repo or koji packages pulled from that location + will be store in the local package cache. + -a specify architecture for packages + x86_64 and aarch64 are available pre 9 while + ppc64le and s390x will be added for Rocky Linux 9 + -v specify Rocky Linux version for ISOs + Typically 8.6 or 8 depending on the repository + -p iso filename prefix + The standard prefix for Rocky Linux is 'Rocky' with + the full ISO name being derived as... + ---.iso. Thus, + with creative use of these variables packages on + other ISOs (eg. prefix='CentOS-Stream') can possible + be examined as well. + -b repository baseurl + Allows definition of non-default repository baseurl + to support os of vault or staging repositories or + even closest mirrors + default='http://dl.rockylinux.org/pub/rocky/' + -l output log directory + default location for logs is $(pwd)/output/$(date +%Y-%m-%d) + but a custom location for the base for logs can be + supplied. + -n repository name(s) + default='baseos,appstream,extras,powertools' can + be overridden if/when working with a local repository + clone, for example of Peridot yumrepofs where this + might be... 'pdot-dev-x86_64'. Requires definition + of repo in /etc/yum.repos.d/.repo + -k koji tag + When koji is used for packages alternate koji tags + for package search may be used. default='dist-rocky8-compose' + -r debrand yaml override + When debrand validation for a non-default version + is being performed a version specific YAML file + can be selected. default='8' + +EOF +} + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +# Defaults +iso_type="dvd1" +iso_version="8.6" +iso_arch="$(arch)" +baseurl="http://dl.rockylinux.org/pub/rocky" +iso_baseurl="${baseurl}/${iso_version}/isos" +iso_prefix="Rocky" +log_dir="$(pwd)/output/$(date +%Y-%m-%d)" +repo_names="baseos,appstream,powertools,extras" +koji_tag="dist-rocky8-compose" +rocky_rel="8" +log_dir="${parent_path}/output/$(date +%Y-%m-%d)" +log_file_suffix="debrand_validation.out" +extended=0 + +optstring="hxt:a:v:p:n:s:b:r:k:c:" + +while getopts ${optstring} arg; do + case ${arg} in + h) + usage + exit 0 + ;; + t) + iso_type="${OPTARG}" + ;; + a) + iso_arch="${OPTARG}" + ;; + v) + iso_version="${OPTARG}" + ;; + p) + iso_prefix="${OPTARG}" + ;; + b) + iso_baseurl="${OPTARG}" + ;; + l) + log_dir="${OPTARG}" + ;; + n) + repo_names="${OPTARG}" + ;; + k) + koji_tag="${OPTARG}" + ;; + r) + rocky_rel="${OPTARG}" + ;; + x) + extended=1 + ;; + :) + echo "$0: Must supply an argument to -$OPTARG." >&2 + exit 1 + ;; + ?) + echo "Invalid option: -${OPTARG}." + echo + exit 1 + ;; + esac +done + +# The rest of the arguments are package names +shift "$((OPTIND -1))" +declare -a all_pkgs=() +for pkg in "$@"; do + all_pkgs+=("${pkg}") +done + +log_msg() { + printf '%b\n' "$1" | tee -a "${log_file}" +} + +log_hdr() { + msg=$(printf '=%.0s' {1..80}) + log_msg "\n${msg}\n${1}" +} + +log_extra() { + if (( extended == 1 )); then + log_msg "$1" + fi +} + +mkdir -pv "${log_dir}" || exit +iso_name="${iso_prefix}-${iso_version}-${iso_arch}-${iso_type}" +log_base="${log_dir}/${iso_name}" +log_file="${log_base}.${log_file_suffix}" + +truncate -s0 "${log_file}" + +declare -r patch_yml="https://git.rockylinux.org/rocky/metadata/-/raw/main/patch.yml" +# if packages were supplied on the command line then this overrides the contents of patch.yml +if (( ${#all_pkgs[@]} == 0 )); then + # get patch.yml from git.r.o and extract debrand pkgs + #curl -sLOR "${patch_yml}" + readarray all_pkgs < <(/usr/local/bin/yq '.debrand.r'"${rocky_rel}"' + .debrand.all | sort() | .[]' patch.yml) +fi + +yq '.debrand | [.r9, .all] | .[] | .[]' patch.yml | sort | column -c100 -x + diff --git a/qa-testcase-boxes/testcase-debranding-validation/scripts/peridot_repo_query.sh b/qa-testcase-boxes/testcase-debranding-validation/scripts/peridot_repo_query.sh new file mode 100755 index 0000000..30ecc6d --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/scripts/peridot_repo_query.sh @@ -0,0 +1,106 @@ +#!/bin/bash + +set -e + +function usage { + printf "Usage: %s " "$(basename "${BASH_SOURCE[1]}")" + printf "[-h] [-a x86_64|aarch64|ppc64le|s390x|src] [-s] [-c search|info|download] [others... see -h] [package(s)]\n" + printf "\n" + + cat <<- "EOF" + + -h provide this help + -a specify architecture for packages + x86_64 and aarch64 are available pre 9 while + ppc64le and s390x will be added for Rocky Linux 9 + -s source package + -c specify dnf command +EOF +} + + + +# Defaults +PDOT_ARCH="$(arch)" +PDOT_YUMREPOFS_HOST="$(yq .prod.host peridot_yumrepofs.yml)" +PDOT_PROJECT_ID="$(yq .prod.projectID peridot_yumrepofs.yml)" +PDOT_DNF_COMMAND="search" +PDOT_SOURCE_PACKAGE="false" + +optstring="hsa:b:c:" + +while getopts ${optstring} arg; do + case ${arg} in + h) + usage + exit 0 + ;; + s) + PDOT_SOURCE_PACKAGE="true" + ;; + c) + PDOT_DNF_COMMAND="${OPTARG}" + ;; + a) + PDOT_ARCH="${OPTARG}" + ;; + :) + echo "$0: Must supply an argument to -$OPTARG." >&2 + exit 1 + ;; + ?) + echo "Invalid option: -${OPTARG}." + echo + exit 1 + ;; + esac +done + +# The rest of the arguments are package names +shift "$((OPTIND -1))" +declare -a all_pkgs=() +for pkg in "$@"; do + all_pkgs+=("${pkg}") +done + +export PS4="# " + +for pkg in "${all_pkgs[@]}" +do + case "${PDOT_SOURCE_PACKAGE}" in + true) + set -x + if [[ "${PDOT_DNF_COMMAND}" == "download" ]]; then + dnf \ + --refresh \ + --repofrompath=pdot-"${PDOT_ARCH},https://${PDOT_YUMREPOFS_HOST}/v1/projects/${PDOT_PROJECT_ID}/repo/all/src" \ + --repo=pdot-"${PDOT_ARCH}" \ + "${PDOT_DNF_COMMAND}" --source \ + "${pkg}" + else + dnf \ + --refresh \ + --repofrompath=pdot-"${PDOT_ARCH},https://${PDOT_YUMREPOFS_HOST}/v1/projects/${PDOT_PROJECT_ID}/repo/all/src" \ + --repo=pdot-"${PDOT_ARCH}" \ + "${PDOT_DNF_COMMAND}" \ + "${pkg}" + fi + set +x + ;; + false) + set -x + dnf \ + --refresh \ + --forcearch="${PDOT_ARCH}" \ + --repofrompath=pdot-"${PDOT_ARCH},https://${PDOT_YUMREPOFS_HOST}/v1/projects/${PDOT_PROJECT_ID}/repo/all/${PDOT_ARCH}" \ + --repo=pdot-"${PDOT_ARCH}" \ + "${PDOT_DNF_COMMAND}" \ + "${pkg}" + set +x + ;; + *) + ;; + esac +done + +exit $? diff --git a/qa-testcase-boxes/testcase-debranding-validation/scripts/test_wrapper.sh b/qa-testcase-boxes/testcase-debranding-validation/scripts/test_wrapper.sh new file mode 100755 index 0000000..603b3bc --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/scripts/test_wrapper.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +set -e + +t="${1:-dvd1}" +a="${2:-x86_64}" +v="${3:-9.5}" + +full_path="$(realpath "$0")" +script_path="$(dirname "$full_path")" +parent_path="$(dirname "$script_path")" + +cd "${parent_path}" || exit + +test -f "${parent_path}/isos/Rocky-${v}-${a}-${t}.iso" && \ + mv "${parent_path}/isos/Rocky-${v}-${a}-${t}.iso" "${parent_path}/" + +"${parent_path}/scripts/debrand_validation.sh" \ + -t"${t}" -a"${a}" -v"${v}" + +mkdir -p "${parent_path}/isos/" && \ + mv "${parent_path}/Rocky-${v}-${a}-${t}.iso" "${parent_path}/isos/" diff --git a/qa-testcase-boxes/testcase-debranding-validation/vagrant-settings.yaml_defaults b/qa-testcase-boxes/testcase-debranding-validation/vagrant-settings.yaml_defaults new file mode 100644 index 0000000..a884fe6 --- /dev/null +++ b/qa-testcase-boxes/testcase-debranding-validation/vagrant-settings.yaml_defaults @@ -0,0 +1,10 @@ +--- +# copy it to vagrant-settings.yaml then Vagrantfile +# will use values from this file + +box_image: "rockylinux/9" +box_ram: 2048 +box_cpus: 2 + +version: "9.6" +download_base: "http://dl.rockylinux.org/pub/rocky/9/isos" diff --git a/qa-testcase-boxes/testcase-mediacheck/README.md b/qa-testcase-boxes/testcase-mediacheck/README.md new file mode 100644 index 0000000..c397bae --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/README.md @@ -0,0 +1,136 @@ +# testcase-mediacheck + +This box will... + +- Download Rocky Linux ISOs, CHECKSUM files and official GPG Public Key +- Verify all ISO checksums +- Verify internal ISO md5 checksums +- Where applicable (minimal and dvd1 ISO)... + - Mount ISOs locally as loopback filesystems to /media + - Run `dnf repoclosure` on the included repositories + - Analyze packages in included repositories for conflicts + - Unmount ISOs from /media +- Generate output logs + + +## Requirements + +The machine used for testing must... + +- have the following RPM packages installed (in EL8), `coreutils`, `curl`, `dnf`, `isomd5sum`, `python3`, `rpm` and `util-linux` +- have available disk space in the test directory to hold the ISO(s) to be tested. +- have a connection to the Internet and/or access to pre-downloaded ISOs + + +## Quick Start + +The basic Vagrant sequence is simply (redacted content)... + +``` +[rocky@localhost ~]$ vagrant status +Current machine states: + +default not created (virtualbox) + +The environment has not yet been created. Run `vagrant up` to +create the environment. If a machine is not created, only the +default provider will be shown. So if a provider is not listed, +then the machine is not created for that environment. +``` + +``` +[rocky@localhost ~]$ vagrant up +Bringing machine 'default' up with 'virtualbox' provider... +==> default: Importing base box 'rockylinux/8'... +==> default: Matching MAC address for NAT networking... +==> default: Setting the name of the VM: testcase-mediacheck_default_1653246056648_618 +==> default: Clearing any previously set network interfaces... +==> default: Preparing network interfaces based on configuration... + default: Adapter 1: nat +==> default: Forwarding ports... + default: 22 (guest) => 2222 (host) (adapter 1) +==> default: Running 'pre-boot' VM customizations... +==> default: Booting VM... +==> default: Waiting for machine to boot. This may take a few minutes... + +... + +==> default: Machine booted and ready! +==> default: Checking for guest additions in VM... +==> default: Mounting shared folders... + default: /vagrant => /home/rocky/testing/qa-testcase-boxes/testcase-mediacheck + +==> default: Running provisioner: Start Timestamp (shell)... + default: Running: script: Start Timestamp + default: Starting QA:Testcase-Mediacheck on Sun May 22 19:01:16 UTC 2022 +==> default: Running provisioner: Install requirements (shell)... + default: Running: script: Install requirements + +... + +==> default: Running provisioner: Rocky 8.6 x86_64 boot ISO (shell)... + default: Running: script: Rocky 8.6 x86_64 boot ISO +default: mkdir: created directory '/home/rocky/testing/output/2022-05-22' +default: +default: ================================================================================ +default: Derived URLs... +default: +default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso +default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM +default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig +default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial +default: + +... + +==> default: Running provisioner: Rocky 8.6 x86_64 minimal ISO (shell)... +default: Running: script: Rocky 8.6 x86_64 minimal ISO +default: +default: ================================================================================ +default: Derived URLs... +default: +default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso +default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM +default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig +default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial +default: + +... + +==> default: Running provisioner: Rocky 8.6 x86_64 dvd1 ISO (shell)... +default: Running: script: Rocky 8.6 x86_64 dvd1 ISO +default: +default: ================================================================================ +default: Derived URLs... +default: +default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-dvd1.iso +default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM +default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig +default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial +default: + +... + +default: +==> default: Running provisioner: End Timestamp (shell)... +default: Running: script: End Timestamp +default: Finished QA:Testcase-Mediacheck on Sun May 22 19:39:40 UTC 2022 +``` + +**_NOTE: From this summary you can download testing without box clone, start and requirements install is ~40 mins._** + + +``` +[rocky@localhost ~]$ vagrant halt +==> default: Attempting graceful shutdown of VM... +``` + + +## Examples + +Vagrant and non-Vagrant examples of usage are show in the following locations in this repository... + +- [Default Vagrant](examples/default_vagrant.md) +- [Alternate Arch Vagrant](examples/alternate_arch_vagrant.md) +- [Standalone System](examples/standalone_system.md) +- [Standalone ISOs from Rocky Linux Vault](examples/standalone_vault.md) diff --git a/qa-testcase-boxes/testcase-mediacheck/Vagrantfile b/qa-testcase-boxes/testcase-mediacheck/Vagrantfile new file mode 100644 index 0000000..88819f8 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/Vagrantfile @@ -0,0 +1,63 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +require 'yaml' + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +# configs, custom updates defaults +defaults_cfg = YAML.load_file('vagrant-settings.yaml_defaults') +if File.exist?('vagrant-settings.yaml') + custom_cfg = YAML.load_file('vagrant-settings.yaml') + cfg = defaults_cfg.merge(custom_cfg) +else + cfg = defaults_cfg +end + +Vagrant.configure("2") do |config| + config.vm.box = cfg["box_image"] + + config.vm.provider "virtualbox" do |vb| + vb.memory = cfg["box_ram"] + vb.cpus = cfg["box_cpus"] + end + + config.vm.provision "shell", name: "Start Timestamp", inline: <<-SHELL + echo "Starting QA:Testcase-Mediacheck on $(date)" + SHELL + + config.vm.provision "shell", name: "Install requirements", inline: <<-SHELL + . /etc/os-release + [[ "${VERSION_ID}" =~ ^9 ]] && dnf -y --enablerepo=extras,crb update + [[ "${VERSION_ID}" =~ ^10 ]] && dnf -y --enablerepo=extras,crb update + dnf -y install coreutils curl dnf isomd5sum python3 rpm util-linux + SHELL + + config.vm.provision "shell", name: "Prepare testing directories", inline: <<-SHELL + mkdir -pv /vagrant/{isos,output} + SHELL + + config.vm.provision "shell" do |script| + script.name = "Rocky #{cfg['version']} #{cfg['arch']} boot ISO" + script.inline = "/vagrant/scripts/test_wrapper.sh $1 $2 $3 $4" + script.args = ["boot", "#{ cfg['arch'] }", "#{ cfg['version'] }", "#{ cfg['download_base'] }"] + end + + config.vm.provision "shell" do |script| + script.name = "Rocky #{cfg['version']} #{cfg['arch']} minimal ISO" + script.inline = "/vagrant/scripts/test_wrapper.sh $1 $2 $3 $4" + script.args = ["minimal", "#{ cfg['arch'] }", "#{ cfg['version'] }", "#{ cfg['download_base'] }"] + end + + config.vm.provision "shell" do |script| + script.name = "Rocky #{cfg['version']} #{cfg['arch']} dvd ISO" + script.inline = "/vagrant/scripts/test_wrapper.sh $1 $2 $3 $4" + script.args = ["dvd", "#{ cfg['arch'] }", "#{ cfg['version'] }", "#{ cfg['download_base'] }"] + end + + config.vm.provision "shell", name: "End Timestamp", inline: <<-SHELL + echo "Finished QA:Testcase-Mediacheck on $(date)" + SHELL + +end diff --git a/qa-testcase-boxes/testcase-mediacheck/examples/alternate_arch_vagrant.md b/qa-testcase-boxes/testcase-mediacheck/examples/alternate_arch_vagrant.md new file mode 100644 index 0000000..afebf60 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/examples/alternate_arch_vagrant.md @@ -0,0 +1,567 @@ +# Alternate Architecture Vagrant Example + +In this case the Vagrant box is/was already provisioned for standard arch testing and was not destroyed. The box can be reused for alternate arch testing by placing a modified `vagrant-settings.yml` file. + +## create / modify vagrant-setting.yml + +``` +[rocky@localhost testing]$ cat vagrant-settings.yaml +--- +box_image: "rockylinux/8" +arch: "aarch64" +``` + + +## start the Vagrant box + +``` +[rocky@localhost testing]$ vagrant up +Bringing machine 'default' up with 'virtualbox' provider... +==> default: Clearing any previously set forwarded ports... +==> default: Clearing any previously set network interfaces... +==> default: Preparing network interfaces based on configuration... + default: Adapter 1: nat +==> default: Forwarding ports... + default: 22 (guest) => 2222 (host) (adapter 1) +==> default: Running 'pre-boot' VM customizations... +==> default: Booting VM... +==> default: Waiting for machine to boot. This may take a few minutes... + default: SSH address: 127.0.0.1:2222 + default: SSH username: vagrant + default: SSH auth method: private key +==> default: Machine booted and ready! +==> default: Checking for guest additions in VM... +==> default: Mounting shared folders... + default: /home/rocky => /home/rocky/testing/qa-testcase-boxes/testcase-mediacheck +==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision` +==> default: flag to force provisioning. Provisioners marked to run always will still run. +``` + + +## re-provision the Vagrant box to run the test + +``` +[rocky@localhost testing]$ vagrant provision +==> default: Running provisioner: Start Timestamp (shell)... + default: Running: script: Start Timestamp + default: Starting QA:Testcase-Mediacheck on Sun May 22 20:45:22 UTC 2022 +==> default: Running provisioner: Install requirements (shell)... + default: Running: script: Install requirements + default: Last metadata expiration check: 1:15:57 ago on Sun 22 May 2022 07:29:28 PM UTC. + default: Dependencies resolved. + default: Nothing to do. + default: Complete! + default: Last metadata expiration check: 1:15:57 ago on Sun 22 May 2022 07:29:28 PM UTC. + default: Package coreutils-8.30-12.el8.x86_64 is already installed. + default: Package curl-7.61.1-22.el8.x86_64 is already installed. + default: Package dnf-4.7.0-8.el8.noarch is already installed. + default: Package isomd5sum-1:1.2.3-3.el8.x86_64 is already installed. + default: Package python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 is already installed. + default: Package rpm-4.14.3-23.el8.x86_64 is already installed. + default: Package util-linux-2.32.1-35.el8.x86_64 is already installed. + default: Dependencies resolved. + default: Nothing to do. + default: Complete! +==> default: Running provisioner: Prepare testing directories (shell)... + default: Running: script: Prepare testing directories +==> default: Running provisioner: Rocky 8.6 aarch64 boot ISO (shell)... + default: Running: script: Rocky 8.6 aarch64 boot ISO + default: + default: ================================================================================ + default: Derived URLs... + default: + default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-boot.iso + default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM + default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig + default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + default: + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-boot.iso exists... + default: + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/aarch64/CHECKSUM?v=2d5f8427d657041086564939488a0682 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:31:58 GMT + default: < ETag: "62817f5e-1c7" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 455 + default: < Date: Sun, 22 May 2022 20:45:27 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17330-MDW, cache-bur-kbur8200145-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653252327.989329,VS0,VE79 + default: < + default: { [455 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/aarch64/CHECKSUM.sig?v=2d5f8427d657041086564939488a0682 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Mon, 16 May 2022 02:41:36 GMT + default: < ETag: "6281b9e0-236" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 566 + default: < Date: Sun, 22 May 2022 20:45:27 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17335-MDW, cache-bur-kbur8200092-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653252327.131733,VS0,VE78 + default: < + default: { [566 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Importing: RPM-GPG-KEY-rockyofficial ... + default: + default: gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed + default: gpg: Total number processed: 1 + default: gpg: unchanged: 1 + default: + default: ================================================================================ + default: Verifying gpg signature: /home/rocky/CHECKSUM.sig ... + default: + default: gpg: assuming signed data in '/home/rocky/CHECKSUM' + default: gpg: Signature made Mon 16 May 2022 02:41:36 AM UTC + default: gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 + default: gpg: Good signature from "Release Engineering " [unknown] + default: gpg: WARNING: This key is not certified with a trusted signature! + default: gpg: There is no indication that the signature belongs to the owner. + default: Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + default: + default: ================================================================================ + default: Verifying sha256sum: /home/rocky/Rocky-8.6-aarch64-boot.iso ... + default: + default: Rocky-8.6-aarch64-boot.iso: OK + default: + default: ================================================================================ + default: Verifying internal ISO md5: /home/rocky/Rocky-8.6-aarch64-boot.iso ... + default: + default: + default: The media check is complete, the result is: PASS. + default: + default: It is OK to use this media. + default: Press [Esc] to abort check. +==> default: Running provisioner: Rocky 8.6 aarch64 minimal ISO (shell)... + default: Running: script: Rocky 8.6 aarch64 minimal ISO + default: + default: ================================================================================ + default: Derived URLs... + default: + default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-minimal.iso + default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM + default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig + default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + default: + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-minimal.iso exists... + default: + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/aarch64/CHECKSUM?v=591fde74c65dddb245b973daa641ba50 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:31:58 GMT + default: < ETag: "62817f5e-1c7" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 455 + default: < Date: Sun, 22 May 2022 20:45:32 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17364-MDW, cache-bur-kbur8200088-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653252333.812829,VS0,VE76 + default: < + default: { [455 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/aarch64/CHECKSUM.sig?v=591fde74c65dddb245b973daa641ba50 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Mon, 16 May 2022 02:41:36 GMT + default: < ETag: "6281b9e0-236" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 566 + default: < Date: Sun, 22 May 2022 20:45:33 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17367-MDW, cache-bur-kbur8200138-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653252333.946655,VS0,VE82 + default: < + default: { [566 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Importing: RPM-GPG-KEY-rockyofficial ... + default: + default: gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed + default: gpg: Total number processed: 1 + default: gpg: unchanged: 1 + default: + default: ================================================================================ + default: Verifying gpg signature: /home/rocky/CHECKSUM.sig ... + default: + default: gpg: assuming signed data in '/home/rocky/CHECKSUM' + default: gpg: Signature made Mon 16 May 2022 02:41:36 AM UTC + default: gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 + default: gpg: Good signature from "Release Engineering " [unknown] + default: gpg: WARNING: This key is not certified with a trusted signature! + default: gpg: There is no indication that the signature belongs to the owner. + default: Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + default: + default: ================================================================================ + default: Verifying sha256sum: /home/rocky/Rocky-8.6-aarch64-minimal.iso ... + default: + default: Rocky-8.6-aarch64-minimal.iso: OK + default: + default: ================================================================================ + default: Verifying internal ISO md5: /home/rocky/Rocky-8.6-aarch64-minimal.iso ... + default: + default: + default: The media check is complete, the result is: PASS. + default: + default: It is OK to use this media. + default: Press [Esc] to abort check. + default: + default: ================================================================================ + default: Running: + default: dnf --verbose repoclosure --repofrompath BaseOS,/media/BaseOS --repo BaseOS --repofrompath Minimal,/media/Minimal --repo Minimal ... + default: + default: Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync + default: DNF version: 4.7.0 + default: cachedir: /var/cache/dnf + default: Added BaseOS repo from /media/BaseOS + default: Added Minimal repo from /media/Minimal + default: User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' + default: repo: using cache for: BaseOS + default: BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. + default: repo: using cache for: Minimal + default: Minimal: using metadata from Sun 15 May 2022 08:59:06 PM UTC. + default: Last metadata expiration check: 1:35:23 ago on Sun 22 May 2022 07:10:25 PM UTC. + default: + default: ================================================================================ + default: Running: + default: python3 /home/rocky/scripts/potential_conflict.py --repofrompath BaseOS,/media/BaseOS --repoid BaseOS --repofrompath Minimal,/media/Minimal --repoid Minimal ... + default: + default: Added BaseOS repo from /media/BaseOS + default: Added Minimal repo from /media/Minimal + default: Getting complete filelist for: + default: file:///media/BaseOS + default: file:///media/Minimal + default: 168952 files found. + default: + default: Looking for duplicated filenames: + default: 525 duplicates found. + default: + default: Doing more advanced checks to see if these are real conflicts: + default: 35% complete ( 182/ 525, 350/sec), 0 found - eta 0:00:00 + default: 40% complete ( 208/ 525, 1765/sec), 0 found - eta 0:00:00 + default: 45% complete ( 234/ 525, 583165/sec), 0 found - eta 0:00:00 + default: 50% complete ( 260/ 525, 746930/sec), 0 found - eta 0:00:00 + default: 54% complete ( 286/ 525, 762600/sec), 0 found - eta 0:00:00 + default: 84% complete ( 442/ 525, 119/sec), 0 found - eta 0:00:00 + default: 89% complete ( 468/ 525, 118/sec), 0 found - eta 0:00:00 + default: 94% complete ( 494/ 525, 805/sec), 0 found - eta 0:00:00 + default: 99% complete ( 520/ 525, 475/sec), 0 found - eta 0:00:00 + default: + default: 0 file conflicts found. + default: 0 package conflicts found. + default: + default: == Package conflicts == + default: + default: == File conflicts, listed by conflicting packages == +==> default: Running provisioner: Rocky 8.6 aarch64 dvd1 ISO (shell)... + default: Running: script: Rocky 8.6 aarch64 dvd1 ISO + default: + default: ================================================================================ + default: Derived URLs... + default: + default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-dvd1.iso + default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM + default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig + default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + default: + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-dvd1.iso exists... + default: + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/aarch64/CHECKSUM?v=9ca868fa4cc38e6f7487d00fb6a4074b HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:31:58 GMT + default: < ETag: "62817f5e-1c7" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 455 + default: < Date: Sun, 22 May 2022 20:45:50 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17374-MDW, cache-bur-kbur8200092-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653252351.915547,VS0,VE75 + default: < + default: { [455 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/aarch64/CHECKSUM.sig?v=9ca868fa4cc38e6f7487d00fb6a4074b HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Mon, 16 May 2022 02:41:36 GMT + default: < ETag: "6281b9e0-236" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 566 + default: < Date: Sun, 22 May 2022 20:45:51 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17351-MDW, cache-bur-kbur8200071-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653252351.044222,VS0,VE73 + default: < + default: { [566 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Importing: RPM-GPG-KEY-rockyofficial ... + default: + default: gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed + default: gpg: Total number processed: 1 + default: gpg: unchanged: 1 + default: + default: ================================================================================ + default: Verifying gpg signature: /home/rocky/CHECKSUM.sig ... + default: + default: gpg: assuming signed data in '/home/rocky/CHECKSUM' + default: gpg: Signature made Mon 16 May 2022 02:41:36 AM UTC + default: gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 + default: gpg: Good signature from "Release Engineering " [unknown] + default: gpg: WARNING: This key is not certified with a trusted signature! + default: gpg: There is no indication that the signature belongs to the owner. + default: Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + default: + default: ================================================================================ + default: Verifying sha256sum: /home/rocky/Rocky-8.6-aarch64-dvd1.iso ... + default: + default: Rocky-8.6-aarch64-dvd1.iso: OK + default: + default: ================================================================================ + default: Verifying internal ISO md5: /home/rocky/Rocky-8.6-aarch64-dvd1.iso ... + default: + default: + default: The media check is complete, the result is: PASS. + default: + default: It is OK to use this media. + default: Press [Esc] to abort check. + default: + default: ================================================================================ + default: Running: + default: dnf --verbose repoclosure --repofrompath AppStream,/media/AppStream --repo AppStream --repofrompath BaseOS,/media/BaseOS --repo BaseOS ... + default: + default: Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync + default: DNF version: 4.7.0 + default: cachedir: /var/cache/dnf + default: Added AppStream repo from /media/AppStream + default: Added BaseOS repo from /media/BaseOS + default: User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' + default: repo: using cache for: AppStream + default: AppStream: using metadata from Sun 15 May 2022 09:01:50 PM UTC. + default: repo: using cache for: BaseOS + default: BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. + default: Last metadata expiration check: 1:08:06 ago on Sun 22 May 2022 07:39:31 PM UTC. + default: + default: ================================================================================ + default: Running: + default: python3 /home/rocky/scripts/potential_conflict.py --repofrompath AppStream,/media/AppStream --repoid AppStream --repofrompath BaseOS,/media/BaseOS --repoid BaseOS ... + default: + default: Modular dependency problems: + default: + default: Problem 1: nothing provides requested module(ant:1.10:8030020210429121623) + default: Problem 2: nothing provides requested module(container-tools:rhel8:8060020220510152704) + default: Problem 3: nothing provides requested module(freeradius:3.0:8060020220510152642) + default: Problem 4: nothing provides requested module(gimp:2.8:8030020210427153901) + default: Problem 5: nothing provides requested module(go-toolset:rhel8:8060020220510152643) + default: Problem 6: nothing provides requested module(httpd:2.4:8060020220510175152) + default: Problem 7: nothing provides requested module(idm:client:8060020220510152717) + default: Problem 8: nothing provides requested module(inkscape:0.92.3:8060020220510152652) + default: Problem 9: nothing provides requested module(javapackages-runtime:201801:8030020210427015850) + default: Problem 10: nothing provides requested module(jmc:rhel8:8050020211109115703) + default: Problem 11: nothing provides requested module(llvm-toolset:rhel8:8060020220510152650) + default: Problem 12: nothing provides requested module(log4j:2:8060020220513010955) + default: Problem 13: nothing provides requested module(mailman:2.1:8050020211202160117) + default: Problem 14: nothing provides requested module(mariadb:10.3:8050020220426183223) + default: Problem 15: nothing provides requested module(maven:3.5:8060020220510152744) + default: Problem 16: nothing provides requested module(mercurial:4.8:8030020210428123809) + default: Problem 17: nothing provides requested module(mysql:8.0:8040020210921213001) + default: Problem 18: nothing provides requested module(nginx:1.14:8040020210610090123) + default: Problem 19: nothing provides requested module(nodejs:10:8030020210426100849) + default: Problem 20: nothing provides requested module(perl:5.26:8050020211109115414) + default: Problem 21: nothing provides requested module(perl-App-cpanminus:1.7044:8060020220513152155) + default: Problem 22: nothing provides requested module(perl-DBD-MySQL:4.046:8060020220513012802) + default: Problem 23: nothing provides requested module(perl-DBD-Pg:3.7:8060020220513012759) + default: Problem 24: nothing provides requested module(perl-DBD-SQLite:1.58:8060020220513012746) + default: Problem 25: nothing provides requested module(perl-DBI:1.641:8060020220513010556) + default: Problem 26: nothing provides requested module(perl-FCGI:0.78:8060020220513014001) + default: Problem 27: nothing provides requested module(perl-IO-Socket-SSL:2.066:8060020220513050719) + default: Problem 28: nothing provides requested module(perl-YAML:1.24:8060020220513063607) + default: Problem 29: nothing provides requested module(perl-libwww-perl:6.34:8060020220513153220) + default: Problem 30: nothing provides requested module(php:7.2:8040020210530192442) + default: Problem 31: nothing provides requested module(postgresql:10:8060020220510152838) + default: Problem 32: nothing provides requested module(python27:2.7:8060020220510152758) + default: Problem 33: nothing provides requested module(python36:3.6:8050020211109130820) + default: Problem 34: nothing provides requested module(python38:3.8:8060020220510152755) + default: Problem 35: nothing provides requested module(python39:3.9:8060020220510152857) + default: Problem 36: nothing provides requested module(redis:5:8050020211020202418) + default: Problem 37: nothing provides requested module(rhn-tools:1.0:8030020210429021554) + default: Problem 38: nothing provides requested module(ruby:2.5:8050020220224171137) + default: Problem 39: nothing provides requested module(rust-toolset:rhel8:8060020220510152804) + default: Problem 40: nothing provides requested module(satellite-5-client:1.0:8030020210428035500) + default: Problem 41: nothing provides requested module(scala:2.10:8030020210428133748) + default: Problem 42: nothing provides requested module(squid:4:8060020220510152801) + default: Problem 43: nothing provides requested module(subversion:1.10:8040020210530192448) + default: Problem 44: nothing provides requested module(swig:3.0:8040020210530171044) + default: Problem 45: nothing provides requested module(varnish:6:8050020220203164257) + default: Problem 46: nothing provides requested module(virt:rhel:8060020220510231111) + default: Added AppStream repo from /media/AppStream + default: Added BaseOS repo from /media/BaseOS + default: Getting complete filelist for: + default: file:///media/AppStream + default: file:///media/BaseOS + default: 576198 files found. + default: + default: Looking for duplicated filenames: + default: 5269 duplicates found. + default: + default: Doing more advanced checks to see if these are real conflicts: + default: 5% complete ( 263/ 5269, 2291/sec), 0 found - eta 0:00:02 + default: 10% complete ( 526/ 5269, 2308/sec), 3 found - eta 0:00:02 + default: 15% complete ( 789/ 5269, 614541/sec), 3 found - eta 0:00:01 + default: 20% complete ( 1052/ 5269, 727639/sec), 3 found - eta 0:00:00 + default: 25% complete ( 1315/ 5269, 98844/sec), 3 found - eta 0:00:00 + default: 30% complete ( 1578/ 5269, 689869/sec), 3 found - eta 0:00:00 + default: 35% complete ( 1841/ 5269, 24197/sec), 3 found - eta 0:00:00 + default: 40% complete ( 2104/ 5269, 519106/sec), 3 found - eta 0:00:00 + default: 45% complete ( 2367/ 5269, 738354/sec), 3 found - eta 0:00:00 + default: 50% complete ( 2630/ 5269, 234/sec), 3 found - eta 0:00:01 + default: 55% complete ( 2893/ 5269, 4872/sec), 3 found - eta 0:00:01 + default: 60% complete ( 3156/ 5269, 287490/sec), 3 found - eta 0:00:00 + default: 65% complete ( 3419/ 5269, 286222/sec), 3 found - eta 0:00:00 + default: 70% complete ( 3682/ 5269, 1526/sec), 3 found - eta 0:00:00 + default: 75% complete ( 3945/ 5269, 9796/sec), 3 found - eta 0:00:00 + default: 80% complete ( 4208/ 5269, 422968/sec), 3 found - eta 0:00:00 + default: 85% complete ( 4471/ 5269, 126357/sec), 3 found - eta 0:00:00 + default: 90% complete ( 4734/ 5269, 686435/sec), 3 found - eta 0:00:00 + default: 95% complete ( 4997/ 5269, 18157/sec), 3 found - eta 0:00:00 + default: 100% complete ( 5260/ 5269, 519/sec), 3 found - eta 0:00:00 + default: + default: 3 file conflicts found. + default: 4 package conflicts found. + default: + default: == Package conflicts == + default: libcmpiCppImpl0-2.0.3-15.el8.aarch64 + default: tog-pegasus-libs-2:2.14.1-46.el8.aarch64 + default: + default: bind-utils-32:9.11.36-3.el8.aarch64 + default: bind9.16-utils-32:9.16.23-0.7.el8.aarch64 + default: + default: libev-libevent-devel-4.24-6.el8.aarch64 + default: libevent-devel-2.1.8-5.el8.aarch64 + default: + default: bind-32:9.11.36-3.el8.aarch64 + default: bind9.16-32:9.16.23-0.7.el8.aarch64 + default: + default: + default: == File conflicts, listed by conflicting packages == + default: composer-cli-28.14.68-1.el8.aarch64 + default: weldr-client-35.5-1.el8.aarch64 + default: /etc/bash_completion.d/composer-cli + default: /usr/bin/composer-cli + default: /usr/share/man/man1/composer-cli.1.gz + default: +==> default: Running provisioner: End Timestamp (shell)... + default: Running: script: End Timestamp + default: Finished QA:Testcase-Mediacheck on Sun May 22 20:47:42 UTC 2022 +``` diff --git a/qa-testcase-boxes/testcase-mediacheck/examples/default_vagrant.md b/qa-testcase-boxes/testcase-mediacheck/examples/default_vagrant.md new file mode 100644 index 0000000..1e1fde3 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/examples/default_vagrant.md @@ -0,0 +1,704 @@ +# Default Vagrant Example + +``` +[rocky@localhost ~]$ vagrant up +Bringing machine 'default' up with 'virtualbox' provider... +==> default: Importing base box 'rockylinux/8'... +==> default: Matching MAC address for NAT networking... +==> default: Setting the name of the VM: testcase-mediacheck_default_1653246056648_618 +==> default: Clearing any previously set network interfaces... +==> default: Preparing network interfaces based on configuration... + default: Adapter 1: nat +==> default: Forwarding ports... + default: 22 (guest) => 2222 (host) (adapter 1) +==> default: Running 'pre-boot' VM customizations... +==> default: Booting VM... +==> default: Waiting for machine to boot. This may take a few minutes... + default: SSH address: 127.0.0.1:2222 + default: SSH username: vagrant + default: SSH auth method: private key + default: + default: Vagrant insecure key detected. Vagrant will automatically replace + default: this with a newly generated keypair for better security. + default: + default: Inserting generated public key within guest... + default: Removing insecure key from the guest if it's present... + default: Key inserted! Disconnecting and reconnecting using new SSH key... +==> default: Machine booted and ready! +==> default: Checking for guest additions in VM... +==> default: Mounting shared folders... + default: /vagrant => /home/rocky/testing/qa-testcase-boxes/testcase-mediacheck +==> default: Running provisioner: Start Timestamp (shell)... + default: Running: script: Start Timestamp + default: Starting QA:Testcase-Mediacheck on Sun May 22 19:01:16 UTC 2022 +==> default: Running provisioner: Install requirements (shell)... + default: Running: script: Install requirements + default: Rocky Linux 8 - AppStream 5.2 MB/s | 7.8 MB 00:01 + default: Rocky Linux 8 - BaseOS 1.6 MB/s | 2.6 MB 00:01 + default: Rocky Linux 8 - Extras 11 kB/s | 11 kB 00:01 + default: Rocky Linux 8 - PowerTools 3.3 MB/s | 2.2 MB 00:00 + default: Extra Packages for Enterprise Linux 8 - x86_64 5.2 MB/s | 11 MB 00:02 + default: Extra Packages for Enterprise Linux Modular 8 - 907 kB/s | 1.0 MB 00:01 + default: Dependencies resolved. + default: Nothing to do. + default: Complete! + default: Last metadata expiration check: 0:00:02 ago on Sun 22 May 2022 07:01:29 PM UTC. + default: Package coreutils-8.30-12.el8.x86_64 is already installed. + default: Package curl-7.61.1-22.el8.x86_64 is already installed. + default: Package dnf-4.7.0-8.el8.noarch is already installed. + default: Package rpm-4.14.3-23.el8.x86_64 is already installed. + default: Package util-linux-2.32.1-35.el8.x86_64 is already installed. + default: Dependencies resolved. + default: ================================================================================ + default: Package Arch Version Repo Size + default: ================================================================================ + default: Installing: + default: isomd5sum x86_64 1:1.2.3-3.el8 appstream 37 k + default: python36 x86_64 3.6.8-38.module+el8.5.0+671+195e4563 appstream 18 k + default: Installing dependencies: + default: python3-pip noarch 9.0.3-22.el8.rocky.0 appstream 19 k + default: python3-setuptools noarch 39.2.0-6.el8 baseos 162 k + default: Enabling module streams: + default: python36 3.6 + default: + default: Transaction Summary + default: ================================================================================ + default: Install 4 Packages + default: + default: Total download size: 236 k + default: Installed size: 526 k + default: Downloading Packages: + default: (1/4): python3-pip-9.0.3-22.el8.rocky.0.noarch. 100 kB/s | 19 kB 00:00 + default: (2/4): python36-3.6.8-38.module+el8.5.0+671+195 71 kB/s | 18 kB 00:00 + default: (3/4): isomd5sum-1.2.3-3.el8.x86_64.rpm 111 kB/s | 37 kB 00:00 + default: (4/4): python3-setuptools-39.2.0-6.el8.noarch.r 270 kB/s | 162 kB 00:00 + default: -------------------------------------------------------------------------------- + default: Total 217 kB/s | 236 kB 00:01 + default: Running transaction check + default: Transaction check succeeded. + default: Running transaction test + default: Transaction test succeeded. + default: Running transaction + default: Preparing : 1/1 + default: Installing : python3-setuptools-39.2.0-6.el8.noarch 1/4 + default: Installing : python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 2/4 + default: Running scriptlet: python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 2/4 + default: Installing : python3-pip-9.0.3-22.el8.rocky.0.noarch 3/4 + default: Installing : isomd5sum-1:1.2.3-3.el8.x86_64 4/4 + default: Running scriptlet: isomd5sum-1:1.2.3-3.el8.x86_64 4/4 + default: Verifying : isomd5sum-1:1.2.3-3.el8.x86_64 1/4 + default: Verifying : python3-pip-9.0.3-22.el8.rocky.0.noarch 2/4 + default: Verifying : python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 3/4 + default: Verifying : python3-setuptools-39.2.0-6.el8.noarch 4/4 + default: + default: Installed: + default: isomd5sum-1:1.2.3-3.el8.x86_64 + default: python3-pip-9.0.3-22.el8.rocky.0.noarch + default: python3-setuptools-39.2.0-6.el8.noarch + default: python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64 + default: + default: Complete! +==> default: Running provisioner: Prepare testing directories (shell)... + default: Running: script: Prepare testing directories +==> default: Running provisioner: Rocky 8.6 x86_64 boot ISO (shell)... + default: Running: script: Rocky 8.6 x86_64 boot ISO + default: mkdir: created directory '/home/rocky/testing/output/2022-05-22' + default: + default: ================================================================================ + default: Derived URLs... + default: + default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso + default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM + default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig + default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + default: + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso exists... + default: + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=d3323595f51c88acb2169579787405e9 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:25:57 GMT + default: < ETag: "62817df5-1c2" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 450 + default: < Date: Sun, 22 May 2022 19:01:34 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17366-MDW, cache-bur-kbur8200054-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246094.148927,VS0,VE86 + default: < + default: { [450 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=d3323595f51c88acb2169579787405e9 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Mon, 16 May 2022 02:41:30 GMT + default: < ETag: "6281b9da-236" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 566 + default: < Date: Sun, 22 May 2022 19:01:34 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17375-MDW, cache-bur-kbur8200094-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246094.298924,VS0,VE155 + default: < + default: { [566 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: Rocky-8.6-x86_64-boot.iso ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso?v=d3323595f51c88acb2169579787405e9 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:18:32 GMT + default: < ETag: "62817c38-35800000" + default: < Via: 1.1 varnish, 1.1 varnish + default: < Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 + default: < Accept-Ranges: bytes + default: < Date: Sun, 22 May 2022 19:01:34 GMT + default: < Age: 0 + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17325-MDW, cache-bur-kbur8200029-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246095.510904,VS0,VE84 + default: < Content-Length: 897581056 + default: < + default: { [4380 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Importing: RPM-GPG-KEY-rockyofficial ... + default: + default: gpg: directory '/root/.gnupg' created + default: gpg: keybox '/root/.gnupg/pubring.kbx' created + default: gpg: /root/.gnupg/trustdb.gpg: trustdb created + default: gpg: key 15AF5DAC6D745A60: public key "Release Engineering " imported + default: gpg: Total number processed: 1 + default: gpg: imported: 1 + default: + default: ================================================================================ + default: Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + default: + default: gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' + default: gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC + default: gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 + default: gpg: Good signature from "Release Engineering " [unknown] + default: gpg: WARNING: This key is not certified with a trusted signature! + default: gpg: There is no indication that the signature belongs to the owner. + default: Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + default: + default: ================================================================================ + default: Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + default: + default: Rocky-8.6-x86_64-boot.iso: OK + default: + default: ================================================================================ + default: Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + default: + default: + default: The media check is complete, the result is: PASS. + default: + default: It is OK to use this media. + default: Press [Esc] to abort check. +==> default: Running provisioner: Rocky 8.6 x86_64 minimal ISO (shell)... + default: Running: script: Rocky 8.6 x86_64 minimal ISO + default: + default: ================================================================================ + default: Derived URLs... + default: + default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso + default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM + default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig + default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + default: + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso exists... + default: + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=4c92e505b3679b427adb43ac36541725 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:25:57 GMT + default: < ETag: "62817df5-1c2" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 450 + default: < Date: Sun, 22 May 2022 19:04:17 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17331-MDW, cache-bur-kbur8200144-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246258.501824,VS0,VE80 + default: < + default: { [450 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=4c92e505b3679b427adb43ac36541725 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Mon, 16 May 2022 02:41:30 GMT + default: < ETag: "6281b9da-236" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 566 + default: < Date: Sun, 22 May 2022 19:04:17 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17347-MDW, cache-bur-kbur8200158-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246258.783926,VS0,VE71 + default: < + default: { [566 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: Rocky-8.6-x86_64-minimal.iso ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso?v=4c92e505b3679b427adb43ac36541725 HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:21:52 GMT + default: < ETag: "62817d00-87100000" + default: < Via: 1.1 varnish, 1.1 varnish + default: < Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 + default: < Accept-Ranges: bytes + default: < Date: Sun, 22 May 2022 19:04:17 GMT + default: < Age: 0 + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17328-MDW, cache-bur-kbur8200047-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246258.916143,VS0,VE75 + default: < Content-Length: 2265972736 + default: < + default: { [4380 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Importing: RPM-GPG-KEY-rockyofficial ... + default: + default: gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed + default: gpg: Total number processed: 1 + default: gpg: unchanged: 1 + default: + default: ================================================================================ + default: Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + default: + default: gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' + default: gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC + default: gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 + default: gpg: Good signature from "Release Engineering " [unknown] + default: gpg: WARNING: This key is not certified with a trusted signature! + default: gpg: There is no indication that the signature belongs to the owner. + default: Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + default: + default: ================================================================================ + default: Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + default: + default: Rocky-8.6-x86_64-minimal.iso: OK + default: + default: ================================================================================ + default: Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + default: + default: + default: The media check is complete, the result is: PASS. + default: + default: It is OK to use this media. + default: Press [Esc] to abort check. + default: + default: ================================================================================ + default: Running: + default: dnf --verbose repoclosure --repofrompath BaseOS,/media/BaseOS --repo BaseOS --repofrompath Minimal,/media/Minimal --repo Minimal ... + default: + default: Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync + default: DNF version: 4.7.0 + default: cachedir: /var/cache/dnf + default: Added BaseOS repo from /media/BaseOS + default: Added Minimal repo from /media/Minimal + default: User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' + default: repo: downloading from remote: BaseOS + default: BaseOS 74 MB/s | 2.6 MB 00:00 + default: BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. + default: repo: downloading from remote: Minimal + default: Minimal 128 kB/s | 384 B 00:00 + default: Minimal: using metadata from Sun 15 May 2022 08:59:06 PM UTC. + default: Completion plugin: Generating completion cache... + default: + default: ================================================================================ + default: Running: + default: python3 /home/rocky/testing/scripts/potential_conflict.py --repofrompath BaseOS,/media/BaseOS --repoid BaseOS --repofrompath Minimal,/media/Minimal --repoid Minimal ... + default: + default: Added BaseOS repo from /media/BaseOS + default: Added Minimal repo from /media/Minimal + default: Getting complete filelist for: + default: file:///media/BaseOS + default: file:///media/Minimal + default: 185139 files found. + default: + default: Looking for duplicated filenames: + default: 17229 duplicates found. + default: + default: Doing more advanced checks to see if these are real conflicts: + default: 5% complete ( 861/ 17229, 11429/sec), 0 found - eta 0:00:01 + default: 10% complete ( 1722/ 17229, 5409/sec), 0 found - eta 0:00:02 + default: 15% complete ( 2583/ 17229, 42762/sec), 0 found - eta 0:00:01 + default: 20% complete ( 3444/ 17229, 70417/sec), 0 found - eta 0:00:01 + default: 25% complete ( 4305/ 17229, 3308/sec), 0 found - eta 0:00:01 + default: 30% complete ( 5166/ 17229, 342140/sec), 0 found - eta 0:00:01 + default: 35% complete ( 6027/ 17229, 2050707/sec), 0 found - eta 0:00:00 + default: 40% complete ( 6888/ 17229, 148674/sec), 0 found - eta 0:00:00 + default: 45% complete ( 7749/ 17229, 264312/sec), 0 found - eta 0:00:00 + default: 50% complete ( 8610/ 17229, 103647/sec), 0 found - eta 0:00:00 + default: 55% complete ( 9471/ 17229, 2018611/sec), 0 found - eta 0:00:00 + default: 60% complete ( 10332/ 17229, 2220969/sec), 0 found - eta 0:00:00 + default: 65% complete ( 11193/ 17229, 2129301/sec), 0 found - eta 0:00:00 + default: 70% complete ( 12054/ 17229, 2236096/sec), 0 found - eta 0:00:00 + default: 75% complete ( 12915/ 17229, 2248627/sec), 0 found - eta 0:00:00 + default: 80% complete ( 13776/ 17229, 2121795/sec), 0 found - eta 0:00:00 + default: 85% complete ( 14637/ 17229, 41822/sec), 0 found - eta 0:00:00 + default: 90% complete ( 15498/ 17229, 17042/sec), 0 found - eta 0:00:00 + default: 95% complete ( 16359/ 17229, 2154711/sec), 0 found - eta 0:00:00 + default: 100% complete ( 17220/ 17229, 2035679/sec), 0 found - eta 0:00:00 + default: + default: 0 file conflicts found. + default: 0 package conflicts found. + default: + default: == Package conflicts == + default: + default: == File conflicts, listed by conflicting packages == +==> default: Running provisioner: Rocky 8.6 x86_64 dvd1 ISO (shell)... + default: Running: script: Rocky 8.6 x86_64 dvd1 ISO + default: + default: ================================================================================ + default: Derived URLs... + default: + default: iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-dvd1.iso + default: iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM + default: iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig + default: iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + default: + default: + default: ================================================================================ + default: Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-dvd1.iso exists... + default: + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=ba36bcab87954bf544db5b18169c117b HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:25:57 GMT + default: < ETag: "62817df5-1c2" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 450 + default: < Date: Sun, 22 May 2022 19:10:28 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17368-MDW, cache-bur-kbur8200055-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246628.241977,VS0,VE76 + default: < + default: { [450 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=ba36bcab87954bf544db5b18169c117b HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Mon, 16 May 2022 02:41:30 GMT + default: < ETag: "6281b9da-236" + default: < Accept-Ranges: bytes + default: < Via: 1.1 varnish, 1.1 varnish + default: < Content-Length: 566 + default: < Date: Sun, 22 May 2022 19:10:28 GMT + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17360-MDW, cache-bur-kbur8200024-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246628.384982,VS0,VE74 + default: < + default: { [566 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Downloading: Rocky-8.6-x86_64-dvd1.iso ... + default: + default: * Trying 146.75.94.132... + default: * TCP_NODELAY set + default: * Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) + default: > GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-dvd1.iso?v=ba36bcab87954bf544db5b18169c117b HTTP/1.1 + default: > Host: dl.rockylinux.org + default: > User-Agent: curl/7.61.1 + default: > Accept: */* + default: > + default: < HTTP/1.1 200 OK + default: < Content-Type: application/octet-stream + default: < Server: nginx + default: < Last-Modified: Sun, 15 May 2022 22:21:05 GMT + default: < ETag: "62817cd1-29c600000" + default: < Via: 1.1 varnish, 1.1 varnish + default: < Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 + default: < Accept-Ranges: bytes + default: < Date: Sun, 22 May 2022 19:10:28 GMT + default: < Age: 0 + default: < Connection: keep-alive + default: < X-Served-By: cache-mdw17378-MDW, cache-bur-kbur8200121-BUR + default: < X-Cache: MISS, MISS + default: < X-Cache-Hits: 0, 0 + default: < X-Timer: S1653246629.520228,VS0,VE80 + default: < Content-Length: 11213471744 + default: < + default: { [15884 bytes data] + default: * Connection #0 to host dl.rockylinux.org left intact + default: + default: ================================================================================ + default: Importing: RPM-GPG-KEY-rockyofficial ... + default: + default: gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed + default: gpg: Total number processed: 1 + default: gpg: unchanged: 1 + default: + default: ================================================================================ + default: Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + default: + default: gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' + default: gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC + default: gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 + default: gpg: Good signature from "Release Engineering " [unknown] + default: gpg: WARNING: This key is not certified with a trusted signature! + default: gpg: There is no indication that the signature belongs to the owner. + default: Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + default: + default: ================================================================================ + default: Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-dvd1.iso ... + default: + default: Rocky-8.6-x86_64-dvd1.iso: OK + default: + default: ================================================================================ + default: Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-dvd1.iso ... + default: + default: + default: The media check is complete, the result is: PASS. + default: + default: It is OK to use this media. + default: Press [Esc] to abort check. + default: + default: ================================================================================ + default: Running: + default: dnf --verbose repoclosure --repofrompath AppStream,/media/AppStream --repo AppStream --repofrompath BaseOS,/media/BaseOS --repo BaseOS ... + default: + default: Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync + default: DNF version: 4.7.0 + default: cachedir: /var/cache/dnf + default: Added AppStream repo from /media/AppStream + default: Added BaseOS repo from /media/BaseOS + default: User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' + default: repo: downloading from remote: AppStream + default: AppStream 50 MB/s | 7.8 MB 00:00 + default: AppStream: using metadata from Sun 15 May 2022 09:01:50 PM UTC. + default: repo: using cache for: BaseOS + default: BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. + default: Last metadata expiration check: 0:00:01 ago on Sun 22 May 2022 07:39:31 PM UTC. + default: Completion plugin: Generating completion cache... + default: + default: ================================================================================ + default: Running: + default: python3 /home/rocky/testing/scripts/potential_conflict.py --repofrompath AppStream,/media/AppStream --repoid AppStream --repofrompath BaseOS,/media/BaseOS --repoid BaseOS ... + default: + default: Added AppStream repo from /media/AppStream + default: Added BaseOS repo from /media/BaseOS + default: Getting complete filelist for: + default: file:///media/AppStream + default: file:///media/BaseOS + default: 867725 files found. + default: + default: Looking for duplicated filenames: + default: 107287 duplicates found. + default: + default: Doing more advanced checks to see if these are real conflicts: + default: 5% complete ( 5364/107287, 11694/sec), 0 found - eta 0:00:08 + default: 10% complete ( 10728/107287, 2261130/sec), 0 found - eta 0:00:04 + default: 15% complete ( 16092/107287, 2292698/sec), 0 found - eta 0:00:02 + default: 20% complete ( 21456/107287, 12240/sec), 3 found - eta 0:00:03 + default: 25% complete ( 26820/107287, 45579/sec), 3 found - eta 0:00:03 + default: 30% complete ( 32184/107287, 3652/sec), 3 found - eta 0:00:05 + default: 35% complete ( 37548/107287, 49061/sec), 3 found - eta 0:00:04 + default: 40% complete ( 42912/107287, 2178795/sec), 3 found - eta 0:00:03 + default: 45% complete ( 48276/107287, 2271632/sec), 3 found - eta 0:00:03 + default: 50% complete ( 53640/107287, 291654/sec), 3 found - eta 0:00:02 + default: 55% complete ( 59004/107287, 1114823/sec), 3 found - eta 0:00:02 + default: 60% complete ( 64368/107287, 69486/sec), 4 found - eta 0:00:01 + default: 65% complete ( 69732/107287, 319418/sec), 4 found - eta 0:00:01 + default: 70% complete ( 75096/107287, 185158/sec), 4 found - eta 0:00:01 + default: 75% complete ( 80460/107287, 33596/sec), 4 found - eta 0:00:00 + default: 80% complete ( 85824/107287, 135688/sec), 4 found - eta 0:00:00 + default: 85% complete ( 91188/107287, 81493/sec), 4 found - eta 0:00:00 + default: 90% complete ( 96552/107287, 13137/sec), 4 found - eta 0:00:00 + default: 95% complete (101916/107287, 493350/sec), 4 found - eta 0:00:00 + default: 100% complete (107280/107287, 203674/sec), 4 found - eta 0:00:00 + default: + default: 4 file conflicts found. + default: 13 package conflicts found. + default: + default: == Package conflicts == + default: mariadb-test-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 + default: mysql-test-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: + default: mariadb-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 + default: mysql-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: + default: mariadb-devel-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 + default: mysql-devel-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: + default: mariadb-server-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 + default: mysql-server-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: + default: libcmpiCppImpl0-2.0.3-15.el8.i686 + default: tog-pegasus-libs-2:2.14.1-46.el8.i686 + default: + default: libev-libevent-devel-4.24-6.el8.i686 + default: libev-libevent-devel-4.24-6.el8.x86_64 + default: libevent-devel-2.1.8-5.el8.i686 + default: libevent-devel-2.1.8-5.el8.x86_64 + default: + default: mariadb-server-utils-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 + default: mysql-server-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: + default: libcmpiCppImpl0-2.0.3-15.el8.x86_64 + default: tog-pegasus-libs-2:2.14.1-46.el8.x86_64 + default: + default: mariadb-connector-c-devel-3.1.11-2.el8_3.i686 + default: mariadb-connector-c-devel-3.1.11-2.el8_3.x86_64 + default: mariadb-devel-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 + default: mysql-devel-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: + default: bind-32:9.11.36-3.el8.x86_64 + default: bind9.16-32:9.16.23-0.7.el8.x86_64 + default: + default: python3-mod_wsgi-4.6.4-4.el8.x86_64 + default: python38-mod_wsgi-4.6.8-3.module+el8.4.0+570+c2eaf144.x86_64 + default: python39-mod_wsgi-4.7.1-4.module+el8.4.0+574+843c4898.x86_64 + default: + default: bind-utils-32:9.11.36-3.el8.x86_64 + default: bind9.16-utils-32:9.16.23-0.7.el8.x86_64 + default: + default: mariadb-connector-c-devel-3.1.11-2.el8_3.i686 + default: mariadb-connector-c-devel-3.1.11-2.el8_3.x86_64 + default: mysql-devel-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: + default: + default: == File conflicts, listed by conflicting packages == + default: composer-cli-28.14.68-1.el8.x86_64 + default: weldr-client-35.5-1.el8.x86_64 + default: /etc/bash_completion.d/composer-cli + default: /usr/bin/composer-cli + default: /usr/share/man/man1/composer-cli.1.gz + default: + default: mariadb-server-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 + default: mysql-test-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + default: /usr/bin/mysqld_safe + default: +==> default: Running provisioner: End Timestamp (shell)... + default: Running: script: End Timestamp + default: Finished QA:Testcase-Mediacheck on Sun May 22 19:39:40 UTC 2022 +``` diff --git a/qa-testcase-boxes/testcase-mediacheck/examples/standalone_system.md b/qa-testcase-boxes/testcase-mediacheck/examples/standalone_system.md new file mode 100644 index 0000000..ec2e6f3 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/examples/standalone_system.md @@ -0,0 +1,458 @@ +# Standalone System + +## boot ISO + +**_NOTE: boot ISO doesn't do repoclosure or package_conflict testing as there are no packages distributed on that ISO._** + +``` +[rocky@localhost testing]$ ./scripts/test_wrapper.sh +mkdir: created directory '/home/rocky/testing/output' +mkdir: created directory '/home/rocky/testing/output/2022-05-22' + +================================================================================ +Derived URLs... + +iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso +iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM +iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig +iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=1fa3a0fadf0c60757479c18254450bc0 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:25:57 GMT +< ETag: "62817df5-1c2" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 450 +< Date: Sun, 22 May 2022 20:01:50 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17351-MDW, cache-bur-kbur8200027-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653249710.286849,VS0,VE83 +< +{ [450 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=1fa3a0fadf0c60757479c18254450bc0 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:30 GMT +< ETag: "6281b9da-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 20:01:50 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17360-MDW, cache-bur-kbur8200027-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653249710.426060,VS0,VE74 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 443 (#0) +* ALPN, offering h2 +* ALPN, offering http/1.1 +* successfully set certificate verify locations: +* CAfile: /etc/pki/tls/certs/ca-bundle.crt + CApath: none +} [5 bytes data] +* TLSv1.3 (OUT), TLS handshake, Client hello (1): +} [512 bytes data] +* TLSv1.3 (IN), TLS handshake, Server hello (2): +{ [122 bytes data] +* TLSv1.3 (IN), TLS handshake, [no content] (0): +{ [1 bytes data] +* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): +{ [19 bytes data] +* TLSv1.3 (IN), TLS handshake, [no content] (0): +{ [1 bytes data] +* TLSv1.3 (IN), TLS handshake, Certificate (11): +{ [4033 bytes data] +* TLSv1.3 (IN), TLS handshake, [no content] (0): +{ [1 bytes data] +* TLSv1.3 (IN), TLS handshake, CERT verify (15): +{ [264 bytes data] +* TLSv1.3 (IN), TLS handshake, [no content] (0): +{ [1 bytes data] +* TLSv1.3 (IN), TLS handshake, Finished (20): +{ [52 bytes data] +* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): +} [1 bytes data] +* TLSv1.3 (OUT), TLS handshake, [no content] (0): +} [1 bytes data] +* TLSv1.3 (OUT), TLS handshake, Finished (20): +} [52 bytes data] +* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 +* ALPN, server accepted to use h2 +* Server certificate: +* subject: CN=dl.rockylinux.org +* start date: Apr 25 17:43:32 2022 GMT +* expire date: Jul 24 17:43:31 2022 GMT +* subjectAltName: host "dl.rockylinux.org" matched cert's "dl.rockylinux.org" +* issuer: C=US; O=Let's Encrypt; CN=R3 +* SSL certificate verify ok. +* Using HTTP2, server supports multi-use +* Connection state changed (HTTP/2 confirmed) +* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 +} [5 bytes data] +* TLSv1.3 (OUT), TLS app data, [no content] (0): +} [1 bytes data] +* TLSv1.3 (OUT), TLS app data, [no content] (0): +} [1 bytes data] +* TLSv1.3 (OUT), TLS app data, [no content] (0): +} [1 bytes data] +* Using Stream ID: 1 (easy handle 0x55db6f2af6b0) +} [5 bytes data] +* TLSv1.3 (OUT), TLS app data, [no content] (0): +} [1 bytes data] +> GET /pub/rocky/RPM-GPG-KEY-rockyofficial?v=1fa3a0fadf0c60757479c18254450bc0 HTTP/2 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +{ [5 bytes data] +* TLSv1.3 (IN), TLS handshake, [no content] (0): +{ [1 bytes data] +* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): +{ [193 bytes data] +* TLSv1.3 (IN), TLS app data, [no content] (0): +{ [1 bytes data] +* Connection state changed (MAX_CONCURRENT_STREAMS == 100)! +} [5 bytes data] +* TLSv1.3 (OUT), TLS app data, [no content] (0): +} [1 bytes data] +* TLSv1.3 (IN), TLS app data, [no content] (0): +{ [1 bytes data] +* TLSv1.3 (IN), TLS app data, [no content] (0): +{ [1 bytes data] +< HTTP/2 200 +< content-type: application/octet-stream +< server: nginx +< last-modified: Mon, 03 May 2021 21:11:09 GMT +< etag: "609066ed-688" +< accept-ranges: bytes +< via: 1.1 varnish, 1.1 varnish +< date: Sun, 22 May 2022 20:01:50 GMT +< x-served-by: cache-mdw17333-MDW, cache-bur-kbur8200143-BUR +< x-cache: MISS, MISS +< x-cache-hits: 0, 0 +< x-timer: S1653249711.597966,VS0,VE76 +< content-length: 1672 +< +{ [5 bytes data] +* TLSv1.3 (IN), TLS app data, [no content] (0): +{ [1 bytes data] +* TLSv1.3 (IN), TLS app data, [no content] (0): +{ [1 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: Rocky-8.6-x86_64-boot.iso ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso?v=1fa3a0fadf0c60757479c18254450bc0 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:18:32 GMT +< ETag: "62817c38-35800000" +< Via: 1.1 varnish, 1.1 varnish +< Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 +< Accept-Ranges: bytes +< Date: Sun, 22 May 2022 20:01:50 GMT +< Age: 0 +< Connection: keep-alive +< X-Served-By: cache-mdw17347-MDW, cache-bur-kbur8200082-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653249711.737785,VS0,VE88 +< Content-Length: 897581056 +< +{ [1444 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: directory '/home/home/rocky/.gnupg' created +gpg: keybox '/home/home/rocky/.gnupg/pubring.kbx' created +gpg: /home/home/rocky/.gnupg/trustdb.gpg: trustdb created +gpg: key 15AF5DAC6D745A60: public key "Release Engineering " imported +gpg: Total number processed: 1 +gpg: imported: 1 + +================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + +================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + +Rocky-8.6-x86_64-boot.iso: OK + +================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. +``` + +## minimal ISO + +``` +[rocky@localhost testing]$ ./scripts/test_wrapper.sh minimal + +================================================================================ +Derived URLs... + +iso_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso +iso_checksum_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM +iso_checksum_sig_url: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig +iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=442542130be00383183bdb98860548b9 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:25:57 GMT +< ETag: "62817df5-1c2" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 450 +< Date: Sun, 22 May 2022 20:17:49 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17357-MDW, cache-bur-kbur8200025-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653250669.932034,VS0,VE79 +< +{ [450 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=442542130be00383183bdb98860548b9 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:30 GMT +< ETag: "6281b9da-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 20:17:49 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17321-MDW, cache-bur-kbur8200026-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653250669.077514,VS0,VE77 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: Rocky-8.6-x86_64-minimal.iso ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso?v=442542130be00383183bdb98860548b9 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:21:52 GMT +< ETag: "62817d00-87100000" +< Via: 1.1 varnish, 1.1 varnish +< Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 +< Accept-Ranges: bytes +< Date: Sun, 22 May 2022 20:17:49 GMT +< Age: 0 +< Connection: keep-alive +< X-Served-By: cache-mdw17341-MDW, cache-bur-kbur8200087-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653250669.211274,VS0,VE72 +< Content-Length: 2265972736 +< +{ [4380 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed +gpg: Total number processed: 1 +gpg: unchanged: 1 + +================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + +================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + +Rocky-8.6-x86_64-minimal.iso: OK + +================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. + +================================================================================ +Running: + dnf --verbose repoclosure --repofrompath BaseOS,/media/BaseOS --repo BaseOS --repofrompath Minimal,/media/Minimal --repo Minimal ... + +Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync +DNF version: 4.7.0 +cachedir: /var/tmp/dnf-vagrant-vt5qg_qr +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' +repo: downloading from remote: BaseOS +BaseOS 50 MB/s | 2.6 MB 00:00 +BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. +repo: downloading from remote: Minimal +Minimal 41 kB/s | 384 B 00:00 +Minimal: using metadata from Sun 15 May 2022 08:59:06 PM UTC. +Completion plugin: Generating completion cache... +Completion plugin: Can't write completion cache: attempt to write a readonly database + +================================================================================ +Running: + python3 /home/rocky/testing/scripts/potential_conflict.py --repofrompath BaseOS,/media/BaseOS --repoid BaseOS --repofrompath Minimal,/media/Minimal --repoid Minimal ... + +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +Getting complete filelist for: +file:///media/BaseOS +file:///media/Minimal +185139 files found. + +Looking for duplicated filenames: +17229 duplicates found. + +Doing more advanced checks to see if these are real conflicts: + 5% complete ( 861/ 17229, 11363/sec), 0 found - eta 0:00:01 + 10% complete ( 1722/ 17229, 5973/sec), 0 found - eta 0:00:01 + 15% complete ( 2583/ 17229, 51202/sec), 0 found - eta 0:00:01 + 20% complete ( 3444/ 17229, 102894/sec), 0 found - eta 0:00:00 + 25% complete ( 4305/ 17229, 3637/sec), 0 found - eta 0:00:01 + 30% complete ( 5166/ 17229, 547497/sec), 0 found - eta 0:00:01 + 35% complete ( 6027/ 17229, 2076650/sec), 0 found - eta 0:00:00 + 40% complete ( 6888/ 17229, 201601/sec), 0 found - eta 0:00:00 + 45% complete ( 7749/ 17229, 444686/sec), 0 found - eta 0:00:00 + 50% complete ( 8610/ 17229, 129655/sec), 0 found - eta 0:00:00 + 55% complete ( 9471/ 17229, 2346520/sec), 0 found - eta 0:00:00 + 60% complete ( 10332/ 17229, 2166344/sec), 0 found - eta 0:00:00 + 65% complete ( 11193/ 17229, 2407530/sec), 0 found - eta 0:00:00 + 70% complete ( 12054/ 17229, 2418818/sec), 0 found - eta 0:00:00 + 75% complete ( 12915/ 17229, 2281298/sec), 0 found - eta 0:00:00 + 80% complete ( 13776/ 17229, 2328366/sec), 0 found - eta 0:00:00 + 85% complete ( 14637/ 17229, 45758/sec), 0 found - eta 0:00:00 + 90% complete ( 15498/ 17229, 19243/sec), 0 found - eta 0:00:00 + 95% complete ( 16359/ 17229, 2037977/sec), 0 found - eta 0:00:00 +100% complete ( 17220/ 17229, 2126793/sec), 0 found - eta 0:00:00 + +0 file conflicts found. +0 package conflicts found. + +== Package conflicts == + +== File conflicts, listed by conflicting packages == +``` diff --git a/qa-testcase-boxes/testcase-mediacheck/examples/standalone_vault.md b/qa-testcase-boxes/testcase-mediacheck/examples/standalone_vault.md new file mode 100644 index 0000000..08e0b43 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/examples/standalone_vault.md @@ -0,0 +1,203 @@ +# Standalone System with ISOs from Rocky Linux Vault + +## minimal ISO + +**_NOTE: This test is with Rocky Linux 8.4 minimal ISO from Vault._** + +``` +[vagrant@localhost testing]$ ./scripts/test_wrapper.sh minimal x86_64 8.4 http://dl.rockylinux.org/vault/rocky/8.4/isos + +================================================================================ +Derived URLs... + +iso_url: http://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/Rocky-8.4-x86_64-minimal.iso +iso_checksum_url: http://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/CHECKSUM +iso_checksum_sig_url: http://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/CHECKSUM.sig +iso_key_url: https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial + +================================================================================ +Verifying: http://dl.rockylinux.org/vault/rocky/8.4/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/Rocky-8.4-x86_64-minimal.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /vault/rocky/8.4/isos/x86_64/CHECKSUM?v=1e17056f479e744d7a00e1174d103324 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 20 Jun 2021 22:45:21 GMT +< ETag: "60cfc501-3a9" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 937 +< Date: Sun, 22 May 2022 20:28:45 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17333-MDW, cache-bur-kbur8200111-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653251325.109018,VS0,VE86 +< +{ [937 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /vault/rocky/8.4/isos/x86_64/CHECKSUM.sig?v=1e17056f479e744d7a00e1174d103324 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 20 Jun 2021 22:49:19 GMT +< ETag: "60cfc5ef-96" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 150 +< Date: Sun, 22 May 2022 20:28:45 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17360-MDW, cache-bur-kbur8200078-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653251325.426206,VS0,VE82 +< +{ [150 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: Rocky-8.4-x86_64-minimal.iso ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /vault/rocky/8.4/isos/x86_64/Rocky-8.4-x86_64-minimal.iso?v=1e17056f479e744d7a00e1174d103324 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 20 Jun 2021 16:16:53 GMT +< ETag: "60cf69f5-76100000" +< Via: 1.1 varnish, 1.1 varnish +< Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 +< Accept-Ranges: bytes +< Date: Sun, 22 May 2022 20:28:45 GMT +< Age: 0 +< Connection: keep-alive +< X-Served-By: cache-mdw17366-MDW, cache-bur-kbur8200105-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653251326.568900,VS0,VE94 +< Content-Length: 1980760064 +< +{ [2390 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed +gpg: Total number processed: 1 +gpg: unchanged: 1 + +================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Sun 20 Jun 2021 10:48:06 PM UTC +gpg: using EDDSA key BFC3D8F20D15F4FD46281D7FAA650F52D6C094FA +gpg: issuer "infrastructure@rockylinux.org" +gpg: Can't check signature: No public key + +================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.4-x86_64-minimal.iso ... + +Rocky-8.4-x86_64-minimal.iso: OK + +================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.4-x86_64-minimal.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. + +================================================================================ +Running: + dnf --verbose repoclosure --repofrompath BaseOS,/media/BaseOS --repo BaseOS --repofrompath Minimal,/media/Minimal --repo Minimal ... + +Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync +DNF version: 4.7.0 +cachedir: /var/tmp/dnf-vagrant-vt5qg_qr +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' +repo: using cache for: BaseOS +BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. +repo: using cache for: Minimal +Minimal: using metadata from Sun 15 May 2022 08:59:06 PM UTC. +Last metadata expiration check: 0:09:54 ago on Sun 22 May 2022 08:24:18 PM UTC. + +================================================================================ +Running: + python3 /home/rocky/testing/scripts/potential_conflict.py --repofrompath BaseOS,/media/BaseOS --repoid BaseOS --repofrompath Minimal,/media/Minimal --repoid Minimal ... + +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +Getting complete filelist for: +file:///media/BaseOS +file:///media/Minimal +184120 files found. + +Looking for duplicated filenames: +16926 duplicates found. + +Doing more advanced checks to see if these are real conflicts: + 5% complete ( 846/ 16926, 10429/sec), 0 found - eta 0:00:01 + 10% complete ( 1692/ 16926, 5423/sec), 0 found - eta 0:00:02 + 15% complete ( 2538/ 16926, 38916/sec), 0 found - eta 0:00:01 + 20% complete ( 3384/ 16926, 67690/sec), 0 found - eta 0:00:01 + 25% complete ( 4230/ 16926, 10847/sec), 0 found - eta 0:00:01 + 30% complete ( 5076/ 16926, 1976814/sec), 0 found - eta 0:00:00 + 35% complete ( 5922/ 16926, 1909785/sec), 0 found - eta 0:00:00 + 40% complete ( 6768/ 16926, 174513/sec), 0 found - eta 0:00:00 + 45% complete ( 7614/ 16926, 238402/sec), 0 found - eta 0:00:00 + 50% complete ( 8460/ 16926, 2328334/sec), 0 found - eta 0:00:00 + 55% complete ( 9306/ 16926, 99194/sec), 0 found - eta 0:00:00 + 60% complete ( 10152/ 16926, 2278985/sec), 0 found - eta 0:00:00 + 65% complete ( 10998/ 16926, 2149231/sec), 0 found - eta 0:00:00 + 70% complete ( 11844/ 16926, 2314664/sec), 0 found - eta 0:00:00 + 75% complete ( 12690/ 16926, 2332926/sec), 0 found - eta 0:00:00 + 80% complete ( 13536/ 16926, 2170263/sec), 0 found - eta 0:00:00 + 85% complete ( 14382/ 16926, 39684/sec), 0 found - eta 0:00:00 + 90% complete ( 15228/ 16926, 26101/sec), 0 found - eta 0:00:00 + 95% complete ( 16074/ 16926, 26741/sec), 0 found - eta 0:00:00 +100% complete ( 16920/ 16926, 1987888/sec), 0 found - eta 0:00:00 + +0 file conflicts found. +0 package conflicts found. + +== Package conflicts == + +== File conflicts, listed by conflicting packages == +``` diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-boot.iso.mediacheck.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-boot.iso.mediacheck.out new file mode 100644 index 0000000..3cec74f --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-boot.iso.mediacheck.out @@ -0,0 +1,114 @@ + +================================================================================ +Derived URLs... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-boot.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/aarch64/CHECKSUM?v=2d5f8427d657041086564939488a0682 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:31:58 GMT +< ETag: "62817f5e-1c7" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 455 +< Date: Sun, 22 May 2022 20:45:27 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17330-MDW, cache-bur-kbur8200145-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653252327.989329,VS0,VE79 +< +{ [455 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/aarch64/CHECKSUM.sig?v=2d5f8427d657041086564939488a0682 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:36 GMT +< ETag: "6281b9e0-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 20:45:27 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17335-MDW, cache-bur-kbur8200092-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653252327.131733,VS0,VE78 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed +gpg: Total number processed: 1 +gpg: unchanged: 1 + + +================================================================================================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + + +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:36 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + + +================================================================================================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-aarch64-boot.iso ... + + +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-aarch64-boot.iso ... + +Rocky-8.6-aarch64-boot.iso: OK + + +================================================================================================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-aarch64-boot.iso ... + + +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-aarch64-boot.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.mediacheck.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.mediacheck.out new file mode 100644 index 0000000..7dfbbbc --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.mediacheck.out @@ -0,0 +1,114 @@ + +================================================================================ +Derived URLs... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-dvd1.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/aarch64/CHECKSUM?v=9ca868fa4cc38e6f7487d00fb6a4074b HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:31:58 GMT +< ETag: "62817f5e-1c7" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 455 +< Date: Sun, 22 May 2022 20:45:50 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17374-MDW, cache-bur-kbur8200092-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653252351.915547,VS0,VE75 +< +{ [455 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/aarch64/CHECKSUM.sig?v=9ca868fa4cc38e6f7487d00fb6a4074b HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:36 GMT +< ETag: "6281b9e0-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 20:45:51 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17351-MDW, cache-bur-kbur8200071-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653252351.044222,VS0,VE73 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed +gpg: Total number processed: 1 +gpg: unchanged: 1 + + +================================================================================================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + + +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:36 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + + +================================================================================================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-aarch64-dvd1.iso ... + + +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-aarch64-dvd1.iso ... + +Rocky-8.6-aarch64-dvd1.iso: OK + + +================================================================================================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-aarch64-dvd1.iso ... + + +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-aarch64-dvd1.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.package_file_conflicts.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.package_file_conflicts.out new file mode 100644 index 0000000..91c7e14 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.package_file_conflicts.out @@ -0,0 +1,55 @@ +Added AppStream repo from /media/AppStream +Added BaseOS repo from /media/BaseOS +Getting complete filelist for: +file:///media/AppStream +file:///media/BaseOS +576198 files found. + +Looking for duplicated filenames: +5269 duplicates found. + +Doing more advanced checks to see if these are real conflicts: + 5% complete ( 263/ 5269, 2291/sec), 0 found - eta 0:00:02 + 10% complete ( 526/ 5269, 2308/sec), 3 found - eta 0:00:02 + 15% complete ( 789/ 5269, 614541/sec), 3 found - eta 0:00:01 + 20% complete ( 1052/ 5269, 727639/sec), 3 found - eta 0:00:00 + 25% complete ( 1315/ 5269, 98844/sec), 3 found - eta 0:00:00 + 30% complete ( 1578/ 5269, 689869/sec), 3 found - eta 0:00:00 + 35% complete ( 1841/ 5269, 24197/sec), 3 found - eta 0:00:00 + 40% complete ( 2104/ 5269, 519106/sec), 3 found - eta 0:00:00 + 45% complete ( 2367/ 5269, 738354/sec), 3 found - eta 0:00:00 + 50% complete ( 2630/ 5269, 234/sec), 3 found - eta 0:00:01 + 55% complete ( 2893/ 5269, 4872/sec), 3 found - eta 0:00:01 + 60% complete ( 3156/ 5269, 287490/sec), 3 found - eta 0:00:00 + 65% complete ( 3419/ 5269, 286222/sec), 3 found - eta 0:00:00 + 70% complete ( 3682/ 5269, 1526/sec), 3 found - eta 0:00:00 + 75% complete ( 3945/ 5269, 9796/sec), 3 found - eta 0:00:00 + 80% complete ( 4208/ 5269, 422968/sec), 3 found - eta 0:00:00 + 85% complete ( 4471/ 5269, 126357/sec), 3 found - eta 0:00:00 + 90% complete ( 4734/ 5269, 686435/sec), 3 found - eta 0:00:00 + 95% complete ( 4997/ 5269, 18157/sec), 3 found - eta 0:00:00 +100% complete ( 5260/ 5269, 519/sec), 3 found - eta 0:00:00 + +3 file conflicts found. +4 package conflicts found. + +== Package conflicts == +libcmpiCppImpl0-2.0.3-15.el8.aarch64 +tog-pegasus-libs-2:2.14.1-46.el8.aarch64 + +bind-utils-32:9.11.36-3.el8.aarch64 +bind9.16-utils-32:9.16.23-0.7.el8.aarch64 + +libev-libevent-devel-4.24-6.el8.aarch64 +libevent-devel-2.1.8-5.el8.aarch64 + +bind-32:9.11.36-3.el8.aarch64 +bind9.16-32:9.16.23-0.7.el8.aarch64 + + +== File conflicts, listed by conflicting packages == +composer-cli-28.14.68-1.el8.aarch64 +weldr-client-35.5-1.el8.aarch64 + /etc/bash_completion.d/composer-cli + /usr/bin/composer-cli + /usr/share/man/man1/composer-cli.1.gz diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.repoclosure.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.repoclosure.out new file mode 100644 index 0000000..5ac9c3f --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-dvd1.iso.repoclosure.out @@ -0,0 +1,16 @@ + +================================================================================ +Running: + dnf --verbose repoclosure --repofrompath AppStream,/media/AppStream --repo AppStream --repofrompath BaseOS,/media/BaseOS --repo BaseOS ... + +Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync +DNF version: 4.7.0 +cachedir: /var/cache/dnf +Added AppStream repo from /media/AppStream +Added BaseOS repo from /media/BaseOS +User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' +repo: using cache for: AppStream +AppStream: using metadata from Sun 15 May 2022 09:01:50 PM UTC. +repo: using cache for: BaseOS +BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. +Last metadata expiration check: 1:08:06 ago on Sun 22 May 2022 07:39:31 PM UTC. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.mediacheck.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.mediacheck.out new file mode 100644 index 0000000..4e48218 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.mediacheck.out @@ -0,0 +1,114 @@ + +================================================================================ +Derived URLs... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/Rocky-8.6-aarch64-minimal.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/aarch64/CHECKSUM?v=591fde74c65dddb245b973daa641ba50 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:31:58 GMT +< ETag: "62817f5e-1c7" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 455 +< Date: Sun, 22 May 2022 20:45:32 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17364-MDW, cache-bur-kbur8200088-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653252333.812829,VS0,VE76 +< +{ [455 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/aarch64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/aarch64/CHECKSUM.sig?v=591fde74c65dddb245b973daa641ba50 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:36 GMT +< ETag: "6281b9e0-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 20:45:33 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17367-MDW, cache-bur-kbur8200138-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653252333.946655,VS0,VE82 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed +gpg: Total number processed: 1 +gpg: unchanged: 1 + + +================================================================================================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + + +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:36 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + + +================================================================================================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-aarch64-minimal.iso ... + + +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-aarch64-minimal.iso ... + +Rocky-8.6-aarch64-minimal.iso: OK + + +================================================================================================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-aarch64-minimal.iso ... + + +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-aarch64-minimal.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.package_file_conflicts.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.package_file_conflicts.out new file mode 100644 index 0000000..46f00e4 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.package_file_conflicts.out @@ -0,0 +1,27 @@ +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +Getting complete filelist for: +file:///media/BaseOS +file:///media/Minimal +168952 files found. + +Looking for duplicated filenames: +525 duplicates found. + +Doing more advanced checks to see if these are real conflicts: + 35% complete ( 182/ 525, 350/sec), 0 found - eta 0:00:00 + 40% complete ( 208/ 525, 1765/sec), 0 found - eta 0:00:00 + 45% complete ( 234/ 525, 583165/sec), 0 found - eta 0:00:00 + 50% complete ( 260/ 525, 746930/sec), 0 found - eta 0:00:00 + 54% complete ( 286/ 525, 762600/sec), 0 found - eta 0:00:00 + 84% complete ( 442/ 525, 119/sec), 0 found - eta 0:00:00 + 89% complete ( 468/ 525, 118/sec), 0 found - eta 0:00:00 + 94% complete ( 494/ 525, 805/sec), 0 found - eta 0:00:00 + 99% complete ( 520/ 525, 475/sec), 0 found - eta 0:00:00 + +0 file conflicts found. +0 package conflicts found. + +== Package conflicts == + +== File conflicts, listed by conflicting packages == diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.repoclosure.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.repoclosure.out new file mode 100644 index 0000000..c9007dc --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-aarch64-minimal.iso.repoclosure.out @@ -0,0 +1,16 @@ + +================================================================================ +Running: + dnf --verbose repoclosure --repofrompath BaseOS,/media/BaseOS --repo BaseOS --repofrompath Minimal,/media/Minimal --repo Minimal ... + +Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync +DNF version: 4.7.0 +cachedir: /var/cache/dnf +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' +repo: using cache for: BaseOS +BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. +repo: using cache for: Minimal +Minimal: using metadata from Sun 15 May 2022 08:59:06 PM UTC. +Last metadata expiration check: 1:35:23 ago on Sun 22 May 2022 07:10:25 PM UTC. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-boot.iso.mediacheck.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-boot.iso.mediacheck.out new file mode 100644 index 0000000..32c6774 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-boot.iso.mediacheck.out @@ -0,0 +1,152 @@ + +================================================================================ +Derived URLs... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=d3323595f51c88acb2169579787405e9 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:25:57 GMT +< ETag: "62817df5-1c2" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 450 +< Date: Sun, 22 May 2022 19:01:34 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17366-MDW, cache-bur-kbur8200054-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246094.148927,VS0,VE86 +< +{ [450 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=d3323595f51c88acb2169579787405e9 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:30 GMT +< ETag: "6281b9da-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 19:01:34 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17375-MDW, cache-bur-kbur8200094-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246094.298924,VS0,VE155 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + + +================================================================================================================================================================ +Downloading: Rocky-8.6-x86_64-boot.iso ... + + +Downloading: Rocky-8.6-x86_64-boot.iso ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-boot.iso?v=d3323595f51c88acb2169579787405e9 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:18:32 GMT +< ETag: "62817c38-35800000" +< Via: 1.1 varnish, 1.1 varnish +< Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 +< Accept-Ranges: bytes +< Date: Sun, 22 May 2022 19:01:34 GMT +< Age: 0 +< Connection: keep-alive +< X-Served-By: cache-mdw17325-MDW, cache-bur-kbur8200029-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246095.510904,VS0,VE84 +< Content-Length: 897581056 +< +{ [4380 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: directory '/root/.gnupg' created +gpg: keybox '/root/.gnupg/pubring.kbx' created +gpg: /root/.gnupg/trustdb.gpg: trustdb created +gpg: key 15AF5DAC6D745A60: public key "Release Engineering " imported +gpg: Total number processed: 1 +gpg: imported: 1 + + +================================================================================================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + + +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + + +================================================================================================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + + +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + +Rocky-8.6-x86_64-boot.iso: OK + + +================================================================================================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + + +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-boot.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.mediacheck.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.mediacheck.out new file mode 100644 index 0000000..7d1700c --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.mediacheck.out @@ -0,0 +1,149 @@ + +================================================================================ +Derived URLs... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-dvd1.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=ba36bcab87954bf544db5b18169c117b HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:25:57 GMT +< ETag: "62817df5-1c2" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 450 +< Date: Sun, 22 May 2022 19:10:28 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17368-MDW, cache-bur-kbur8200055-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246628.241977,VS0,VE76 +< +{ [450 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=ba36bcab87954bf544db5b18169c117b HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:30 GMT +< ETag: "6281b9da-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 19:10:28 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17360-MDW, cache-bur-kbur8200024-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246628.384982,VS0,VE74 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + + +================================================================================================================================================================ +Downloading: Rocky-8.6-x86_64-dvd1.iso ... + + +Downloading: Rocky-8.6-x86_64-dvd1.iso ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-dvd1.iso?v=ba36bcab87954bf544db5b18169c117b HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:21:05 GMT +< ETag: "62817cd1-29c600000" +< Via: 1.1 varnish, 1.1 varnish +< Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 +< Accept-Ranges: bytes +< Date: Sun, 22 May 2022 19:10:28 GMT +< Age: 0 +< Connection: keep-alive +< X-Served-By: cache-mdw17378-MDW, cache-bur-kbur8200121-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246629.520228,VS0,VE80 +< Content-Length: 11213471744 +< +{ [15884 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed +gpg: Total number processed: 1 +gpg: unchanged: 1 + + +================================================================================================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + + +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + + +================================================================================================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-dvd1.iso ... + + +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-dvd1.iso ... + +Rocky-8.6-x86_64-dvd1.iso: OK + + +================================================================================================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-dvd1.iso ... + + +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-dvd1.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.package_file_conflicts.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.package_file_conflicts.out new file mode 100644 index 0000000..a023748 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.package_file_conflicts.out @@ -0,0 +1,92 @@ +Added AppStream repo from /media/AppStream +Added BaseOS repo from /media/BaseOS +Getting complete filelist for: +file:///media/AppStream +file:///media/BaseOS +867725 files found. + +Looking for duplicated filenames: +107287 duplicates found. + +Doing more advanced checks to see if these are real conflicts: + 5% complete ( 5364/107287, 11694/sec), 0 found - eta 0:00:08 + 10% complete ( 10728/107287, 2261130/sec), 0 found - eta 0:00:04 + 15% complete ( 16092/107287, 2292698/sec), 0 found - eta 0:00:02 + 20% complete ( 21456/107287, 12240/sec), 3 found - eta 0:00:03 + 25% complete ( 26820/107287, 45579/sec), 3 found - eta 0:00:03 + 30% complete ( 32184/107287, 3652/sec), 3 found - eta 0:00:05 + 35% complete ( 37548/107287, 49061/sec), 3 found - eta 0:00:04 + 40% complete ( 42912/107287, 2178795/sec), 3 found - eta 0:00:03 + 45% complete ( 48276/107287, 2271632/sec), 3 found - eta 0:00:03 + 50% complete ( 53640/107287, 291654/sec), 3 found - eta 0:00:02 + 55% complete ( 59004/107287, 1114823/sec), 3 found - eta 0:00:02 + 60% complete ( 64368/107287, 69486/sec), 4 found - eta 0:00:01 + 65% complete ( 69732/107287, 319418/sec), 4 found - eta 0:00:01 + 70% complete ( 75096/107287, 185158/sec), 4 found - eta 0:00:01 + 75% complete ( 80460/107287, 33596/sec), 4 found - eta 0:00:00 + 80% complete ( 85824/107287, 135688/sec), 4 found - eta 0:00:00 + 85% complete ( 91188/107287, 81493/sec), 4 found - eta 0:00:00 + 90% complete ( 96552/107287, 13137/sec), 4 found - eta 0:00:00 + 95% complete (101916/107287, 493350/sec), 4 found - eta 0:00:00 +100% complete (107280/107287, 203674/sec), 4 found - eta 0:00:00 + +4 file conflicts found. +13 package conflicts found. + +== Package conflicts == +mariadb-test-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 +mysql-test-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + +mariadb-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 +mysql-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + +mariadb-devel-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 +mysql-devel-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + +mariadb-server-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 +mysql-server-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + +libcmpiCppImpl0-2.0.3-15.el8.i686 +tog-pegasus-libs-2:2.14.1-46.el8.i686 + +libev-libevent-devel-4.24-6.el8.i686 +libev-libevent-devel-4.24-6.el8.x86_64 +libevent-devel-2.1.8-5.el8.i686 +libevent-devel-2.1.8-5.el8.x86_64 + +mariadb-server-utils-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 +mysql-server-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + +libcmpiCppImpl0-2.0.3-15.el8.x86_64 +tog-pegasus-libs-2:2.14.1-46.el8.x86_64 + +mariadb-connector-c-devel-3.1.11-2.el8_3.i686 +mariadb-connector-c-devel-3.1.11-2.el8_3.x86_64 +mariadb-devel-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 +mysql-devel-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + +bind-32:9.11.36-3.el8.x86_64 +bind9.16-32:9.16.23-0.7.el8.x86_64 + +python3-mod_wsgi-4.6.4-4.el8.x86_64 +python38-mod_wsgi-4.6.8-3.module+el8.4.0+570+c2eaf144.x86_64 +python39-mod_wsgi-4.7.1-4.module+el8.4.0+574+843c4898.x86_64 + +bind-utils-32:9.11.36-3.el8.x86_64 +bind9.16-utils-32:9.16.23-0.7.el8.x86_64 + +mariadb-connector-c-devel-3.1.11-2.el8_3.i686 +mariadb-connector-c-devel-3.1.11-2.el8_3.x86_64 +mysql-devel-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + + +== File conflicts, listed by conflicting packages == +composer-cli-28.14.68-1.el8.x86_64 +weldr-client-35.5-1.el8.x86_64 + /etc/bash_completion.d/composer-cli + /usr/bin/composer-cli + /usr/share/man/man1/composer-cli.1.gz + +mariadb-server-3:10.3.32-2.module+el8.5.0+777+18007c86.x86_64 +mysql-test-8.0.26-1.module+el8.4.0+652+6de068a7.x86_64 + /usr/bin/mysqld_safe diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.repoclosure.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.repoclosure.out new file mode 100644 index 0000000..a5555f9 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-dvd1.iso.repoclosure.out @@ -0,0 +1,18 @@ + +================================================================================ +Running: + dnf --verbose repoclosure --repofrompath AppStream,/media/AppStream --repo AppStream --repofrompath BaseOS,/media/BaseOS --repo BaseOS ... + +Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync +DNF version: 4.7.0 +cachedir: /var/cache/dnf +Added AppStream repo from /media/AppStream +Added BaseOS repo from /media/BaseOS +User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' +repo: downloading from remote: AppStream +AppStream 50 MB/s | 7.8 MB 00:00 +AppStream: using metadata from Sun 15 May 2022 09:01:50 PM UTC. +repo: using cache for: BaseOS +BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. +Last metadata expiration check: 0:00:01 ago on Sun 22 May 2022 07:39:31 PM UTC. +Completion plugin: Generating completion cache... diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.mediacheck.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.mediacheck.out new file mode 100644 index 0000000..2cafb40 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.mediacheck.out @@ -0,0 +1,149 @@ + +================================================================================ +Derived URLs... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos exists... + + +================================================================================ +Verifying: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso exists... + + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM?v=4c92e505b3679b427adb43ac36541725 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:25:57 GMT +< ETag: "62817df5-1c2" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 450 +< Date: Sun, 22 May 2022 19:04:17 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17331-MDW, cache-bur-kbur8200144-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246258.501824,VS0,VE80 +< +{ [450 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Downloading: http://dl.rockylinux.org/pub/rocky/8/isos/x86_64/CHECKSUM.sig ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/CHECKSUM.sig?v=4c92e505b3679b427adb43ac36541725 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Mon, 16 May 2022 02:41:30 GMT +< ETag: "6281b9da-236" +< Accept-Ranges: bytes +< Via: 1.1 varnish, 1.1 varnish +< Content-Length: 566 +< Date: Sun, 22 May 2022 19:04:17 GMT +< Connection: keep-alive +< X-Served-By: cache-mdw17347-MDW, cache-bur-kbur8200158-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246258.783926,VS0,VE71 +< +{ [566 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + + +================================================================================================================================================================ +Downloading: Rocky-8.6-x86_64-minimal.iso ... + + +Downloading: Rocky-8.6-x86_64-minimal.iso ... + +* Trying 146.75.94.132... +* TCP_NODELAY set +* Connected to dl.rockylinux.org (146.75.94.132) port 80 (#0) +> GET /pub/rocky/8/isos/x86_64/Rocky-8.6-x86_64-minimal.iso?v=4c92e505b3679b427adb43ac36541725 HTTP/1.1 +> Host: dl.rockylinux.org +> User-Agent: curl/7.61.1 +> Accept: */* +> +< HTTP/1.1 200 OK +< Content-Type: application/octet-stream +< Server: nginx +< Last-Modified: Sun, 15 May 2022 22:21:52 GMT +< ETag: "62817d00-87100000" +< Via: 1.1 varnish, 1.1 varnish +< Cache-Control: max-age=11059200, public, stale-while-revalidate=86400, stale-if-error=259200 +< Accept-Ranges: bytes +< Date: Sun, 22 May 2022 19:04:17 GMT +< Age: 0 +< Connection: keep-alive +< X-Served-By: cache-mdw17328-MDW, cache-bur-kbur8200047-BUR +< X-Cache: MISS, MISS +< X-Cache-Hits: 0, 0 +< X-Timer: S1653246258.916143,VS0,VE75 +< Content-Length: 2265972736 +< +{ [4380 bytes data] +* Connection #0 to host dl.rockylinux.org left intact + +================================================================================ +Importing: RPM-GPG-KEY-rockyofficial ... + +gpg: key 15AF5DAC6D745A60: "Release Engineering " not changed +gpg: Total number processed: 1 +gpg: unchanged: 1 + + +================================================================================================================================================================ +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + + +Verifying gpg signature: /home/rocky/testing/CHECKSUM.sig ... + +gpg: assuming signed data in '/home/rocky/testing/CHECKSUM' +gpg: Signature made Mon 16 May 2022 02:41:30 AM UTC +gpg: using RSA key 7051C470A929F454CEBE37B715AF5DAC6D745A60 +gpg: Good signature from "Release Engineering " [unknown] +gpg: WARNING: This key is not certified with a trusted signature! +gpg: There is no indication that the signature belongs to the owner. +Primary key fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60 + + +================================================================================================================================================================ +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + + +Verifying sha256sum: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + +Rocky-8.6-x86_64-minimal.iso: OK + + +================================================================================================================================================================ +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + + +Verifying internal ISO md5: /home/rocky/testing/Rocky-8.6-x86_64-minimal.iso ... + + +The media check is complete, the result is: PASS. + +It is OK to use this media. +Press [Esc] to abort check. diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.package_file_conflicts.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.package_file_conflicts.out new file mode 100644 index 0000000..176b564 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.package_file_conflicts.out @@ -0,0 +1,38 @@ +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +Getting complete filelist for: +file:///media/BaseOS +file:///media/Minimal +185139 files found. + +Looking for duplicated filenames: +17229 duplicates found. + +Doing more advanced checks to see if these are real conflicts: + 5% complete ( 861/ 17229, 11429/sec), 0 found - eta 0:00:01 + 10% complete ( 1722/ 17229, 5409/sec), 0 found - eta 0:00:02 + 15% complete ( 2583/ 17229, 42762/sec), 0 found - eta 0:00:01 + 20% complete ( 3444/ 17229, 70417/sec), 0 found - eta 0:00:01 + 25% complete ( 4305/ 17229, 3308/sec), 0 found - eta 0:00:01 + 30% complete ( 5166/ 17229, 342140/sec), 0 found - eta 0:00:01 + 35% complete ( 6027/ 17229, 2050707/sec), 0 found - eta 0:00:00 + 40% complete ( 6888/ 17229, 148674/sec), 0 found - eta 0:00:00 + 45% complete ( 7749/ 17229, 264312/sec), 0 found - eta 0:00:00 + 50% complete ( 8610/ 17229, 103647/sec), 0 found - eta 0:00:00 + 55% complete ( 9471/ 17229, 2018611/sec), 0 found - eta 0:00:00 + 60% complete ( 10332/ 17229, 2220969/sec), 0 found - eta 0:00:00 + 65% complete ( 11193/ 17229, 2129301/sec), 0 found - eta 0:00:00 + 70% complete ( 12054/ 17229, 2236096/sec), 0 found - eta 0:00:00 + 75% complete ( 12915/ 17229, 2248627/sec), 0 found - eta 0:00:00 + 80% complete ( 13776/ 17229, 2121795/sec), 0 found - eta 0:00:00 + 85% complete ( 14637/ 17229, 41822/sec), 0 found - eta 0:00:00 + 90% complete ( 15498/ 17229, 17042/sec), 0 found - eta 0:00:00 + 95% complete ( 16359/ 17229, 2154711/sec), 0 found - eta 0:00:00 +100% complete ( 17220/ 17229, 2035679/sec), 0 found - eta 0:00:00 + +0 file conflicts found. +0 package conflicts found. + +== Package conflicts == + +== File conflicts, listed by conflicting packages == diff --git a/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.repoclosure.out b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.repoclosure.out new file mode 100644 index 0000000..50a0b95 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/output/2022-05-22/Rocky-8.6-x86_64-minimal.iso.repoclosure.out @@ -0,0 +1,18 @@ + +================================================================================ +Running: + dnf --verbose repoclosure --repofrompath BaseOS,/media/BaseOS --repo BaseOS --repofrompath Minimal,/media/Minimal --repo Minimal ... + +Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync +DNF version: 4.7.0 +cachedir: /var/cache/dnf +Added BaseOS repo from /media/BaseOS +Added Minimal repo from /media/Minimal +User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)' +repo: downloading from remote: BaseOS +BaseOS 74 MB/s | 2.6 MB 00:00 +BaseOS: using metadata from Sun 15 May 2022 08:59:01 PM UTC. +repo: downloading from remote: Minimal +Minimal 128 kB/s | 384 B 00:00 +Minimal: using metadata from Sun 15 May 2022 08:59:06 PM UTC. +Completion plugin: Generating completion cache... diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/common.sh b/qa-testcase-boxes/testcase-mediacheck/scripts/common.sh new file mode 100755 index 0000000..95b266b --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/common.sh @@ -0,0 +1,28 @@ +# shellcheck disable=SC2034 + +#set -x +set -e + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +. /etc/os-release + +log_msg() { + printf '\n' | tee -a "$2" + printf '=%.0s' {1..80} | tee -a "$2" + printf '\n%b\n\n' "$1" | tee -a "$2" +} + +# Defaults +iso_version="${VERSION_ID}" +iso_arch="$(arch)" +iso_type="boot" +iso_mirror_base="http://dl.rockylinux.org/pub/rocky/${iso_version}/isos" +iso_prefix="Rocky" +iso_checksum_name="CHECKSUM" +iso_checksum_sig=".sig" +iso_key_name="RPM-GPG-KEY-rockyofficial" +iso_key_url="https://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-rockyofficial" +log_dir="${parent_path}/output/$(date +%Y-%m-%d)" diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/common_opts.sh b/qa-testcase-boxes/testcase-mediacheck/scripts/common_opts.sh new file mode 100755 index 0000000..d65f924 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/common_opts.sh @@ -0,0 +1,78 @@ +# shellcheck disable=SC2034 + +#set -x +set -e + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +source "${dir_path}/common.sh" + +function usage { + + cat <<- "EOF" + $(basename $0) [optional arguments] + + type: -t eg; 'boot', 'minimal', 'dvd', 'dvd1', 'repo', 'koji', 'cache' + arch: -a eg: 'x86_64', 'aarch64', 'ppc64-le' or 's390x' + iso_version: -v eg: '8.6' or '8' + iso_prefix: -p eg: 'Rocky' or 'CentOS-Stream' + iso_checksum_name: -c eg: 'CHECKSUM' or 'SHA256SUM' + iso_checksum_sig: -s eg: '.sig' or '.asc' + iso_mirror_base: -b eg: 'http://dl.rockylinux.org/stg/rocky/8/isos' + log_dir: -l eg: $(pwd)/output/$(date +%Y-%m-%d) + repo_name: -r eg: 'pdot-dev-x86_64' + koji_tag: -k eg: 'dist-rocky8-compose' +EOF +} + +optstring="ht:a:v:p:c:s:b:k:l:r:" + +while getopts ${optstring} arg; do + case ${arg} in + h) + usage + exit 0 + ;; + t) + iso_type="${OPTARG}" + ;; + a) + iso_arch="${OPTARG}" + ;; + v) + iso_version="${OPTARG}" + ;; + p) + iso_prefix="${OPTARG}" + ;; + c) + iso_checksum_name="${OPTARG}" + ;; + s) + iso_checksum_sig="${OPTARG}" + ;; + b) + iso_mirror_base="${OPTARG}" + ;; + k) + iso_key_name="${OPTARG}" + ;; + l) + log_dir="${OPTARG}" + ;; + r) + repo_name="${OPTARG}" + ;; + :) + echo "$0: Must supply an argument to -$OPTARG." >&2 + exit 1 + ;; + ?) + echo "Invalid option: -${OPTARG}." + echo + exit 1 + ;; + esac +done diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/do_all_wrapper.sh b/qa-testcase-boxes/testcase-mediacheck/scripts/do_all_wrapper.sh new file mode 100755 index 0000000..2cfd38e --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/do_all_wrapper.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +source "${dir_path}/common.sh" + +for a in x86_64 aarch64; do + for t in boot minimal dvd1; do + "${parent_path}/scripts/test_wrapper.sh" "${t}" "${a}" + done +done diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/iso_download_mediacheck.sh b/qa-testcase-boxes/testcase-mediacheck/scripts/iso_download_mediacheck.sh new file mode 100755 index 0000000..1e42e81 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/iso_download_mediacheck.sh @@ -0,0 +1,122 @@ +#!/usr/bin/env bash + +# Copyright (c) 2022 Rocky Enterprise Software Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Author: Trevor Cooper +# + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +source "${dir_path}/common_opts.sh" + +iso_url="${iso_mirror_base}/${iso_arch}/${iso_prefix}-${iso_version}-${iso_arch}-${iso_type}.iso" +iso_name=$(basename "${iso_url}") + +iso_checksum_url="${iso_mirror_base}/${iso_arch}/${iso_checksum_name}" +iso_checksum_sig_url="${iso_mirror_base}/${iso_arch}/${iso_checksum_name}${iso_checksum_sig}" + +mkdir -pv "${log_dir}" || exit +log_base="${log_dir}/${iso_name}" +log_file="${log_base}.mediacheck.out" + +truncate -s0 "${log_file}" || exit + +printf -v msg "%s" "Derived URLs...\n\n" \ + "iso_url: ${iso_url}\n" \ + "iso_checksum_url: ${iso_checksum_url}\n" \ + "iso_checksum_sig_url: ${iso_checksum_sig_url}\n" \ + "iso_key_url: ${iso_key_url}" +log_msg "${msg}" "${log_file}" + +curl_opts="-LRsvf" +curl_suffix="?v=$(openssl rand -hex 16)" + +# First verify the iso_mirror_base and iso_url locations exist +log_msg "Verifying: ${iso_mirror_base} exists..." "${log_file}" +if ! curl --silent --fail -I "${iso_mirror_base}" >/dev/null 2>&1 +then + log_msg "ERROR: ${iso_mirror_base} does NOT exist." "${log_file}" + exit +fi + +log_msg "Verifying: ${iso_url} exists..." "${log_file}" +if ! curl --silent --fail -I "${iso_url}" >/dev/null 2>&1 +then + log_msg "ERROR: ${iso_url} does NOT exist." "${log_file}" + exit +fi + +# Always re-pull the CHECKSUM and CHECKSUM.sig because arches use common filename +log_msg "Downloading: ${iso_checksum_url} ..." "${log_file}" +curl "${curl_opts}" "${iso_checksum_url}${curl_suffix}" -o "${parent_path}/$(basename "${iso_checksum_url}")" 2>&1 | \ + tee -a "${log_base}.mediacheck.out" +test -f "${parent_path}/${iso_checksum_name}" || exit + +log_msg "Verifying: ${iso_checksum_sig_url} exists..." "${log_file}" +set +e +if ! curl --silent --fail -I "${iso_checksum_sig_url}" >/dev/null 2>&1 +then + log_msg "WARNING: ${iso_checksum_sig_url} does NOT exist.\nWARNING: GPG signature validation of ${iso_checksum_name} will fail." "${log_file}" + set -e +else + log_msg "Downloading: ${iso_checksum_sig_url} ..." "${log_base}" "${log_file}" + set -e + curl "${curl_opts}" "${iso_checksum_sig_url}${curl_suffix}" -o "${parent_path}/$(basename "${iso_checksum_sig_url}")" 2>&1 | \ + tee -a "${log_base}.mediacheck.out" + test -f "${parent_path}/${iso_checksum_name}${iso_checksum_sig}" || exit +fi + +# Pull the signing key and ISO only if they don't exist in $PWD +test -f "${iso_key_name}" || \ + ( \ + log_msg "Downloading: ${iso_key_url} ..." "${log_file}"; \ + curl "${curl_opts}" "${iso_key_url}${curl_suffix}" -o "${parent_path}/$(basename "${iso_key_url}")" 2>&1 \ + ) | tee -a "${log_base}.mediacheck.out" +test -f "${parent_path}/${iso_key_name}" || exit + +test -f "${iso_name}" || \ + ( \ + log_msg "Downloading: ${iso_name} ..." "${log_file}"; \ + curl "${curl_opts}" "${iso_url}${curl_suffix}" -o "${parent_path}/$(basename "${iso_url}")" 2>&1 \ + ) | tee -a "${log_base}.mediacheck.out" +test -f "${iso_name}" || exit + +# Verify the CHECKSUM file using gpg +log_msg "Importing: ${iso_key_name} ..." "${log_file}" +gpg --import "${parent_path}/${iso_key_name}" 2>&1 | \ + tee -a "${log_base}.mediacheck.out" +log_msg "Verifying gpg signature: ${parent_path}/${iso_checksum_name}${iso_checksum_sig} ..." | \ + tee -a "${log_base}.mediacheck.out" +gpg --verify-files "${parent_path}/${iso_checksum_name}${iso_checksum_sig}" 2>&1 | \ + tee -a "${log_base}.mediacheck.out" + +# Verify the externally generated sha256sum of the ISO +log_msg "Verifying sha256sum: ${parent_path}/${iso_name} ..." "${log_file}" +sha256sum --ignore-missing -c "${parent_path}/${iso_checksum_name}" 2>&1 | \ + tee -a "${log_base}.mediacheck.out" + +# Verify the internal md5sum that is inside the ISO +log_msg "Verifying internal ISO md5: ${parent_path}/${iso_name} ..." "${log_file}" +checkisomd5 "${parent_path}/${iso_name}" 2>&1 | \ + tee -a "${log_base}.mediacheck.out" diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/iso_repoclosure_conflicts.sh b/qa-testcase-boxes/testcase-mediacheck/scripts/iso_repoclosure_conflicts.sh new file mode 100755 index 0000000..3d6d4b5 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/iso_repoclosure_conflicts.sh @@ -0,0 +1,77 @@ +#!/usr/bin/env bash + +# Copyright (c) 2022 Rocky Enterprise Software Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Author: Trevor Cooper +# + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +source "${dir_path}/common_opts.sh" + +iso_url="${iso_mirror_base}/${iso_version}/isos/${iso_arch}/${iso_prefix}-${iso_version}-${iso_arch}-${iso_type}.iso" +iso_name=$(basename "${iso_url}") + +dnf clean all + +mkdir -pv "${log_dir}" +log_base="${log_dir}/${iso_name}" + +if [[ "${iso_type}" == *"boot"* ]] +then + # Do something to verify contents of boot ISOs? + true +else + # For minimal and dvd ISOs there is/are repos inside the media + sudo mount -o loop,ro "${iso_name}" /media + + #repodata_dirs=($(find /media -name repodata)) + mapfile -t repodata_dirs < <(find /media -name repodata) + + if [[ "${repodata_dirs[*]}" =~ "repodata" ]] + then + rc_cmd="dnf --verbose repoclosure" + pc_cmd="python3 ${dir_path}/potential_conflict.py" + for rd in "${repodata_dirs[@]}" + do + dn=$(dirname "${rd}") + rn=$(basename "${dn}") + rc_cmd="${rc_cmd} --repofrompath ${rn},${dn} --repo ${rn}" + pc_cmd="${pc_cmd} --repofrompath ${rn},${dn} --repoid ${rn}" + done + + # dnf repoclosure will/should expose any issues with the repository metadata + truncate -s0 "${log_base}.repoclosure.out" + log_msg "Running:\n\t${rc_cmd} ..." "${log_base}.repoclosure.out" + bash -c "${rc_cmd}" 2>&1 | tee -a "${log_base}.repoclosure.out" + + # potential_conflict.py should uncover any packages with package or unanticipated file conflicts + truncate -s0 "${log_base}.package_file_conflicts.out" + log_msg "Running:\n\t${pc_cmd} ..." "${log_base}.package_file_conflicts.out" + bash -c "${pc_cmd}" 2>&1 | tee "${log_base}.package_file_conflicts.out" + + fi + + sudo umount /media +fi diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/iso_repository_validation.sh b/qa-testcase-boxes/testcase-mediacheck/scripts/iso_repository_validation.sh new file mode 100755 index 0000000..c8880f6 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/iso_repository_validation.sh @@ -0,0 +1,87 @@ +#!/usr/bin/env bash + +# Copyright (c) 2022 Rocky Enterprise Software Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Author: Trevor Cooper +# + +full_path="$(realpath "$0")" +dir_path="$(dirname "$full_path")" +parent_path="$(dirname "$dir_path")" + +source "${dir_path}/common_opts.sh" + +iso_url="${iso_mirror_base}/${iso_version}/isos/${iso_arch}/${iso_prefix}-${iso_version}-${iso_arch}-${iso_type}.iso" +iso_name=$(basename "${iso_url}") + +mkdir -pv "${log_dir}" +log_base="${log_dir}/${iso_name}" + +if [[ "${iso_type}" == *"boot"* ]] +then + # Do something to verify contents of boot ISOs? + true +else + # For minimal and dvd ISOs there is/are repos inside the media + sudo mount -o loop,ro "${iso_name}" /media + + #repodata_dirs=($(find /media -name repodata)) + mapfile -t repodata_dirs < <(find /media -name repodata) + + find /media -name "*comps*.xml" -exec grep -H "insights-client" '{}' \; + + if [[ "${repodata_dirs[*]}" =~ "repodata" ]] + then + in_cmd="dnf --refresh groupinfo base " + pl_cmd="dnf --refresh repoquery --whatrequires subscription-manager " + rhsm_cmd="dnf download " + + for rd in "${repodata_dirs[@]}" + do + dn=$(dirname "${rd}") + rn=$(basename "${dn}") + in_cmd="${in_cmd} --repofrompath ${rn},${dn} --repo ${rn}" + pl_cmd="${pl_cmd} --repofrompath ${rn},${dn} --repo ${rn}" + rhsm_cmd="${rhsm_cmd} --repofrompath ${rn},${dn} --repoid ${rn}" + done + + # insights-client should not be installed by default + truncate -s0 "${log_base}.insights.out" + log_msg "Running:\n\t${in_cmd} ..." "${log_base}.insights.out" + bash -c "${in_cmd}" | tee -a "${log_base}.insights.out" + + # redhat-subscription-manager should not include refs to Redhat + truncate -s0 "${log_base}.rhsm.out" + log_msg "Running:\n\t${pl_cmd} ..." "${log_base}.rhsm.out" + + #package_list=($(bash -c "${pl_cmd}" | tee -a "${log_base}.rhsm.out")) + mapfile -t package_list < <(bash -c "${pl_cmd}" | tee -a "${log_base}.rhsm.out") + + rhsm_cmd="${rhsm_cmd} ${package_list[*]}" + + log_msg "Running:\n\t${rhsm_cmd} ..." "${log_base}.rhsm.out" + bash -c "${rhsm_cmd}" | tee "${log_base}.rhsm.out" + + fi + + sudo umount /media +fi diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/potential_conflict.py b/qa-testcase-boxes/testcase-mediacheck/scripts/potential_conflict.py new file mode 100755 index 0000000..6d471f0 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/potential_conflict.py @@ -0,0 +1,474 @@ +#! /usr/bin/python3 +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# copyright (c) 2008 Red Hat, Inc +# +# Authors: Seth Vidal and Jesse Keating + +# This script used for the following test case: +# https://fedoraproject.org/wiki/QA:Testcase_Mediakit_FileConflicts + +# Modifications: Trevor Cooper + + +"""Go through a dnf packagesack and return the list of newest pkgs which + possibly have conflicting files""" + +from collections import defaultdict +from optparse import OptionParser +from urllib.request import urlopen + +import datetime +import time +import sys +import os +import os.path +import tempfile +import shutil +import re + +import dnf +import rpm +import hawkey + +# iterate all pkgs, build a filedict of filename = [list of pkg objects] +# then go through that list, if any file has more than one pkg then put those +# pkgs in another list +# print out the file conflict and the pkgs which potentially conflict +# later: work on whittling down the list by removing: +# pkgs which are multilib sets +# pkgs which have fully matching overlapping files (md5sums + timestamps) + +def pkg_names_match(pkglist): + "not a great check but it does toss out all the glibc.i686 vs glibc.i386 ones" + p = pkglist[0] + for pkg in pkglist[1:]: + if p.name != pkg.name: + return False + + return True + +def sourcerpms_match(pkglist): + "if they have the same sourcerpm it is highly doubtful it is a legit conflict" + p = pkglist[0] + for pkg in pkglist[1:]: + if p.sourcerpm != pkg.sourcerpm: + return False + + return True + +# And this is just ugly piece of yum we are going to copy n paste +def compareEVR(left_tuple, right_tuple): + """ + return 1: a is newer than b + 0: a and b are the same version + -1: b is newer than a + """ + (e1, v1, r1) = left_tuple + (e2, v2, r2) = right_tuple + if e1 is None: + e1 = '0' + else: + e1 = str(e1) + v1 = str(v1) + r1 = str(r1) + if e2 is None: + e2 = '0' + else: + e2 = str(e2) + v2 = str(v2) + r2 = str(r2) + #print '%s, %s, %s vs %s, %s, %s' % (e1, v1, r1, e2, v2, r2) + rc = rpm.labelCompare((e1, v1, r1), (e2, v2, r2)) + #print '%s, %s, %s vs %s, %s, %s = %s' % (e1, v1, r1, e2, v2, r2, rc) + return rc + +def rangeCompare(reqtuple, provtuple): + """returns true if provtuple satisfies reqtuple""" + (reqn, reqf, (reqe, reqv, reqr)) = reqtuple + (n, f, (e, v, r)) = provtuple + if reqn != n: + return 0 + + # unversioned satisfies everything + if not f or not reqf: + return 1 + + # and you thought we were done having fun + # if the requested release is left out then we have + # to remove release from the package prco to make sure the match + # is a success - ie: if the request is EQ foo 1:3.0.0 and we have + # foo 1:3.0.0-15 then we have to drop the 15 so we can match + if reqr is None: + r = None + if reqe is None: + e = None + if reqv is None: # just for the record if ver is None then we're going to segfault + v = None + + # if we just require foo-version, then foo-version-* will match + if r is None: + reqr = None + + rc = compareEVR((e, v, r), (reqe, reqv, reqr)) + + # does not match unless + if rc >= 1: + if reqf in ['GT', 'GE', 4, 12, '>', '>=']: + return 1 + if reqf in ['EQ', 8, '=']: + if f in ['LE', 10, 'LT', 2, '<=', '<']: + return 1 + if reqf in ['LE', 'LT', 'EQ', 10, 2, 8, '<=', '<', '=']: + if f in ['LE', 'LT', 10, 2, '<=', '<']: + return 1 + + if rc == 0: + if reqf in ['GT', 4, '>']: + if f in ['GT', 'GE', 4, 12, '>', '>=']: + return 1 + if reqf in ['GE', 12, '>=']: + if f in ['GT', 'GE', 'EQ', 'LE', 4, 12, 8, 10, '>', '>=', '=', '<=']: + return 1 + if reqf in ['EQ', 8, '=']: + if f in ['EQ', 'GE', 'LE', 8, 12, 10, '=', '>=', '<=']: + return 1 + if reqf in ['LE', 10, '<=']: + if f in ['EQ', 'LE', 'LT', 'GE', 8, 10, 2, 12, '=', '<=', '<', '>=']: + return 1 + if reqf in ['LT', 2, '<']: + if f in ['LE', 'LT', 10, 2, '<=', '<']: + return 1 + if rc <= -1: + if reqf in ['GT', 'GE', 'EQ', 4, 12, 8, '>', '>=', '=']: + if f in ['GT', 'GE', 4, 12, '>', '>=']: + return 1 + if reqf in ['LE', 'LT', 10, 2, '<=', '<']: + return 1 +# if rc >= 1: +# if reqf in ['GT', 'GE', 4, 12, '>', '>=']: +# return 1 +# if rc == 0: +# if reqf in ['GE', 'LE', 'EQ', 8, 10, 12, '>=', '<=', '=']: +# return 1 +# if rc <= -1: +# if reqf in ['LT', 'LE', 2, 10, '<', '<=']: +# return 1 + + return 0 + +# yum code ends here + +def prco_to_tuple(prco_string): + """ + Creates dependency tuple containing name and evr from single string provided by dnf + Example input: "glib2(x86-64) >= 2.54.0" + Example output: (glib2, "GE", (0, 2.54.0, 1)) + + Architecture requirements are lost during the conversion. Release is set to 1 if missing. + """ + sign = "" + if "<=" in prco_string: + sign = "LE" + data = prco_string.split("<=") + elif "<" in prco_string: + sign = "LT" + data = prco_string.split("<") + elif ">=" in prco_string: + sign = "GE" + data = prco_string.split(">=") + elif ">" in prco_string: + sign = "GT" + data = prco_string.split(">") + elif "=" in prco_string: + sign = "EQ" + data = prco_string.split("=") + else: + sign = None + data = [prco_string, None] + + # We might have got prco without evr + if not data[1]: + return (data[0], sign, (None, None, None)) + + # Trim whitespace from start and end + data[0] = data[0].strip() + data[1] = data[1].strip() + + base_string_for_nevra = str(data[0] + "-" + data[1]) + # Hawkey nevra parser doesn't like brackets :/ + # Removes brackets and content inside them + # eg. "glib2(x86-64) >= 2.54.0" > "glib2 >= 2.54.0" + base_string_for_nevra = re.sub(r' *\(.*?\)', '', base_string_for_nevra) + + try: + string_for_nevra = str(base_string_for_nevra + ".noarch") + nevra = hawkey.split_nevra(string_for_nevra) + # We might be missing release + except hawkey.ValueException: + string_for_nevra = str(base_string_for_nevra + "-1.noarch") + nevra = hawkey.split_nevra(string_for_nevra) + + return (data[0], sign, (nevra.epoch, nevra.version, nevra.release)) + +def inPrcoRange(prcotype, p1, p2): + "Checks if p1 satisfies p2 or vice versa" + if prcotype: + p1_data = getattr(p1, prcotype) + else: + raise Exception("Unexpected prcotype: %s" % prcotype) + + #p2 stays the same, no need to assign it again and again below + p2_tuple = (p2.name, 'EQ', (p2.epoch, p2.version, p2.release)) + + for item in p1_data: + p1_tuple = prco_to_tuple(str(item)) + if rangeCompare(p1_tuple, p2_tuple): + return True + + return False + +def check_list_for_prco(prcotype, pkglist): + """ + Compare each pair of packages in the pkglist to see if any of them + obsoletes/conflicts/requires/provides the other + """ + for p1 in pkglist: + for p2 in pkglist: + if p1 == p2: + continue + if inPrcoRange(prcotype, p1, p2) or inPrcoRange(prcotype, p2, p1): + #print("%s and %s in prco range." % (p1.name, p2.name)) + return True + + return False + + +def obsolete_each_other(pkglist): + "Checks if packages in pkglist obsolete each other" + return check_list_for_prco('obsoletes', pkglist) + + +def package_conflict(pkglist): + "Checks if packages in pkglist conflict" + return check_list_for_prco('conflicts', pkglist) + + +def file_conflict_is_permitted(left_loc, right_loc, filename): + """ + Returns True if rpm would allow both the given packages to share + ownership of the given filename. + """ + ts = rpm.TransactionSet() + ts.setVSFlags(rpm._RPMVSF_NOSIGNATURES) + + fd_left = os.open(left_loc, os.O_RDONLY) + fd_right = os.open(right_loc, os.O_RDONLY) + + left_files = rpm.files(ts.hdrFromFdno(fd_left)) + right_files = rpm.files(ts.hdrFromFdno(fd_right)) + + # Close FDs + os.close(fd_left) + os.close(fd_right) + + if left_files[filename].matches(right_files[filename]): + #print('Conflict on %s between %s and %s permitted because files match' % (filename, left_loc, right_loc)) + return True + # TODO: Check if the following code is working properly and uncomment it eventually + #if left_files[filename].color != right_files[filename].color: + # #print('Conflict on %s between %s and %s permitted because colors differ' % (filename, left_loc, right_loc)) + # return True + return False + +def get_package(pkg): + "Returns location of the package and downloads it if it's not available in local storage" + if not "file://" in pkg.remote_location(): + pkg.base.download_packages([pkg]) + return pkg.localPkg() + +def file_conflict(fn, pkglist): + "Checks if is fn going to cause conflicts between packages from pkglist" + for pkg_left in pkglist: + location_left = get_package(pkg_left) + for pkg_right in pkglist: + if pkg_left == pkg_right: + continue + location_right = get_package(pkg_right) + if not file_conflict_is_permitted(location_right, location_left, fn): + return True + return False + +if __name__ == "__main__": + + usage = """ + Check given repos for possible file/package conflicts + + %s [-c ] [-r ] [-r ] + """ % sys.argv[0] + parser = OptionParser(usage=usage) + parser.add_option("-c", "--config", default='/etc/yum.conf', + help='config file to use (defaults to /etc/yum.conf)') + parser.add_option("-r", "--repoid", default=[], action='append', + help=("specify repo ids to query, can be specified multiple times " + "(default is all enabled)")) + parser.add_option("-t", "--tempcache", default=False, action="store_true", + help="Use a temp dir for storing/accessing yum-cache") + parser.add_option("--repofrompath", action="append", + help=("specify repoid & paths of additional repositories " + "- unique repoid and complete path required, can be specified multiple " + "times. Example. --repofrompath=myrepo,/path/to/repo")) + (opts, _) = parser.parse_args() + + my = dnf.Base() + my.read_all_repos() + + temp_cachedir = None + if os.geteuid() != 0 or opts.tempcache: + temp_cachedir = tempfile.mkdtemp(prefix='conflicts') + my.conf.cachedir = temp_cachedir + else: + my.conf.cachedir = dnf.yum.misc.getCacheDir() + + if opts.repofrompath: + # setup the fake repos + for repo in opts.repofrompath: + repoid, repopath = tuple(repo.split(',')) + if repopath[0] == '/': + baseurl = 'file://' + repopath + else: + # This URL may be a redirect, like download.fedoraproject.org. We + # need to resolve this redirect now, otherwise the redirect URL will + # be used for every package header download and that a) will extremely + # slow down download speed b) may cause consistency problems if not + # always the same repo mirror is returned from the redirect + with urlopen(repopath) as net_obj: + baseurl = repopath = net_obj.geturl() + + repopath = os.path.normpath(repopath) + newrepo = dnf.repo.Repo(repoid) + newrepo.name = repoid + newrepo.baseurl = baseurl + newrepo.basecachedir = my.conf.cachedir + newrepo.metadata_expire = 0 + newrepo.timestamp_check = False + my.repos.add(newrepo) + print("Added %s repo from %s" % (repoid, repopath)) + + if opts.repoid: + for repo in my.repos.values(): + if repo.id not in opts.repoid: + repo.disable() + else: + repo.enable() + + fulldict = defaultdict(list) + + print('Getting complete filelist for:') + for repo in my.repos.iter_enabled(): + if repo.metalink: + print(repo.metalink) + else: + print(repo.baseurl[0]) + + my.fill_sack() + q = my.sack.query() + + for package in q: + if str(package.reponame) == "@System": + continue + #print('{} in repo {}'.format(package, package.reponame)) + for file_name in package.files: + fulldict[file_name].append(package) + + print('%u files found.\n' % len(fulldict)) + + print('Looking for duplicated filenames:') + filedict = {} + for file_name in fulldict.keys(): + if len(fulldict[file_name]) >= 2: + filedict[file_name] = fulldict[file_name] + del fulldict # frees up a little memory + print('%u duplicates found.\n' % len(filedict)) + + print('Doing more advanced checks to see if these are real conflicts:') + count = 0 + found = 0 + total = len(filedict) + milestone = int(0.05 * total) + start = time.time() + last = start + package_conflicts = set() + file_conflicts = {} + for (file_name, package_list) in filedict.items(): + # /usr/lib/.build-id seems to be causing whole lot of false positives, so just skip it + if '/usr/lib/.build-id' in file_name: + count += 1 + continue + if (pkg_names_match(package_list) or + sourcerpms_match(package_list) or + obsolete_each_other(package_list)): + pass + elif package_conflict(package_list): + strlist = sorted([str(p) for p in package_list]) + package_conflicts.add('\n'.join(strlist)) + #print('%s|%s' % ('|'.join(strlist), file_name)) + elif file_conflict(file_name, package_list): + # note the flow here: we only check for file conflicts if + # we have not found a package conflict + found += 1 + file_conflicts[file_name] = package_list + + # Timing / counting output + count += 1 + if count % milestone == 0: + now = time.time() + percent = round(float(count*100) / total) + files_per_sec = float(milestone) / (now - last) + total_files_per_sec = float(count) / (now - start) + eta_sec = float(total - count) / total_files_per_sec + eta = str(datetime.timedelta(seconds=int(eta_sec))) + print("%3u%% complete (%6u/%6u, %5u/sec), %4u found - eta %s" % \ + (percent, count, total, files_per_sec, found, eta)) + last = now + del filedict + print("\n%u file conflicts found." % len(file_conflicts)) + print("%u package conflicts found." % len(package_conflicts)) + + # Reduce the file conflict results to a dict like + # {"pkga,pkgb": [conflicting files], ...} + fcbpp = defaultdict(list) # File Conflicts By Package-Pair + for (file_name, package_list) in file_conflicts.items(): + pkgpair = '\n'.join(sorted([str(p) for p in package_list])) + fcbpp[pkgpair].append(file_name) + del file_conflicts + + print('\n== Package conflicts ==') + for package_list in package_conflicts: + print(package_list + "\n") + + print('\n== File conflicts, listed by conflicting packages ==') + for (pkgpair, files) in fcbpp.items(): + print(pkgpair) + for file_name in sorted(files): + print(' ' + file_name) + print("") + + # delete cache + if temp_cachedir: + shutil.rmtree(temp_cachedir) + + if fcbpp: + # file conflicts should be considered a failure, thus exit 1 + sys.exit(1) diff --git a/qa-testcase-boxes/testcase-mediacheck/scripts/test_wrapper.sh b/qa-testcase-boxes/testcase-mediacheck/scripts/test_wrapper.sh new file mode 100755 index 0000000..3e6aaa5 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/scripts/test_wrapper.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +. /etc/os-release + +t="${1:-boot}" +a="${2:-$(arch)}" +v="${3:-${VERSION_ID}}" +b="${4:-http://dl.rockylinux.org/pub/rocky/${v}/isos}" +c="${5:-CHECKSUM}" + +full_path="$(realpath "$0")" +script_path="$(dirname "$full_path")" +parent_path="$(dirname "$script_path")" + +cd "${parent_path}" || exit + +test -f "${parent_path}/isos/Rocky-${v}-${a}-${t}.iso" && \ + mv "${parent_path}/isos/Rocky-${v}-${a}-${t}.iso" "${parent_path}/" + +"${parent_path}/scripts/iso_download_mediacheck.sh" \ + -t "${t}" -a "${a}" -b "${b}" -v "${v}" -c "${c}" + +"${parent_path}/scripts/iso_repoclosure_conflicts.sh" \ + -t "${t}" -a "${a}" -v "${v}" + +mkdir -p "${parent_path}/isos/" && \ + mv "${parent_path}/Rocky-${v}-${a}-${t}.iso" "${parent_path}/isos/" diff --git a/qa-testcase-boxes/testcase-mediacheck/vagrant-settings.yaml_defaults b/qa-testcase-boxes/testcase-mediacheck/vagrant-settings.yaml_defaults new file mode 100644 index 0000000..8907326 --- /dev/null +++ b/qa-testcase-boxes/testcase-mediacheck/vagrant-settings.yaml_defaults @@ -0,0 +1,10 @@ +--- +# copy this file to vagrant-settings.yaml to override Vagrant defaults + +box_image: "rockylinux/9" +box_ram: 2048 +box_cpus: 2 + +version: "9.6" +arch: "x86_64" +download_base: "http://dl.rockylinux.org/pub/rocky/9/isos" diff --git a/test-reports/hardware/dell/Precision_Workstation_T3500/rl9/3ff33a34-8638-411a-89e6-79eb075248f8.xsos.out b/test-reports/hardware/dell/Precision_Workstation_T3500/rl9/3ff33a34-8638-411a-89e6-79eb075248f8.xsos.out new file mode 100644 index 0000000..6165b00 --- /dev/null +++ b/test-reports/hardware/dell/Precision_Workstation_T3500/rl9/3ff33a34-8638-411a-89e6-79eb075248f8.xsos.out @@ -0,0 +1,138 @@ +DMIDECODE + BIOS: + Vend: Dell Inc. + Vers: A17 + Date: 05/28/2013 + BIOS Rev: 0.0 + FW Rev: + System: + Mfr: Dell Inc. + Prod: Precision WorkStation T3500 + Vers: Not Specified + Ser: ⣿⣿⣿⣿⣿⣿⣿ + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 1 of 1 CPU sockets populated, 4 cores/2 threads per CPU + 4 total cores, 2 total threads + Mfr: Intel + Fam: Xeon + Freq: 3066 MHz + Vers: Not Specified + Memory: + Total: 12288 MiB (12 GiB) + DIMMs: 3 of 6 populated + MaxCapacity: 24576 MiB (24 GiB / 0.02 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 3 (default multi-user) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + (Rescue mode detected; build info captured from logs of last boot) + Linux version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) 11.2.1 + 20220127 (Red Hat 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 + Booted kernel cmdline: + (Rescue mode detected) + BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/HOST-root ro + crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/HOST-swap rd.lvm.lv=HOST/root rd.lvm.lv=HOST/swap + console=tty1 console=ttyS0,115200n81r consoleblanks=120 + GRUB default kernel cmdline: + + Taint-check: 2048 (see https://access.redhat.com/solutions/40594) + 11 FIRMWARE_WORKAROUND: Working around severe firmware bug + - - - - - - - - - - - - - - - - - - - + Sys time: Tue Jul 12 09:05:22 PM ZULU 2022 + Boot time: Mon Jul 11 01:28:59 PM ZULU 2022 + Time Zone: America/Chicago + Uptime: 1 day, 7:36, 5 users + LoadAvg: [8 CPU] 0.00 (0%), 0.00 (0%), 0.00 (0%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 32212 + cpu [Utilization since boot]: + us 0%, ni 0%, sys 0%, idle 100%, iowait 0%, irq 0%, sftirq 0%, steal 0% + +CPU + 8 logical processors (4 CPU cores) + 1 Intel Xeon CPU W3550 @ 3.07GHz (flags: constant_tsc,ht,lm,nx,pae,vmx) + └─8 threads / 4 cores each + +MEMORY + WARNING: RESCUE MODE DETECTED + meminfo reflects rescue env; inspect sysctl.conf manually for HugePages + Stats graphed as percent of MemTotal: + MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊.................................. 31.2% + Buffers ▊▊▊▊▊▊............................................ 11.9% + Cached ▊▊▊▊.............................................. 7.1% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 11.4 GiB total ram + 3.6 GiB (31%) used + 1.4 GiB (12%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.14 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 1.02 GiB (9%) of total ram used for Slab + 0 GiB (0%) of total ram used for PageTables + 0.01 GiB (0%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 8 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 2 disks, totaling 2101 GiB (2.05 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + sda 238 + sdb 1863 + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + sda 8:0 0 238.5G 0 disk + ├─sda1 8:1 0 1G 0 part /boot + └─sda2 8:2 0 237.5G 0 part + ├─HOST-root 253:0 0 40G 0 lvm / + ├─HOST-swap 253:1 0 8G 0 lvm [SWAP] + └─HOST-var 253:4 0 80G 0 lvm /var + sdb 8:16 0 1.8T 0 disk + ├─buvg-bulv 253:2 0 1.6T 0 lvm /bu + └─buvg-var_cache_lv 253:3 0 111.8G 0 lvm + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/HOST-root 40973536 3531660 35328340 10% / + /dev/sda1 1030828 188104 790296 20% /boot + /dev/mapper/HOST-var 81987992 487460 77289844 1% /var + /dev/mapper/buvg-bulv 1729441324 1497761720 143755076 92% /bu + +DM-MULTIPATH + [No paths detected] + +LSPCI + Net: + (1) Broadcom Inc. and subsidiaries NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10) + (1) Intel Corporation 82574L Gigabit Network Connection + Storage: + (1) Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller + VGA: + +ETHTOOL + Interface Status: + enp4s0 0000:04:00.0 link=up 1000Mb/s full (autoneg=Y) rx ring 256/4096 drv e1000e v5.14.0-70.13.1.el9_0.x86_64 / fw 1.8-0 + enp5s0 0000:05:00.0 link=DOWN rx ring 200/511 drv tg3 v5.14.0-70.13.1.el9_0.x86_64 / fw 5761-v3.68 + Interface Errors: + [None] diff --git a/test-reports/hardware/intel/2U_D50DNP/rl9/27eea388-d16a-4700-979e-b3dfcbe620aa.xsos.out b/test-reports/hardware/intel/2U_D50DNP/rl9/27eea388-d16a-4700-979e-b3dfcbe620aa.xsos.out new file mode 100644 index 0000000..f9ee203 --- /dev/null +++ b/test-reports/hardware/intel/2U_D50DNP/rl9/27eea388-d16a-4700-979e-b3dfcbe620aa.xsos.out @@ -0,0 +1,127 @@ +DMIDECODE + BIOS: + Vend: Intel Corporation + Vers: SE5C6301.86B.7314.D09.2202231344 + Date: 02/23/2022 + BIOS Rev: + FW Rev: + System: + Mfr: Intel Corporation + Prod: D50DNP + Vers: ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + Ser: ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 2 of 2 CPU sockets populated, 56 cores/112 threads per CPU + 112 total cores, 224 total threads + Mfr: Intel(R) Corporation + Fam: Xeon + Freq: 1900 MHz + Vers: Genuine Intel(R) CPU 0000%@ + Memory: + Total: 262144 MiB (256 GiB) + DIMMs: 8 of 48 populated + MaxCapacity: 6291456 MiB (6144 GiB / 6.00 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 3 (default multi-user) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + Linux version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 + 21:01:57 UTC 2022 + Booted kernel cmdline: + BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/rl-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl-swap rd.lvm.lv=rl/root rd.lvm.lv=rl/swap + GRUB default kernel cmdline: + + Taint-check: 0 (kernel untainted) + - - - - - - - - - - - - - - - - - - - + Sys time: Thu Jun 23 04:42:55 PM CDT 2022 + Boot time: Thu Jun 23 04:36:28 PM CDT 2022 + Time Zone: America/Chicago + Uptime: 6 min, 1 user + LoadAvg: [112 CPU] 0.03 (0%), 0.07 (0%), 0.04 (0%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 20158 + cpu [Utilization since boot]: + us 0%, ni 0%, sys 0%, idle 100%, iowait 0%, irq 0%, sftirq 0%, steal 0% + +CPU + 112 logical processors (112 CPU cores) + 2 Genuine Intel CPU 0000%@ (flags: aes,constant_tsc,ht,lm,nx,pae,rdrand,vmx) + └─56 threads / 56 cores each + +MEMORY + Stats graphed as percent of MemTotal: + MemUsed .................................................. 0.8% + Buffers .................................................. 0.0% + Cached .................................................. 0.1% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 251.2 GiB total ram + 2 GiB (1%) used + 1.6 GiB (1%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.02 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 0.46 GiB (0%) of total ram used for Slab + 0 GiB (0%) of total ram used for PageTables + 0.01 GiB (0%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 4 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 0 disks, totaling 0 GiB (0.00 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + nvme0n1 259:0 0 1.7T 0 disk + ├─nvme0n1p1 259:2 0 600M 0 part /boot/efi + ├─nvme0n1p2 259:3 0 1G 0 part /boot + └─nvme0n1p3 259:4 0 1.7T 0 part + ├─rl-root 253:0 0 70G 0 lvm / + ├─rl-swap 253:1 0 4G 0 lvm [SWAP] + └─rl-home 253:2 0 3.4T 0 lvm /home + nvme1n1 259:1 0 1.7T 0 disk + └─nvme1n1p1 259:5 0 1.7T 0 part + └─rl-home 253:2 0 3.4T 0 lvm /home + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/rl-root 73364480 1576596 71787884 3% / + /dev/nvme0n1p2 1038336 195388 842948 19% /boot + /dev/nvme0n1p1 613184 7136 606048 2% /boot/efi + /dev/mapper/rl-home 3669689652 25620804 3644068848 1% /home + +LSPCI + Net: + (1) Intel Corporation Ethernet Controller X710 for 10GBASE-T (rev 02) + Storage: + VGA: + ASPEED Technology, Inc. ASPEED Graphics Family (rev 52) + +ETHTOOL + Interface Status: + eno0 0000:17:00.0 link=up 1000Mb/s full (autoneg=Y) rx ring 512/4096 drv i40e v5.14.0-70.13.1.el9_0.x86_64 / fw 8.40 0x8000b620 1.2992.0 + enp0s20f0u5u3c2 usb-0000:00:14.0-5.3 link=DOWN rx ring UNKNOWN drv cdc_ether v5.14.0-70.13.1.el9_0.x86_64 / fw CDC Ethernet Device + Interface Errors: + [None] + diff --git a/test-reports/hardware/intel/NUC8i7INH/rl9/eaf2f919-764b-7f7e-2274-54b2031c1f70.xsos.out b/test-reports/hardware/intel/NUC8i7INH/rl9/eaf2f919-764b-7f7e-2274-54b2031c1f70.xsos.out new file mode 100644 index 0000000..a66cda4 --- /dev/null +++ b/test-reports/hardware/intel/NUC8i7INH/rl9/eaf2f919-764b-7f7e-2274-54b2031c1f70.xsos.out @@ -0,0 +1,133 @@ +DMIDECODE + BIOS: + Vend: Intel Corp. + Vers: INWHL357.0044.2021.1206.1742 + Date: 12/06/2021 + BIOS Rev: 5.13 + FW Rev: + System: + Mfr: Intel(R) Client Systems + Prod: NUC8i7INH + Vers: K47348-402 + Ser: ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 1 of 1 CPU sockets populated, 4 cores/8 threads per CPU + 4 total cores, 8 total threads + Mfr: Intel(R) Corporation + Fam: Core i7 + Freq: 1683 MHz + Vers: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz + Memory: + Total: 8192 MiB (8 GiB) + DIMMs: 2 of 10 populated + MaxCapacity: 8192 MiB (8 GiB / 0.01 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 3 (default multi-user) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + Linux version 5.14.0-70.13.1.el9_0.x86_64 + (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) 11.2.1 20220127 (Red Hat + 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 + Booted kernel cmdline: + BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/rl_node01-root ro + crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl_node01-swap + rd.lvm.lv=rl_node01/root rd.lvm.lv=rl_node01/swap + GRUB default kernel cmdline: + + Taint-check: 0 (kernel untainted) + - - - - - - - - - - - - - - - - - - - + Sys time: Tue Jun 28 01:34:14 PM CDT 2022 + Boot time: Tue Jun 28 01:02:45 PM CDT 2022 + Time Zone: America/Chicago + Uptime: 31 min, 1 user + LoadAvg: [8 CPU] 0.00 (0%), 0.00 (0%), 0.00 (0%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 15947 + cpu [Utilization since boot]: + us 0%, ni 0%, sys 0%, idle 100%, iowait 0%, irq 0%, sftirq 0%, steal 0% + +CPU + 8 logical processors (4 CPU cores) + 1 Intel Core i7-8565U CPU @ 1.80GHz (flags: aes,constant_tsc,ht,lm,nx,pae,rdrand,vmx) + └─8 threads / 4 cores each + +MEMORY + Stats graphed as percent of MemTotal: + MemUsed ▊▊▊▊.............................................. 8.8% + Buffers .................................................. 0.1% + Cached ▊▊................................................ 4.6% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 7.4 GiB total ram + 0.7 GiB (9%) used + 0.3 GiB (4%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.02 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 0.12 GiB (2%) of total ram used for Slab + 0 GiB (0%) of total ram used for PageTables + 0.01 GiB (0%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 7.8 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 1 disks, totaling 238 GiB (0.23 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + sda 238 + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + sda 8:0 0 238.5G 0 disk + ├─sda1 8:1 0 600M 0 part /boot/efi + ├─sda2 8:2 0 1G 0 part /boot + └─sda3 8:3 0 236.9G 0 part + ├─rl_node01-root 253:0 0 70G 0 lvm / + ├─rl_node01-swap 253:1 0 7.8G 0 lvm [SWAP] + └─rl_node01-home 253:2 0 159.1G 0 lvm /home + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/rl_node01-root 73364480 1574468 71790012 3% / + /dev/sda2 1038336 207244 831092 20% /boot + /dev/sda1 613160 7136 606024 2% /boot/efi + /dev/mapper/rl_node01-home 166732244 1195764 165536480 1% /home + +DM-MULTIPATH + [No paths detected] + +LSPCI + Net: + (1) Intel Corporation Ethernet Connection (6) I219-V (rev 30) + (1) Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30) + Storage: + (1) Intel Corporation Cannon Point-LP SATA Controller [AHCI Mode] (rev 30) + VGA: + Advanced Micro Devices, Inc. [AMD/ATI] Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM] (rev c3) + +ETHTOOL + Interface Status: + enp0s31f6 0000:00:1f.6 link=up 1000Mb/s full (autoneg=Y) rx ring 256/4096 drv e1000e v5.14.0-70.13.1.el9_0.x86_64 / fw 0.5-4 + wlp0s20f3 0000:00:14.3 link=DOWN rx ring n/a/n/a drv iwlwifi v5.14.0-70.13.1.el9_0.x86_64 / fw 46.4e1ceb39.0 9000-pu-b0-jf-b0- + Interface Errors: + [None] + diff --git a/test-reports/hardware/intel/NUCDN2820FYK/rl9/53ca9c80-53a6-11e2-b209-c03fd5696fdd.xsos.out b/test-reports/hardware/intel/NUCDN2820FYK/rl9/53ca9c80-53a6-11e2-b209-c03fd5696fdd.xsos.out new file mode 100644 index 0000000..6a15e70 --- /dev/null +++ b/test-reports/hardware/intel/NUCDN2820FYK/rl9/53ca9c80-53a6-11e2-b209-c03fd5696fdd.xsos.out @@ -0,0 +1,131 @@ +DMIDECODE + BIOS: + Vend: Intel Corp. + Vers: FYBYT10H.86A.0072.2020.0609.0913 + Date: 06/09/2020 + BIOS Rev: 5.6 + FW Rev: + System: + Mfr: + Prod: + Vers: + Ser: + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 1 of 1 CPU sockets populated, 2 cores/2 threads per CPU + 2 total cores, 2 total threads + Mfr: Intel + Fam: Celeron + Freq: 2160 MHz + Vers: Intel(R) Celeron(R) CPU N2830 @ 2.16GHz + Memory: + Total: 4096 MiB (4 GiB) + DIMMs: 1 of 2 populated + MaxCapacity: 8192 MiB (8 GiB / 0.01 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 5 (default graphical) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + Linux version 5.14.0-70.13.1.el9_0.x86_64 + (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) 11.2.1 20220127 (Red Hat + 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 + Booted kernel cmdline: + BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/rl-root ro + crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl-swap rd.lvm.lv=rl/root + rd.lvm.lv=rl/swap rhgb quiet + GRUB default kernel cmdline: + + Taint-check: 0 (kernel untainted) + - - - - - - - - - - - - - - - - - - - + Sys time: Tue Jun 28 01:34:20 PM CDT 2022 + Boot time: Tue Jun 28 12:30:57 PM CDT 2022 + Time Zone: America/Chicago + Uptime: 1:03, 1 user + LoadAvg: [2 CPU] 0.00 (0%), 0.00 (0%), 0.00 (0%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 2405 + cpu [Utilization since boot]: + us 0%, ni 0%, sys 0%, idle 99%, iowait 1%, irq 0%, sftirq 0%, steal 0% + +CPU + 2 logical processors (2 CPU cores) + 1 Intel Celeron CPU N2830 @ 2.16GHz (flags: constant_tsc,ht,lm,nx,pae,rdrand,vmx) + └─2 threads / 2 cores each + +MEMORY + Stats graphed as percent of MemTotal: + MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊...................................... 24.7% + Buffers .................................................. 0.1% + Cached ▊▊▊▊▊▊............................................ 11.6% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 3.5 GiB total ram + 0.9 GiB (25%) used + 0.5 GiB (13%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.1 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 0.08 GiB (2%) of total ram used for Slab + 0.01 GiB (0%) of total ram used for PageTables + 0.01 GiB (0%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 3.8 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 1 disks, totaling 466 GiB (0.45 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + sda 466 + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + sda 8:0 0 465.8G 0 disk + ├─sda1 8:1 0 1G 0 part /boot + └─sda2 8:2 0 464.8G 0 part + ├─rl-root 253:0 0 70G 0 lvm / + ├─rl-swap 253:1 0 3.8G 0 lvm [SWAP] + └─rl-home 253:2 0 391G 0 lvm /home + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/rl-root 73364480 4817416 68547064 7% / + /dev/sda1 1038336 276736 761600 27% /boot + /dev/mapper/rl-home 409768460 2981184 406787276 1% /home + +DM-MULTIPATH + [No paths detected] + +LSPCI + Net: + (1) Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) + (1) Intel Corporation Wireless 7260 (rev 73) + Storage: + (1) Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e) + VGA: + Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e) + +ETHTOOL + Interface Status: + enp3s0 0000:03:00.0 link=up 1000Mb/s full (autoneg=Y) rx ring 256/256 drv r8169 v5.14.0-70.13.1.el9_0.x86_64 / fw rtl8168g-2_0.0.1 02/06/13 + wlp2s0 0000:02:00.0 link=DOWN rx ring n/a/n/a drv iwlwifi v5.14.0-70.13.1.el9_0.x86_64 / fw 17.3216344376.0 7260-17.ucode + Interface Errors: + [None] + diff --git a/test-reports/hardware/intel/NUCDN2820FYK/rl9/7960c780-ad1d-11e4-a3de-c03fd564cf64.xsos.out b/test-reports/hardware/intel/NUCDN2820FYK/rl9/7960c780-ad1d-11e4-a3de-c03fd564cf64.xsos.out new file mode 100644 index 0000000..62387a0 --- /dev/null +++ b/test-reports/hardware/intel/NUCDN2820FYK/rl9/7960c780-ad1d-11e4-a3de-c03fd564cf64.xsos.out @@ -0,0 +1,131 @@ +DMIDECODE + BIOS: + Vend: Intel Corp. + Vers: FYBYT10H.86A.0072.2020.0609.0913 + Date: 06/09/2020 + BIOS Rev: 5.6 + FW Rev: + System: + Mfr: + Prod: + Vers: + Ser: + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 1 of 1 CPU sockets populated, 2 cores/2 threads per CPU + 2 total cores, 2 total threads + Mfr: Intel + Fam: Celeron + Freq: 2130 MHz + Vers: Intel(R) Celeron(R) CPU N2820 @ 2.13GHz + Memory: + Total: 4096 MiB (4 GiB) + DIMMs: 1 of 2 populated + MaxCapacity: 8192 MiB (8 GiB / 0.01 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 3 (default multi-user) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + Linux version 5.14.0-70.13.1.el9_0.x86_64 + (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) 11.2.1 20220127 (Red Hat + 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 + Booted kernel cmdline: + BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/rl-root ro + crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl-swap rd.lvm.lv=rl/root + rd.lvm.lv=rl/swap + GRUB default kernel cmdline: + + Taint-check: 0 (kernel untainted) + - - - - - - - - - - - - - - - - - - - + Sys time: Tue Jun 28 01:34:08 PM CDT 2022 + Boot time: Tue Jun 28 01:07:44 PM CDT 2022 + Time Zone: America/Chicago + Uptime: 26 min, 1 user + LoadAvg: [2 CPU] 0.00 (0%), 0.00 (0%), 0.03 (2%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 2731 + cpu [Utilization since boot]: + us 2%, ni 0%, sys 1%, idle 96%, iowait 1%, irq 0%, sftirq 0%, steal 0% + +CPU + 2 logical processors (2 CPU cores) + 1 Intel Celeron CPU N2820 @ 2.13GHz (flags: constant_tsc,ht,lm,nx,pae,rdrand,vmx) + └─2 threads / 2 cores each + +MEMORY + Stats graphed as percent of MemTotal: + MemUsed ▊▊▊▊▊▊▊▊▊......................................... 17.9% + Buffers .................................................. 0.1% + Cached ▊▊▊▊▊............................................. 10.6% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 3.1 GiB total ram + 0.6 GiB (18%) used + 0.2 GiB (7%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.01 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 0.07 GiB (2%) of total ram used for Slab + 0 GiB (0%) of total ram used for PageTables + 0.01 GiB (0%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 3.4 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 1 disks, totaling 466 GiB (0.45 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + sda 466 + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + sda 8:0 0 465.8G 0 disk + ├─sda1 8:1 0 1G 0 part /boot + └─sda2 8:2 0 464.8G 0 part + ├─rl-root 253:0 0 70G 0 lvm / + ├─rl-swap 253:1 0 3.4G 0 lvm [SWAP] + └─rl-home 253:2 0 391.3G 0 lvm /home + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/rl-root 73364480 1616420 71748060 3% / + /dev/sda1 1038336 210168 828168 21% /boot + /dev/mapper/rl-home 410153296 2893016 407260280 1% /home + +DM-MULTIPATH + [No paths detected] + +LSPCI + Net: + (1) Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) + (1) Intel Corporation Wireless 7260 (rev 73) + Storage: + (1) Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0c) + VGA: + Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0c) + +ETHTOOL + Interface Status: + enp3s0 0000:03:00.0 link=up 1000Mb/s full (autoneg=Y) rx ring 256/256 drv r8169 v5.14.0-70.13.1.el9_0.x86_64 / fw rtl8168g-2_0.0.1 02/06/13 + wlp2s0 0000:02:00.0 link=DOWN rx ring n/a/n/a drv iwlwifi v5.14.0-70.13.1.el9_0.x86_64 / fw 17.3216344376.0 7260-17.ucode + Interface Errors: + [None] + diff --git a/test-reports/hypervisor/hyper-v/v2/4.0/rl9/636c4a1b-f380-4a50-b156-fc3e866d415e.xsos.out b/test-reports/hypervisor/hyper-v/v2/4.0/rl9/636c4a1b-f380-4a50-b156-fc3e866d415e.xsos.out new file mode 100644 index 0000000..ca00d68 --- /dev/null +++ b/test-reports/hypervisor/hyper-v/v2/4.0/rl9/636c4a1b-f380-4a50-b156-fc3e866d415e.xsos.out @@ -0,0 +1,126 @@ +DMIDECODE + BIOS: + Vend: Microsoft Corporation + Vers: Hyper-V UEFI Release v4.0 + Date: 11/01/2019 + BIOS Rev: 4.0 + FW Rev: + System: + Mfr: Microsoft Corporation + Prod: Virtual Machine + Vers: Hyper-V UEFI Release v4.0 + Ser: ⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿ + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 1 of 1 CPU sockets populated, 2 cores/2 threads per CPU + 2 total cores, 2 total threads + Mfr: Intel(R) Corporation + Fam: Core i7 + Freq: 2600 MHz + Vers: Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz + Memory: + Total: 2048 MiB (2 GiB) + DIMMs: 1 of 6 populated + MaxCapacity: 0 MiB (0 GiB / 0.00 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 3 (default multi-user) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + Linux version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) + 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 + Booted kernel cmdline: + BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/rl_rocky9-root ro + crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rl_rocky9-swap rd.lvm.lv=rl_rocky9/root + rd.lvm.lv=rl_rocky9/swap + GRUB default kernel cmdline: + + Taint-check: 0 (kernel untainted) + - - - - - - - - - - - - - - - - - - - + Sys time: Fri Jun 24 07:49:54 PM CEST 2022 + Boot time: Fri Jun 24 07:37:13 PM CEST 2022 + Time Zone: Europe/Belgrade + Uptime: 12 min, 2 users + LoadAvg: [2 CPU] 0.12 (6%), 0.05 (2%), 0.01 (0%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 14633 + cpu [Utilization since boot]: + us 1%, ni 0%, sys 1%, idle 98%, iowait 0%, irq 0%, sftirq 0%, steal 0% + +CPU + 2 logical processors (1 CPU cores) + 1 Intel Core i7-9850H CPU @ 2.60GHz (flags: aes,constant_tsc,ht,lm,nx,pae,rdrand) + └─2 threads / 1 cores each + +MEMORY + Stats graphed as percent of MemTotal: + MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊......... 82.0% + Buffers .................................................. 0.6% + Cached ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊................................ 36.4% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 0.5 GiB total ram + 0.4 GiB (82%) used + 0.2 GiB (45%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.02 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 0.06 GiB (12%) of total ram used for Slab + 0 GiB (0%) of total ram used for PageTables + 0.01 GiB (1%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 0.8 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 1 disks, totaling 8 GiB (0.01 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + sda 8 + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + sda 8:0 0 8G 0 disk + ├─sda1 8:1 0 600M 0 part /boot/efi + ├─sda2 8:2 0 1G 0 part /boot + └─sda3 8:3 0 6.4G 0 part + ├─rl_rocky9-root 253:0 0 5.6G 0 lvm / + └─rl_rocky9-swap 253:1 0 820M 0 lvm [SWAP] + sr0 11:0 1 1024M 0 rom + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/rl_rocky9-root 5871616 1061684 4809932 19% / + /dev/sda2 1038336 194020 844316 19% /boot + /dev/sda1 613160 7136 606024 2% /boot/efi + +DM-MULTIPATH + [No paths detected] + +LSPCI + Net: + Storage: + VGA: + +ETHTOOL + Interface Status: + eth0 link=up 10000Mb/s full (autoneg=N) rx ring 9709/18811 drv hv_netvsc v5.14.0-70.13.1.el9_0.x86_64 / fw N/A + Interface Errors: + [None] + diff --git a/test-reports/hypervisor/virtualbox/windows/rl9/a6ef6e6b-f7a6-47dd-ab0d-2e8767d24274.xsos.out b/test-reports/hypervisor/virtualbox/windows/rl9/a6ef6e6b-f7a6-47dd-ab0d-2e8767d24274.xsos.out new file mode 100644 index 0000000..3225a7c --- /dev/null +++ b/test-reports/hypervisor/virtualbox/windows/rl9/a6ef6e6b-f7a6-47dd-ab0d-2e8767d24274.xsos.out @@ -0,0 +1,128 @@ +DMIDECODE + BIOS: + Vend: innotek GmbH + Vers: VirtualBox + Date: 12/01/2006 + BIOS Rev: + FW Rev: + System: + Mfr: innotek GmbH + Prod: VirtualBox + Vers: 1.2 + Ser: ⣿ + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 0 of 0 CPU sockets populated, 0 cores/0 threads per CPU + 0 total cores, 0 total threads + Mfr: + Fam: + Freq: + Vers: + Memory: + Total: 0 MiB (0 GiB) + DIMMs: 0 of 0 populated + MaxCapacity: 0 MiB (0 GiB / 0.00 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 3 (default multi-user) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + Linux version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld + version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 + Booted kernel cmdline: + BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/rl_rocky9-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M + resume=/dev/mapper/rl_rocky9-swap rd.lvm.lv=rl_rocky9/root rd.lvm.lv=rl_rocky9/swap + GRUB default kernel cmdline: + + Taint-check: 0 (kernel untainted) + - - - - - - - - - - - - - - - - - - - + Sys time: Mon Jun 20 11:26:46 AM CEST 2022 + Boot time: Mon Jun 20 10:15:01 AM CEST 2022 + Time Zone: Europe/Belgrade + Uptime: 1:11, 1 user + LoadAvg: [2 CPU] 0.00 (0%), 0.02 (1%), 0.00 (0%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 11582 + cpu [Utilization since boot]: + us 0%, ni 0%, sys 0%, idle 99%, iowait 0%, irq 0%, sftirq 0%, steal 0% + +CPU + 2 logical processors (2 CPU cores) + 1 Intel Pentium CPU G4560 @ 3.50GHz (flags: aes,constant_tsc,ht,lm,nx,pae,rdrand) + └─2 threads / 2 cores each + +MEMORY + Stats graphed as percent of MemTotal: + MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊▊▊.................................... 28.4% + Buffers .................................................. 0.3% + Cached ▊▊▊▊▊▊▊........................................... 14.4% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 1.7 GiB total ram + 0.5 GiB (28%) used + 0.2 GiB (14%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.01 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 0.06 GiB (4%) of total ram used for Slab + 0 GiB (0%) of total ram used for PageTables + 0 GiB (0%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 0.8 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 1 disks, totaling 8 GiB (0.01 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + sda 8 + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + sda 8:0 0 8G 0 disk + ├─sda1 8:1 0 600M 0 part /boot/efi + ├─sda2 8:2 0 1G 0 part /boot + └─sda3 8:3 0 6.4G 0 part + ├─rl_rocky9-root 253:0 0 5.6G 0 lvm / + └─rl_rocky9-swap 253:1 0 820M 0 lvm [SWAP] + sr0 11:0 1 1024M 0 rom + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/rl_rocky9-root 5871616 1025108 4846508 18% / + /dev/sda2 1038336 194368 843968 19% /boot + /dev/sda1 613184 7136 606048 2% /boot/efi + +DM-MULTIPATH + [No paths detected] + +LSPCI + Net: + (1) Red Hat, Inc. Virtio network device + Storage: + (1) Red Hat, Inc. Virtio SCSI (rev 01) + VGA: + VMware SVGA II Adapter + +ETHTOOL + Interface Status: + enp0s3 0000:00:03.0 link=up Unknown! unknown! (autoneg=N) rx ring 256/256 drv virtio_net v1.0.0 / fw UNKNOWN + Interface Errors: + [None] + diff --git a/test-reports/hypervisor/vmware/Workstation/15.5/rl9/01b59fcc-cf58-4433-b5bd-bc29b7d302cc.xsos.out b/test-reports/hypervisor/vmware/Workstation/15.5/rl9/01b59fcc-cf58-4433-b5bd-bc29b7d302cc.xsos.out new file mode 100644 index 0000000..d5c8110 --- /dev/null +++ b/test-reports/hypervisor/vmware/Workstation/15.5/rl9/01b59fcc-cf58-4433-b5bd-bc29b7d302cc.xsos.out @@ -0,0 +1,126 @@ +DMIDECODE + BIOS: + Vend: VMware, Inc. + Vers: VMW71.00V.16221537.B64.2005150253 + Date: 05/15/2020 + BIOS Rev: + FW Rev: + System: + Mfr: VMware, Inc. + Prod: VMware7,1 + Vers: None + Ser: ⣿⣿⣿⣿⣿⣿-⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿-⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ ⣿⣿ + UUID: ⣿⣿⣿⣿⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿-⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + CPU: + 2 of 128 CPU sockets populated, 1 cores/0 threads per CPU + 2 total cores, 0 total threads + Mfr: Not Specified + Fam: Unknown + Freq: 3341 MHz + Vers: Unknown Processor + Memory: + Total: 2048 MiB (2 GiB) + DIMMs: 1 of 130 populated + MaxCapacity: 3072 MiB (3 GiB / 0.00 TiB) + +OS + Hostname: SCRUBBED + Distro: [redhat-release] Rocky Linux release 9.0 (Blue Onyx) + [rocky-release] Rocky Linux release 9.0 (Blue Onyx) + [os-release] Rocky Linux 9.0 (Blue Onyx) 9.0 (Blue Onyx) + RHN: (missing) + RHSM: (missing) + YUM: 1 enabled plugins: debuginfo-install + Runlevel: N 3 (default multi-user) + SELinux: enforcing (default enforcing) + Arch: mach=x86_64 cpu=x86_64 platform=x86_64 + Kernel: + Booted kernel: 5.14.0-70.13.1.el9_0.x86_64 + GRUB default: + Build version: + Linux version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild@dal1-prod-builder001.bld.equ.rockylinux.org) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld + version 2.35.2-17.el9) #1 SMP PREEMPT Wed May 25 21:01:57 UTC 2022 + Booted kernel cmdline: + BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=/dev/mapper/rl_rocky9-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M + resume=/dev/mapper/rl_rocky9-swap rd.lvm.lv=rl_rocky9/root rd.lvm.lv=rl_rocky9/swap + GRUB default kernel cmdline: + + Taint-check: 0 (kernel untainted) + - - - - - - - - - - - - - - - - - - - + Sys time: Mon Jun 20 11:27:19 AM CEST 2022 + Boot time: Mon Jun 20 10:33:53 AM CEST 2022 + Time Zone: Europe/Belgrade + Uptime: 53 min, 2 users + LoadAvg: [2 CPU] 0.00 (0%), 0.00 (0%), 0.00 (0%) + /proc/stat: + procs_running: 1 procs_blocked: 0 processes [Since boot]: 11582 + cpu [Utilization since boot]: + us 0%, ni 0%, sys 0%, idle 99%, iowait 0%, irq 0%, sftirq 0%, steal 0% + +CPU + 2 logical processors + 2 Intel Pentium CPU G4560 @ 3.50GHz (flags: aes,constant_tsc,lm,nx,pae,rdrand) + +MEMORY + Stats graphed as percent of MemTotal: + MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊.................................. 32.3% + Buffers .................................................. 0.3% + Cached ▊▊▊▊▊▊▊........................................... 13.8% + HugePages .................................................. 0.0% + Dirty .................................................. 0.0% + RAM: + 1.7 GiB total ram + 0.6 GiB (32%) used + 0.3 GiB (18%) used excluding Buffers/Cached + 0 GiB (0%) dirty + HugePages: + No ram pre-allocated to HugePages + THP: + 0.01 GiB allocated to THP + LowMem/Slab/PageTables/Shmem: + 0.08 GiB (5%) of total ram used for Slab + 0 GiB (0%) of total ram used for PageTables + 0.01 GiB (0%) of total ram used for Shmem + Swap: + 0 GiB (0%) used of 0.8 GiB total + +STORAGE + Whole Disks from /proc/partitions: + 0 disks, totaling 0 GiB (0.00 TiB) + - - - - - - - - - - - - - - - - - - - - - + Disk Size in GiB + ---- ----------- + + Disk layout from lsblk: + NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS + sr0 11:0 1 767M 0 rom + nvme0n1 259:0 0 8G 0 disk + ├─nvme0n1p1 259:1 0 600M 0 part /boot/efi + ├─nvme0n1p2 259:2 0 1G 0 part /boot + └─nvme0n1p3 259:3 0 6.4G 0 part + ├─rl_rocky9-root 253:0 0 5.6G 0 lvm / + └─rl_rocky9-swap 253:1 0 820M 0 lvm [SWAP] + + Filesystem usage from df: + Filesystem 1K-blocks Used Available Use% Mounted on + /dev/mapper/rl_rocky9-root 5871616 1025672 4845944 18% / + /dev/nvme0n1p2 1038336 194616 843720 19% /boot + /dev/nvme0n1p1 613184 7136 606048 2% /boot/efi + +DM-MULTIPATH + [No paths detected] + +LSPCI + Net: + (1) VMware VMXNET3 Ethernet Controller (rev 01) + Storage: + (1) VMware SATA AHCI controller + VGA: + VMware SVGA II Adapter + +ETHTOOL + Interface Status: + ens160 0000:03:00.0 link=up 10000Mb/s full (autoneg=N) rx ring 1024/4096 drv vmxnet3 v1.6.0.0-k-NAPI / fw UNKNOWN + Interface Errors: + [None] +