Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0][osx] Access to path denied, bad file descriptor IOException in System.Diagnostics.Tests.ProcessTests.Start_RedirectStandardOutput_StartAgain_DoesntThrow #107933

Open
carlossanlop opened this issue Sep 17, 2024 · 1 comment
Labels
arch-x64 area-System.Diagnostics.Process Known Build Error Use this to report build issues in the .NET Helix tab os-mac-os-x macOS aka OSX runtime-coreclr specific to the CoreCLR runtime
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Sep 17, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=810754
Build error leg or test failing: System.Diagnostics.Tests.ProcessTests.Start_RedirectStandardOutput_StartAgain_DoesntThrow

Error Message

{
  "ErrorMessage" : [
    "System.Diagnostics.Tests.ProcessTests.Start_RedirectStandardOutput_StartAgain_DoesntThrow [FAIL]",
    "Access to the path is denied",
    "Bad file descriptor"
  ],
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
   System.Diagnostics.Tests.ProcessTests.Start_RedirectStandardOutput_StartAgain_DoesntThrow [FAIL]
      System.UnauthorizedAccessException : Access to the path is denied.
      ---- System.IO.IOException : Bad file descriptor
      Stack Trace:
        /_/src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Unix.cs(468,0): at System.IO.Pipes.PipeStream.CheckPipeCall(Int32 result)
        /_/src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Unix.cs(235,0): at System.IO.Pipes.PipeStream.ValidateHandleIsPipe(SafePipeHandle safePipeHandle)
        /_/src/libraries/System.IO.Pipes/src/System/IO/Pipes/AnonymousPipeClientStream.cs(67,0): at System.IO.Pipes.AnonymousPipeClientStream.Init(PipeDirection direction, SafePipeHandle safePipeHandle)
        /_/src/libraries/System.IO.Pipes/src/System/IO/Pipes/AnonymousPipeClientStream.cs(60,0): at System.IO.Pipes.AnonymousPipeClientStream..ctor(PipeDirection direction, SafePipeHandle safePipeHandle)
        /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Unix.cs(849,0): at System.Diagnostics.Process.OpenStream(Int32 fd, PipeDirection direction)
        /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Unix.cs(476,0): at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
        /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs(1284,0): at System.Diagnostics.Process.Start()
        /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs(1601,0): at System.Diagnostics.Tests.ProcessTests.Start_RedirectStandardOutput_StartAgain_DoesntThrow()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(48,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
        ----- Inner Stack Trace -----

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=810754
Error message validated: [System.Diagnostics.Tests.ProcessTests.Start_RedirectStandardOutput_StartAgain_DoesntThrow [FAIL] Access to the path is denied Bad file descriptor]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/17/2024 5:28:49 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added area-System.Diagnostics.Process os-mac-os-x macOS aka OSX arch-x64 runtime-coreclr specific to the CoreCLR runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Sep 17, 2024
@carlossanlop carlossanlop added this to the 9.0.0 milestone Sep 17, 2024
Copy link
Contributor

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

@jeffhandley jeffhandley modified the milestones: 9.0.0, Future Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x64 area-System.Diagnostics.Process Known Build Error Use this to report build issues in the .NET Helix tab os-mac-os-x macOS aka OSX runtime-coreclr specific to the CoreCLR runtime
Projects
None yet
Development

No branches or pull requests

2 participants