Skip to content

System.Threading.Threads.Tests.ThreadTests.InterruptInFinallyBlockTest_SkipOnDesktopFramework failure on Mono #36280

@janvorli

Description

@janvorli

In a CI for the PR #36266, the System.Threading.Threads.Tests.ThreadTests.InterruptInFinallyBlockTest_SkipOnDesktopFramework has failed with:

System.AggregateException : One or more errors occurred. (Assert.Throws() Failure
Expected: typeof(System.Threading.ThreadInterruptedException)
Actual: typeof(Xunit.Sdk.TrueException): Assert.True() Failure
Expected: True
Actual: False)
---- Assert.Throws() Failure
Expected: typeof(System.Threading.ThreadInterruptedException)
Actual: typeof(Xunit.Sdk.TrueException): Assert.True() Failure
Expected: True
Actual: False
-------- Assert.True() Failure
Expected: True
Actual: False

   at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__1() in /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs:line 52
   at System.Threading.Tests.ThreadTestHelpers.<>c__DisplayClass4_0.<CreateGuardedThread>b__2() in /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs:line 57
   at System.Threading.Threads.Tests.ThreadTests.InterruptInFinallyBlockTest_SkipOnDesktopFramework() in /_/src/libraries/System.Threading.Thread/tests/ThreadTests.cs:line 970
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 359
----- Inner Stack Trace -----
   at System.Threading.Tests.ThreadTestHelpers.CheckedWait(WaitHandle wh) in /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs:line 154
   at System.Threading.Threads.Tests.ThreadTests.<>c__DisplayClass33_0.<InterruptInFinallyBlockTest_SkipOnDesktopFramework>b__1() in /_/src/libraries/System.Threading.Thread/tests/ThreadTests.cs:line 964
----- Inner Stack Trace -----
   at System.Threading.Tests.ThreadTestHelpers.CheckedWait(WaitHandle wh) in /_/src/libraries/Common/tests/System/Threading/ThreadTestHelpers.cs:line 154
   at System.Threading.Threads.Tests.ThreadTests.<>c__DisplayClass33_0.<InterruptInFinallyBlockTest_SkipOnDesktopFramework>b__1() in /_/src/libraries/System.Threading.Thread/tests/ThreadTests.cs:line 964

https://dev.azure.com/dnceng/public/_build/results?buildId=641049&view=ms.vss-test-web.build-test-results-tab&runId=19915832&resultId=172977&paneView=debug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions