Skip to content

Test: System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests/AwaitOnCompleted_InvokesStateMachineMethods failed with "Xunit.Sdk.EqualException" #22897

Closed
@ghost

Description

Opened on behalf of @JiayiLi1

The test System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests/AwaitOnCompleted_InvokesStateMachineMethods(awaitUnsafe: False) has failed.

Assert.Equal() Failure\r
Expected: System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests+DelegateStateMachine\r
Actual: (null)

    Stack Trace:

       at System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests.<AwaitOnCompleted_InvokesStateMachineMethods>d__7.MoveNext() in E:\A\_work\887\s\corefx\src\System.Threading.Tasks.Extensions\tests\AsyncValueTaskMethodBuilderTests.cs:line 112
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 61
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 178
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 147
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 61
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 178
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 147
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 119
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 61
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 178
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification() in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 147

Build : Master - 20170724.01 (UWP ILC Tests)
Failing configurations:

  • Windows.10.Amd64.ClientRS3-x64
    • Release
    • Debug
  • Windows.10.Amd64.ClientRS3-x86
    • Debug
    • Release

Detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Filc~2F/build/20170724.01/workItem/System.Threading.Tasks.Extensions.Tests/analysis/xunit/System.Threading.Tasks.Tests.AsyncValueTaskMethodBuilderTests~2FAwaitOnCompleted_InvokesStateMachineMethods(awaitUnsafe:%20False)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions