[Failing test]: Aspire.Hosting.Tests.Backchannel.Exec.ContainerResourceExecTests.Exec\_NginxContainer\_ListFiles\_ProducesLogs\_Success
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Build information
Build: https://github.com/microsoft/aspire/actions/runs/24273345519
Build error leg or test failing: Aspire.Hosting.Tests.Backchannel.Exec.ContainerResourceExecTests.Exec\_NginxContainer\_ListFiles\_ProducesLogs\_Success
Logs: [Tests / Hosting-4 / Hosting-4 \(8-core-ubuntu-latest\)](https://github.com/microsoft/aspire/actions/runs/24273345519/job/70883218738)
Artifact: [All-TestResults](https://github.com/microsoft/aspire/actions/runs/24273345519/artifacts/6383074540)
### Fill in the error message template
## Error Message
Fill the error message using [step by step known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssueJsonStepByStep.md).
```json
{
"ErrorMessage": "",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```
### Error details
```yml
Error Message: System.OperationCanceledException : The operation was canceled.
Stack Trace:
at System.Threading.Channels.AsyncOperation`1.GetResult(Int16 token)
at Aspire.ChannelExtensions.GetBatchesAsync[T](Channel`1 channel, Nullable`1 minReadInterval, CancellationToken cancellationToken)+MoveNext() in /_/src/Shared/ChannelExtensions.cs:line 36
at Aspire.ChannelExtensions.GetBatchesAsync[T](Channel`1 channel, Nullable`1 minReadInterval, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource.GetResult()
at Aspire.Hosting.ApplicationModel.ResourceLoggerService.ResourceLoggerState.WatchAsync(CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/ApplicationModel/ResourceLoggerService.cs:line 469
at Aspire.Hosting.ApplicationModel.ResourceLoggerService.ResourceLoggerState.WatchAsync(CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/ApplicationModel/ResourceLoggerService.cs:line 469
at Aspire.Hosting.ApplicationModel.ResourceLoggerService.ResourceLoggerState.WatchAsync(CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource.GetResult()
at Aspire.Hosting.Exec.ExecResourceManager.StreamExecResourceLogs(CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Exec/ExecResourceManager.cs:line 113
at Aspire.Hosting.Exec.ExecResourceManager.StreamExecResourceLogs(CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Exec/ExecResourceManager.cs:line 113
at Aspire.Hosting.Exec.ExecResourceManager.StreamExecResourceLogs(CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource.GetResult()
at Aspire.Hosting.Backchannel.AppHostRpcTarget.ExecAsync(CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Backchannel/AppHostRpcTarget.cs:line 166
at Aspire.Hosting.Backchannel.AppHostRpcTarget.ExecAsync(CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Backchannel/AppHostRpcTarget.cs:line 166
at Aspire.Hosting.Backchannel.AppHostRpcTarget.ExecAsync(CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource.GetResult()
at Aspire.Hosting.Tests.Backchannel.Exec.ExecTestsBase.ExecWithLogCollectionAsync(DistributedApplication app, Int32 timeoutSec) in /home/runner/work/aspire/aspire/tests/Aspire.Hosting.Tests/Backchannel/Exec/ExecTestsBase.cs:line 33
at Aspire.Hosting.Tests.Backchannel.Exec.ExecTestsBase.ExecWithLogCollectionAsync(DistributedApplication app, Int32 timeoutSec) in /home/runner/work/aspire/aspire/tests/Aspire.Hosting.Tests/Backchannel/Exec/ExecTestsBase.cs:line 33
at Aspire.Hosting.Tests.Backchannel.Exec.ContainerResourceExecTests.Exec_NginxContainer_ListFiles_ProducesLogs_Success() in /home/runner/work/aspire/aspire/tests/Aspire.Hosting.Tests/Backchannel/Exec/ContainerResourceExecTests.cs:line 57
--- End of stack trace from previous location ---
```
Standard Output
```yml
| [2026-04-11T03:27:21] Aspire.Hosting.Exec.ExecResourceManager Debug: Exec container resource 'test-exec' will run command 'ls' with 0 args ''.
| [2026-04-11T03:27:21] Aspire.Hosting.Exec.ExecResourceManager Debug: Exec container resource 'test-exec' will run command 'ls' with 0 args ''.
| [2026-04-11T03:27:21] Aspire.Hosting.Exec.ExecResourceManager Debug: Resource 'test-exec' has been successfully built and added to the model resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Exec.ExecResourceManager Debug: Resource 'test-exec' has been successfully built and added to the model resources.
| [2026-04-11T03:27:21] Aspire.Hosting.DistributedApplication Information: Aspire version: 13.3.0-pr.16053.g930c75c5
| [2026-04-11T03:27:21] Aspire.Hosting.DistributedApplication Information: Aspire version: 13.3.0-pr.16053.g930c75c5
| [2026-04-11T03:27:21] Aspire.Hosting.DistributedApplication Information: Distributed application starting.
| [2026-04-11T03:27:21] Aspire.Hosting.DistributedApplication Information: Distributed application starting.
| [2026-04-11T03:27:21] Aspire.Hosting.DistributedApplication Information: Application host directory is: /home/runner/work/aspire/aspire/tests/Aspire.Hosting.Tests
| [2026-04-11T03:27:21] Aspire.Hosting.DistributedApplication Information: Application host directory is: /home/runner/work/aspire/aspire/tests/Aspire.Hosting.Tests
| [2026-04-11T03:27:21] Aspire.Hosting.Cli.CliOrphanDetector Debug: No CLI process ID configured. Orphan detection disabled.
| [2026-04-11T03:27:21] Aspire.Hosting.Cli.CliOrphanDetector Debug: No CLI process ID configured. Orphan detection disabled.
| [2026-04-11T03:27:21] Aspire.Hosting.Cli.BackchannelService Debug: Listening for backchannel connection on socket path: /home/runner/.aspire/cli/backchannels/cli.sock.6c36ef8f15804e8b8d32a796284afceb
| [2026-04-11T03:27:21] Aspire.Hosting.Cli.BackchannelService Debug: Listening for backchannel connection on socket path: /home/runner/.aspire/cli/backchannels/cli.sock.6c36ef8f15804e8b8d32a796284afceb
| [2026-04-11T03:27:21] Aspire.Hosting.Backchannel.AuxiliaryBackchannelService Debug: Starting auxiliary backchannel service on socket path: /home/runner/.aspire/cli/backchannels/auxi.sock.89858172abd1829b.fffa1455f4ba.5454
| [2026-04-11T03:27:21] Aspire.Hosting.Backchannel.AuxiliaryBackchannelService Debug: Starting auxiliary backchannel service on socket path: /home/runner/.aspire/cli/backchannels/auxi.sock.89858172abd1829b.fffa1455f4ba.5454
| [2026-04-11T03:27:21] Aspire.Hosting.Backchannel.AuxiliaryBackchannelService Debug: Creating and binding server socket...
| [2026-04-11T03:27:21] Aspire.Hosting.Backchannel.AuxiliaryBackchannelService Debug: Creating and binding server socket...
| [2026-04-11T03:27:21] Aspire.Hosting.Backchannel.AuxiliaryBackchannelService Debug: Auxiliary backchannel listening on /home/runner/.aspire/cli/backchannels/auxi.sock.89858172abd1829b.fffa1455f4ba.5454
| [2026-04-11T03:27:21] Aspire.Hosting.Backchannel.AuxiliaryBackchannelService Debug: Auxiliary backchannel listening on /home/runner/.aspire/cli/backchannels/auxi.sock.89858172abd1829b.fffa1455f4ba.5454
Received output: # [level=info] [type=waiting] Waiting for resources to be initialized...
Received output: # [level=info] [type=waiting] Aspire exec starting...
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Waiting for resource 'test-exec' to enter one of the target state: Running
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Waiting for resource 'test-exec' to enter one of the target state: Running
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Waiting for resource 'test-exec' to enter one of the target state: Finished, FailedToStart, Exited
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Waiting for resource 'test-exec' to enter one of the target state: Finished, FailedToStart, Exited
| [2026-04-11T03:27:21] Aspire.Hosting.FileSystemService Debug: Allocated temporary directory: /tmp/aspire-dcpGil3OO
| [2026-04-11T03:27:21] Aspire.Hosting.FileSystemService Debug: Allocated temporary directory: /tmp/aspire-dcpGil3OO
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpHost Information: Starting DCP with arguments: start-apiserver --monitor 5454 --detach --kubeconfig "/tmp/aspire-dcpGil3OO/kubeconfig"
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpHost Information: Starting DCP with arguments: start-apiserver --monitor 5454 --detach --kubeconfig "/tmp/aspire-dcpGil3OO/kubeconfig"
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Preparing services. Ports randomized: True
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Preparing services. Ports randomized: True
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Starting health monitoring for resource 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Starting health monitoring for resource 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 1 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Running, Style = (null) }, IsHidden = False, HeathStatus = Healthy, ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { e = f }, Properties = { A = B c = d }, HealthReports = { }, Commands = { start (Inicio) = Hidden stop (Detener) = Enabled restart (Reiniciar) = Enabled }
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 1 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Running, Style = (null) }, IsHidden = False, HeathStatus = Healthy, ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { e = f }, Properties = { A = B c = d }, HealthReports = { }, Commands = { start (Inicio) = Hidden stop (Detener) = Enabled restart (Reiniciar) = Enabled }
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 1 Resource test-exec/test-exec-qrhvtffj update published: ResourceType = ContainerExec, CreationTimeStamp = (null), State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 1 Resource test-exec/test-exec-qrhvtffj update published: ResourceType = ContainerExec, CreationTimeStamp = (null), State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Endpoint resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Endpoint resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Executable resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Executable resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Container resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Container resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP ContainerExec resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP ContainerExec resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Service resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Dcp.DcpExecutor Debug: Watching over DCP Service resources.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Resource 'test' has no health checks to monitor.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Resource 'test' has no health checks to monitor.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Resource 'test' is ready.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Resource 'test' is ready.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Publishing ResourceReadyEvent for 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Publishing ResourceReadyEvent for 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Waiting for ResourceReadyEvent for 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Waiting for ResourceReadyEvent for 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: ResourceReadyEvent for 'test' completed.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: ResourceReadyEvent for 'test' completed.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Publishing the result of ResourceReadyEvent for 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Publishing the result of ResourceReadyEvent for 'test'.
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 2 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Running, Style = (null) }, IsHidden = False, HeathStatus = Healthy, ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { e = f }, Properties = { A = B c = d }, HealthReports = { }, Commands = { start (Inicio) = Hidden stop (Detener) = Enabled restart (Reiniciar) = Enabled }
| [2026-04-11T03:27:21] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 2 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Running, Style = (null) }, IsHidden = False, HeathStatus = Healthy, ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { e = f }, Properties = { A = B c = d }, HealthReports = { }, Commands = { start (Inicio) = Hidden stop (Detener) = Enabled restart (Reiniciar) = Enabled }
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server Debug: Starting API server...
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server Debug: Starting API server...
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.KubernetesService Debug: Successfully read Kubernetes configuration from '/tmp/aspire-dcpGil3OO/kubeconfig' after 1304 milliseconds.
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.KubernetesService Debug: Successfully read Kubernetes configuration from '/tmp/aspire-dcpGil3OO/kubeconfig' after 1304 milliseconds.
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server Debug: API server started {"Address": "::1", "Port": 43915}
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server Debug: API server started {"Address": "::1", "Port": 43915}
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.dcp-host Debug: Starting DCP controller host
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.dcp-host Debug: Starting DCP controller host
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.dcp-host Debug: Started all services {"count": 1}
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.start-apiserver.dcp-host Debug: Started all services {"count": 1}
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp Debug: [SHOULD NOT HAPPEN] failed to update managedFields {"versionKind": "usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetwork", "namespace": "", "name": "aspire-container-network", "error": "failed to convert new object (/aspire-container-network; usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetwork) to smd typed: no corresponding type for usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetwork"}
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp Debug: [SHOULD NOT HAPPEN] failed to update managedFields {"versionKind": "usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetwork", "namespace": "", "name": "aspire-container-network", "error": "failed to convert new object (/aspire-container-network; usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetwork) to smd typed: no corresponding type for usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetwork"}
| [2026-04-11T03:27:22] Aspire.Hosting.Orchestrator.ApplicationOrchestrator Trace: Converting relative endpoint URLs to absolute URLs for resource 'test'.
| [2026-04-11T03:27:22] Aspire.Hosting.Orchestrator.ApplicationOrchestrator Trace: Converting relative endpoint URLs to absolute URLs for resource 'test'.
| [2026-04-11T03:27:22] Aspire.Hosting.Orchestrator.ApplicationOrchestrator Trace: Added total of 0 URLs to resource 'test'
| [2026-04-11T03:27:22] Aspire.Hosting.Orchestrator.ApplicationOrchestrator Trace: Added total of 0 URLs to resource 'test'
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 3 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Running, Style = (null) }, IsHidden = False, HeathStatus = Healthy, ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { e = f }, Properties = { A = B c = d }, HealthReports = { }, Commands = { start (Inicio) = Hidden stop (Detener) = Enabled restart (Reiniciar) = Enabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 3 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Running, Style = (null) }, IsHidden = False, HeathStatus = Healthy, ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { e = f }, Properties = { A = B c = d }, HealthReports = { }, Commands = { start (Inicio) = Hidden stop (Detener) = Enabled restart (Reiniciar) = Enabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 4 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 4 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test/test-rrdqdhnu changed state: Starting
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test/test-rrdqdhnu changed state: Starting
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 5 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 5 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = (null), State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.IdeExecutableRunner Debug: Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp.IdeExecutableRunner Debug: Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp Debug: Starting controller manager
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.dcp Debug: Starting controller manager
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 2 Resource test-exec/test-exec-qrhvtffj update published: ResourceType = ContainerExec, CreationTimeStamp = (null), State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { executable.workDir = (null) executable.args = resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 2 Resource test-exec/test-exec-qrhvtffj update published: ResourceType = ContainerExec, CreationTimeStamp = (null), State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { executable.workDir = (null) executable.args = resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test-exec/test-exec-qrhvtffj changed state: Waiting
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test-exec/test-exec-qrhvtffj changed state: Waiting
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 3 Resource test-exec/test-exec-qrhvtffj update published: ResourceType = ContainerExec, CreationTimeStamp = (null), State = { Text = Waiting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { executable.workDir = (null) executable.args = resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Enabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 3 Resource test-exec/test-exec-qrhvtffj update published: ResourceType = ContainerExec, CreationTimeStamp = (null), State = { Text = Waiting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = False, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { executable.workDir = (null) executable.args = resource.appArgs = (null) resource.appArgsSensitivity = (null) }, HealthReports = { }, Commands = { start (Inicio) = Enabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
Received output: #1 [level=info] [type=waiting] 2026-04-11T03:27:22.7822122Z Waiting for resource 'test' to enter the 'Running' state.
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Waiting for resource 'test-exec' to match predicate.
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Waiting for resource 'test-exec' to match predicate.
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:22] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 6 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:22] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 6 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 7 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 7 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = (null), Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test/test-rrdqdhnu changed state: Starting
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test/test-rrdqdhnu changed state: Starting
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 8 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 8 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 9 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:23] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 9 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { }, Properties = { A = B c = d container.image = nginx:1.25 container.id = (null) container.command = (null) container.args = container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: Network created {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 2, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests"}
| [2026-04-11T03:27:23] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: Network created {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 2, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests"}
| [2026-04-11T03:27:49] Aspire.Hosting.Dcp.dcp Debug: [SHOULD NOT HAPPEN] failed to update managedFields {"versionKind": "usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetworkConnection", "namespace": "", "name": "test-rrdqdhnu-aspire-container-network-rhfpe22ass", "error": "failed to convert new object (/test-rrdqdhnu-aspire-container-network-rhfpe22ass; usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetworkConnection) to smd typed: no corresponding type for usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetworkConnection"}
| [2026-04-11T03:27:49] Aspire.Hosting.Dcp.dcp Debug: [SHOULD NOT HAPPEN] failed to update managedFields {"versionKind": "usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetworkConnection", "namespace": "", "name": "test-rrdqdhnu-aspire-container-network-rhfpe22ass", "error": "failed to convert new object (/test-rrdqdhnu-aspire-container-network-rhfpe22ass; usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetworkConnection) to smd typed: no corresponding type for usvc-dev.developer.microsoft.com/v1, Kind=ContainerNetworkConnection"}
| [2026-04-11T03:27:49] Aspire.Hosting.Dcp.dcp.ContainerReconciler Debug: Added new ContainerNetworkConnection {"Container": "/test-rrdqdhnu", "Reconciliation": 5, "resource_log_stream_id": "container-97bb0d18-e1fa-41c9-8f64-6917821ba27b", "ContainerName": "test-rrdqdhnu", "Network": "/aspire-container-network"}
| [2026-04-11T03:27:49] Aspire.Hosting.Dcp.dcp.ContainerReconciler Debug: Added new ContainerNetworkConnection {"Container": "/test-rrdqdhnu", "Reconciliation": 5, "resource_log_stream_id": "container-97bb0d18-e1fa-41c9-8f64-6917821ba27b", "ContainerName": "test-rrdqdhnu", "Network": "/aspire-container-network"}
| [2026-04-11T03:27:49] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:49] Aspire.Hosting.Dcp.DcpExecutor Trace: Updating application model resource test with Container resource test-rrdqdhnu
| [2026-04-11T03:27:49] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 10 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { NGINX_VERSION = 1.25.5 NJS_RELEASE = 3~bookworm NJS_VERSION = 0.8.4 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_RELEASE = 1~bookworm }, Properties = { A = B c = d container.image = nginx:1.25 container.id = 0c7a15da7818e37f8d7872e07537c09cb5fccc9629bc8284b4abc832d890ef5d container.command = (null) container.args = /docker-entrypoint.sh, nginx, -g, daemon off; container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:49] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 10 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = Starting, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { NGINX_VERSION = 1.25.5 NJS_RELEASE = 3~bookworm NJS_VERSION = 0.8.4 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_RELEASE = 1~bookworm }, Properties = { A = B c = d container.image = nginx:1.25 container.id = 0c7a15da7818e37f8d7872e07537c09cb5fccc9629bc8284b4abc832d890ef5d container.command = (null) container.args = /docker-entrypoint.sh, nginx, -g, daemon off; container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Disabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:51] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test/test-rrdqdhnu changed state: Starting -> FailedToStart
| [2026-04-11T03:27:51] Aspire.Hosting.ApplicationModel.ResourceNotificationService Debug: Resource test/test-rrdqdhnu changed state: Starting -> FailedToStart
| [2026-04-11T03:27:51] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 11 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = FailedToStart, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { NGINX_VERSION = 1.25.5 NJS_RELEASE = 3~bookworm NJS_VERSION = 0.8.4 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_RELEASE = 1~bookworm }, Properties = { A = B c = d container.image = nginx:1.25 container.id = 0c7a15da7818e37f8d7872e07537c09cb5fccc9629bc8284b4abc832d890ef5d container.command = (null) container.args = /docker-entrypoint.sh, nginx, -g, daemon off; container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Enabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:51] Aspire.Hosting.ApplicationModel.ResourceNotificationService Trace: Version: 11 Resource test/test-rrdqdhnu update published: ResourceType = TestProjectResource, CreationTimeStamp = 2026-04-11T03:27:22, State = { Text = FailedToStart, Style = (null) }, IsHidden = False, HeathStatus = (null), ResourceReady = True, ExitCode = (null), Urls = { }, EnvironmentVariables = { NGINX_VERSION = 1.25.5 NJS_RELEASE = 3~bookworm NJS_VERSION = 0.8.4 PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PKG_RELEASE = 1~bookworm }, Properties = { A = B c = d container.image = nginx:1.25 container.id = 0c7a15da7818e37f8d7872e07537c09cb5fccc9629bc8284b4abc832d890ef5d container.command = (null) container.args = /docker-entrypoint.sh, nginx, -g, daemon off; container.ports = container.lifetime = Session resource.appArgs = resource.appArgsSensitivity = }, HealthReports = { }, Commands = { start (Inicio) = Enabled stop (Detener) = Hidden restart (Reiniciar) = Disabled }
| [2026-04-11T03:27:51] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Stopping health monitoring for resource 'test'.
| [2026-04-11T03:27:51] Aspire.Hosting.Health.ResourceHealthCheckService Debug: Stopping health monitoring for resource 'test'.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Service resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Service resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Service resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Service resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation during creation of resources.
| System.Threading.Tasks.TaskCanceledException: A task was canceled.
| at Aspire.Hosting.Dcp.DcpExecutor.CreateDcpObjectsAsync[RT](IEnumerable`1 objects, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 495
| [2026-04-11T03:27:51] Microsoft.Extensions.Hosting.Internal.Host Error: BackgroundService failed
| System.OperationCanceledException: The operation was canceled.
| at System.Threading.CancellationToken.ThrowOperationCanceledException()
| at System.Threading.CancellationToken.ThrowIfCancellationRequested()
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
| at Aspire.Hosting.Cli.BackchannelService.ExecuteAsync(CancellationToken stoppingToken) in /_/src/Aspire.Hosting/Backchannel/BackchannelService.cs:line 66
| at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
| [2026-04-11T03:27:51] Microsoft.Extensions.Hosting.Internal.Host Error: BackgroundService failed
| System.OperationCanceledException: The operation was canceled.
| at System.Threading.CancellationToken.ThrowOperationCanceledException()
| at System.Threading.CancellationToken.ThrowIfCancellationRequested()
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
| at Aspire.Hosting.Cli.BackchannelService.ExecuteAsync(CancellationToken stoppingToken) in /_/src/Aspire.Hosting/Backchannel/BackchannelService.cs:line 66
| at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation during creation of resources.
| System.Threading.Tasks.TaskCanceledException: A task was canceled.
| at Aspire.Hosting.Dcp.DcpExecutor.CreateDcpObjectsAsync[RT](IEnumerable`1 objects, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpExecutor.cs:line 495
| [2026-04-11T03:27:51] Microsoft.Extensions.Hosting.Internal.Host Critical: The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted.
| System.OperationCanceledException: The operation was canceled.
| at System.Threading.CancellationToken.ThrowOperationCanceledException()
| at System.Threading.CancellationToken.ThrowIfCancellationRequested()
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
| at Aspire.Hosting.Cli.BackchannelService.ExecuteAsync(CancellationToken stoppingToken) in /_/src/Aspire.Hosting/Backchannel/BackchannelService.cs:line 66
| at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
| [2026-04-11T03:27:51] Microsoft.Extensions.Hosting.Internal.Host Critical: The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted.
| System.OperationCanceledException: The operation was canceled.
| at System.Threading.CancellationToken.ThrowOperationCanceledException()
| at System.Threading.CancellationToken.ThrowIfCancellationRequested()
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
| at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
| at Aspire.Hosting.Cli.BackchannelService.ExecuteAsync(CancellationToken stoppingToken) in /_/src/Aspire.Hosting/Backchannel/BackchannelService.cs:line 66
| at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Executable resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Executable resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Executable resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Executable resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Endpoint resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Endpoint resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Endpoint resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Endpoint resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching ContainerExec resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching ContainerExec resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching ContainerExec resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching ContainerExec resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Container resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Cancellation received while watching Container resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Container resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.DcpExecutor Debug: Stopped watching Container resources.
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.adminHttpHandler Debug: API server changed status {"OldStatus": "Running", "NewStatus": "CleaningResources"}
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.adminHttpHandler Debug: API server changed status {"OldStatus": "Running", "NewStatus": "CleaningResources"}
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: All expected containers are connected to the network {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 9, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests", "NetworkID": "2bd337203445", "Expected": 0, "Found": 0}
| [2026-04-11T03:27:51] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: All expected containers are connected to the network {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 9, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests", "NetworkID": "2bd337203445", "Expected": 0, "Found": 0}
| [2026-04-11T03:27:52] Aspire.Hosting.Dcp.dcp.ContainerReconciler Debug: No more Container resources are being watched, cancelling container watch {"Container": "/test-rrdqdhnu", "Reconciliation": 12, "resource_log_stream_id": "container-97bb0d18-e1fa-41c9-8f64-6917821ba27b", "ContainerID": "0c7a15da7818", "ContainerName": "test-rrdqdhnu"}
| [2026-04-11T03:27:52] Aspire.Hosting.Dcp.dcp.ContainerReconciler Debug: No more Container resources are being watched, cancelling container watch {"Container": "/test-rrdqdhnu", "Reconciliation": 12, "resource_log_stream_id": "container-97bb0d18-e1fa-41c9-8f64-6917821ba27b", "ContainerID": "0c7a15da7818", "ContainerName": "test-rrdqdhnu"}
| [2026-04-11T03:27:52] Aspire.Hosting.Dcp.dcp.os-executor Debug: Context expired, stopping process... {"PID": 5987, "Command": "/usr/bin/docker", "Args": ["events", "--filter", "type=container", "--format", "{{json .}}"]}
| [2026-04-11T03:27:52] Aspire.Hosting.Dcp.dcp.os-executor Debug: Context expired, stopping process... {"PID": 5987, "Command": "/usr/bin/docker", "Args": ["events", "--filter", "type=container", "--format", "{{json .}}"]}
| [2026-04-11T03:27:52] Aspire.Hosting.Dcp.dcp.os-executor Debug: Root process has stopped {"Root": 5987}
| [2026-04-11T03:27:52] Aspire.Hosting.Dcp.dcp.os-executor Debug: Root process has stopped {"Root": 5987}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.ProcessMonitor Debug: Monitor process exited, shutting down {"MonitorPID": 5916, "ChildPID": 5987, "PID": 5987}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.ProcessMonitor Debug: Monitor process exited, shutting down {"MonitorPID": 5916, "ChildPID": 5987, "PID": 5987}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: ContainerNetwork object is being deleted {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 11, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests", "NetworkID": "2bd337203445"}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: ContainerNetwork object is being deleted {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 11, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests", "NetworkID": "2bd337203445"}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: No more ContainerNetwork resources are being watched, cancelling network watch {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 11, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests", "NetworkID": "2bd337203445"}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.NetworkReconciler Debug: No more ContainerNetwork resources are being watched, cancelling network watch {"ContainerNetwork": "/aspire-container-network", "Reconciliation": 11, "NetworkName": "aspire-session-network-faxpvcwe-Aspire.Hosting.Tests", "NetworkID": "2bd337203445"}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.os-executor Debug: Context expired, stopping process... {"PID": 5984, "Command": "/usr/bin/docker", "Args": ["events", "--filter", "type=network", "--format", "{{json .}}"]}
| [2026-04-11T03:27:53] Aspire.Hosting.Dcp.dcp.os-executor Debug: Context expired, stopping process... {"PID": 5984, "Command": "/usr/bin/docker", "Args": ["events", "--filter", "type=network", "--format", "{{json .}}"]}
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.os-executor Debug: Root process has stopped {"Root": 5984}
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.os-executor Debug: Root process has stopped {"Root": 5984}
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.adminHttpHandler Debug: API server changed status {"OldStatus": "CleanupComplete", "NewStatus": "Stopping"}
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.adminHttpHandler Debug: API server changed status {"OldStatus": "CleanupComplete", "NewStatus": "Stopping"}
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver Debug: Shutting down...
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver Debug: Shutting down...
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver.dcp-host Debug: Service DCP controller host terminated gracefully
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver.dcp-host Debug: Service DCP controller host terminated gracefully
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver Debug: Shutdown complete.
| [2026-04-11T03:27:54] Aspire.Hosting.Dcp.dcp.start-apiserver Debug: Shutdown complete.
| [2026-04-11T03:27:54] Aspire.Hosting.FileSystemService Debug: Cleaning up 1 remaining temporary files/directories
| [2026-04-11T03:27:54] Aspire.Hosting.FileSystemService Debug: Cleaning up 1 remaining temporary files/directories
| [2026-04-11T03:27:54] Aspire.Hosting.FileSystemService Debug: Cleaned up temporary directory: /tmp/aspire-dcpGil3OO
| [2026-04-11T03:27:54] Aspire.Hosting.FileSystemService Debug: Cleaned up temporary directory: /tmp/aspire-dcpGil3OO
```
📊 **[View CI Failure Report](https://github.com/microsoft/aspire/issues/16054#issuecomment-4228138838)**
Contributor guide
Assessment
This issue has not been assessed yet.