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

[mono] Test failed on windows: System.IO.Ports.Tests.GetPortNames.OpenEveryPortName #34490

Closed
MaximLipnin opened this issue Apr 3, 2020 · 3 comments
Labels
area-System.IO.Ports os-windows runtime-mono specific to the Mono runtime untriaged New issue has not been triaged by the area owner

Comments

@MaximLipnin
Copy link
Contributor

MaximLipnin commented Apr 3, 2020

It's disabled in Mono's CoreFX.issues_windows.rsp file and fails in CI after enabling.

 System.IO.Ports.Tests.GetPortNames.OpenEveryPortName [FAIL]
      System.PlatformNotSupportedException : This API is specific to the way in which Windows handles asynchronous I/O, and is not supported on this platform.
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandle.PlatformNotSupported.cs(25,0): at System.Threading.ThreadPoolBoundHandle.BindHandle(SafeHandle handle)
        /_/src/libraries/System.IO.Ports/src/System/IO/Ports/SerialStream.Windows.cs(696,0): at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
        /_/src/libraries/System.IO.Ports/src/System/IO/Ports/SerialPort.cs(599,0): at System.IO.Ports.SerialPort.Open()
        /_/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs(32,0): at System.IO.Ports.Tests.GetPortNames.OpenEveryPortName()
        /_/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(360,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

The test will be marked with ActiveIssue in #32592

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.IO untriaged New issue has not been triaged by the area owner labels Apr 3, 2020
@ghost
Copy link

ghost commented Apr 3, 2020

Tagging @carlossanlop as an area owner

@MaximLipnin MaximLipnin changed the title Test failed on windows: System.IO.Ports.Tests.GetPortNames.OpenEveryPortName [mono] Test failed on windows: System.IO.Ports.Tests.GetPortNames.OpenEveryPortName Apr 3, 2020
@marek-safar
Copy link
Contributor

Blocked by #34582

@danmoseley danmoseley added runtime-mono specific to the Mono runtime os-windows labels Apr 10, 2020
@danmoseley
Copy link
Member

Tracking all by #34582

@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.IO.Ports os-windows runtime-mono specific to the Mono runtime untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

5 participants