Enable Azure Linux 4.0 VM Tests#719
Merged
vinceaperri merged 2 commits intomainfrom May 1, 2026
Merged
Conversation
7586b0d to
13b88c3
Compare
13b88c3 to
42d2bf0
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Azure Linux 4.0 coverage to the imagecustomizer VM test suite by introducing AZL4-specific test configs, wiring new fixtures/options, and updating CI to fetch AZL4 base images.
Changes:
- Added AZL4 testdata configs for qcow2 + (currently skipped) ISO scenarios.
- Extended
test_min_change.pyto run AZL4 EFI + legacy qcow2 tests and updated AZL3 tests to use arch/release-specific configs. - Updated vmtests harness (pytest options/fixtures, Makefile, and GitHub Actions workflow) to pass/download AZL4 input images.
Reviewed changes
Copilot reviewed 10 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| toolkit/tools/pkg/imagecustomizerlib/testdata/os-vm-config-arm64-azl4.yaml | New AZL4 arm64 OS VM config (kernel/package set). |
| toolkit/tools/pkg/imagecustomizerlib/testdata/os-vm-config-arm64-azl3.yaml | New AZL3 arm64 OS VM config used by vmtests. |
| toolkit/tools/pkg/imagecustomizerlib/testdata/os-vm-config-amd64-azl4.yaml | New AZL4 amd64 OS VM config (kernel/package set). |
| toolkit/tools/pkg/imagecustomizerlib/testdata/os-vm-config-amd64-azl3.yaml | New AZL3 amd64 OS VM config used by vmtests. |
| toolkit/tools/pkg/imagecustomizerlib/testdata/iso-full-os-vm-azl4.yaml | New AZL4 full-OS ISO config (tests currently skipped). |
| toolkit/tools/pkg/imagecustomizerlib/testdata/iso-full-os-vm-azl3.yaml | Minor formatting alignment with other ISO configs. |
| toolkit/tools/pkg/imagecustomizerlib/testdata/iso-bootstrap-vm-azl4.yaml | New AZL4 bootstrap ISO config (tests currently skipped). |
| toolkit/tools/pkg/imagecustomizerlib/testdata/iso-bootstrap-vm-azl3.yaml | Minor formatting alignment with other ISO configs. |
| test/vmtests/vmtests/imagecustomizer/test_min_change.py | Adds AZL4 qcow2 tests, updates config selection, and extends /etc/os-release checks. |
| test/vmtests/vmtests/imagecustomizer/conftest.py | Adds AZL4 CLI options + fixtures for core EFI/legacy images. |
| test/vmtests/Makefile | Passes AZL4 image paths into pytest invocation. |
| .github/workflows/tests-vmtests.yml | Downloads AZL4 base images and plumbs paths into vmtests CI run. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
liulanze
previously approved these changes
May 1, 2026
Contributor
liulanze
left a comment
There was a problem hiding this comment.
LGTM. And the comment from AI looks reasonable to me.
liulanze
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the following tests for Azure Linux 4.0:
Follow-up tasks: