Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
523250b
PR pipeline runs will separate which tests they run:
paulmedynski Jan 21, 2026
15c9d8d
Re-wrote the code coverage job to:
paulmedynski Jan 23, 2026
8b7da18
- Moved code coverage job to Linux and streamlined it even further.
paulmedynski Jan 26, 2026
94ea4e2
Replaced PowerShell with native script calls to ensure compatibility …
paulmedynski Jan 26, 2026
fc27fd5
Working around a dotnet CLI bug related to tool installation.
paulmedynski Jan 26, 2026
73883db
Trying a different workaround for the dotnet CLI bug.
paulmedynski Jan 26, 2026
dbe5bbf
Trying to fix artifact download pattern.
paulmedynski Jan 27, 2026
dc05a6a
Removed unnecessary reportgenerator step.
paulmedynski Jan 27, 2026
358ac5a
Added Code Coverage configruation to only include driver code. We do…
paulmedynski Jan 27, 2026
f4ae237
Trying to get code coverage and symbols working for package builds.
paulmedynski Jan 28, 2026
1a06f29
Downloading NuGet and Symbols packages for test runs.
paulmedynski Jan 28, 2026
483cf95
Updated pipelines to generate symbols with nuget.
paulmedynski Jan 28, 2026
2aa3099
Using DotNetCoreCli on Unix instead of MSBuild.
paulmedynski Jan 28, 2026
aa195dd
Fixed incorrect MDS NuGet package version in CI runs.
paulmedynski Jan 28, 2026
66bd89f
Abandoning running unit and integration tests in separate pipelines, …
paulmedynski Jan 29, 2026
6ef1ea2
Reverted changes to blame config.
paulmedynski Jan 29, 2026
d85a1f3
Removed stale comments from PR pipelines.
paulmedynski Feb 10, 2026
327ea6d
Merge branch 'main' into dev/paul/duplicate-runs
paulmedynski Feb 10, 2026
ec25bc9
Merge branch 'main' into dev/paul/duplicate-runs
paulmedynski Feb 10, 2026
2fa8826
Addressed Copilot feedback.
paulmedynski Feb 10, 2026
5d2d5f4
Merge branch 'main' of github.com:dotnet/SqlClient into dev/paul/dupl…
mdaigle Feb 13, 2026
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
4 changes: 2 additions & 2 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<ProjectProperties>$(CommonProperties);AssemblyFileVersion=$(AssemblyFileVersion);TargetsWindows=$(TargetsWindows);TargetsUnix=$(TargetsUnix);</ProjectProperties>
<TestProjectProperties>$(ProjectProperties);BuildForRelease=false;TargetNetCoreVersion=$(TargetNetCoreVersion);TargetNetFxVersion=$(TargetNetFxVersion)</TestProjectProperties>
<ResultsDirectory Condition="$(ResultsDirectory) == ''">TestResults</ResultsDirectory>

<!--
Path to a `dotnet` version like a x86 or any especific versions in addition to a default installed version.
This property is empty by default to use the default path of the system's path variable.
Expand All @@ -54,7 +53,8 @@

<!-- Collect code coverage unless explicitly disabled -->
<CollectCodeCoverage Condition="'$(CollectCodeCoverage)' == ''">true</CollectCodeCoverage>
<CollectArgument Condition="'$(CollectCodeCoverage)' == 'true'">--collect "Code coverage"</CollectArgument>
<CodeCoverageRunSettings>$(TestsPath)/tools/Microsoft.Data.SqlClient.TestUtilities/CodeCoverage.runsettings</CodeCoverageRunSettings>
<CollectStatement Condition="'$(CollectCodeCoverage)' == 'true'">--collect "Code coverage" --settings "$(CodeCoverageRunSettings)"</CollectStatement>

<!-- Set up tests to fail after hangs and report via blame -->
<BlameArgument>$(Blame)</BlameArgument>
Expand Down Expand Up @@ -271,7 +271,7 @@
<TestCommand>$([System.Text.RegularExpressions.Regex]::Replace($(TestCommand), "\s+", " "))</TestCommand>
</PropertyGroup>
<Message Text=">>> Running unit tests for Windows via command: $(TestCommand)"/>
<Exec ConsoleToMsBuild="true" Command="$(TestCommand)"/>

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net462 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetfx-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 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#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 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#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 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#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net9.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

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

