Skip to content

[CI Failure] Flaky: DevTunnelMonitorTests.HostOutputAllocatesPortsWithoutQueryingServiceStatus throws ObjectDisposedException on disposed IServiceProvider #20861

Closed as not planned

Description

@github-actions

Build Information

Build: https://github.com/microsoft/aspire/actions/runs/37985207190
Build error leg or test failing: Tests / No-package tests (regular, Aspire.Hosting.DevTunnels.Tests, Hosting.DevTunnels, Hosting.DevTunnel... / Hosting.DevTunnels (ubuntu-latest) / Aspire.Hosting.DevTunnels.Tests.DevTunnelMonitorTests.HostOutputAllocatesPortsWithoutQueryingServiceStatus

Error Message

System.ObjectDisposedException : Cannot access a disposed object.
Object name: 'IServiceProvider'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException()
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at Aspire.Hosting.ApplicationModel.ResourceNotificationService.get_Configuration()

Description

Flaky: DevTunnelMonitorTests.HostOutputAllocatesPortsWithoutQueryingServiceStatus throws ObjectDisposedException on disposed IServiceProvider

Type: flaky-test

Occurrences

Showing 1 most recent of 1 occurrences.

Date Build Job Context
2026-10-09 37985207190 Tests / No-package tests (regular, Aspire.Hosting.DevTunnels.Tests, Hosting.DevTunnels, Hosting.DevTunnel... / Hosting.DevTunnels (ubuntu-latest) main

Activity

  1. radical commented on Nov 5, 2026

    @radical
    Member

    [automated] Duplicate of #20859: the primary stack reaches the same TestDevTunnelMonitor.Dispose / StopRunAsync teardown after services are disposed, the shared fixture ordering addressed by #21424. This report's distinct test/job and full occurrence history are linked in the active canonical; closing the duplicate does not establish recovery.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions