Skip to content

Test failure: System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles #126681

Closed

Description

@VincentBu

Failed in: runtime-coreclr crossgen2 20260407.1

Failed tests:

net11.0-windows-Release-x64-TestReadyToRun_Release-Windows.Amd64.Server2022.Open
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-windows-Release-x64-TestReadyToRun_Release-Windows.Server2025.Amd64.Open
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-windows-Release-x64-TestReadyToRun_Release-Windows.11.Amd64.Client.Open
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-windows-Release-x64-TestReadyToRun_Release-(Windows.Nano.1809.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-windows-Release-x64-TestReadyToRun_RuntimeAsync_Release-Windows.Amd64.Server2022.Open
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-windows-Release-x64-TestReadyToRun_RuntimeAsync_Release-Windows.Server2025.Amd64.Open
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-windows-Release-x64-TestReadyToRun_RuntimeAsync_Release-Windows.11.Amd64.Client.Open
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-windows-Release-x64-TestReadyToRun_RuntimeAsync_Release-(Windows.Nano.1809.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64
- System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-linux-Release-x64-TestReadyToRun_RuntimeAsync_Release-(Ubuntu.2604.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-26.04-helix-amd64
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-linux-Release-x64-TestReadyToRun_RuntimeAsync_Release-(AzureLinux.3.0.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:azurelinux-3.0-helix-amd64
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-linux-Release-x64-TestReadyToRun_RuntimeAsync_Release-(Centos.10.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:centos-stream-10-helix-amd64
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-linux-Release-x64-TestReadyToRun_Release-(Ubuntu.2604.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-26.04-helix-amd64
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-linux-Release-x64-TestReadyToRun_Release-(AzureLinux.3.0.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:azurelinux-3.0-helix-amd64
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-linux-Release-x64-TestReadyToRun_Release-(Centos.10.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:centos-stream-10-helix-amd64
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-osx-Release-x64-TestReadyToRun_Release-OSX.15.Amd64.Open
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles
net11.0-osx-Release-arm64-TestReadyToRun_RuntimeAsync_Release-OSX.26.Arm64.Open
- System.Diagnostics.Tests.ProcessStartInfoTests.UserNameCantBeCombinedWithInheritedHandles

Error message:

System.PlatformNotSupportedException : RemoteExecutor is not supported on this platform.

Stack trace:

   at Microsoft.DotNet.RemoteExecutor.RemoteExecutor.Invoke(MethodInfo method, String[] args, RemoteInvokeOptions options, Boolean pasteArguments) in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs:line 415
   at System.Diagnostics.Tests.ProcessTestBase.CreateProcess(Func`1 method) in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTestBase.cs:line 57
   at System.Diagnostics.Tests.ProcessHandlesTests.ProcessStartedWithInvalidHandles_ConsoleReportsInvalidHandles() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessHandlesTests.Windows.cs:line 21
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Activity

  1. added
    blocking-clean-ci-optional
    on Apr 9, 2026
  2. added
    untriaged
    on Apr 9, 2026
  3. dotnet-policy-service commented on Apr 9, 2026

    @dotnet-policy-service
    Contributor

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

  4. adamsitnik commented on Apr 9, 2026

    @adamsitnik
    Member

    It's strange, I've assumed that RemoteExecutor is always supported on Windows. I've asked Copilot to update the tests

  5. removed
    untriaged
    on Apr 9, 2026
  6. added this to the 11.0.0 milestone on Apr 9, 2026
  7. added a commit that references this issue on Apr 9, 2026
    8e57268
  8. locked and limited conversation to collaborators on May 10, 2026
  9. added a commit that references this issue on Jul 15, 2026
    0f61e07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions