Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update rel/16.9 to latest commit pushed to VS #2734

Merged
merged 46 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
140434f
Update dependencies from https://github.com/dotnet/arcade build 20201…
dotnet-maestro[bot] Dec 1, 2020
684bc47
Updating Microsoft.VisualStudio.TraceDataCollector source (#2663)
fhnaseer Dec 3, 2020
01b4991
Fixed "issue" pluralization in write-release-notes.ps1 (#2665)
adamralph Dec 4, 2020
02d1799
Bumping Fakes TestRunnerHarness version (#2661)
vritant24 Dec 5, 2020
16dff22
Implement Workitem support in TRX logger (#2666)
jflepp Dec 9, 2020
269dcaa
Do not merge logs from code coverage (#2671)
jakubch1 Dec 10, 2020
70abd63
Early testhost startup performance work (#2584)
cvpoienaru Dec 11, 2020
57c4e48
Removed TypesToLoadAttribute from ObjectModel. (#2674)
Haplois Dec 14, 2020
5fe257c
Attribute refactoring (#2676)
Haplois Dec 15, 2020
faa2783
Getting TraceDataCollector from nuget (#2678)
fhnaseer Dec 16, 2020
b51c407
Adding environment variable used during build process, (#2679)
fhnaseer Dec 18, 2020
4f594fc
Update dependencies from https://github.com/dotnet/arcade build 20201…
dotnet-maestro[bot] Dec 22, 2020
e9850f8
Upgrade CC and CLR IE versions (#2681)
jakubch1 Dec 28, 2020
31e9481
Fixed assembly names of TestHost executables (#2682)
Haplois Dec 28, 2020
d51f4cc
Upgrade fakes version (#2683)
jakubch1 Dec 29, 2020
cfb0611
Upgrade CC to 16.9.0-beta.20630.1 (#2684)
jakubch1 Dec 30, 2020
97c9d46
Loc Update (#2685)
cristianosuzuki77 Jan 7, 2021
4c9bdf8
Create AzureDevOps.yml
pavelhorak Jan 12, 2021
f44bc31
Update AzureDevOps.yml
pavelhorak Jan 12, 2021
8dc8a9f
Update AzureDevOps.yml
pavelhorak Jan 12, 2021
28839a8
Update AzureDevOps.yml
pavelhorak Jan 12, 2021
2f01622
Delete AzureDevOps.yml
pavelhorak Jan 13, 2021
856e11b
Fix nuget feed (#2697)
Sanan07 Jan 15, 2021
56b0245
Upgrade CC components (#2698)
jakubch1 Jan 15, 2021
711cec7
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Jan 15, 2021
4a616d4
Create AzureDevOps.yml
pavelhorak Jan 15, 2021
fc647b6
Update AzureDevOps.yml
pavelhorak Jan 15, 2021
04b9d3c
Update AzureDevOps.yml
pavelhorak Jan 15, 2021
1cf6bbe
Update AzureDevOps.yml
pavelhorak Jan 15, 2021
e08b38a
Update AzureDevOps.yml
pavelhorak Jan 15, 2021
3c8488d
Update AzureDevOps.yml
pavelhorak Jan 18, 2021
87bed7c
Update AzureDevOps.yml
pavelhorak Jan 18, 2021
0a874a9
Update AzureDevOps.yml
pavelhorak Jan 18, 2021
63cc1bc
Add integration tests for dotnet test (#2689)
nohwnd Jan 18, 2021
cabeea1
Updated build status badge. (#2709)
Haplois Jan 22, 2021
b71b9d4
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Jan 22, 2021
c8d80cf
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Jan 24, 2021
872ba54
Update azure-pipelines.yml for Azure Pipelines (#2715)
Haplois Jan 25, 2021
bb39536
Add metrics for datacollector.exe - provides information about profil…
jakubch1 Jan 25, 2021
0338fd2
Added git branch and commit NuGet packages (#2716)
Haplois Jan 25, 2021
c7fa186
vstest.console: CommandLineOptions: preserve stacktrace on re-throw (…
tmds Jan 26, 2021
95173ba
Update AzureDevOps.yml
pavelhorak Jan 27, 2021
49bee46
Update AzureDevOps.yml
pavelhorak Jan 27, 2021
9bcf509
Move FQN related code into a separate NuGet package (#2714)
Haplois Jan 27, 2021
358ec61
Including `Microsoft.TestPlatform.AdapterUtilities` in signing (#2719)
Haplois Jan 27, 2021
6c1fd3b
Updating nuget Pdb2Pdb package (#2720)
Sanan07 Jan 29, 2021
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
25 changes: 25 additions & 0 deletions .github/workflows/AzureDevOps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync issue to Azure DevOps work item

on:
issues:
types:
[labeled] #, opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned

jobs:
updateAzDO:
if: github.event.label.name == 'sprint'
runs-on: ubuntu-latest
steps:
- uses: pavelhorak/github-actions-issue-to-work-item@master
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "${{ secrets.ADO_ORGANIZATION }}"
ado_project: "${{ secrets.ADO_PROJECT }}"
ado_area_path: "${{ secrets.ADO_AREA_PATH }}"
ado_iteration_path: ${{ secrets.ADO_ITERATION_PATH }}" # this doesn't work: "@CurrentIteration('[DevDiv]\\.NET DevExp Prague')"
ado_wit: "User Story"
ado_new_state: "Committed"
ado_active_state: "In Progress"
ado_close_state: "Completed"
ado_bypassrules: false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ build*.log
build*.wrn
build*.err
*.binlog
*.svclog

# MSTest test Results
[Tt]est[Rr]esult*/
Expand Down
7 changes: 3 additions & 4 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
<add key="dotnet3.1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1/nuget/v3/index.json" />
<add key="dotnet3.1-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-transport/nuget/v3/index.json" />
<add key="dotnet5" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet5/nuget/v3/index.json" />
<add key="vstest.myget" value="https://dotnet.myget.org/F/vstest/api/v3/index.json" />
<add key="mstest.myget" value="https://dotnet.myget.org/F/mstestv2/api/v3/index.json" />
<add key="pdb2pdb.myget" value="https://dotnet.myget.org/F/symreader-converter/api/v3/index.json" />
<add key="vsunittesting.myget" value="https://dotnet.myget.org/F/vsunittesting/api/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />
</packageSources>
<fallbackPackageFolders>
<clear />
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The Visual Studio Test Platform is an open and extensible test platform that ena
The Test Platform currently ships as part Visual Studio 2017, and in the .NET Core Tools Preview 3.

### Build status
[![Build Status](https://dev.azure.com/vstestplatform/TestPlatform/_apis/build/status/TestPlatform.CI?branchName=master)](https://dev.azure.com/vstestplatform/TestPlatform/_build/latest?definitionId=9&branchName=master)
[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/Microsoft/vstest/microsoft.vstest.ci?branchName=master)](https://dev.azure.com/dnceng/public/_build/latest?definitionId=935&branchName=master)

### Contributing
There are many ways to contribute to VSTest
Expand Down
116 changes: 52 additions & 64 deletions TestPlatform.sln

Large diffs are not rendered by default.

20 changes: 18 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
modifyEnvironment: false
failOnStandardError: true

- task: PublishTestResults@2
displayName: 'Publish Test Results **\*.trx'
inputs:
testResultsFormat: VSTest
testResultsFiles: '**\*.trx'
condition: succeededOrFailed()

- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.SourcesDirectory)\artifacts'
Expand Down Expand Up @@ -124,16 +131,25 @@ jobs:
steps:
- script: ./build.sh -c $(buildConfiguration)
displayName: 'Build'

- script: ./test.sh -c $(buildConfiguration) -p Unit
displayName: 'Unit tests'

- task: DownloadPipelineArtifact@2
inputs:
buildType: 'current'
artifactName: 'testArtifacts'
targetPath: '$(Build.SourcesDirectory)/artifacts'

- script: ./tools/dotnet-linux/dotnet build -c $(buildConfiguration) ./test/TestAssets/TestAssets.sln
displayName: 'Build test assets'

- script: ./test.sh -c $(buildConfiguration) -p Acceptance
displayName: 'Acceptance tests'



- task: PublishTestResults@2
displayName: 'Publish Test Results **/*.trx'
inputs:
testResultsFormat: VSTest
testResultsFiles: '**/*.trx'
condition: succeededOrFailed()
20 changes: 10 additions & 10 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.20570.10">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.21072.7">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>1ceac96c54fcf33eb745649c4e7b8d7507a9b730</Sha>
<Sha>620462dd065490620c03a80cea8e251004f6bf21</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="2.2.0-beta.20570.10">
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="2.2.0-beta.21072.7">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>1ceac96c54fcf33eb745649c4e7b8d7507a9b730</Sha>
<Sha>620462dd065490620c03a80cea8e251004f6bf21</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.SignTool" Version="1.0.0-beta.20570.10">
<Dependency Name="Microsoft.DotNet.SignTool" Version="1.0.0-beta.21072.7">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>1ceac96c54fcf33eb745649c4e7b8d7507a9b730</Sha>
<Sha>620462dd065490620c03a80cea8e251004f6bf21</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.20570.10">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.21072.7">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>1ceac96c54fcf33eb745649c4e7b8d7507a9b730</Sha>
<Sha>620462dd065490620c03a80cea8e251004f6bf21</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="1.0.0-beta.20570.10">
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="1.0.0-beta.21072.7">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>1ceac96c54fcf33eb745649c4e7b8d7507a9b730</Sha>
<Sha>620462dd065490620c03a80cea8e251004f6bf21</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Maestro.Client" Version="1.1.0-beta.19556.4">
<Uri>https://github.com/dotnet/arcade-services</Uri>
Expand Down
6 changes: 3 additions & 3 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
<XUnitVersion>2.4.1</XUnitVersion>
<XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion>
<XUnitVSRunnerVersion>2.4.1</XUnitVSRunnerVersion>
<MicrosoftDotNetBuildTasksFeedVersion>2.2.0-beta.20570.10</MicrosoftDotNetBuildTasksFeedVersion>
<MicrosoftDotNetSignToolVersion>1.0.0-beta.20570.10</MicrosoftDotNetSignToolVersion>
<MicrosoftDotNetBuildTasksFeedVersion>2.2.0-beta.21072.7</MicrosoftDotNetBuildTasksFeedVersion>
<MicrosoftDotNetSignToolVersion>1.0.0-beta.21072.7</MicrosoftDotNetSignToolVersion>
<MicrosoftAzureDocumentDBVersion>1.22.0</MicrosoftAzureDocumentDBVersion>
<MicrosoftAzureCosmosDBTableVersion>1.1.2</MicrosoftAzureCosmosDBTableVersion>
<MicrosoftAspNetCoreAllVersion>2.0.0</MicrosoftAspNetCoreAllVersion>
Expand All @@ -73,7 +73,7 @@
<MicrosoftDiaSymReaderNativeVersion>1.7.0</MicrosoftDiaSymReaderNativeVersion>
<MicrosoftDotNetMaestroClientVersion>1.1.0-beta.19556.4</MicrosoftDotNetMaestroClientVersion>
<MicrosoftSourceLinkVersion>1.0.0-beta2-19554-01</MicrosoftSourceLinkVersion>
<MicrosoftDotNetSwaggerGeneratorMSBuildVersion>1.0.0-beta.20570.10</MicrosoftDotNetSwaggerGeneratorMSBuildVersion>
<MicrosoftDotNetSwaggerGeneratorMSBuildVersion>1.0.0-beta.21072.7</MicrosoftDotNetSwaggerGeneratorMSBuildVersion>
<XliffTasksVersion>1.0.0-beta.20055.1</XliffTasksVersion>
<!-- Roslyn -->
<!-- WARNING: Depending on Roslyn in code that also supports unmanaged scenarios (e.g. C++,
Expand Down
2 changes: 1 addition & 1 deletion eng/common/sdl/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Guardian.Cli.win10-x64" version="0.20.1"/>
<package id="Microsoft.Guardian.Cli" version="0.53.3"/>
</packages>
2 changes: 1 addition & 1 deletion eng/common/templates/job/execute-sdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
continueOnError: ${{ parameters.sdlContinueOnError }}
- ${{ if eq(parameters.overrideParameters, '') }}:
- powershell: eng/common/sdl/execute-all-sdl-tools.ps1
-GuardianPackageName Microsoft.Guardian.Cli.win10-x64.0.20.1
-GuardianPackageName Microsoft.Guardian.Cli.0.53.3
-NugetPackageDirectory $(Build.SourcesDirectory)\.packages
-AzureDevOpsAccessToken $(dn-bot-dotnet-build-rw-code-rw)
${{ parameters.additionalParameters }}
Expand Down
12 changes: 12 additions & 0 deletions eng/common/templates/post-build/post-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,18 @@ stages:
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-symbols/nuget/v3/index.json'

- template: \eng\common\templates\post-build\channels\generic-public-channel.yml
parameters:
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
publishInstallersAndChecksums: ${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters: ${{ parameters.symbolPublishingAdditionalParameters }}
stageName: 'VS16_10_Publishing'
channelName: 'VS 16.10'
channelId: 1692
transportFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-transport/nuget/v3/index.json'
shippingFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
symbolsFeed: 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-symbols/nuget/v3/index.json'

- template: \eng\common\templates\post-build\channels\generic-public-channel.yml
parameters:
artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}
Expand Down
49 changes: 47 additions & 2 deletions eng/common/tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,32 @@ function GetDotNetInstallScript([string] $dotnetRoot) {
if (!(Test-Path $installScript)) {
Create-Directory $dotnetRoot
$ProgressPreference = 'SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit
Invoke-WebRequest "https://dot.net/$dotnetInstallScriptVersion/dotnet-install.ps1" -OutFile $installScript

$maxRetries = 5
$retries = 1

$uri = "https://dot.net/$dotnetInstallScriptVersion/dotnet-install.ps1"

while($true) {
try {
Write-Host "GET $uri"
Invoke-WebRequest $uri -OutFile $installScript
break
}
catch {
Write-Host "Failed to download '$uri'"
Write-Error $_.Exception.Message -ErrorAction Continue
}

if (++$retries -le $maxRetries) {
$delayInSeconds = [math]::Pow(2, $retries) - 1 # Exponential backoff
Write-Host "Retrying. Waiting for $delayInSeconds seconds before next attempt ($retries of $maxRetries)."
Start-Sleep -Seconds $delayInSeconds
}
else {
throw "Unable to download file in $maxRetries attempts."
}
}
}

return $installScript
Expand Down Expand Up @@ -366,7 +391,27 @@ function LocateVisualStudio([object]$vsRequirements = $null){
if (!(Test-Path $vsWhereExe)) {
Create-Directory $vsWhereDir
Write-Host "Downloading vswhere"
Invoke-WebRequest "https://github.com/Microsoft/vswhere/releases/download/$vswhereVersion/vswhere.exe" -OutFile $vswhereExe
$maxRetries = 5
$retries = 1

while($true) {
try {
Invoke-WebRequest "https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/vswhere/$vswhereVersion/vswhere.exe" -OutFile $vswhereExe
break
}
catch{
Write-PipelineTelemetryError -Category 'InitializeToolset' -Message $_
}

if (++$retries -le $maxRetries) {
$delayInSeconds = [math]::Pow(2, $retries) - 1 # Exponential backoff
Write-Host "Retrying. Waiting for $delayInSeconds seconds before next attempt ($retries of $maxRetries)."
Start-Sleep -Seconds $delayInSeconds
}
else {
Write-PipelineTelemetryError -Category 'InitializeToolset' -Message "Unable to download file in $maxRetries attempts."
}
}
}

if (!$vsRequirements) { $vsRequirements = $GlobalJson.tools.vs }
Expand Down
8 changes: 4 additions & 4 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"sdk": {
"version": "5.0.100",
"version": "6.0.100-alpha.1.21067.8",
"rollForward": "minor",
"allowPrerelease": false,
"architecture": "x64"
},
"tools": {
"dotnet": "5.0.100"
"dotnet": "6.0.100-alpha.1.21067.8"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.20570.10",
"Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.20570.10"
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.21072.7",
"Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.21072.7"
}
}
Loading