Skip to content

jobs/kola-azure: run kola tests on new Gen2 Gallery Images #1153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025

Conversation

marmijo
Copy link
Member

@marmijo marmijo commented May 22, 2025

Modify the job to build Hyper-V Gen2 gallery images and run kola tests exclusively on those new images[1]. The new Azure NVMe test[2] requires NVMe support, which is only available with Gen2 gallery images. Since there are no constraints requiring Gen1 images, we simplify things by testing only Gen2.

A pipeline config variable, test_gallery, is introduced to the Azure section to specify the gallery used to create Gen2 images.

[1]: coreos/coreos-assembler#4109
[2]: coreos/fedora-coreos-config#3519

EDIT: 2025-05-29: reworked job to only build and test gen2 images.


Note: this requires coreos/coreos-assembler#4109 to merge first.

@marmijo marmijo added the hold Waiting for something label May 22, 2025
@marmijo marmijo force-pushed the azure-udev-tests branch from fc89690 to bc1b45a Compare May 29, 2025 17:29
@marmijo marmijo removed the hold Waiting for something label May 29, 2025
--azure-location $region \
--image-name $azure_image_name \
--resource-group $azure_testing_resource_group \
--azure-hyper-v-generation "V2" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer needed?

Suggested change
--azure-hyper-v-generation "V2" \

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah! thanks, copy/paste error when I was reworking the job. I'll remove it

@marmijo marmijo changed the title jobs/kola-azure: run kola tests on both Managed and Gen2 Gallery Images jobs/kola-azure: run kola tests on new Gen2 Gallery Images May 29, 2025
Modify the job to build Hyper-V Gen2 gallery images and run kola tests
exclusively on those new images[1]. The new Azure NVMe test[2] requires
NVMe support, which is only available with Gen2 gallery images. Since
there are no constraints requiring Gen1 images, we simplify things
by testing only Gen2.

A pipeline config variable, `test_gallery`, is introduced to the
Azure section to specify the gallery used to create Gen2 images.

[1]: coreos/coreos-assembler#4109
[2]: coreos/fedora-coreos-config#3519
@marmijo marmijo force-pushed the azure-udev-tests branch from bc1b45a to 339993b Compare May 29, 2025 17:34
@@ -94,6 +94,7 @@ clouds:
test_resource_group: fedora-coreos-testing
test_storage_account: fedoracoreostesting
test_storage_container: fedora-coreos-testing-image-blobs
test_gallery: fedora-coreos-testing-gallery
test_architectures: [x86_64]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a followup to this I'd really like to start testing aarch64 so we'd change this line (or possibly remove the functionality if it's no longer needed).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I built an aarch64 image and ran a vm with it yesterday using coreos/coreos-assembler@fd81647. I'll open a PR to cosa after coreos/coreos-assembler#4109 merges.

@marmijo marmijo merged commit f8cf2bb into coreos:main May 29, 2025
2 checks passed
marmijo added a commit to marmijo/fedora-coreos-pipeline that referenced this pull request May 30, 2025
Zzure doesn't allow dashes (-) in gallery names so the gallery name
is updated to not include them. Also, set the gallery name on image
creation which should have been done in a previous commit.

See: coreos#1153
marmijo added a commit to marmijo/fedora-coreos-pipeline that referenced this pull request May 30, 2025
Azure doesn't allow dashes (-) in gallery names so the gallery name
is updated to not include them. Also, set the gallery name on image
creation which should have been done in a previous commit.

See: coreos#1153
dustymabe pushed a commit that referenced this pull request May 30, 2025
Azure doesn't allow dashes (-) in gallery names so the gallery name
is updated to not include them. Also, set the gallery name on image
creation which should have been done in a previous commit.

See: #1153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants