r8.8 needles for cockpit #177

Merged
AlanMarshall merged 1 commits from 8.8_needles_1 into develop 2023-05-16 18:56:07 +00:00
AlanMarshall commented 2023-05-07 15:22:37 +00:00 (Migrated from github.com)

This completes the set of needles for r8.8-Beta single vm tests.
Tested locally:

openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-minimal.iso ARCH=x86_64 DISTRI=rocky FLAVOR=minimal-iso VERSION=8.8 CURRREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-minimal-iso
openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=package-set VERSION=8.8 CURREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-package-set

Result: All Pass

openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=universal VERSION=8.8 CURRREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-universal

Result: All Pass except mirrorlist since there isn't one for a beta release

openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.8 CURRREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-dvd-iso

Result: All Pass except base_update_cli & server_cockpit_updates which fail but not for needles. Both are being investigated elsewhere.

Will be tested on prod system shortly.

This completes the set of needles for r8.8-Beta single vm tests. Tested locally: ``` openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-minimal.iso ARCH=x86_64 DISTRI=rocky FLAVOR=minimal-iso VERSION=8.8 CURRREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-minimal-iso openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=package-set VERSION=8.8 CURREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-package-set ``` Result: All Pass ``` openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=universal VERSION=8.8 CURRREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-universal ``` Result: All Pass except mirrorlist since there isn't one for a beta release ``` openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.8 CURRREL=8 DNF_CONTENTDIR=stg DNF_RELEASEVER=8.8-Beta BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-dvd-iso ``` Result: All Pass except base_update_cli & server_cockpit_updates which fail but not for needles. Both are being investigated elsewhere. Will be tested on prod system shortly.
tcooper (Migrated from github.com) reviewed 2023-05-07 15:22:37 +00:00
lumarel (Migrated from github.com) reviewed 2023-05-07 15:22:37 +00:00
AlanMarshall commented 2023-05-08 15:35:52 +00:00 (Migrated from github.com)

In prod system:
Following move of new needles to appropriate directories, anaconda_help tested:

openqa-clone-custom-git-refspec --verbose --dry-run    https://github.com/rocky-linux/os-autoinst-distri-rocky/pull/177    https://openqa.rockylinux.org/tests/27310
/usr/bin/openqa-clone-job --skip-chained-deps --parental-inheritance --within-instance https://openqa.rockylinux.org 27310 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles_1 BUILD=AlanMarshall/os-autoinst-distri-rocky#177 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1 PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1/needles

Result: Pass

When I try to run the server_cockpit_updates tests they fail with:

[error] HDD_1 handling Cannot find HDD_1 asset hdd/disk_64bit_cockpit.qcow2!

anaconda_help does not use HDD_1 (because no dependency)
So the question is how to clone tests that have dependencies.

Answer below:

In prod system: Following move of new needles to appropriate directories, anaconda_help tested: ``` openqa-clone-custom-git-refspec --verbose --dry-run https://github.com/rocky-linux/os-autoinst-distri-rocky/pull/177 https://openqa.rockylinux.org/tests/27310 /usr/bin/openqa-clone-job --skip-chained-deps --parental-inheritance --within-instance https://openqa.rockylinux.org 27310 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles_1 BUILD=AlanMarshall/os-autoinst-distri-rocky#177 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1 PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1/needles ``` Result: Pass When I try to run the server_cockpit_updates tests they fail with: ``` [error] HDD_1 handling Cannot find HDD_1 asset hdd/disk_64bit_cockpit.qcow2! ``` anaconda_help does not use HDD_1 (because no dependency) So the question is how to clone tests that have dependencies. Answer below:
AlanMarshall commented 2023-05-08 21:23:53 +00:00 (Migrated from github.com)

If a clone job has dependencies then an extra step is necessary. The helper script:

openqa-clone-custom-git-refspec --verbose --dry-run https://github.com/rocky-linux/os-autoinst-distri-rocky/pull/177 https://openqa.rockylinux.org/tests/27349

produces a run command:

/usr/bin/openqa-clone-job --skip-chained-deps --parental-inheritance --within-instance https://openqa.rockylinux.org 27349 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles_1 BUILD=AlanMarshall/os-autoinst-distri-rocky#177 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1 PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=rocky/needles

in NEEDLES_DIR=rocky/needles replace rocky with the contents of CASEDIR= and delete the parameter
--skip-chained-deps to give:

/usr/bin/openqa-clone-job --parental-inheritance --within-instance https://openqa.rockylinux.org 27349 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles_1 BUILD=AlanMarshall/os-autoinst-distri-rocky#177 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1 PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1/needles

which then produces:

Cloning parents of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_basic@64bit
Cloning parents of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_default@64bit
Cloning children of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-install_default_upload@64bit
Cloning children of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_default@64bit
Created job #27365: rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-install_default_upload@64bit -> https://openqa.rockylinux.org/t27365
Created job #27367: rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_basic@64bit -> https://openqa.rockylinux.org/t27367
Created job #27366: rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_default@64bit -> https://openqa.rockylinux.org/t27366

on the cli and starts the jobs on the prod system.
Result: All Pass

base_update_cli & server_cockpit_updates still fail but are being investigated elsewhere therefore they are not relevant to this pr.

If a clone job has dependencies then an extra step is necessary. The helper script: ``` openqa-clone-custom-git-refspec --verbose --dry-run https://github.com/rocky-linux/os-autoinst-distri-rocky/pull/177 https://openqa.rockylinux.org/tests/27349 ``` produces a run command: ``` /usr/bin/openqa-clone-job --skip-chained-deps --parental-inheritance --within-instance https://openqa.rockylinux.org 27349 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles_1 BUILD=AlanMarshall/os-autoinst-distri-rocky#177 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1 PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=rocky/needles ``` in ```NEEDLES_DIR=rocky/needles``` replace ```rocky``` with the contents of ```CASEDIR=``` and delete the parameter ``` --skip-chained-deps``` to give: ``` /usr/bin/openqa-clone-job --parental-inheritance --within-instance https://openqa.rockylinux.org 27349 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles_1 BUILD=AlanMarshall/os-autoinst-distri-rocky#177 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1 PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles_1/needles ``` which then produces: ``` Cloning parents of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_basic@64bit Cloning parents of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_default@64bit Cloning children of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-install_default_upload@64bit Cloning children of rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_default@64bit Created job #27365: rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-install_default_upload@64bit -> https://openqa.rockylinux.org/t27365 Created job #27367: rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_basic@64bit -> https://openqa.rockylinux.org/t27367 Created job #27366: rocky-8.8-dvd-iso-x86_64-Build-20230508.135731.0-8.8-Beta-dvd-iso-server_cockpit_default@64bit -> https://openqa.rockylinux.org/t27366 ``` on the cli and starts the jobs on the prod system. Result: All Pass base_update_cli & server_cockpit_updates still fail but are being investigated elsewhere therefore they are not relevant to this pr.
akatch (Migrated from github.com) approved these changes 2023-05-11 01:33:08 +00:00
akatch (Migrated from github.com) left a comment

Changes work as advertised, cheers @AlanMarshall 🖖🏼

Changes work as advertised, cheers @AlanMarshall 🖖🏼
StackKorora (Migrated from github.com) approved these changes 2023-05-16 18:54:44 +00:00
StackKorora (Migrated from github.com) left a comment

Looks good to me! Thanks!

Looks good to me! Thanks!
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: testing/os-autoinst-distri-rocky-migrated#177
No description provided.