[5.1] Fix | Dotnet build command #2728
Build #94956 had test failures
Details
- Failed: 4 (0.00%)
- Passed: 336,322 (98.16%)
- Other: 6,289 (1.84%)
- Total: 342,615
- 28701 of 37732 lines covered (76.07%)
Annotations
Check failure on line 1926 in Build log
azure-pipelines / Release 5.1
Build log #L1926
Error: The process '/usr/local/bin/dotnet' failed with exit code 1
Check failure on line 1928 in Build log
azure-pipelines / Release 5.1
Build log #L1928
Dotnet command failed with non-zero exit code on the following projects : [ '/Users/runner/work/1/s/build.proj' ]
Check failure on line 71 in Build log
azure-pipelines / Release 5.1
Build log #L71
PowerShell exited with code '1'.
azure-pipelines / Release 5.1
Microsoft.Data.SqlClient.ManualTesting.Tests.SqlCommandReliabilityTest.ConcurrentExecution
System.AggregateException : One or more errors occurred. (Assert.Throws() Failure
Expected: typeof(System.AggregateException)
Actual: typeof(System.Net.Sockets.SocketException): Invalid argument)
---- Assert.Throws() Failure
Expected: typeof(System.AggregateException)
Actual: typeof(System.Net.Sockets.SocketException): Invalid argument
-------- System.Net.Sockets.SocketException : Invalid argument
Raw output
at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body)
at Microsoft.Data.SqlClient.ManualTesting.Tests.SqlCommandReliabilityTest.ConcurrentExecution(String cnnString, SqlRetryLogicBaseProvider provider) in /Users/runner/work/1/s/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/RetryLogic/SqlCommandReliabilityTest.cs:line 533
----- Inner Stack Trace -----
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Receive(SNIPacket& packet, Int32 timeoutInMilliseconds) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SNI/SNITcpHandle.cs:line 846
at Microsoft.Data.SqlClient.SNI.TdsParserStateObjectManaged.ReadSyncOverAsync(Int32 timeoutRemaining, UInt32& error) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObjectManaged.cs:line 225
at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs:line 1273
at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs:line 1199
at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs:line 915
at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs:line 423
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/TdsParser.cs:line 2030
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlDataReader.cs:line 1142
at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlDataReader.cs:line 263
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 5204
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 5010
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int
azure-pipelines / Release 5.1
Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ConnectionPoolGroupsCounter_Functional
Assert.Equal() Failure
Expected: 1
Actual: 0
Raw output
at Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ConnectionPoolGroupsCounter_Functional() in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\TracingTests\EventCounterTest.cs:line 208
azure-pipelines / Release 5.1
Microsoft.Data.SqlClient.ManualTesting.Tests.SqlCommandReliabilityTest.UpdateALockedTable
System.InvalidOperationException : ExecuteNonQuery 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) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 5258
at Microsoft.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String methodName) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 1693
at Microsoft.Data.SqlClient.SqlCommand.<>c__DisplayClass157_0.<InternalExecuteNonQueryWithRetry>b__0() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 1183
at Microsoft.Data.SqlClient.SqlRetryLogicProvider.Execute[TResult](Object sender, Func`1 function) in /_/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/Reliability/Common/SqlRetryLogicProvider.cs:line 91
at Microsoft.Data.SqlClient.SqlCommand.InternalExecuteNonQueryWithRetry(Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String methodName) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 1185
at Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs:line 1233
at Microsoft.Data.SqlClient.ManualTesting.Tests.SqlCommandReliabilityTest.UpdateALockedTable(String cnnString, SqlRetryLogicBaseProvider provider) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\RetryLogic\SqlCommandReliabilityTest.cs:line 346
at InvokeStub_SqlCommandReliabilityTest.UpdateALockedTable(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
azure-pipelines / Release 5.1
Microsoft.Data.SqlClient.Tests.SqlConnectionBasicTests.TransientFaultTest(errorCode: 42108)
Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=20; handshake=197; [Login] initialization=17; authentication=30; [Post-Login] complete=14202;
Expected: False
Actual: True
Raw output
at Microsoft.Data.SqlClient.Tests.SqlConnectionBasicTests.TransientFaultTest(UInt32 errorCode) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\FunctionalTests\SqlConnectionBasicTests.cs:line 84