Quarantine Docker and Kubernetes E2E tests on main#15515
Conversation
SuppressFinalPackageVersion=true packages get assembly version 42.42.42.42 while stable packages resolve from nuget.org with 13.2.0.0, causing CS1705 and NU1102 errors on release branches. Tracking issue: #15511 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15515Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15515" |
There was a problem hiding this comment.
Pull request overview
Quarantines specific Aspire CLI E2E tests (Docker deployment and Kubernetes publish) so CI can sequester/ignore their failures while a known package versioning mismatch (tracked in #15511) is investigated and fixed.
Changes:
- Mark Docker deployment E2E tests as quarantined via
[QuarantinedTest("https://github.com/microsoft/aspire/issues/15511")]. - Mark Kubernetes publish E2E test as quarantined via the same attribute.
- Add
using Aspire.TestUtilities;to enable the quarantine attribute in the affected test files.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/Aspire.Cli.EndToEnd.Tests/DockerDeploymentTests.cs | Adds QuarantinedTest trait to Docker compose deployment E2E tests. |
| tests/Aspire.Cli.EndToEnd.Tests/KubernetesPublishTests.cs | Adds QuarantinedTest trait to the KinD/Helm Kubernetes publish E2E test. |
|
Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
|
|
🎬 CLI E2E Test Recordings — 49 recordings uploaded (commit View recordings
📹 Recordings uploaded automatically from CI run #23467992906 |
Quarantines the Docker deployment and Kubernetes publish E2E tests on
maindue to a versioning mismatch withSuppressFinalPackageVersion=truepackages on release branches.Same change as #15512 (targeting
release/13.2).Root Cause
On release branches,
StabilizePackageVersion=truecreates a version split:Aspire.Hosting): version13.2.0, assembly version13.2.0.0(from nuget.org)SuppressFinalPackageVersion=true, e.g.Aspire.Hosting.Docker,Aspire.Hosting.Kubernetes): version13.2.0-ci, assembly version42.42.42.42This causes:
42.42.42.42vs13.2.0.0)13.2.0-cidoesn't satisfy>= 13.2.0-preview.1.xconstraintChanges
Added
[QuarantinedTest("https://github.com/microsoft/aspire/issues/15511")]to:DockerDeploymentTests.CreateAndDeployToDockerCompose()DockerDeploymentTests.CreateAndDeployToDockerComposeInteractive()KubernetesPublishTests.CreateAndPublishToKubernetes()Fixes #15511