Add generic VM extension case#4425
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new generic VM extension validation test suite under the VM extensions test area, allowing extension publisher/type/version to be supplied via runbook variables.
Changes:
- Introduces
GenericVmExtension.verify_vm_extension_install_uninstallto install an extension, verify provisioning success, uninstall it, and re-check VM connectivity. - Adds helper methods for extension cleanup/install/delete/existence checks with basic retries.
❌ AI Test Selection — FAILED49 test case(s) selected (view run) Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest
Test case details
|
4279a94 to
4ddbedd
Compare
❌ AI Test Selection — FAILED49 test case(s) selected (view run) Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest
Test case details
|
LiliDeng
previously approved these changes
Apr 20, 2026
LiliDeng
approved these changes
Apr 20, 2026
❌ AI Test Selection — FAILED49 test case(s) selected (view run) Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest
Test case details
|
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.
Description
Add a generic test for validating VM extension install and uninstall. Extension publisher, type, and version are provided via runbook variables.
Related Issue
Type of Change
Checklist
Test Validation
Runbook:
Key Test Cases:
verify_vm_extension_install_uninstall
Impacted LISA Features:
None
Tested Azure Marketplace Images:
Canonical 0001-com-ubuntu-server-focal 20_04-lts-gen2 latest
Test Results
2026-04-16 09:44:24.353[29068][INFO] lisa.RootRunner GenericVmExtension.verify_vm_extension_install_uninstall: PASSED
2026-04-16 09:44:24.353[29068][INFO] lisa.RootRunner test result summary
2026-04-16 09:44:24.353[29068][INFO] lisa.RootRunner TOTAL : 1
2026-04-16 09:44:24.353[29068][INFO] lisa.RootRunner QUEUED : 0
2026-04-16 09:44:24.353[29068][INFO] lisa.RootRunner ASSIGNED : 0
2026-04-16 09:44:24.353[29068][INFO] lisa.RootRunner RUNNING : 0
2026-04-16 09:44:24.353[29068][INFO] lisa.RootRunner FAILED : 0
2026-04-16 09:44:24.354[29068][INFO] lisa.RootRunner PASSED : 1
2026-04-16 09:44:24.354[29068][INFO] lisa.RootRunner SKIPPED : 0