Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 74 additions & 15 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build "$(SqlClientNotSupportedProjectPath)"

<!-- Build arguments -->

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor unrelated cleanup for consistent sections and ordering in these repeated blocks.

-p:Configuration=$(Configuration)
-p:GenApiPath="@(GenApiArtifactPath->'%(FullPath)')"
$(SigningKeyPathArgument)
Expand Down Expand Up @@ -483,6 +485,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build $(SqlClientRefProjectPath)

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

Expand All @@ -491,7 +495,7 @@
$(BuildSuffixArgument)
$(PackageVersionSqlClientArgument)

<!-- Reference type arguments -->
<!-- Reference Type Arguments -->
$(ReferenceTypeArgument)
$(PackageVersionAbstractionsArgument)
$(PackageVersionSqlServerArgument)
Expand All @@ -512,6 +516,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build $(SqlClientProjectPath)

<!-- Build arguments -->
-p:Configuration=$(Configuration)
-p:TargetOs=Unix
$(SigningKeyPathArgument)
Expand Down Expand Up @@ -543,11 +549,13 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build $(SqlClientProjectPath)

<!-- Build arguments -->
-p:Configuration=$(Configuration)
-p:TargetOs=Windows_NT
$(SigningKeyPathArgument)

<!-- Versioning Arguments -->
<!-- Versioning arguments -->
$(BuildNumberArgument)
$(BuildSuffixArgument)
$(PackageVersionSqlClientArgument)
Expand Down Expand Up @@ -586,6 +594,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" pack "$(SqlClientProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(PackBuildArgument)
$(SigningKeyPathArgument)
Expand All @@ -601,7 +611,7 @@
$(PackageVersionLoggingArgument)
$(PackageVersionSqlServerArgument)

<!-- Pack settings are defined in Microsoft.Data.SqlClient.csproj -->
<!-- Pack arguments -->
-p:PackageOutputPath="$(SqlClientPackageArtifactRoot)"
</DotnetCommand>
<!-- Convert more than one whitespace character into one space -->
Expand Down Expand Up @@ -635,7 +645,12 @@

<DotnetCommand>
"$(DotnetPath)dotnet" test "$(SqlClientFunctionalTestProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're adding the signing key build properties in a few new places now.


<!-- Test arguments -->
$(TestBlameArgument)
$(TestCodeCoverageArgument)
$(TestFiltersArgument)
Expand Down Expand Up @@ -680,7 +695,12 @@

<DotnetCommand>
"$(DotnetPath)dotnet" test "$(SqlClientManualTestProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

<!-- Test arguments -->
$(TestBlameArgument)
$(TestCodeCoverageArgument)
$(ManualTestFiltersArgument)
Expand All @@ -699,7 +719,7 @@
<DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand>
</PropertyGroup>
<Message Text=">>> Running manual tests for SqlClient via command: $(DotnetCommand)" />
<Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" />

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Ubuntu20_Sql22 net8_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net8.0-3" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Ubuntu22_Sql22 net9_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net9.0-3" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Ubuntu22_Sql22 net8_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net8.0-3" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Ubuntu20_Sql22 net9_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net9.0-3" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Azure_Sql net9_0_AnyCPU_NativeSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Windows_NT-net9.0-3" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql22 net9_0_AnyCPU_ManagedSNI_2)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --collect "Code coverage" --settings "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/CodeCoverage.runsettings" --filter "category!=failing&category!=flaky&category!=interactive&category!=signed&(Set=2)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Windows_NT-net9.0-2" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql22 net8_0_AnyCPU_ManagedSNI_2)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --collect "Code coverage" --settings "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/CodeCoverage.runsettings" --filter "category!=failing&category!=flaky&category!=interactive&category!=signed&(Set=2)" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Windows_NT-net8.0-2" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (MacOSLatest_Sql22 net9_0_AnyCPU_ManagedSNI_2)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/Users/runner/work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=2)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net9.0-2" -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Ubuntu20_Sql22 net8_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net8.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Ubuntu22_Sql22 net9_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net9.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Ubuntu22_Sql22 net8_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net8.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Ubuntu20_Sql22 net9_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "/mnt/vss/_work/1/s/src/../src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Unix-net9.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_Azure_Sql net8_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Windows_NT-net8.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net9_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky&(Set=3)" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Windows_NT-net9.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 722 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net8_0_AnyCPU_ManagedSNI_3)

build.proj#L722

build.proj(722,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --collect "Code coverage" --settings "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/CodeCoverage.runsettings" --filter "category!=failing&category!=flaky&category!=interactive&category!=signed&(Set=3)" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientManual-Windows_NT-net8.0-3" -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.1.0-preview1ci17010 -p:LoggingPackageVersion=1.1.0-preview1ci17010 -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.
</Target>

<!-- TestSqlClientUnit: Runs unit tests for SqlClient -->
Expand All @@ -710,24 +730,31 @@

<DotnetCommand>
"$(DotnetPath)dotnet" test "$(SqlClientUnitTestProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)
$(TestSigningKeyPathArgument)

<!-- Test arguments -->
$(TestBlameArgument)
$(TestCodeCoverageArgument)
$(TestFiltersArgument)
$(TestFrameworkArgument)
--results-directory "$(TestResultsFolderPath)"
--logger:"trx;LogFilePrefix=$(LogFilePrefix)"

<!-- Reference Type Arguments -->
$(ReferenceTypeArgument)
$(TestSigningKeyPathArgument)
$(PackageVersionSqlClientArgument)
$(PackageVersionSqlServerArgument)
--results-directory "$(TestResultsFolderPath)"
--logger:"trx;LogFilePrefix=$(LogFilePrefix)"
</DotnetCommand>

<!-- Convert more than one whitespace character into one space -->
<DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand>
</PropertyGroup>
<Message Text=">>> Running unit tests for SqlClient via command: $(DotnetCommand)" />
<Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" />

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Azure_Sql net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql19 net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql22 net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql22_x86 net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql22_Named_Instance net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql19 net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql19 net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_ARM64_Azure_Sql net9_0_AnyCPU_NativeSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_ARM64_Azure_Sql net9_0_AnyCPU_ManagedSNI_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_Azure_Sql net9_0_AnyCPU_NativeSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_Azure_Sql net8_0_AnyCPU_NativeSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_Azure_Sql net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_Azure_Sql net8_0_AnyCPU_NativeSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_Azure_Sql net9_0_AnyCPU_NativeSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_ARM64_Azure_Sql net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_ARM64_Azure_Sql net9_0_AnyCPU_NativeSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_ARM64_Azure_Sql net8_0_AnyCPU_ManagedSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_ARM64_Azure_Sql net8_0_AnyCPU_NativeSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project (Win11_ARM64_Azure_Sql net9_0_AnyCPU_ManagedSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Azure_Sql net9_0_AnyCPU_NativeSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Azure_Sql net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql19 net9_0_AnyCPU_ManagedSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22 net8_0_AnyCPU_ManagedSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22_Named_Instance net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql19_x86 net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22_Named_Instance net9_0_AnyCPU_NativeSNI_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22_x86 net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22_Named_Instance net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22_Named_Instance net8_0_AnyCPU_ManagedSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22 net9_0_AnyCPU_NativeSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22 net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql22_x86 net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net8_0_AnyCPU_ManagedSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_Azure_Sql net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net462_AnyCPU_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_Azure_Sql net8_0_AnyCPU_NativeSNI_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_2)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net8_0_AnyCPU_NativeSNI_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net9_0_AnyCPU_ManagedSNI_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net9_0_AnyCPU_NativeSNI_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net8_0_AnyCPU_NativeSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_Azure_Sql net8_0_AnyCPU_NativeSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win22_Sql19_x86 net462_AnyCPU_1)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "C:\x86\dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net462_AnyCPU_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package (Win11_ARM64_Azure_Sql net9_0_AnyCPU_NativeSNI_3)

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net462 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net462" -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.

Check failure on line 757 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package

build.proj#L757

