Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2.1] | Fix SqlConnection.FireInfoMessageEventOnUserErrors when set to true throws an exception (#2399) #2505

Merged

[5.2.1] | Fix SqlConnection.FireInfoMessageEventOnUserErrors when set…

c2bca36
Select commit
Loading
Failed to load commit list.
Merged

[5.2.1] | Fix SqlConnection.FireInfoMessageEventOnUserErrors when set to true throws an exception (#2399) #2505

[5.2.1] | Fix SqlConnection.FireInfoMessageEventOnUserErrors when set…
c2bca36
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Release 5.2 succeeded May 17, 2024 in 1h 26m 28s

Build #13702 had test failures

Details

Tests

  • Failed: 12 (0.00%)
  • Passed: 371,029 (98.50%)
  • Other: 5,640 (1.50%)
  • Total: 376,681
Code coverage

  • 44943 of 61875 line covered (72.64%)

Annotations

Check failure on line 2088 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

Build log #L2088

Error: The process '/usr/bin/dotnet' failed with exit code 1

Check failure on line 2090 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

Build log #L2090

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

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.AsyncTimeoutTest.TestDelayedAsyncTimeout(api: ExecuteScalarAsync, commonObj: "Connection", delayPeriod: 0, marsEnabled: True)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

Microsoft.Data.SqlClient.ManualTesting.Tests.AsyncTimeoutTest.TestDelayedAsyncTimeout(api: ExecuteScalarAsync, commonObj: "Connection", delayPeriod: 0, marsEnabled: True)

System.AggregateException : One or more errors occurred.
---- Assert.True() Failure
Expected: True
Actual:   False
Raw output
   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.AsyncTimeoutTest.RunTest(AsyncAPI api, String commonObj, Int32 timeoutDelay, Boolean marsEnabled) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/AsyncTest/AsyncTimeoutTest.cs:line 102
   at Microsoft.Data.SqlClient.ManualTesting.Tests.AsyncTimeoutTest.TestDelayedAsyncTimeout(AsyncAPI api, String commonObj, Int32 delayPeriod, Boolean marsEnabled) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/AsyncTest/AsyncTimeoutTest.cs:line 32
----- Inner Stack Trace -----
   at Microsoft.Data.SqlClient.ManualTesting.Tests.AsyncTimeoutTest.<QueryAndValidate>d__6.MoveNext() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/AsyncTest/AsyncTimeoutTest.cs:line 191

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.OpenningConnectionWithGoodCertificateTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.OpenningConnectionWithGoodCertificateTest

System.Exception : Could not generate certificate.Error out put: Certificate folder path is: C:\Certificates


    Directory: C:\


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----         5/16/2024   7:16 PM                Certificates                                                         
Certificate created successfully
Certificate Thumbprint: 8126598289F94FD59DDE11A0AA2AEF4B54B15F4D


    Directory: C:\Certificates


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
-a----         5/16/2024   7:16 PM            855 SQLClientSelfSignedCertificate.cer                                   

PSPath                   : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\8126598289F94FD59DDE11A0AA2AEF4
                           B54B15F4D
PSParentPath             : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root
PSChildName              : 8126598289F94FD59DDE11A0AA2AEF4B54B15F4D
PSIsContainer            : False
Archived                 : False
Extensions               : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, 
                           System.Security.Cryptography.Oid, System.Security.Cryptography.Oid}
FriendlyName             : 
IssuerName               : System.Security.Cryptography.X509Certificates.X500DistinguishedName
NotAfter                 : 5/16/2027 7:16:27 PM
NotBefore                : 5/16/2024 7:06:29 PM
HasPrivateKey            : False
PrivateKey               : 
PublicKey                : System.Security.Cryptography.X509Certificates.PublicKey
RawData                  : {48, 130, 3, 83...}
SerialNumber             : 4E497F20B2EB8AB049D87C699A2DE1DD
SubjectName              : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm       : System.Security.Cryptography.Oid
Thumbprint               : 8126598289F94FD59DDE11A0AA2AEF4B54B15F4D
Version                  : 3
Handle                   : 2562858503440
Issuer                   : CN=df570c81c000001
Subject                  : CN=df570c81c000001
EnhancedKeyUsageList     : {Server Authentication (1.3.6.1.5.5.7.3.1)}
DnsNameList              : {df570c81c000001, localhost, SQLAliasName}
SendAsTrustedIssuer      : False
EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
PolicyId                 : 



Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.CreateValidCertificate(String script) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTest.cs:line 233
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest..ctor() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTest.cs:line 81

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ReclaimedConnectionsCounter_Functional

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ReclaimedConnectionsCounter_Functional

System.InvalidOperationException : Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.
Raw output
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/ProviderBase/DbConnectionFactory.cs:line 135
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) in /_/src/Microsoft.Data.SqlClient/netcore/src/Common/src/Microsoft/Data/ProviderBase/DbConnectionInternal.cs:line 341
   at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) in /_/src/Microsoft.Data.SqlClient/netcore/src/Common/src/Microsoft/Data/ProviderBase/DbConnectionClosed.cs:line 39
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlConnection.cs:line 1964
   at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides) in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlConnection.cs:line 1411
   at Microsoft.Data.SqlClient.SqlConnection.Open() in /_/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlConnection.cs:line 1388
   at Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ReclaimedConnectionsCounter_Functional() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/EventCounterTest.cs:line 166
   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.CertificateTest.OpenningConnectionWithGoodCertificateTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.2

Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.OpenningConnectionWithGoodCertificateTest

System.Exception : Could not generate certificate.Error out put: Certificate folder path is: C:\Certificates


    Directory: C:\


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----         5/16/2024   7:17 PM                Certificates                                                         
Certificate created successfully
Certificate Thumbprint: 75C5285EE69473FFFD3329EDA3D6EB2C00B55442


    Directory: C:\Certificates


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
-a----         5/16/2024   7:17 PM            855 SQLClientSelfSignedCertificate.cer                                   

PSPath                   : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\75C5285EE69473FFFD3329EDA3D6EB2
                           C00B55442
PSParentPath             : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root
PSChildName              : 75C5285EE69473FFFD3329EDA3D6EB2C00B55442
PSIsContainer            : False
Archived                 : False
Extensions               : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, 
                           System.Security.Cryptography.Oid, System.Security.Cryptography.Oid}
FriendlyName             : 
IssuerName               : System.Security.Cryptography.X509Certificates.X500DistinguishedName
NotAfter                 : 5/16/2027 7:17:12 PM
NotBefore                : 5/16/2024 7:07:14 PM
HasPrivateKey            : False
PrivateKey               : 
PublicKey                : System.Security.Cryptography.X509Certificates.PublicKey
RawData                  : {48, 130, 3, 83...}
SerialNumber             : 65277B5388F4DB9D47536D220D178E98
SubjectName              : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm       : System.Security.Cryptography.Oid
Thumbprint               : 75C5285EE69473FFFD3329EDA3D6EB2C00B55442
Version                  : 3
Handle                   : 2691763177328
Issuer                   : CN=56c2e64dc000000
Subject                  : CN=56c2e64dc000000
EnhancedKeyUsageList     : {Server Authentication (1.3.6.1.5.5.7.3.1)}
DnsNameList              : {56c2e64dc000000, localhost, SQLAliasName}
SendAsTrustedIssuer      : False
EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
PolicyId                 : 



Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.CreateValidCertificate(String script) in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTest.cs:line 228
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest..ctor() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTest.cs:line 80
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)