Skip to content

Quarantine Docker and Kubernetes E2E tests on release/13.2#15512

Merged
mitchdenny merged 2 commits intorelease/13.2from
quarantine-docker-k8s-e2e-15511
Mar 24, 2026
Merged

Quarantine Docker and Kubernetes E2E tests on release/13.2#15512
mitchdenny merged 2 commits intorelease/13.2from
quarantine-docker-k8s-e2e-15511

Conversation

@mitchdenny
Copy link
Member

@mitchdenny mitchdenny commented Mar 24, 2026

Quarantines the Docker deployment and Kubernetes publish E2E tests on release/13.2 due to a versioning mismatch with SuppressFinalPackageVersion=true packages.

Root Cause

On release/13.2, StabilizePackageVersion=true creates a version split:

  • Stable packages (e.g. Aspire.Hosting): version 13.2.0, assembly version 13.2.0.0 (from nuget.org)
  • Suppressed packages (SuppressFinalPackageVersion=true, e.g. Aspire.Hosting.Docker, Aspire.Hosting.Kubernetes): version 13.2.0-ci, assembly version 42.42.42.42

This causes:

  • Docker tests: CS1705 assembly version mismatch (42.42.42.42 vs 13.2.0.0)
  • Kubernetes tests: NU1102 — 13.2.0-ci doesn't satisfy >= 13.2.0-preview.1.x constraint

Changes

Added [QuarantinedTest("https://github.com/microsoft/aspire/issues/15511")] to:

  • DockerDeploymentTests.CreateAndDeployToDockerCompose()
  • DockerDeploymentTests.CreateAndDeployToDockerComposeInteractive()
  • KubernetesPublishTests.CreateAndPublishToKubernetes()

Fixes #15511

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>
Copilot AI review requested due to automatic review settings March 24, 2026 00:06
@github-actions
Copy link
Contributor

github-actions bot commented Mar 24, 2026

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15512

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15512"

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR quarantines specific Aspire CLI end-to-end tests (Docker deployment and Kubernetes publish) on release/13.2 to avoid known failures caused by package/assembly version mismatches when SuppressFinalPackageVersion=true packages interact with stabilized release versions.

Changes:

  • Marked the Docker Compose deployment E2E tests as quarantined with a link to issue #15511.
  • Marked the Kubernetes publish-to-KinD/Helm E2E test as quarantined with a link to issue #15511.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
tests/Aspire.Cli.EndToEnd.Tests/DockerDeploymentTests.cs Quarantines Docker deployment E2E tests that are currently failing due to versioning mismatch on release/13.2.
tests/Aspire.Cli.EndToEnd.Tests/KubernetesPublishTests.cs Quarantines the Kubernetes publish E2E test that is currently failing due to versioning mismatch on release/13.2.

Comment on lines 28 to 30
[Fact]
[QuarantinedTest("https://github.com/microsoft/aspire/issues/15511")]
public async Task CreateAndPublishToKubernetes()
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QuarantinedTest is in the Aspire.TestUtilities namespace; this file currently doesn't import it, so the new attribute will be an unresolved type at compile time. Add using Aspire.TestUtilities; (or fully qualify the attribute).

Copilot uses AI. Check for mistakes.
Comment on lines 20 to 22
[Fact]
[QuarantinedTest("https://github.com/microsoft/aspire/issues/15511")]
public async Task CreateAndDeployToDockerCompose()
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QuarantinedTest is defined in the Aspire.TestUtilities namespace, but this file doesn't import it (unlike other E2E tests). As written, this will fail to compile with an unresolved attribute type; add using Aspire.TestUtilities; (or fully-qualify the attribute).

Copilot uses AI. Check for mistakes.
Comment on lines 142 to 144
[Fact]
[QuarantinedTest("https://github.com/microsoft/aspire/issues/15511")]
public async Task CreateAndDeployToDockerComposeInteractive()
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue as above: QuarantinedTest isn't in scope in this file, so this attribute usage will not compile unless you add using Aspire.TestUtilities; (or fully qualify the attribute).

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mitchdenny
Copy link
Member Author

Merging to unblock CI, and importantly PR #15504

@mitchdenny mitchdenny merged commit f9a8c63 into release/13.2 Mar 24, 2026
249 of 252 checks passed
@mitchdenny mitchdenny deleted the quarantine-docker-k8s-e2e-15511 branch March 24, 2026 00:58
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.

2 participants