Skip to content

Add collated output parameter test

c4be946
Select commit
Loading
Failed to load commit list.
Merged

Tests | Add collation transcoding tests #4051

Add collated output parameter test
c4be946
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PR-SqlClient-Package succeeded Mar 25, 2026 in 2h 5m 8s

Build #08406 had test failures

Details

Tests

  • Failed: 19 (0.01%)
  • Passed: 174,237 (96.18%)
  • Other: 6,900 (3.81%)
  • Total: 181,156

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 490 in build2.proj

See this annotation in the file changed.

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

build2.proj#L490

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

Check failure on line 351 in Build log

See this annotation in the file changed.

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

Build log #L351

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

Check failure on line 490 in build2.proj

See this annotation in the file changed.

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

build2.proj#L490

build2.proj(490,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 -p:TestSet="3" --results-directory "TestResults" --logger:"trx;LogFilePrefix=MdsManual-Windows_NT-net8.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.08406-ci -p:LoggingPackageVersion=1.0.0.08406-ci -p:MdsPackageVersion=7.0.0.08406-ci " exited with code 1.

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.GetStream_ReturnsStreamCorrectly(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.GetStream_ReturnsStreamCorrectly(connectionString: "Data Source=adotest.database.windows.net;Authentic"···)

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.DiagnosticTest.ConnectionOpenAsyncErrorTest

See this annotation in the file changed.

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

Microsoft.Data.SqlClient.ManualTesting.Tests.DiagnosticTest.ConnectionOpenAsyncErrorTest

Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
Raw output
Child exception:
  System.AggregateException: One or more errors occurred. (Missing diagnostic 'Microsoft.Data.SqlClient.WriteConnectionOpenError')
 ---> Xunit.Sdk.TrueException: Missing diagnostic 'Microsoft.Data.SqlClient.WriteConnectionOpenError'
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DiagnosticTest.CollectStatisticsDiagnosticsAsync(Func`2 sqlOperation, String[] expectedDiagnostics, String methodName) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/DiagnosticTest.cs:line 960
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DiagnosticTest.<>c.<ConnectionOpenAsyncErrorTest>b__30_0() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/DiagnosticTest.cs:line 533
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Child process:
  ManualTests, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Microsoft.Data.SqlClient.ManualTesting.Tests.DiagnosticTest+<>c Int32 <ConnectionOpenAsyncErrorTest>b__30_0()

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.GetStream_ReturnsStreamCorrectly(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.GetStream_ReturnsStreamCorrectly(connectionString: "Data Source=adotest.database.windows.net;Authentic"···)

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

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 52) 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)