Skip to content

[7.0] Test | Fix Diagnostic Tests and remove Remote Executor#4116

Closed
paulmedynski wants to merge 1 commit into
release/7.0from
cherry-pick/7.0/4078
Closed

[7.0] Test | Fix Diagnostic Tests and remove Remote Executor#4116
paulmedynski wants to merge 1 commit into
release/7.0from
cherry-pick/7.0/4078

Test | Fix Diagnostic Tests and remove Remote Executor (#4078)

287a4b2
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PR-SqlClient-Package succeeded Apr 2, 2026 in 4h 39m 59s

Build #09211 had test failures

Details

Tests

  • Failed: 8 (0.00%)
  • Passed: 175,140 (96.44%)
  • Other: 6,458 (3.56%)
  • Total: 181,606

Annotations

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 447 in build.proj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

build.proj#L447

build.proj(447,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.09211-ci -p:MdsPackageVersion=7.0.0.09211-ci --filter "category!=failing&category!=flaky&category!=interactive" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --collect "Code coverage" --settings "D:\a\_work\1\s\src\Microsoft.Data.SqlClient/tests//tools/Microsoft.Data.SqlClient.TestUtilities/CodeCoverage.runsettings" --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-2" -p:TestSet=2 " exited with code 1.

Check failure on line 312 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

Build log #L312

Process 'msbuild.exe' exited with code '1'.

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.GetStream_ReturnsStreamCorrectly(connectionString: "Data Source=tcp:localhost\\MSSQLSERVER02;Initial C"···)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.GetStream_ReturnsStreamCorrectly(connectionString: "Data Source=tcp:localhost\\MSSQLSERVER02;Initial C"···)

Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.AggregateException)
Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataTestUtility.AssertThrowsWrapper[TException](Action actionThatFails, String exceptionMessage, Boolean innerExceptionMustBeNull, Func`2 customExceptionVerifier) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs:line 956
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataTestUtility.AssertThrowsWrapper[TException,TInnerException](Action actionThatFails, String exceptionMessage, String innerExceptionMessage, Boolean innerExceptionMustBeNull, Func`2 customExceptionVerifier) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs:line 978
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.GetStream(String connectionString) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs:line 1451
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.GetStream_ReturnsStreamCorrectly(String connectionString) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs:line 164
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.ReadStream_ReadsStreamDataCorrectly(connectionString: "Data Source=adotest.database.windows.net;Authentic"···)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.ReadStream_ReadsStreamDataCorrectly(connectionString: "Data Source=adotest.database.windows.net;Authentic"···)

System.InvalidOperationException : ExecuteReader requires an open and available Connection. The connection's current state is closed.
Raw output
   at Microsoft.Data.SqlClient.SqlCommand.ValidateCommand(Boolean isAsync, String method)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& executeTask, Boolean& usedCache, Boolean asyncWrite, Boolean isRetry, String method)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.ReadStream(String connectionString) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs:line 1785
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.ReadStream_ReadsStreamDataCorrectly(String connectionString) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs:line 185
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.AADConnectionTest.InvalidAccessTokenTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

Microsoft.Data.SqlClient.ManualTesting.Tests.AADConnectionTest.InvalidAccessTokenTest

Assert.Contains() Failure: Sub-string not found
String:    "A connection was successfully established"···
Not found: "Login failed for user"
Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.AADConnectionTest.InvalidAccessTokenTest() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectivityTests/AADConnectionTest.cs:line 67
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.XEventActivityIDConsistentWithTracing(query: "sp_help", commandType: StoredProcedure, xEvent: "rpc_starting")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package

Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.XEventActivityIDConsistentWithTracing(query: "sp_help", commandType: StoredProcedure, xEvent: "rpc_starting")

Microsoft.Data.SqlClient.SqlException : Transaction (Process ID 154) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Raw output
   at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.Connection.SqlConnectionInternal.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
   at Microsoft.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
   at Microsoft.Data.SqlClient.SqlDataReader.Read()
   at Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.XEventActivityIDConsistentWithTracing(String query, CommandType commandType, String xEvent) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/XEventsTracingTest.cs:line 132
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)