Skip to content

Cleanup | Preparation for OS-independent builds#3844

Merged
mdaigle merged 8 commits into
dotnet:mainfrom
edwardneal:target-single-platform/01-infrastructure-and-public-apis
Apr 16, 2026
Merged

Cleanup | Preparation for OS-independent builds#3844
mdaigle merged 8 commits into
dotnet:mainfrom
edwardneal:target-single-platform/01-infrastructure-and-public-apis

Correct preprocessor directive indentation

a063609
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PR-SqlClient-Project failed Dec 15, 2025 in 1h 14m 5s

Build #34901 had test failures

Details

Tests

  • Failed: 8 (0.00%)
  • Passed: 186,403 (96.38%)
  • Other: 6,987 (3.61%)
  • Total: 193,398

Annotations

Check failure on line 393 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

Build log #L393

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

Check failure on line 395 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

Build log #L395

Dotnet command failed with non-zero exit code on the following projects : [ '/Users/runner/work/1/s/build.proj' ]

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 0 in System.Exception

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

System.Exception#L0

System.Exception(0,0): Error output: 

Check failure on line 1 in Microsoft.Data.SqlClient.UnitTests.LocalAppContextSwitchesTest.TestDefaultAppContextSwitchValues

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

Microsoft.Data.SqlClient.UnitTests.LocalAppContextSwitchesTest.TestDefaultAppContextSwitchValues

Assert.False() Failure
Expected: False
Actual:   True
Raw output
   at Microsoft.Data.SqlClient.UnitTests.LocalAppContextSwitchesTest.TestDefaultAppContextSwitchValues() in /_/src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient/LocalAppContextSwitchesTest.cs:line 30
   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.DataStreamTest.RunAllTestsForSingleServer_TCP

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.RunAllTestsForSingleServer_TCP

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 951
   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 973
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.GetStream(String connectionString) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs:line 1319
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.RunAllTestsForSingleServer(String connectionString, Boolean usingNamePipes) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs:line 185
   at Microsoft.Data.SqlClient.ManualTesting.Tests.DataStreamTest.RunAllTestsForSingleServer_TCP() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs:line 48

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

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/src/Microsoft/Data/SqlClient/SqlConnection.cs:line 2485
   at Microsoft.Data.SqlClient.SqlConnection.ValidateAndReconnect(Action beforeDisconnect, Int32 timeout) in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlConnection.cs:line 1762
   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) in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlCommand.Reader.cs:line 1264
   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) in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlCommand.Reader.cs:line 1231
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlCommand.Reader.cs:line 187
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlCommand.Reader.cs:line 128
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader() in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlCommand.Reader.cs:line 92
   at Microsoft.Data.SqlClient.ManualTesting.Tests.WeakRefTestYukonSpecific.OpenNullifyReader(SqlCommand command) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/WeakRefTestYukonSpecific/WeakRefTestYukonSpecific.cs:line 197
   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 137
   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)

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTestWithTdsServer.BeginWindowsConnectionTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project

Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTestWithTdsServer.BeginWindowsConnectionTest

System.Exception : Could not generate certificate. Error output: 
Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTestWithTdsServer.RunPowershellScript(String script) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTestWithTdsServer.cs:line 232
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTestWithTdsServer..ctor() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTestWithTdsServer.cs:line 66
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)