Skip to content

Use aspnetapp-9.0 tag in ACA compact naming deployment tests - #17014

Merged
Mitch Denny (mitchdenny) merged 4 commits into
mainfrom
mitchdenny/fix-aca-aspnetapp-image-tag
May 15, 2026
Merged

Mitch Denny (mitchdenny) merged 4 commits into
mainfrom
mitchdenny/fix-aca-aspnetapp-image-tag

Conversation

@mitchdenny

Copy link
Copy Markdown
Member

The AcaCompactNamingDeploymentTests (and the upgrade variant) have been failing because Azure Container Apps rejects the worker container image:

Failed to provision revision for container app 'worker'. Error details:
Field 'template.containers.worker.image' is invalid with details:
'Invalid value: "mcr.microsoft.com/dotnet/samples:aspnetapp":
no child with platform linux/amd64 in index mcr.microsoft.com/dotnet/samples:aspnetapp'

The unversioned mcr.microsoft.com/dotnet/samples:aspnetapp tag now only publishes a Windows amd64 manifest — there is no linux/amd64 child anymore. Verified by inspecting the manifest list directly:

$ curl -s https://mcr.microsoft.com/v2/dotnet/samples/manifests/aspnetapp \
    -H 'Accept: application/vnd.docker.distribution.manifest.list.v2+json'
# only contains a single windows/amd64 entry

The aspnetapp-10.0 tag has the same problem (Windows only). The aspnetapp-9.0 tag still publishes the full set of linux platforms (linux/amd64, linux/arm/v7, linux/arm64) plus Windows, so this PR switches both deployment tests to that tag and adds a comment explaining why we can't use the unversioned tag.

The unversioned mcr.microsoft.com/dotnet/samples:aspnetapp tag now only
publishes a Windows amd64 manifest, with no linux/amd64 child, which
causes Azure Container Apps to reject the image during provisioning.

Switch to the versioned aspnetapp-9.0 tag, which still publishes the
full set of linux platforms.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings May 13, 2026 12:22
@github-actions

github-actions Bot commented May 13, 2026 •

Copy link
Copy Markdown
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 -- 17014

Or

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates Azure Container Apps compact naming deployment E2E tests to use a Linux-compatible sample image tag to avoid ACA rejecting the worker container image due to missing linux/amd64 support on the unversioned aspnetapp (and aspnetapp-10.0) tags.

Changes:

  • Switch the sample worker container image tag from aspnetapp to aspnetapp-9.0 in both compact naming deployment tests.
  • Add an inline comment explaining why a versioned tag is required for ACA.
Show a summary per file
File Description
tests/Aspire.Deployment.EndToEnd.Tests/AcaCompactNamingDeploymentTests.cs Pins the worker sample image to aspnetapp-9.0 and documents the ACA/Linux manifest constraint.
tests/Aspire.Deployment.EndToEnd.Tests/AcaCompactNamingUpgradeDeploymentTests.cs Pins the worker sample image to aspnetapp-9.0 in the upgrade scenario and documents the ACA/Linux manifest constraint.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

@mitchdenny

Copy link
Copy Markdown
Member Author

/deployment-test

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Deployment tests starting on PR #17014...

This will deploy to real Azure infrastructure. Results will be posted here when complete.

View workflow run

@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot had a problem deploying to deployment-testing May 13, 2026 12:52 Failure
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot had a problem deploying to deployment-testing May 13, 2026 12:52 Failure
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 13, 2026 12:52 Inactive
@github-actions
github-actions Bot had a problem deploying to deployment-testing May 15, 2026 03:50 Failure
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions
github-actions Bot temporarily deployed to deployment-testing May 15, 2026 03:50 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

❌ Deployment E2E Tests failed — 34 passed, 1 failed, 0 cancelled

View test results and recordings

View workflow run

Test Result Recording
Deployment.EndToEnd-AzureStorageDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureServiceBusDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-KubernetesHelmChartDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureEventHubsDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureKeyVaultDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetKeyVaultConnectivityDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureLogAnalyticsDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-KubernetesGatewayTlsDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-TypeScriptVnetSqlServerInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetSqlServerInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaCompactNamingDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-TypeScriptExpressDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaCustomRegistryDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaManagedRedisDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetKeyVaultInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AuthenticationTests ✅ Passed
Deployment.EndToEnd-VnetStorageBlobConnectivityDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaExistingRegistryDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureContainerRegistryDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksBlazorRedisDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaStarterDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AzureAppConfigDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AcaDeploymentErrorOutputTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-NspStorageKeyVaultDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetSqlServerConnectivityDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksWithAzureResourcesDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksMultipleNodePoolsDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksStarterWithRedisHelmDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksVnetInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksWithHelmChartDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-VnetStorageBlobInfraDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AppServiceReactDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksStarterDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-AksVnetWithAzureResourcesDeploymentTests ✅ Passed ▶️ View Recording
Deployment.EndToEnd-FrontDoorDeploymentTests ❌ Failed ▶️ View Recording

dotnet/samples README explicitly says those images can break at any time
and consumers should mirror or pin a digest. We've already moved off
dotnet/samples to azuredocs/aci-helloworld, but pin to the multi-arch
index digest as well to harden the test against future tag churn on any
upstream image.

Reference: dotnet/dotnet-docker#7191

Co-authored-by: Copilot <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🎬 CLI E2E Test Recordings — 82 recordings uploaded (commit 633aa63)

