use Rocky Linux controlled openqa-testrepo-1 #171

Merged
tcooper merged 1 commits from openqa-testrepo-1-change into develop 2023-05-02 14:29:43 +00:00
tcooper commented 2023-04-30 18:39:39 +00:00 (Migrated from github.com)

Description

This PR will change the content of /etc/yum.repos.d/openqa-testrepo-1.repo to point at a Rocky Linux controlled repository (https://git.resf.org/testing/openqa-testrepos/openqa-testrepo-1) instead of the current repository controlled by the Fedora QA team (https://fedorapeople.org/groups/qa/openqa-repos/openqa-testrepo-1/).

How Has This Been Tested?

  • Rocky Linux 8 VM instantiated from Vagrant box
  • /etc/yum.repos.d/openqa-testrepo-1.repo from https://git.resf.org/testing/openqa-testrepos installed.
  • Commands from packagetest.pm run by hand (replacing python3-kickstart with pandoc-common).
  • Tested with...
$ /usr/bin/openqa-clone-job --within-instance https://openqa.rockylinux.org 24627 _GROUP=0 TEST+=@tcooper/os-autoinst-distri-rocky#openqa-testrepo-1-change BUILD=tcooper/os-autoinst-distri-rocky#171 CASEDIR=https://github.com/tcooper/os-autoinst-distri-rocky.git#openqa-testrepo-1-change PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=rocky/needles
Cloning parents of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit
Cloning children of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit
Created job #24832: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit -> https://openqa.rockylinux.org/t24832
Created job #24831: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit -> https://openqa.rockylinux.org/t24831

In the screen for the base_update_cli test it is clear that the repository config change exists and the repository is valid...

base_update_cli-9

Test location: https://openqa.rockylinux.org/tests/24832#step/base_update_cli/7

While, utimately the test fails that is due to the it looking for the python3-kickstart package instead of the pandoc-common package that the repository now contains. Merge of this PR along with #170 should allow the test to complete fully.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
# Description This PR will change the content of `/etc/yum.repos.d/openqa-testrepo-1.repo` to point at a Rocky Linux controlled repository (`https://git.resf.org/testing/openqa-testrepos/openqa-testrepo-1`) instead of the current repository controlled by the Fedora QA team (`https://fedorapeople.org/groups/qa/openqa-repos/openqa-testrepo-1/`). # How Has This Been Tested? - Rocky Linux 8 VM instantiated from Vagrant box - `/etc/yum.repos.d/openqa-testrepo-1.repo` from `https://git.resf.org/testing/openqa-testrepos` installed. - Commands from [`packagetest.pm`](https://github.com/rocky-linux/os-autoinst-distri-rocky/blob/develop/lib/packagetest.pm) run by hand (replacing `python3-kickstart` with `pandoc-common`). - Tested with... ``` $ /usr/bin/openqa-clone-job --within-instance https://openqa.rockylinux.org 24627 _GROUP=0 TEST+=@tcooper/os-autoinst-distri-rocky#openqa-testrepo-1-change BUILD=tcooper/os-autoinst-distri-rocky#171 CASEDIR=https://github.com/tcooper/os-autoinst-distri-rocky.git#openqa-testrepo-1-change PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=rocky/needles Cloning parents of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit Cloning children of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit Created job #24832: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit -> https://openqa.rockylinux.org/t24832 Created job #24831: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit -> https://openqa.rockylinux.org/t24831 ``` In the screen for the `base_update_cli` test it is clear that the repository config change exists and the repository is valid... ![base_update_cli-9](https://user-images.githubusercontent.com/542846/235487776-a4a7ea5f-544a-4ad9-b5f9-16561d8183f8.png) Test location: https://openqa.rockylinux.org/tests/24832#step/base_update_cli/7 While, utimately the test fails that is due to the it looking for the `python3-kickstart` package instead of the `pandoc-common` package that the repository now contains. Merge of this PR along with #170 should allow the test to complete fully. # Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] Any dependent changes have been merged and published in downstream modules
akatch (Migrated from github.com) reviewed 2023-04-30 18:39:39 +00:00
lumarel (Migrated from github.com) approved these changes 2023-05-01 17:30:50 +00:00
lumarel (Migrated from github.com) left a comment

Great that we finally made it to self-host the files, nice trick witht he /raw/ :)

Great that we finally made it to self-host the files, nice trick witht he /raw/ :)
AlanMarshall (Migrated from github.com) approved these changes 2023-05-02 11:44:26 +00:00
AlanMarshall (Migrated from github.com) left a comment

Really good idea to be using a Rocky Linux controlled repository for our tests, I like it a lot.

  1. Tested in production system as specified using:
/usr/bin/openqa-clone-job --within-instance https://openqa.rockylinux.org 24627 _GROUP=0 TEST+=@tcooper/os-autoinst-distri-rocky#openqa-testrepo-1-change BUILD=tcooper/os-autoinst-distri-rocky#171 CASEDIR=https://github.com/tcooper/os-autoinst-distri-rocky.git#openqa-testrepo-1-change PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=rocky/needles
Cloning parents of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit
Cloning children of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit
Created job #25469: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit -> https://openqa.rockylinux.org/t25469
Created job #25468: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit -> https://openqa.rockylinux.org/t25468

Result:
Screenshot 2023-05-02 at 12-34-13 openQA rocky-9 1-dvd-iso-x86_64-Buildtcooper_os-autoinst-distri-rocky_171-base_update_cli@tcooper_os-autoinst-distri-rocky_openqa-testrepo-1-change@64bit test results
As expected.

  1. Tested locally for 8.8-Beta and 9.1 using tcooper branch openqa-testrepo-1-change as follows:
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 BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-dvd-iso TEST=base_update_cli
openqa-cli api -X POST isos ISO=Rocky-9.1-20221214.1-x86_64-dvd.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=9.1 CURRREL=9 DNF_CONTENTDIR=stg BUILD=-"$(date +%Y%m%d.%H%M%S).0"-9.1-dvd-iso TEST=base_update_cli

Result:
Screenshot 2023-05-02 at 12-17-41 openQA rocky-8 8-dvd-iso-x86_64-Build-20230502 113348 0-8 8-beta-dvd-iso-base_update_cli@64bit test results
Screenshot 2023-05-02 at 12-20-20 openQA rocky-9 1-dvd-iso-x86_64-Build-20230502 114054 0-9 1-dvd-iso-base_update_cli@64bit test results
All this demonstrates that the repository config change exists and the repository is valid.

Really good idea to be using a Rocky Linux controlled repository for our tests, I like it a lot. 1) Tested in production system as specified using: ``` /usr/bin/openqa-clone-job --within-instance https://openqa.rockylinux.org 24627 _GROUP=0 TEST+=@tcooper/os-autoinst-distri-rocky#openqa-testrepo-1-change BUILD=tcooper/os-autoinst-distri-rocky#171 CASEDIR=https://github.com/tcooper/os-autoinst-distri-rocky.git#openqa-testrepo-1-change PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=rocky/needles Cloning parents of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit Cloning children of rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit Created job #25469: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-install_default_upload@64bit -> https://openqa.rockylinux.org/t25469 Created job #25468: rocky-9.1-dvd-iso-x86_64-Build20230430-Rocky-9.1-x86_64.0-base_update_cli@64bit -> https://openqa.rockylinux.org/t25468 ``` Result: ![Screenshot 2023-05-02 at 12-34-13 openQA rocky-9 1-dvd-iso-x86_64-Buildtcooper_os-autoinst-distri-rocky_171-base_update_cli@tcooper_os-autoinst-distri-rocky_openqa-testrepo-1-change@64bit test results](https://user-images.githubusercontent.com/3416699/235655182-ec6298be-c948-45c5-b411-8c399e9b7888.png) As expected. 2) Tested locally for 8.8-Beta and 9.1 using tcooper branch openqa-testrepo-1-change as follows: ``` 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 BUILD=-"$(date +%Y%m%d.%H%M%S).0"-8.8-beta-dvd-iso TEST=base_update_cli openqa-cli api -X POST isos ISO=Rocky-9.1-20221214.1-x86_64-dvd.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=9.1 CURRREL=9 DNF_CONTENTDIR=stg BUILD=-"$(date +%Y%m%d.%H%M%S).0"-9.1-dvd-iso TEST=base_update_cli ``` Result: ![Screenshot 2023-05-02 at 12-17-41 openQA rocky-8 8-dvd-iso-x86_64-Build-20230502 113348 0-8 8-beta-dvd-iso-base_update_cli@64bit test results](https://user-images.githubusercontent.com/3416699/235654406-5a53d2fb-7e01-4837-9827-e456516d320d.png) ![Screenshot 2023-05-02 at 12-20-20 openQA rocky-9 1-dvd-iso-x86_64-Build-20230502 114054 0-9 1-dvd-iso-base_update_cli@64bit test results](https://user-images.githubusercontent.com/3416699/235654411-09dc1958-cc34-43a0-a7c2-a0dbd0f473f4.png) All this demonstrates that the repository config change exists and the repository is valid.
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#171
No description provided.