test(vm_extensions): normalize AzCertify extension tags - #4688
test(vm_extensions): normalize AzCertify extension tags#4688Bhavya (bhpedapu) wants to merge 1 commit into
Conversation
Use lowercase publisher and extension type identifiers so AzCertify can discover the Phase 1 boot validation tests consistently. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4eb9bc67-81fc-4158-96dc-c3b3f4ec2195
|
Bhavya (@bhpedapu) please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
1 similar comment
|
Bhavya (@bhpedapu) please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
There was a problem hiding this comment.
Pull request overview
This PR normalizes AzCertify discovery tags for six Phase 1 VM extension boot-validation suites by switching extension-specific tags to a lowercase <publisher>.<extensionType> identifier while keeping the shared VM_Extension tag.
Changes:
- Updated
@TestSuiteMetadata(tags=...)for the six targeted VM extension suites to use the normalized lowercase identifier. - Reformatted the Azure Security Linux Agent tag list into a multi-line list for readability.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| lisa/microsoft/testsuites/vm_extensions/runtime_extensions/run_commandv1.py | Replaces the suite’s extension-specific tag with the normalized lowercase publisher/type tag. |
| lisa/microsoft/testsuites/vm_extensions/runtime_extensions/custom_script.py | Replaces the suite’s extension-specific tag with the normalized lowercase publisher/type tag. |
| lisa/microsoft/testsuites/vm_extensions/runtime_extensions/azure_security_linux_agent.py | Replaces the suite’s extension-specific tag with the normalized lowercase publisher/type tag (multi-line list). |
| lisa/microsoft/testsuites/vm_extensions/runtime_extensions/azure_monitor_linux_agent.py | Replaces the suite’s extension-specific tag with the normalized lowercase publisher/type tag. |
| lisa/microsoft/testsuites/vm_extensions/aks_linux_billing.py | Replaces the suite’s extension-specific tag with the normalized lowercase publisher/type tag. |
| lisa/microsoft/testsuites/vm_extensions/aks_linux_aksnode.py | Replaces the suite’s extension-specific tag with the normalized lowercase publisher/type tag. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| 12. File uri (pointing to python script) and command in public settings | ||
| """, | ||
| tags=["VM_Extension", "CustomScript"], | ||
| tags=["VM_Extension", "microsoft.azure.extensions.customscript"], |
| tags=[ | ||
| "VM_Extension", | ||
| "microsoft.azure.security.monitoring.azuresecuritylinuxagent", | ||
| ], |
|
|
||
| """, | ||
| tags=["VM_Extension", "RunCommandLinux"], | ||
| tags=["VM_Extension", "microsoft.cplat.core.runcommandlinux"], |
| extension. | ||
| """, | ||
| tags=["VM_Extension", "AzureMonitorLinuxAgent"], | ||
| tags=["VM_Extension", "microsoft.azure.monitor.azuremonitorlinuxagent"], |
| This test suite validates the Microsoft AKS Linux Billing VM extension. | ||
| """, | ||
| tags=["VM_Extension", "Microsoft.AKS.Compute.AKS.Linux.Billing"], | ||
| tags=["VM_Extension", "microsoft.aks.compute.aks.linux.billing"], |
| This test suite validates the Microsoft AKS Linux AKSNode VM extension. | ||
| """, | ||
| tags=["VM_Extension", "Microsoft.AKS.Compute.AKS.Linux.AKSNode"], | ||
| tags=["VM_Extension", "microsoft.aks.compute.aks.linux.aksnode"], |
Description
Normalizes the AzCertify discovery tags for six Phase 1 VM extension boot-validation suites. Each extension-specific tag now uses a lowercase
<publisher>.<extensionType>identifier while preserving the existingVM_Extensiontag.Updated tags:
microsoft.azure.extensions.customscriptmicrosoft.azure.security.monitoring.azuresecuritylinuxagentmicrosoft.azure.monitor.azuremonitorlinuxagentmicrosoft.aks.compute.aks.linux.billingmicrosoft.aks.compute.aks.linux.aksnodemicrosoft.cplat.core.runcommandlinuxNo testcase names, extension installation logic, requirements, or runtime behavior changed.
Related Issue
None.
Type of Change
Checklist
Test Validation
Key Test Cases:
microsoft_azure_extensions_customscript_boot_validation_test|microsoft_azure_security_monitoring_azuresecuritylinuxagent_boot_validation_test|microsoft_azure_monitor_azuremonitorlinuxagent_boot_validation_test|microsoft_aks_compute_aks_linux_billing_boot_validation_test|microsoft_aks_compute_aks_linux_aksnode_boot_validation_test|microsoft_cplat_core_runcommandlinux_boot_validation_test
Impacted LISA Features:
AzureExtension
Tested Azure Marketplace Images:
Test Results