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

Remove stale dependencies from SqlClient #2186

Merged
merged 2 commits into from
Oct 20, 2023

Update Microsoft.Data.SqlClient.csproj

a33856f
Select commit
Loading
Failed to load commit list.
Merged

Remove stale dependencies from SqlClient #2186

Update Microsoft.Data.SqlClient.csproj
a33856f
Select commit
Loading
Failed to load commit list.
Azure Pipelines / CI-SqlClient succeeded Oct 20, 2023 in 3h 1m 26s

Build #29204 had test failures

Details

Tests

  • Failed: 4 (0.00%)
  • Passed: 312,914 (98.53%)
  • Other: 4,665 (1.47%)
  • Total: 317,583
Code coverage

  • 79321 of 111815 lines covered (70.94%)

Annotations

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 187 in build.proj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

build.proj#L187

build.proj(187,5): Error MSB3073: The command "dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTesting.Tests.csproj" -p:Configuration=Release -p:TargetnetfxVersion=net462 --no-build -l "console;verbosity=normal" --collect "Code coverage" -p:TestSet=3 --results-directory TestResults -p:TestTargetOS=Windowsnetfx --filter "category!=nonnetfxtests&category!=failing&category!=nonwindowstests" "--logger:trx;LogFilePrefix=Manual-Windowsnetfx-3"" exited with code 1.

Check failure on line 1826 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Build log #L1826

Process 'msbuild.exe' exited with code '1'.

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

EXEC#L0

EXEC(0,0): Error Message: 

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

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-----        10/19/2023  10:00 PM                Certificates                                                         
Certificate created successfully
Certificate Thumbprint: 3A9C0FAC7506C8DC195C912D879082E6CDBA2AE1


    Directory: C:\Certificates


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
-a----        10/19/2023  10:00 PM            855 SQLClientSelfSignedCertificate.cer                                   

PSPath                   : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\3A9C0FAC7506C8DC195C912D879082E
                           6CDBA2AE1
