Skip to content

Test failure: Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ShutdownTestRun #129832

Closed

Description

@VincentBu

Failed in: runtime-coreclr crossgen2 20260623.1

Failed tests:

net11.0-linux-Release-x64-TestReadyToRun_Release-(Ubuntu.2604.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-26.04-helix-amd64@sha256:f481273f9ce3fe5e1b005a088dbc4299640729c7edcc1f9e0f7bbc005218f531
- Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ShutdownTestRun
- Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ShutdownTestWaitForShutdown

Error message:

System.InvalidOperationException : No process is associated with this object.

Stack trace:

   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_HasExited()
   at Microsoft.Extensions.Hosting.IntegrationTesting.ApplicationDeployer.ShutDownIfAnyHostProcess(Process hostProcess) in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/IntegrationTesting/src/Deployers/ApplicationDeployer.cs:line 121
   at Microsoft.Extensions.Hosting.IntegrationTesting.SelfHostDeployer.Dispose() in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/IntegrationTesting/src/Deployers/SelfHostDeployer.cs:line 182
   at Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ExecuteShutdownTest(String testName, String shutdownMechanic) in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/ShutdownTests.cs:line 108
   at Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ShutdownTestRun() in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/ShutdownTests.cs:line 36
--- End of stack trace from previous location ---

Activity

  1. dotnet-policy-service commented on Jun 25, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-extensions-hosting
    See info in area-owners.md if you want to be subscribed.

  2. self-assigned this
    on Jun 25, 2026
  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Jun 25, 2026
  4. VincentBu commented on Jun 29, 2026

    @VincentBu
    ContributorAuthor

    Failed in: runtime-coreclr crossgen2 20260627.1

    Failed tests:

    net11.0-linux-Release-x64-TestReadyToRun_Release-(Ubuntu.2604.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-26.04-helix-amd64@sha256:f481273f9ce3fe5e1b005a088dbc4299640729c7edcc1f9e0f7bbc005218f531
    - Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ShutdownTestRun
    - Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ShutdownTestWaitForShutdown
    
    

    Error message:

    System.InvalidOperationException : No process is associated with this object.
    

    Stack trace:

       at System.Diagnostics.Process.EnsureState(State state)
       at System.Diagnostics.Process.get_HasExited()
       at Microsoft.Extensions.Hosting.IntegrationTesting.ApplicationDeployer.ShutDownIfAnyHostProcess(Process hostProcess) in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/IntegrationTesting/src/Deployers/ApplicationDeployer.cs:line 121
       at Microsoft.Extensions.Hosting.IntegrationTesting.SelfHostDeployer.Dispose() in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/IntegrationTesting/src/Deployers/SelfHostDeployer.cs:line 182
       at Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ExecuteShutdownTest(String testName, String shutdownMechanic) in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/ShutdownTests.cs:line 108
       at Microsoft.AspNetCore.Hosting.FunctionalTests.ShutdownTests.ShutdownTestRun() in /_/src/libraries/Microsoft.Extensions.Hosting/tests/FunctionalTests/ShutdownTests.cs:line 36
    --- End of stack trace from previous location ---
    
  5. added
    disabled-testThe test is disabled in source code against the issue
    on Jul 1, 2026
  6. added this to the Future milestone on Jul 1, 2026
  7. added a commit that references this issue on Aug 17, 2026
    92ad645
  8. locked and limited conversation to collaborators on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions