Skip to content

fix(ci): isolate Azure live-test resources - #873

Merged
Xuanwo merged 3 commits into
mainfrom
xuanwo/azure-live-test-resources
Sep 10, 2026
Merged

Xuanwo merged 3 commits into
mainfrom
xuanwo/azure-live-test-resources

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Azure live tests fail across providers when the shared probe.txt disappears. The CI storage account has a lifecycle policy that deletes blobs older than one day, so a persistent probe cannot be a prerequisite for running tests. Each live-test job now creates its own private probe and removes it after the test command exits. SAS cases receive a short-lived, read-only token for that object. GitHub owns the Azure Pipelines probe through completion or cancellation, preserving the pipeline identity's existing Blob Reader access. A run variable carries the probe URL without requiring new parameters in the deployed bootstrap YAML. The pipeline definition explicitly permits overriding this non-secret variable at queue time; other queue-time variable restrictions remain enabled.

IMDS deployment retries also use distinct resource names and clean up partially created NICs and disks. This prevents a failed deployment in eastus from blocking the eastus2 fallback with InvalidResourceLocation. The AWS IMDS VM also gets temporary swap for Docker installation, which previously exited with status 137 on t3.nano.

Manual validation on 460239b: live Azure Shared Key and SAS reads passed through static/environment providers and signing tests; probe deletion was verified after both successful tests and a command exiting with status 42. The Azure IMDS live job passed in GitHub Actions. Actual Azure Pipelines execution at 37c9713 passed in run 24, including probe cleanup. YAML previews alone do not validate permission to override queue-time variables. All 63 GitHub checks passed on 2b7cab4, including the complete Azure live-test workflow and AWS live-test workflow. The AWS IMDS bootstrap completed successfully with temporary swap.

@Xuanwo
Xuanwo marked this pull request as ready for review September 9, 2026 06:14
@Xuanwo
Xuanwo merged commit 29f3a9a into main Sep 10, 2026
63 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/azure-live-test-resources branch September 10, 2026 09:56
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.

1 participant