build.proj(757,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net8.0 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net8.0" -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci17010 -p:SqlServerPackageVersion=1.1.0-preview1ci17010 " exited with code 1.
</Target>

<!-- ================================================================= -->
Expand All @@ -746,15 +773,17 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build "$(AkvProviderProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

<!--Versioning arguments -->
<!-- Versioning arguments -->
$(BuildNumberArgument)
$(BuildSuffixArgument)
$(PackageVersionAkvProviderArgument)

<!-- Reference type arguments -->
<!-- Reference Type Arguments -->
$(ReferenceTypeArgument)
$(PackageVersionAbstractionsArgument)
$(PackageVersionLoggingArgument)
Expand All @@ -774,6 +803,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" pack "$(AkvProviderProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(PackBuildArgument)
$(SigningKeyPathArgument)
Expand Down Expand Up @@ -827,6 +858,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build "$(AbstractionsProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

Expand All @@ -852,6 +885,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" pack "$(AbstractionsProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(PackBuildArgument)
$(SigningKeyPathArgument)
Expand Down Expand Up @@ -887,22 +922,28 @@
<!-- TestAbstractions: Runs Microsoft.Data.SqlClient.Extensions.Abstractions.Tests -->
<Target Name="TestAbstractions">
<PropertyGroup>
<!--
Note: This test exclusively uses project references, so neither ReferenceType nor any
package version arguments are specified in this command.
-->
<LogFilePrefix>AbstractionsTests-$(OS)</LogFilePrefix>
<LogFilePrefix Condition="'$(TestFramework)' != ''">$(LogFilePrefix)-$(TestFramework)</LogFilePrefix>

<DotnetCommand>
"$(DotnetPath)dotnet" test "$(AbstractionsTestProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)
$(TestSigningKeyPathArgument)

<!-- Test arguments -->
$(TestBlameArgument)
$(TestCodeCoverageArgument)
$(TestFiltersArgument)
$(TestFrameworkArgument)
--results-directory "$(TestResultsFolderPath)"
--logger:"trx;LogFilePrefix=$(LogFilePrefix)"

<!-- Reference Type Arguments -->
$(ReferenceTypeArgument)
$(PackageVersionLoggingArgument)
</DotnetCommand>
<!-- Convert more than one whitespace character into one space -->
<DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand>
Expand All @@ -929,6 +970,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build "$(AzureProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

Expand All @@ -937,7 +980,7 @@
$(BuildSuffixArgument)
$(PackageVersionAzureArgument)

<!-- Reference type arguments -->
<!-- Reference Type Arguments -->
$(ReferenceTypeArgument)
$(PackageVersionLoggingArgument)
</DotnetCommand>
Expand All @@ -954,6 +997,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" pack "$(AzureProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(PackBuildArgument)
$(SigningKeyPathArgument)
Expand Down Expand Up @@ -994,15 +1039,21 @@

<DotnetCommand>
"$(DotnetPath)dotnet" test "$(AzureTestProjectPath)"

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)
$(TestSigningKeyPathArgument)

<!-- Test arguments -->
$(TestBlameArgument)
$(TestCodeCoverageArgument)
$(TestFiltersArgument)
$(TestFrameworkArgument)
--results-directory "$(TestResultsFolderPath)"
--logger:"trx;LogFilePrefix=$(LogFilePrefix)"

<!-- Reference type arguments -->
<!-- Reference Type Arguments -->
$(ReferenceTypeArgument)
$(PackageVersionAbstractionsArgument)
$(PackageVersionLoggingArgument)
Expand Down Expand Up @@ -1030,6 +1081,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build $(LoggingProjectPath)

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

Expand All @@ -1051,6 +1104,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" pack $(LoggingProjectPath)

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(PackBuildArgument)
$(SigningKeyPathArgument)
Expand Down Expand Up @@ -1092,10 +1147,12 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" build $(SqlServerProjectPath)

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(SigningKeyPathArgument)

<!--Versioning arguments -->
<!-- Versioning arguments -->
$(BuildNumberArgument)
$(BuildSuffixArgument)
$(PackageVersionSqlServerArgument)
Expand All @@ -1113,6 +1170,8 @@
<PropertyGroup>
<DotnetCommand>
"$(DotnetPath)dotnet" pack $(SqlServerProjectPath)

<!-- Build arguments -->
-p:Configuration=$(Configuration)
$(PackBuildArgument)
$(SigningKeyPathArgument)
Expand Down
12 changes: 4 additions & 8 deletions eng/pipelines/ci/package/sqlclient-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ variables:
value: ${{ eq(variables['System.TeamProject'], 'ADO.Net') }}

# Signing key argument passed to build.proj. On internal builds this references the secure file
# downloaded by DownloadSecureFile@1; on public builds it expands to empty.
# downloaded by download-assembly-signing-key.yml; on public builds it expands to empty.
- name: signingKeyArg
${{ if eq(variables.isInternalBuild, true) }}:
value: '-p:SigningKeyPath="$(keyFile.secureFilePath)"'
value: '-p:SigningKeyPath="$(driverKeyFile.secureFilePath)"'
${{ else }}:
value: ''

Expand Down Expand Up @@ -133,13 +133,9 @@ jobs:
Write-Host 'Done.'
displayName: Clean packages/ directory

# On internal builds, download the strong-name signing key.
# On internal builds, download the assembly signing key.
- ${{ if eq(variables.isInternalBuild, true) }}:
- task: DownloadSecureFile@1
displayName: Download Signing Key
inputs:
secureFile: netfxKeypair.snk
name: keyFile
- template: /eng/pipelines/common/steps/download-assembly-signing-key.yml@self

# Run the Pack target via build.proj.
- task: DotNetCoreCLI@2
Expand Down
39 changes: 39 additions & 0 deletions eng/pipelines/common/steps/download-assembly-signing-key.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
################################################################################
# Licensed to the .NET Foundation under one or more agreements. The .NET
# Foundation licenses this file to you under the MIT license. See the LICENSE
# file in the project root for more information.
################################################################################

# Downloads a signing key from ADO secure files.
#
# When isTest is false, downloads the driver signing key and exports it as 'driverKeyFile'. When
# isTest is true, downloads the test signing key and exports it as 'testKeyFile'.
#
# Downstream steps reference the path via:
#
# $(driverKeyFile.secureFilePath) or
# $(testKeyFile.secureFilePath)

parameters:

# When false, download the driver signing key.
# When true, download the test signing key.
- name: isTest
type: boolean
default: false

steps:

- ${{ if eq(parameters.isTest, false) }}:
- task: DownloadSecureFile@1
displayName: Download Driver Signing Key
inputs:
secureFile: netfxKeypair.snk
name: driverKeyFile

- ${{ if eq(parameters.isTest, true) }}:
- task: DownloadSecureFile@1
displayName: Download Test Signing Key
inputs:
secureFile: sqlclient-test-key.snk
name: testKeyFile
Loading
Loading