Test | Convert OutputParameterTests to xunit assertion. #3996
Build #06204 had test failures
Details
- Failed: 12 (0.01%)
- Passed: 175,047 (96.55%)
- Other: 6,236 (3.44%)
- Total: 181,295
Annotations
Check failure on line 0 in EXEC
azure-pipelines / PR-SqlClient-Package
EXEC#L0
EXEC(0,0): Error Message:
Check failure on line 448 in build.proj
azure-pipelines / PR-SqlClient-Package
build.proj#L448
build.proj(448,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.06204-ci -p:MdsPackageVersion=7.0.0.06204-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.
Check failure on line 89 in Build log
azure-pipelines / PR-SqlClient-Package
Build log #L89
Process 'msbuild.exe' exited with code '1'.
Check failure on line 59 in Build log
azure-pipelines / PR-SqlClient-Package
Build log #L59
Error: The process '/opt/hostedtoolcache/dotnet/dotnet' failed with exit code 1
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. ---> Xunit.Sdk.TrueException: Missing diagnostic 'Microsoft.Data.SqlClient.WriteConnectionOpenError'
at Microsoft.Data.SqlClient.ManualTesting.Tests.DiagnosticTest.<CollectStatisticsDiagnosticsAsync>d__32.MoveNext()
--- 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()
---> (Inner Exception #0) Xunit.Sdk.TrueException: Missing diagnostic 'Microsoft.Data.SqlClient.WriteConnectionOpenError'
at Microsoft.Data.SqlClient.ManualTesting.Tests.DiagnosticTest.<CollectStatisticsDiagnosticsAsync>d__32.MoveNext()<---
Child process:
ManualTests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null Microsoft.Data.SqlClient.ManualTesting.Tests.DiagnosticTest+<>c Int32 <ConnectionOpenAsyncErrorTest>b__30_0()
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 369) 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)
azure-pipelines / PR-SqlClient-Package
Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.TestReaderMars
Microsoft.Data.SqlClient.SqlException : The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection.
Raw output
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlConnection.ValidateAndReconnect(Action beforeDisconnect, Int32 timeout)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean isRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
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.SqlCommand.ExecuteReader()
at Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.OpenNullifyReader(SqlCommand command) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/WeakRefTestYukonSpecific/WeakRefTestYukonSpecific.cs:line 198
at Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.TestReaderMarsCase(String caseName, String connectionString, ReaderTestType testType, ReaderVerificationType verificationType, String methodName) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/WeakRefTestYukonSpecific/WeakRefTestYukonSpecific.cs:line 138
at Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.TestReaderMars() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/WeakRefTestYukonSpecific/WeakRefTestYukonSpecific.cs:line 34
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
azure-pipelines / PR-SqlClient-Package
Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.XEventActivityIDConsistentWithTracing
Microsoft.Data.SqlClient.SqlException : Transaction (Process ID 964) 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