build.proj#L274

build.proj(274,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.

Check failure on line 274 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Project

build.proj#L274

build.proj(274,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj" -f net8.0 -p:Configuration=Debug --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3" " exited with code 1.
</Target>

<!-- Run all unit tests applicable to Unix. -->
Expand Down Expand Up @@ -372,7 +372,7 @@
<TestCommand>$([System.Text.RegularExpressions.Regex]::Replace($(TestCommand), "\s+", " "))</TestCommand>
</PropertyGroup>
<Message Text=">>> Running Manual test for Windows via command: $(TestCommand)" />
<Exec ConsoleToMsBuild="true" Command="$(TestCommand)" />

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category!=failing&category!=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-2" -p:TestSet=2 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 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#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 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#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Project -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 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#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net462 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetfx-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category!=failing&category!=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category!=failing&category!=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category!=failing&category!=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category!=failing&category!=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-2" -p:TestSet=2 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

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

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net9.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category!=failing&category!=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-2" -p:TestSet=2 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.

Check failure on line 375 in build.proj

View check run for this annotation

Azure Pipelines / PR-SqlClient-Package

build.proj#L375

build.proj(375,5): Error MSB3073: The command " dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj" -f net8.0 -p:Configuration=Debug -p:ReferenceType=Package -p:AbstractionsPackageVersion=1.0.0.04410-ci -p:MdsPackageVersion=7.0.0.04410-ci --filter "category=flaky" --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --results-directory TestResults --logger:"trx;LogFilePrefix=Manual-Windowsnetcoreapp-3" -p:TestSet=3 " exited with code 1.
</Target>

<!-- Run all Manual tests applicable to Unix. -->
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/common/templates/jobs/ci-build-nugets-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
parameters:
buildConfiguration: ${{ parameters.buildConfiguration }}
displayName: 'Create MDS NuGet Package'
generateSymbolsPackage: false
generateSymbolsPackage: true
nuspecPath: 'tools/specs/Microsoft.Data.SqlClient.nuspec'
outputDirectory: $(packagePath)
packageVersion: ${{ parameters.mdsPackageVersion }}
Expand All @@ -132,7 +132,7 @@ jobs:
parameters:
buildConfiguration: ${{ parameters.buildConfiguration }}
displayName: 'Create AKV NuGet Package'
generateSymbolsPackage: false
generateSymbolsPackage: true
installNuget: false
nuspecPath: 'tools/specs/add-ons/Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider.nuspec'
outputDirectory: $(packagePath)
Expand Down
253 changes: 95 additions & 158 deletions eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,43 @@
# See the LICENSE file in the project root for more information. #
#################################################################################

# This job processes code coverage reports generated during test runs,
# merges them, generates code coverage reports, publishes them to the
# pipeline, and uploads them to CodeCov.
# This job processes code coverage reports generated during test runs, merges
# them, generates code coverage reports, publishes them to the pipeline, and
# uploads them to CodeCov.

parameters:

# True to include debug steps.
- name: debug
type: boolean
default: false

# The pool image to use.
- name: image
type: string

# The agent pool name.
- name: pool
type: string

# Array of target frameworks to process code coverage for:
#
# e.g. [net462, net8.0, net9.0]
#
- name: targetFrameworks
type: object

# True to upload code coverage results to CodeCov.
- name: upload
type: boolean

jobs:
- job: CodeCoverage
- job: publish_code_coverage
displayName: Publish Code Coverage

pool:
name: ${{ parameters.pool }}
${{ if eq(parameters.pool, 'Azure Pipelines') }}:
vmImage: ${{ parameters.image }}
${{ else }}:
demands:
- imageOverride -equals ${{ parameters.image }}
name: Azure Pipelines
Comment thread
paulmedynski marked this conversation as resolved.
vmImage: ubuntu-latest

variables:
netFxDir: $(Build.SourcesDirectory)\coverageNetFx
netCoreDir: $(Build.SourcesDirectory)\coverageNetCore
# Use a temp directory that is cleaned up after each job runs. This helps
Comment thread
paulmedynski marked this conversation as resolved.
# avoid disk space issues on pooled agents that may run many jobs before
# being retired.
- name: workingDir
value: $(Agent.TempDirectory)/coverage

steps:

- ${{if eq(parameters.debug, true)}}:
- pwsh: Get-Volume
- script: df -h
Comment thread
paulmedynski marked this conversation as resolved.
displayName: '[Debug] Show Disk Usage'

- pwsh: 'Get-ChildItem env: | Sort-Object Name'
- script: env | sort
displayName: '[Debug] List Environment Variables'

# Install the .NET SDK.
Expand All @@ -65,150 +49,103 @@ jobs:
debug: ${{ parameters.debug }}

# Install additional dotnet tools.
- pwsh: |
dotnet tool install --global dotnet-coverage
dotnet tool install --global dotnet-reportgenerator-globaltool
displayName: Install dotnet tools

- pwsh: |
Write-Host "Removing leftover coverage files from previous runs..."
Remove-Item $(netFxDir) -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item $(netCoreDir) -Recurse -Force -ErrorAction SilentlyContinue

Write-Host "Removing leftover merged XML files from previous runs..."
Remove-Item coverageNetFxXml -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item coverageNetCoreXml -Recurse -Force -ErrorAction SilentlyContinue

Write-Host "Removing leftover reports from previous runs..."
Remove-Item coveragereportNetFx -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item coveragereportNetCore -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item coveragereportAddOns -Recurse -Force -ErrorAction SilentlyContinue

- ${{ each targetFramework in parameters.targetFrameworks }}:
- task: DownloadPipelineArtifact@2
displayName: 'Download Coverage Reports [${{ targetFramework }}]'
inputs:
itemPattern: '**\${{ targetFramework }}*'
${{ if startsWith(targetFramework, 'net4') }}:
targetPath: $(netFxDir)
${{ else }}:
targetPath: $(netCoreDir)
#
# We must work around a bug in the dotnet CLI that prevents tool installs
# when multiple project/solution files are present in the working
# directory:
#
# https://github.com/dotnet/sdk/issues/9623
#
# Our repo root (the default working directory for tasks) contains more
# than one project file. However, we must also obey the NuGet.config in
# the repo root to ensure that tools are installed from the correct feeds.
# We accomplish this by copying the NuGet.config to a temp dir and then
# instructing the dotnet CLI tasks to run from that directory. They will
# still install the tools globally for subsequent tasks to use.
#
- script: cp "$(Build.SourcesDirectory)/NuGet.config" "$(Agent.TempDirectory)/"
displayName: Copy NuGet.config for tool installs

- task: DotNetCoreCLI@2
displayName: Install dotnet-coverage tool
inputs:
command: custom
custom: tool
workingDirectory: $(Agent.TempDirectory)
arguments: install --global dotnet-coverage --version 18.3.2

- ${{if eq(parameters.debug, true)}}:
- pwsh: Get-Volume
- script: df -h
displayName: '[Debug] Show Disk Usage'

- pwsh: Get-ChildItem $(netFxDir) -Recurse -File -Filter *.coverage
displayName: '[Debug] List coverageNetFx files'

- pwsh: Get-ChildItem $(netCoreDir) -Recurse -File -Filter *.coverage
displayName: '[Debug] List coverageNetCore files'

- pwsh: |
function MergeFiles {
param(
[string]$InputDirectoryPath,
[string]$OutputDirectoryName
)

$files = Get-ChildItem $InputDirectoryPath -Recurse -File -Filter *.coverage

# echo $files
mkdir $OutputDirectoryName
$counter=0

$toProcess = @()

foreach ($file in $files) {
$toProcess += @{
File = $file.FullName
OutputFile = "$OutputDirectoryName\$counter.coveragexml"
}

$counter++
}

$jobs = @()
foreach ($file in $toProcess){
$jobs += Start-ThreadJob -ScriptBlock {
$params = $using:file
& dotnet-coverage merge $($params.File) --output $($params.OutputFile) --output-format xml
}
}

Write-Host "Merging started..."
Wait-Job -Job $jobs

foreach ($job in $jobs) {
Receive-Job -Job $job -Wait -AutoRemoveJob
}
}

MergeFiles -InputDirectoryPath "$(netFxDir)" -OutputDirectoryName "coverageNetFxXml"
MergeFiles -InputDirectoryPath "$(netCoreDir)" -OutputDirectoryName "coverageNetCoreXml"

Write-Host "Removing original coverage files..."
Remove-Item $(netFxDir) -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item $(netCoreDir) -Recurse -Force -ErrorAction SilentlyContinue
displayName: Convert coverage files to xml
# Download all of the coverage reports from the test jobs.
Comment thread
paulmedynski marked this conversation as resolved.
#
# These artifacts contain the .coverage files generated during test runs,
# along with a bunch of other files that we ignore. We only download the
# .coverage files.
#
- task: DownloadPipelineArtifact@2
displayName: Download Coverage Reports
inputs:
# All of our coverage report artifact names start with 'net'.
itemPattern: '**/net*/**/*.coverage'
Comment thread
paulmedynski marked this conversation as resolved.
targetPath: $(workingDir)/originals

- ${{if eq(parameters.debug, true)}}:
- pwsh: Get-Volume
- script: df -h
displayName: '[Debug] Show Disk Usage'

- pwsh: |
dir coverageNetFxXml\
dir coverageNetCoreXml\
displayName: '[Debug] List converted files'

- pwsh: |
$jobs = @()
$jobs += Start-ThreadJob -ScriptBlock {
& reportgenerator "-reports:coverageNetFxXml\*.coveragexml" "-targetdir:coveragereportNetFx" "-reporttypes:Cobertura;" "-assemblyfilters:+microsoft.data.sqlclient.dll" "-sourcedirs:$(Build.SourcesDirectory)\src\Microsoft.Data.SqlClient\netfx\src;$(Build.SourcesDirectory)\src\Microsoft.Data.SqlClient\src" "-classfilters:+Microsoft.Data.*"
}
- script: ls -alFR "$(workingDir)/originals"
displayName: '[Debug] List coverage files'

$jobs += Start-ThreadJob -ScriptBlock {
& reportgenerator "-reports:coverageNetCoreXml\*.coveragexml" "-targetdir:coveragereportNetCore" "-reporttypes:Cobertura;" "-assemblyfilters:+microsoft.data.sqlclient.dll" "-sourcedirs:$(Build.SourcesDirectory)\src\Microsoft.Data.SqlClient\netcore\src;$(Build.SourcesDirectory)\src\Microsoft.Data.SqlClient\src" "-classfilters:+Microsoft.Data.*"
}

$jobs += Start-ThreadJob -ScriptBlock {
& reportgenerator "-reports:coverageNetCoreXml\*.coveragexml" "-targetdir:coveragereportAddOns" "-reporttypes:Cobertura;" "-assemblyfilters:+microsoft.data.sqlclient.alwaysencrypted.azurekeyvaultprovider.dll" "-sourcedirs:$(Build.SourcesDirectory)\src\Microsoft.Data.SqlClient\add-ons\AzureKeyVaultProvider" "-classfilters:+Microsoft.Data.*"
}

Write-Host "Running ReportGenerator..."
Wait-Job -Job $jobs

foreach ($job in $jobs) {
Receive-Job -Job $job -Wait -AutoRemoveJob
}

Write-Host "Removing merged XML files..."
Remove-Item coverageNetFxXml -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item coverageNetCoreXml -Recurse -Force -ErrorAction SilentlyContinue
displayName: Run ReportGenerator
# Merge them all into a single Cobertura XML file.
- script: >-
dotnet-coverage merge "$(workingDir)/originals/**/*.coverage"
Comment thread
paulmedynski marked this conversation as resolved.
Comment thread
paulmedynski marked this conversation as resolved.
--output "$(workingDir)/merge/Cobertura.xml"
--output-format cobertura
--log-file "$(workingDir)/merge/merge.log"
--log-level Verbose
Comment thread
paulmedynski marked this conversation as resolved.
displayName: Merge coverage files to Cobertura XML

- ${{if eq(parameters.debug, true)}}:
- pwsh: Get-Volume
- script: df -h
displayName: '[Debug] Show Disk Usage'

# Publish the Cobertura XML coverage file as a pipeline artifact for
# debugging purposes.
- task: PublishPipelineArtifact@1
displayName: Publish Cobertura XML Artifact
inputs:
targetPath: $(workingDir)/merge
artifact: Cobertura Merge Results

# Publish the Cobertura reports to the pipeline to be viewed in the Azure
# DevOps pipeline run UI.
- task: PublishCodeCoverageResults@2
displayName: Publish code coverage results
inputs:
summaryFileLocation: '*\Cobertura.xml'
summaryFileLocation: $(workingDir)/merge/Cobertura.xml

# Publish the Cobertura reports to CodeCov, if desired.
- ${{if eq(parameters.upload, true)}}:
- pwsh: |
#download Codecov CLI
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://cli.codecov.io/latest/windows/codecov.exe -Outfile codecov.exe

./codecov --verbose upload-process --fail-on-error -t $(CODECOV_TOKEN) -f "coveragereportNetFx\Cobertura.xml" -F netfx
./codecov --verbose upload-process --fail-on-error -t $(CODECOV_TOKEN) -f "coveragereportNetCore\Cobertura.xml" -F netcore
./codecov --verbose upload-process --fail-on-error -t $(CODECOV_TOKEN) -f "coveragereportAddOns\Cobertura.xml" -F addons
# Download the CodeCov CLI
- script: |
curl -o "$(workingDir)/codecov" https://cli.codecov.io/latest/linux/codecov
chmod +x "$(workingDir)/codecov"
displayName: Download CodeCov CLI

# Upload the report.
#
# We use the pipeline name as the "flag" to help distinguish reports
# uploaded from different pipelines.
#
- script: >-
$(workingDir)/codecov
--verbose
upload-process
--fail-on-error
-t $(CODECOV_TOKEN)
--disable-search
-f "$(workingDir)/merge/Cobertura.xml"
-F $(Build.DefinitionName)
displayName: Upload to CodeCov

- pwsh: |
Write-Host "Removing reports..."
Remove-Item coveragereportNetFx -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item coveragereportNetCore -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item coveragereportAddOns -Recurse -Force -ErrorAction SilentlyContinue
17 changes: 6 additions & 11 deletions eng/pipelines/common/templates/jobs/ci-run-tests-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ parameters:
type: stepList
default: []

- name: publishTestResults
type: boolean
default: false

- name: referenceType
type: string
values:
Expand Down Expand Up @@ -327,10 +323,9 @@ jobs:
abstractionsPackageVersion: ${{ parameters.abstractionsPackageVersion }}
mdsPackageVersion: ${{ parameters.mdsPackageVersion }}

- ${{ if eq(parameters.publishTestResults, true) }}:
- template: /eng/pipelines/common/templates/steps/publish-test-results-step.yml@self
parameters:
debug: ${{ parameters.debug }}
targetFramework: ${{ parameters.targetFramework }}
operatingSystem: ${{ parameters.operatingSystem }}
buildConfiguration: ${{ parameters.buildConfiguration }}
- template: /eng/pipelines/common/templates/steps/publish-test-results-step.yml@self
parameters:
debug: ${{ parameters.debug }}
targetFramework: ${{ parameters.targetFramework }}
operatingSystem: ${{ parameters.operatingSystem }}
buildConfiguration: ${{ parameters.buildConfiguration }}
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ stages:
targetFramework: ${{ targetFramework }}
netcoreVersionTestUtils: ${{config.value.netcoreVersionTestUtils }}
testSet: ${{ testSet }}
${{ each codeCoveTF in config.value.codeCovTargetFrameworks }}:
Comment thread
paulmedynski marked this conversation as resolved.
${{ if eq(codeCoveTF, targetFramework) }}:
publishTestResults: true
configSqlFor: ${{ config.value.configSqlFor }}
operatingSystem: ${{ config.value.operatingSystem }}
isArm64: ${{ eq(config.value.isArm64, 'true') }}
Comment thread
paulmedynski marked this conversation as resolved.
Expand Down Expand Up @@ -130,9 +127,6 @@ stages:
targetFramework: ${{ targetFramework }}
netcoreVersionTestUtils: ${{config.value.netcoreVersionTestUtils }}
testSet: ${{ testSet }}
${{ each codeCoveTF in config.value.codeCovTargetFrameworks }}:
${{ if eq(codeCoveTF, targetFramework) }}:
publishTestResults: true
configSqlFor: ${{ config.value.configSqlFor }}
operatingSystem: ${{ config.value.operatingSystem }}
isArm64: ${{ eq(config.value.isArm64, 'true') }}
Expand Down
Loading
Loading