PSParentPath             : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root
PSChildName              : 3A9C0FAC7506C8DC195C912D879082E6CDBA2AE1
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                 : 10/19/2026 10:00:27 PM
NotBefore                : 10/19/2023 9:50:30 PM
HasPrivateKey            : False
PrivateKey               : 
PublicKey                : System.Security.Cryptography.X509Certificates.PublicKey
RawData                  : {48, 130, 3, 83...}
SerialNumber             : 6C7DE86B270939854AC9C1193B8FF09A
SubjectName              : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm       : System.Security.Cryptography.Oid
Thumbprint               : 3A9C0FAC7506C8DC195C912D879082E6CDBA2AE1
Version                  : 3
Handle                   : 1813227936752
Issuer                   : CN=d2ace3c5c000004
Subject                  : CN=d2ace3c5c000004
EnhancedKeyUsageList     : {Server Authentication (1.3.6.1.5.5.7.3.1)}
DnsNameList              : {d2ace3c5c000004, 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 D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\ConnectionTestWithSSLCert\CertificateTest.cs:line 197
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest..ctor() in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\ConnectionTestWithSSLCert\CertificateTest.cs:line 58

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

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-----        10/19/2023   9:59 PM                Certificates                                                         
Certificate created successfully
Certificate Thumbprint: 5818F82AAC090FC1E9FB4207A8B604F46DEA6E6B


    Directory: C:\Certificates


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
-a----        10/19/2023   9:59 PM            855 SQLClientSelfSignedCertificate.cer                                   

PSPath                   : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\5818F82AAC090FC1E9FB4207A8B604F
                           46DEA6E6B
PSParentPath             : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root
PSChildName              : 5818F82AAC090FC1E9FB4207A8B604F46DEA6E6B
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                 : 10/19/2026 9:59:32 PM
NotBefore                : 10/19/2023 9:49:34 PM
HasPrivateKey            : False
PrivateKey               : 
PublicKey                : System.Security.Cryptography.X509Certificates.PublicKey
RawData                  : {48, 130, 3, 83...}
SerialNumber             : 7D6D1FA28F82EFA146218DD54934DEBD
SubjectName              : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm       : System.Security.Cryptography.Oid
Thumbprint               : 5818F82AAC090FC1E9FB4207A8B604F46DEA6E6B
Version                  : 3
Handle                   : 2421009286624
Issuer                   : CN=d72ca378c000002
Subject                  : CN=d72ca378c000002
EnhancedKeyUsageList     : {Server Authentication (1.3.6.1.5.5.7.3.1)}
DnsNameList              : {d72ca378c000002, localhost, SQLAliasName}
SendAsTrustedIssuer      : False
EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
PolicyId                 : 

WARNING: Waiting for service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' to stop...
WARNING: Waiting for service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' to stop...
WARNING: Waiting for service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' to stop...
WARNING: Waiting for service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' to stop...


Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.CreateValidCertificate(String script) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\ConnectionTestWithSSLCert\CertificateTest.cs:line 197
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest..ctor() in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\ConnectionTestWithSSLCert\CertificateTest.cs:line 58

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 / CI-SqlClient

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 D:\a\_work\1\s\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 D:\a\_work\1\s\src\Microsoft.Data.SqlClient\netcore\src\Common\src\Microsoft\Data\ProviderBase\DbConnectionInternal.cs:line 350
   at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) in D:\a\_work\1\s\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 D:\a\_work\1\s\src\Microsoft.Data.SqlClient\netcore\src\Microsoft\Data\SqlClient\SqlConnection.cs:line 1973
   at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\netcore\src\Microsoft\Data\SqlClient\SqlConnection.cs:line 1418
   at Microsoft.Data.SqlClient.SqlConnection.Open() in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\netcore\src\Microsoft\Data\SqlClient\SqlConnection.cs:line 1372
   at Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ReclaimedConnectionsCounter_Functional() in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\TracingTests\EventCounterTest.cs:line 166

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

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-----        10/19/2023  10:47 PM                Certificates                                                         
Certificate created successfully
Certificate Thumbprint: 51D27C1C6F078468667274A2F2F7FA0A50B582DE


    Directory: C:\Certificates


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
-a----        10/19/2023  10:47 PM            855 SQLClientSelfSignedCertificate.cer                                   

PSPath                   : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root\51D27C1C6F078468667274A2F2F7FA0
                           A50B582DE
PSParentPath             : Microsoft.PowerShell.Security\Certificate::LocalMachine\Root
PSChildName              : 51D27C1C6F078468667274A2F2F7FA0A50B582DE
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                 : 10/19/2026 10:47:28 PM
NotBefore                : 10/19/2023 10:37:32 PM
HasPrivateKey            : False
PrivateKey               : 
PublicKey                : System.Security.Cryptography.X509Certificates.PublicKey
RawData                  : {48, 130, 3, 83...}
SerialNumber             : 41AFF6A108936BAC42114BB60F30125E
SubjectName              : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm       : System.Security.Cryptography.Oid
Thumbprint               : 51D27C1C6F078468667274A2F2F7FA0A50B582DE
Version                  : 3
Handle                   : 2299673133056
Issuer                   : CN=a716942ac000000
Subject                  : CN=a716942ac000000
EnhancedKeyUsageList     : {Server Authentication (1.3.6.1.5.5.7.3.1)}
DnsNameList              : {a716942ac000000, localhost, SQLAliasName}
SendAsTrustedIssuer      : False
EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty
PolicyId                 : 

WARNING: Waiting for service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' to stop...
WARNING: Waiting for service 'SQL Server (MSSQLSERVER) (MSSQLSERVER)' to stop...


Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.CreateValidCertificate(String script) in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\ConnectionTestWithSSLCert\CertificateTest.cs:line 192
   at Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest..ctor() in D:\a\_work\1\s\src\Microsoft.Data.SqlClient\tests\ManualTests\SQL\ConnectionTestWithSSLCert\CertificateTest.cs:line 57
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)