Skip to content

Quarantine Docker and Kubernetes E2E tests on main#15515

Merged
mitchdenny merged 1 commit intomainfrom
quarantine-docker-k8s-e2e-15511-main
Mar 24, 2026
Merged

Quarantine Docker and Kubernetes E2E tests on main#15515
mitchdenny merged 1 commit intomainfrom
quarantine-docker-k8s-e2e-15511-main

Conversation

@mitchdenny
Copy link
Member

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

Same change as #15512 (targeting release/13.2).

Root Cause

On release branches, 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 01:02
@github-actions
Copy link
Contributor

🚀 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 -- 15515

Or

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

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

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.

@mitchdenny mitchdenny self-assigned this Mar 24, 2026
@mitchdenny mitchdenny added this to the 13.3 milestone Mar 24, 2026
@github-actions
Copy link
Contributor

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.
GitHub was asked to rerun all failed jobs for that attempt, and the rerun is being tracked in the rerun attempt.
The job links below point to the failed attempt jobs that matched the retry-safe transient failure rules.

@mitchdenny mitchdenny enabled auto-merge (squash) March 24, 2026 02:27
@mitchdenny mitchdenny merged commit 936a01a into main Mar 24, 2026
498 of 501 checks passed
@mitchdenny mitchdenny deleted the quarantine-docker-k8s-e2e-15511-main branch March 24, 2026 02:32
@github-actions
Copy link
Contributor

🎬 CLI E2E Test Recordings — 49 recordings uploaded (commit e960d0e)

View recordings
Test Recording
AddPackageInteractiveWhileAppHostRunningDetached ▶️ View Recording
AddPackageWhileAppHostRunningDetached ▶️ View Recording
AgentCommands_AllHelpOutputs_AreCorrect ▶️ View Recording
AgentInitCommand_DefaultSelection_InstallsSkillOnly ▶️ View Recording
AgentInitCommand_MigratesDeprecatedConfig ▶️ View Recording
AspireAddPackageVersionToDirectoryPackagesProps ▶️ View Recording
AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps ▶️ View Recording
Banner_DisplayedOnFirstRun ▶️ View Recording
Banner_DisplayedWithExplicitFlag ▶️ View Recording
CertificatesClean_RemovesCertificates ▶️ View Recording
CertificatesTrust_WithNoCert_CreatesAndTrustsCertificate ▶️ View Recording
CertificatesTrust_WithUntrustedCert_TrustsCertificate ▶️ View Recording
ConfigSetGet_CreatesNestedJsonFormat ▶️ View Recording
CreateAndRunAspireStarterProject ▶️ View Recording
CreateAndRunAspireStarterProjectWithBundle ▶️ View Recording
CreateAndRunEmptyAppHostProject ▶️ View Recording
CreateAndRunJsReactProject ▶️ View Recording
CreateAndRunPythonReactProject ▶️ View Recording
CreateAndRunTypeScriptEmptyAppHostProject ▶️ View Recording
CreateAndRunTypeScriptStarterProject ▶️ View Recording
CreateStartAndStopAspireProject ▶️ View Recording
CreateTypeScriptAppHostWithViteApp ▶️ View Recording
DescribeCommandResolvesReplicaNames ▶️ View Recording
DescribeCommandShowsRunningResources ▶️ View Recording
DetachFormatJsonProducesValidJson ▶️ View Recording
DoctorCommand_DetectsDeprecatedAgentConfig ▶️ View Recording
DoctorCommand_WithSslCertDir_ShowsTrusted ▶️ View Recording
DoctorCommand_WithoutSslCertDir_ShowsPartiallyTrusted ▶️ View Recording
GlobalMigration_HandlesCommentsAndTrailingCommas ▶️ View Recording
GlobalMigration_HandlesMalformedLegacyJson ▶️ View Recording
GlobalMigration_PreservesAllValueTypes ▶️ View Recording
GlobalMigration_SkipsWhenNewConfigExists ▶️ View Recording
GlobalSettings_MigratedFromLegacyFormat ▶️ View Recording
InvalidAppHostPathWithComments_IsHealedOnRun ▶️ View Recording
LogsCommandShowsResourceLogs ▶️ View Recording
PsCommandListsRunningAppHost ▶️ View Recording
PsFormatJsonOutputsOnlyJsonToStdout ▶️ View Recording
PublishWithDockerComposeServiceCallbackSucceeds ▶️ View Recording
RestoreGeneratesSdkFiles ▶️ View Recording
RunWithMissingAwaitShowsHelpfulError ▶️ View Recording
SecretCrudOnDotNetAppHost ▶️ View Recording
SecretCrudOnTypeScriptAppHost ▶️ View Recording
StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels ▶️ View Recording
StopAllAppHostsFromAppHostDirectory ▶️ View Recording
StopAllAppHostsFromUnrelatedDirectory ▶️ View Recording
StopNonInteractiveMultipleAppHostsShowsError ▶️ View Recording
StopNonInteractiveSingleAppHost ▶️ View Recording
StopWithNoRunningAppHostExitsSuccessfully ▶️ View Recording
TypeScriptAppHostWithProjectReferenceIntegration ▶️ View Recording

📹 Recordings uploaded automatically from CI run #23467992906

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.

SuppressFinalPackageVersion causes E2E test failures on release branches

3 participants