View all recordings
Status 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
❔ AspireInitSingleFileAppHostRunsViaDotnetRunAppHost ▶️ View Recording
❔ AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps ▶️ View Recording
❔ AspireUpdateRemovesOrphanAppHostPackageVersionWhenSdkAlreadyCurrent ▶️ View Recording
❔ Banner_DisplayedOnFirstRun ▶️ View Recording
❔ Banner_DisplayedWithExplicitFlag ▶️ View Recording
❔ Banner_NotDisplayedWithNoLogoFlag ▶️ 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
❔ CreateAndRunJavaEmptyAppHostProject ▶️ View Recording
❔ CreateAndRunJsReactProject ▶️ View Recording
❔ CreateAndRunPythonReactProject ▶️ View Recording
❔ CreateAndRunTypeScriptEmptyAppHostProject ▶️ View Recording
❔ CreateAndRunTypeScriptStarterProject ▶️ View Recording
❔ CreateJavaAppHostWithViteApp ▶️ View Recording
❔ CreateTypeScriptAppHostWithViteApp_UsesConfiguredToolchain ▶️ View Recording
❔ DashboardRunWithOtelTracesReturnsNoTraces ▶️ View Recording
❔ DeployK8sBasicApiService ▶️ View Recording
❔ DeployK8sWithExternalHelmChart ▶️ View Recording
❔ DeployK8sWithGarnet ▶️ View Recording
❔ DeployK8sWithMongoDB ▶️ View Recording
❔ DeployK8sWithMySql ▶️ View Recording
❔ DeployK8sWithPostgres ▶️ View Recording
❔ DeployK8sWithRabbitMQ ▶️ View Recording
❔ DeployK8sWithRedis ▶️ View Recording
❔ DeployK8sWithSqlServer ▶️ View Recording
❔ DeployK8sWithValkey ▶️ View Recording
❔ DeployTypeScriptAppToKubernetes ▶️ View Recording
❔ DescribeCommandResolvesReplicaNames ▶️ View Recording
❔ DescribeCommandShowsRunningResources ▶️ View Recording
❔ DetachFormatJsonProducesValidJson ▶️ View Recording
❔ DetachFormatJsonProducesValidJsonWhenRestartingExistingInstance ▶️ View Recording
❔ DoListStepsShowsPipelineSteps ▶️ View Recording
❔ DocsCommand_RendersInteractiveMarkdownFromLocalSource ▶️ View Recording
❔ DoctorCommand_DetectsDeprecatedAgentConfig ▶️ View Recording
❔ DoctorCommand_TypeScriptAppHostReportsMissingConfiguredToolchain ▶️ 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
❔ InitTypeScriptAppHost_AugmentsExistingViteRepoAtRoot ▶️ View Recording
❔ InteractiveCSharpInitCreatesExpectedFiles ▶️ View Recording
❔ InvalidAppHostPathWithComments_IsHealedOnRun ▶️ View Recording
❔ LatestCliCanStartStableChannelAppHost ▶️ View Recording
❔ LatestCliCanStartStableChannelTypeScriptAppHost ▶️ View Recording
❔ LegacySettingsMigration_AdjustsRelativeAppHostPath ▶️ View Recording
❔ LogLevelTrace_ProducesTraceEntriesInCliLogFile ▶️ View Recording
❔ LogsCommandShowsResourceLogs ▶️ View Recording
❔ OtelLogsReturnsStructuredLogsFromStarterAppCore ▶️ View Recording
❔ PsCommandListsRunningAppHost ▶️ View Recording
❔ PsFormatJsonOutputsOnlyJsonToStdout ▶️ View Recording
❔ PublishWithConfigureEnvFileUpdatesEnvOutput ▶️ View Recording
❔ PublishWithDockerComposeServiceCallbackSucceeds ▶️ View Recording
❔ PublishWithoutOutputPathUsesAppHostDirectoryDefault ▶️ View Recording
❔ ResourceCommand_FailsWhenInteractionServiceIsRequired ▶️ View Recording
❔ RestoreGeneratesSdkFiles ▶️ View Recording
❔ RestoreGeneratesSdkFiles_WithConfiguredToolchain ▶️ View Recording
❔ RestoreRefreshesGeneratedSdkAfterAddingIntegration ▶️ View Recording
❔ RestoreSupportsConfigOnlyHelperPackageAndCrossPackageTypes ▶️ View Recording
❔ RunFromParentDirectory_UsesExistingConfigNearAppHost ▶️ View Recording
❔ SecretCrudOnDotNetAppHost ▶️ View Recording
❔ SecretCrudOnTypeScriptAppHost ▶️ View Recording
❔ StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels ▶️ View Recording
❔ StartAndWaitForTypeScriptSqlServerAppHostWithNativeAssets ▶️ View Recording
❔ StopAllAppHostsFromAppHostDirectory ▶️ View Recording
❔ StopNonInteractiveSingleAppHost ▶️ View Recording
❔ StopWithNoRunningAppHostExitsSuccessfully ▶️ View Recording
❔ UnAwaitedChainsCompileWithAutoResolvePromises ▶️ View Recording
❔ UpdateProjectChannelToStable_TypeScript_PicksUpStablePackages ▶️ View Recording

📹 Recordings uploaded automatically from CI run #25899957252

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

✅ No documentation update needed.

docs_optional → test_only

No signals triggered (signal_count: 0). The advisory only_test_or_build_changes signal fired. Both changed files are deployment test files under tests/, switching the aspnetapp container image tag to aspnetapp-9.0 to fix CI failures — no user-facing behavior, public API, or documentation surface was affected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants