Skip to content

Reduce automated test crashes#2968

Merged
paulmedynski merged 8 commits into
dotnet:mainfrom
edwardneal:stabilise-test-threading
Jul 9, 2025
Merged

Reduce automated test crashes#2968
paulmedynski merged 8 commits into
dotnet:mainfrom
edwardneal:stabilise-test-threading

Merge branch 'main' into stabilise-test-threading

02046a9
Select commit
Loading
Failed to load commit list.
Azure Pipelines / CI-SqlClient succeeded Jul 3, 2025 in 38m 35s

Build #18401 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 107,143 (96.01%)
  • Other: 4,453 (3.99%)
  • Total: 111,597

Annotations

Check failure on line 679 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Build log #L679

Error: The process '/opt/hostedtoolcache/dotnet' failed with exit code 1

Check failure on line 681 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Build log #L681

Dotnet command failed with non-zero exit code on the following projects : [ '/mnt/vss/_work/1/s/build.proj' ]

Check failure on line 1353 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Build log #L1353

Error: The process '/opt/hostedtoolcache/dotnet' failed with exit code 1

Check failure on line 1355 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Build log #L1355

Dotnet command failed with non-zero exit code on the following projects : [ '/mnt/vss/_work/1/s/build.proj' ]

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.TestReaderMars

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

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) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlConnection.cs:line 2182
   at Microsoft.Data.SqlClient.SqlConnection.ValidateAndReconnect(Action beforeDisconnect, Int32 timeout) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlConnection.cs:line 1601
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 4980
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 4857
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 4738
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 2090
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 2063
   at Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.OpenNullifyReader(SqlCommand command) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/WeakRefTestYukonSpecific/WeakRefTestYukonSpecific.cs:line 193
   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 133
   at Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.TestReaderMars() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/WeakRefTestYukonSpecific/WeakRefTestYukonSpecific.cs:line 33
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)