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] Tests failed on windows: ThreadPoolBoundHandleTests #34502

Closed
MaximLipnin opened this issue Apr 3, 2020 · 2 comments
Closed

[mono] Tests failed on windows: ThreadPoolBoundHandleTests #34502

MaximLipnin opened this issue Apr 3, 2020 · 2 comments
Labels
area-System.Threading 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

ThreadPoolBoundHandleTests tests are disabled in Mono's CoreFX.issues_windows.rsp file and after enabling they still fail locally with the following output (only one for short):

ThreadPoolBoundHandleTests.AllocateNativeOverlapped_ReturnedNativeOverlapped_AllFieldsZero [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.Threading.Overlapped\tests\ThreadPoolBoundHandle_Helpers.cs(32,0): at ThreadPoolBoundHandleTests.CreateThreadPoolBoundHandle(SafeHandle handle, String memberName, Int32 lineNumber)
    _\src\libraries\System.Threading.Overlapped\tests\ThreadPoolBoundHandle_Helpers.cs(26,0): at ThreadPoolBoundHandleTests.CreateThreadPoolBoundHandle(String memberName, Int32 lineNumber)
    _\src\libraries\System.Threading.Overlapped\tests\ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs(143,0): at ThreadPoolBoundHandleTests.AllocateNativeOverlapped_ReturnedNativeOverlapped_AllFieldsZero()
    _\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 related partial test class will be marked with ActiveIssue in #32592.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Threading untriaged New issue has not been triaged by the area owner labels Apr 3, 2020
@danmoseley danmoseley added runtime-mono specific to the Mono runtime os-windows labels Apr 10, 2020
@ericstj
Copy link
Member

ericstj commented Apr 10, 2020

See #34582

@danmoseley
Copy link
Member

Let's just track it all with #34582 and if/when fixing that, they can enable tests from linked issues like this.

@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.Threading 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

4 participants