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

Tests under: System.Data.SqlClient.Tests.DiagnosticTest failed with "Xunit.Sdk.EqualException" #20899

Closed
ghost opened this issue Apr 5, 2017 · 22 comments
Labels
area-System.Data.SqlClient test-run-core Test failures in .NET Core test runs test-run-desktop Test failures in .NET Framework "Desktop" test runs (running CoreFX test assets)
Milestone

Comments

@ghost
Copy link

ghost commented Apr 5, 2017

Opened on behalf of @JiayiLi1

The test System.Data.SqlClient.Tests.DiagnosticTest/ConnectionOpenAsyncErrorTest has failed.

Assert.Equal() Failure\r
Expected: 42\r
Actual: -1073740791

    Stack Trace:

       at System.Diagnostics.RemoteExecutorTestBase.RemoteInvokeHandle.Dispose()
   at System.Data.SqlClient.Tests.DiagnosticTest.ConnectionOpenAsyncErrorTest()

Build : Master - 20170405.01 (UWP F5 Tests)
Failing configurations:

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

Detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fuwp~2F/build/20170405.01/workItem/System.Data.SqlClient.Tests/analysis/xunit/System.Data.SqlClient.Tests.DiagnosticTest~2FConnectionOpenAsyncErrorTest

@KristinXie1
Copy link

Detail: https://ci.dot.net/job/dotnet_corefx/job/master/job/outerloop_netfx_windows_nt_debug/24/testReport/

Failed tests:
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteReaderAsyncErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteReaderErrorTest System.Data.SqlClient.Tests.DiagnosticTest.ExecuteXmlReaderErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ConnectionOpenErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteNonQueryTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteScalarErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteNonQueryErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteReaderTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteReaderAsyncTest
System.Data.SqlClient.Tests.DiagnosticTest.ConnectionOpenAsyncTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteNonQueryAsyncErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteScalarAsyncTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteReaderWithCommandBehaviorTest
System.Data.SqlClient.Tests.DiagnosticTest.ConnectionOpenAsyncErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteScalarAsyncErrorTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteScalarTest
System.Data.SqlClient.Tests.DiagnosticTest.ExecuteNonQueryAsyncTest
System.Data.SqlClient.Tests.DiagnosticTest.ConnectionOpenTest

@danmoseley
Copy link
Member

Fails on desktop so needs 2.0 tirage

@safern
Copy link
Member

safern commented May 8, 2017

Tests disabled for Desktop.

safern referenced this issue in safern/corefx May 9, 2017
@danmoseley
Copy link
Member

Failure on Ubuntu is distinct. - SIGABRT

Unhandled Exception of Type Xunit.Sdk.EqualException
Message :
Assert.Equal() Failure\nExpected: 42\nActual:   134
Stack Trace :
   at System.Diagnostics.RemoteExecutorTestBase.RemoteInvokeHandle.Dispose() in /mnt/j/workspace/dotnet_corefx/master/portable-linux-Config_Debug+OuterLoop_false_prtest/src/Common/tests/System/Diagnostics/RemoteExecutorTestBase.cs:line 219
   at System.Data.SqlClient.Tests.DiagnosticTest.ConnectionOpenAsyncTest() in /mnt/j/workspace/dotnet_corefx/master/portable-linux-Config_Debug+OuterLoop_false_prtest/src/System.Data.SqlClient/tests/FunctionalTests/DiagnosticTest.cs:line 483

@danmoseley
Copy link
Member

@sepidehkh
Copy link
Contributor

failed again:
https://ci.dot.net/job/dotnet_corefx/job/release_2.0.0/job/ubuntu14.04_debug_prtest/496/testReport/junit/System.Data.SqlClient.Tests/DiagnosticTest/ExecuteReaderAsyncTest/

MESSAGE:
Assert.Equal() Failure\nExpected: 42\nActual: 134
+++++++++++++++++++
STACK TRACE:
at System.Diagnostics.RemoteExecutorTestBase.RemoteInvokeHandle.Dispose() in /mnt/j/workspace/dotnet_corefx/release_2.0.0/ubuntu14.04_debug_prtest/src/Common/tests/System/Diagnostics/RemoteExecutorTestBase.cs:line 219 at System.Data.SqlClient.Tests.DiagnosticTest.ExecuteReaderAsyncTest() in /mnt/j/workspace/dotnet_corefx/release_2.0.0/ubuntu14.04_debug_prtest/src/System.Data.SqlClient/tests/FunctionalTests/DiagnosticTest.cs:line 349

@safern
Copy link
Member

safern commented Jul 27, 2017

This is failing in uwp-ilc and uwp-coreclr, @corivera could you take a look please?

@corivera
Copy link
Member

corivera commented Aug 4, 2017

Removing ilc label since the DiagnosticTests have been disabled on uapaot

@corivera corivera removed their assignment Sep 26, 2017
@saurabh500
Copy link
Contributor

These tests are passing now after the fix for https://github.com/dotnet/corefx/issues/25620

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Data.SqlClient test-run-core Test failures in .NET Core test runs test-run-desktop Test failures in .NET Framework "Desktop" test runs (running CoreFX test assets)
Projects
None yet
Development

No branches or pull requests

10 participants