r8.8 needles for anaconda_help #175

Merged
AlanMarshall merged 2 commits from 8.8_needles into develop 2023-05-06 18:19:56 +00:00
AlanMarshall commented 2023-05-04 12:23:45 +00:00 (Migrated from github.com)

Anaconda_help needles for r8.8
Tested:

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 TEST=anaconda_help

Result: Pass

Anaconda_help needles for r8.8 Tested: ``` 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 TEST=anaconda_help ``` Result: Pass
akatch (Migrated from github.com) reviewed 2023-05-04 12:23:45 +00:00
AlanMarshall commented 2023-05-05 16:17:50 +00:00 (Migrated from github.com)

I'm running out of ideas @tcooper
I have tried all sorts of combinations based on the docs "Triggering tests based on an any remote Git refspec or open GitHub pull request" to get this tested on the prod system but I have not found how to pick up the new needles in the test. So unless I get some new ideas, I have only the local tests as evidence of success.
The following was my starting point but it does not result in a working test:

openqa-clone-custom-git-refspec --verbose --dry-run    https://github.com/rocky-linux/os-autoinst-distri-rocky/pull/175    https://openqa.rockylinux.org/tests/26113
I'm running out of ideas @tcooper I have tried all sorts of combinations based on the docs "Triggering tests based on an any remote Git refspec or open GitHub pull request" to get this tested on the prod system but I have not found how to pick up the new needles in the test. So unless I get some new ideas, I have only the local tests as evidence of success. The following was my starting point but it does not result in a working test: ``` openqa-clone-custom-git-refspec --verbose --dry-run https://github.com/rocky-linux/os-autoinst-distri-rocky/pull/175 https://openqa.rockylinux.org/tests/26113 ```
tcooper commented 2023-05-06 04:28:58 +00:00 (Migrated from github.com)

@AlanMarshall Following the example here I came up with the following openqa-clone-job command...

$ /usr/bin/openqa-clone-job \
    --skip-chained-deps \
    --parental-inheritance \
    --within-instance https://openqa.rockylinux.org 26113 \
    _GROUP=0 \
    TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles \
    BUILD=AlanMarshall/os-autoinst-distri-rocky#175 \
    CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles \
    PRODUCTDIR=os-autoinst-distri-rocky \
    NEEDLES_DIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles/needles
Created job #26758: rocky-8.8-dvd-iso-x86_64-Build20230504-Rocky-8.8-Beta-x86_64.0-anaconda_help@64bit -> https://openqa.rockylinux.org/t26758

Have a look in a while and you should see the result.

@AlanMarshall Following the example [here](https://wiki.rockylinux.org/team/testing/dev_guides/openqa_clone_custom_git_refspec_examples/#advanced-openqa-clone-custom-git-refspec) I came up with the following `openqa-clone-job` command... ```bash $ /usr/bin/openqa-clone-job \ --skip-chained-deps \ --parental-inheritance \ --within-instance https://openqa.rockylinux.org 26113 \ _GROUP=0 \ TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles \ BUILD=AlanMarshall/os-autoinst-distri-rocky#175 \ CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles \ PRODUCTDIR=os-autoinst-distri-rocky \ NEEDLES_DIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles/needles Created job #26758: rocky-8.8-dvd-iso-x86_64-Build20230504-Rocky-8.8-Beta-x86_64.0-anaconda_help@64bit -> https://openqa.rockylinux.org/t26758 ``` Have a look in a while and you should see the result.
AlanMarshall commented 2023-05-06 10:04:23 +00:00 (Migrated from github.com)

Thanks @tcooper that solves the problem for me.

The procedure I used now was:
06/05/23 (uk) or 05/06/23(us) r8.8 needles test & howto test needles on prod system; run:

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

where 175 is the pull request number and 26113 is the previous test to clone
which produces:

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

in NEEDLES_DIR=rocky/needles replace rocky with the contents of CASEDIR=
giving:

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

which now picks up the new needles and runs with result: pass

Thanks again Trevor, that was most helpful.

Thanks @tcooper that solves the problem for me. The procedure I used now was: 06/05/23 (uk) or 05/06/23(us) r8.8 needles test & howto test needles on prod system; run: ``` openqa-clone-custom-git-refspec --verbose --dry-run https://github.com/rocky-linux/os-autoinst-distri-rocky/pull/175 https://openqa.rockylinux.org/tests/26113 ``` where ```175``` is the pull request number and 26113 is the previous test to clone which produces: ``` /usr/bin/openqa-clone-job --skip-chained-deps --parental-inheritance --within-instance https://openqa.rockylinux.org 26113 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles BUILD=AlanMarshall/os-autoinst-distri-rocky#175 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=rocky/needles ``` in ```NEEDLES_DIR=rocky/needles``` replace ```rocky``` with the contents of ```CASEDIR=``` giving: ``` /usr/bin/openqa-clone-job --skip-chained-deps --parental-inheritance --within-instance https://openqa.rockylinux.org 26113 _GROUP=0 TEST+=@AlanMarshall/os-autoinst-distri-rocky#8.8_needles BUILD=AlanMarshall/os-autoinst-distri-rocky#175 CASEDIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles PRODUCTDIR=os-autoinst-distri-rocky NEEDLES_DIR=https://github.com/AlanMarshall/os-autoinst-distri-rocky.git#8.8_needles/needles ``` which now picks up the new needles and runs with result: pass Thanks again Trevor, that was most helpful.
tcooper (Migrated from github.com) approved these changes 2023-05-06 14:40:56 +00:00
lumarel (Migrated from github.com) approved these changes 2023-05-06 16:11:30 +00:00
lumarel (Migrated from github.com) left a comment

LGTM, thanks for all your great work Alan!

LGTM, thanks for all your great work Alan!
AlanMarshall commented 2023-05-06 18:19:46 +00:00 (Migrated from github.com)

Thanks Lukas and Trevor. I'll merge this for now to get it going and put the needles to their appropriate directories later.

Thanks Lukas and Trevor. I'll merge this for now to get it going and put the needles to their appropriate directories later.
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#175
No description provided.