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

[17.6.0] No suitable test runtime provider was found for any source in this run. #4516

Closed
nohwnd opened this issue Jun 5, 2023 · 19 comments
Closed
Labels

Comments

@nohwnd
Copy link
Member

nohwnd commented Jun 5, 2023

Description

On AzureDevOps images windows-latest and windows-2022 you can run into No suitable test runtime provider was found for any source in this run. error.

This error is caused by additional dlls that were ignored in 17.5.0, being incorrectly passed on in 17.6.0.

To replicate this issue you need to be on 17.6.0 version of TestPlatform, and provide more dlls than what you are testing, for example by using the default assembly filter in AzureDevOps:

      **\*test*.dll
      !**\*TestAdapter.dll
      !**\obj\**

This filter will match .NET Standard and .NET Portable dlls, that are coming from your test adapter, and incorrectly pass them to be executed. In 17.5.0 those dlls would be silently ignored, but in 17.6.0 they fail to resolve the runtime provider and fail the run.

Workaround 1

Reduce your filter to only match the test dlls, and nothing more, for example if your test dlls use the following naming convention:

MyProduct.UnitTests.dll
MyProduct.IntegrationTests.dll

MyOtherProduct.Unit.Test.dll

You can use:

**\bin\**\*Tests.dll
**\bin\**\*Test.dll

Workaround 2

Use TestPlatform Installer task to install VSTest 17.5.0 (or 17.6.2), and instruct your vstest task to use it:

# Install VSTest 17.5.0
- task: VisualStudioTestPlatformInstaller@1
  inputs:
    packageFeedSelector: 'nugetOrg'
    versionSelector: 'specificVersion'
    testPlatformVersion: '17.5.0'

- task: VSTest@2
  inputs:
    testSelector: 'testAssemblies'
    testAssemblyVer2: |
      **\*test*.dll
      !**\*TestAdapter.dll
      !**\obj\**
    searchFolder: '$(System.DefaultWorkingDirectory)'
    # ------------  Use the version installed by installer -----------
    vsTestVersion: 'toolsInstaller'

https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/visual-studio-test-platform-installer-v1?view=azure-pipelines

@nohwnd
Copy link
Member Author

nohwnd commented Jun 6, 2023

17.6.2 was published that solves this issue. The fix will be inserted into VS and dotnet sdk as soon as we can, but will take some time to propagate.

renovate bot referenced this issue in cythral/brighid-discord-adapter Jun 6, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
nuget | patch | `17.6.1` -> `17.6.2` |

---

### Release Notes

<details>
<summary>microsoft/vstest</summary>

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-discord-adapter).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this issue in cythral/brighid-commands Jun 6, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
nuget | patch | `17.6.1` -> `17.6.2` |

---

### Release Notes

<details>
<summary>microsoft/vstest</summary>

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-commands).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
vbreuss referenced this issue in Testably/Testably.Architecture.Rules Jun 7, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
nuget | patch | `17.6.1` -> `17.6.2` |

---

### Release Notes

<details>
<summary>microsoft/vstest</summary>

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Testably/Testably.Architecture.Rules).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ThorstenSauter referenced this issue in ThorstenSauter/NoPlan Jun 7, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[Microsoft.Identity.Web](https://togithub.com/AzureAD/microsoft-identity-web)
| nuget | patch | `2.11.0` -> `2.11.1` |
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
nuget | patch | `17.6.1` -> `17.6.2` |
| [OpenTelemetry.Instrumentation.Runtime](https://opentelemetry.io/)
([source](https://togithub.com/open-telemetry/opentelemetry-dotnet-contrib))
| nuget | minor | `1.4.0` -> `1.5.0` |
| [SonarAnalyzer.CSharp](http://vs.sonarlint.org/)
([source](http://vs.sonarlint.org/)) | nuget | minor | `9.2.0.71021` ->
`9.3.0.71466` |

---

### Release Notes

<details>
<summary>AzureAD/microsoft-identity-web</summary>

###
[`v2.11.1`](https://togithub.com/AzureAD/microsoft-identity-web/releases/tag/2.11.1)

[Compare
Source](https://togithub.com/AzureAD/microsoft-identity-web/compare/2.11.0...2.11.1)

# 2.11.1

-   Update to MSAL 4.54.1

##### Bug Fix:

- **Fix bug with signed assertion for AKS**, see issue
[#&#8203;2252](https://togithub.com/AzureAD/microsoft-identity-web/pull/2252)
for details.

</details>

<details>
<summary>microsoft/vstest</summary>

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

#### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ThorstenSauter/NoPlan).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@ytidhar
Copy link

ytidhar commented Jun 8, 2023

Since yesterday we got this error in many pipeline/releases
OS - Windows Server 1016

2023-06-08T07:59:58.0103984Z ==============================================================================
2023-06-08T07:59:58.0104120Z Task         : Download Artifacts - External Build
2023-06-08T07:59:58.0104197Z Description  : Download artifacts from external VSTS/TFS build
2023-06-08T07:59:58.0104273Z Version      : 15.223.1
2023-06-08T07:59:58.0104321Z Author       : ms-vscs-rm
2023-06-08T07:59:58.0104924Z Help         : 
2023-06-08T07:59:58.0104994Z ==============================================================================
2023-06-08T07:59:58.1592706Z module.js:478
2023-06-08T07:59:58.1594539Z     throw err;
2023-06-08T07:59:58.1594674Z     ^
2023-06-08T07:59:58.1594733Z 
2023-06-08T07:59:58.1594839Z Error: Cannot find module 'vsts-task-lib/task'
2023-06-08T07:59:58.1595036Z     at Function.Module._resolveFilename (module.js:476:15)
2023-06-08T07:59:58.1595204Z     at Function.Module._load (module.js:424:25)
2023-06-08T07:59:58.1595453Z     at Module.require (module.js:504:17)
2023-06-08T07:59:58.1595614Z     at require (internal/module.js:20:19)
2023-06-08T07:59:58.1596393Z     at Object.<anonymous> (C:\agent-cloud-100\_work\_tasks\DownloadExternalBuildArtifacts_b099689b-039e-4450-8658-c72e3895dd3f\15.223.1\download.js:14:12)
2023-06-08T07:59:58.1596642Z     at Module._compile (module.js:577:32)
2023-06-08T07:59:58.1596813Z     at Object.Module._extensions..js (module.js:586:10)
2023-06-08T07:59:58.1596982Z     at Module.load (module.js:494:32)
2023-06-08T07:59:58.1597128Z     at tryModuleLoad (module.js:453:12)
2023-06-08T07:59:58.1597289Z     at Function.Module._load (module.js:445:3)
2023-06-08T07:59:58.2052847Z ##[error]Exit code 1 returned from process: file name 'C:\agent-cloud-100\externals\node\bin\node.exe', arguments '"C:\agent-cloud-100\_work\_tasks\DownloadExternalBuildArtifacts_b099689b-039e-4450-8658-c72e3895dd3f\15.223.1\download.js"'.
2023-06-08T07:59:58.2064012Z ##[section]Finishing: Download artifact - BKC.NVM.Images (External TFS Build)

@nohwnd
Copy link
Member Author

nohwnd commented Jun 8, 2023

@ytidhar Thank you for your report, this look like this issue: microsoft/azure-pipelines-task-lib#274 and unrelated to vstest. Please try to solution provided in the linked issue, and if that won't solve it, please consider filing the issue on their issues page.

@faix
Copy link
Member

faix commented Jun 8, 2023

@nohwnd do you have an ETA on propagation? Got hit by this issue today.

@nohwnd
Copy link
Member Author

nohwnd commented Jun 8, 2023

It depends on how you are consuming test platform, dotnet sdk preview installers are available on dotnet/installer and 7.0.3xx 7.0.4xx and net8 should all already have the fix inserted. Official release of next sdk patch should be in July.

Visual Studio waits for approval to insert the fix, and I think the next fix release should be before the end of June.

Nuget packages that can be used directly via installer are already published on nuget.

@faix
Copy link
Member

faix commented Jun 8, 2023

Thanks!

@317jamtay317
Copy link

the work around worked for me, Thanks!

@cperezCyf
Copy link

cperezCyf commented Jun 12, 2023

Ran with the following tasks:

- task: VisualStudioTestPlatformInstaller@1
  inputs:
    packageFeedSelector: 'nugetOrg'
    versionSelector: 'specificVersion'
    testPlatformVersion: '17.6.2'

- task: VSTest@2
  displayName: 'Run Unit Tests'
  inputs:
      testSelector: 'testAssemblies'
      testAssemblyVer2: |
       **\*test*.dll
       !**\*TestAdapter.dll
       !**\obj\**
      searchFolder: '$(System.DefaultWorkingDirectory)'
    # ------------  Use the version installed by installer -----------
      vsTestVersion: 'toolsInstaller'

But still got the original error

@nohwnd
Copy link
Member Author

nohwnd commented Jun 13, 2023

@cperezCyf Could you please post the error, and a little bit of additional output around the error? Sometimes there are 2 or more errors. Or maybe you see this on a public pipeline and could link me to it?

@cperezCyf
Copy link

Sure, here is the error that I get:

image

@nohwnd
Copy link
Member Author

nohwnd commented Jun 13, 2023

@cperezCyf Is there a version of vstest.console printed in the console? This looks like 17.6.0 or 17.6.1 error, because it failed on .net standard 2.0 library.

@cperezCyf
Copy link

vstest.console is present in the console

image

for additional context here is the yaml:



trigger:
- none

pool:
  vmImage: 'windows-latest'

variables:
  solution: '**/*.sln'
  project: '**/Project.csproj'
  buildPlatform: 'Any CPU'
  buildConfiguration: 'Debug'


steps:

- task: NuGetToolInstaller@1
  name: 'NuGetToolInstaller'
  displayName: 'NuGet Tool Installer'
  inputs:
    checkLatest: true

- task: NuGetCommand@2
  name: 'NuGetRestore'
  displayName: 'NuGet restore packages'
  inputs:
    restoreSolution: '$(solution)'

- task: VSBuild@1
  displayName: 'build'
  inputs:
    solution: '$(solution)'
    msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"'     
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'


- task: VisualStudioTestPlatformInstaller@1
  inputs:
    packageFeedSelector: 'nugetOrg'
    versionSelector: 'specificVersion'
    testPlatformVersion: '17.6.2'

- task: VSTest@2
  displayName: 'Run Unit Tests'
  inputs:
      testSelector: 'testAssemblies'
      testAssemblyVer2: |
       **\*test*.dll
       !**\*TestAdapter.dll
       !**\obj\**
      searchFolder: '$(System.DefaultWorkingDirectory)'
    # ------------  Use the version installed by installer -----------
      vsTestVersion: 'toolsInstaller'

@nohwnd
Copy link
Member Author

nohwnd commented Jun 14, 2023

@cperezCyf I don't see the version of the vstest.console that is being used. Based on your yaml it should be the latest we released, but the error seems to be still the same as what it is fixing. Using this test project filter should solve your issue, if your test dll names match it:

**\bin\**\*Tests.dll
**\bin\**\*Test.dll

@georgewwww
Copy link

georgewwww commented Jun 14, 2023

@cperezCyf The version for the vstest.console is shown a bit lower, after RunSettings block, for me was on the line 46.
By the way, I also encountered this problem, and it's solved by using these two tasks for testing step:

variables:
  buildPlatform: 'Any CPU'
  buildConfiguration: 'Release'

...

- task: VisualStudioTestPlatformInstaller@1
  inputs:
    packageFeedSelector: 'nugetOrg'
    versionSelector: 'specificVersion'
    testPlatformVersion: '17.6.2'

- task: VSTest@2
  inputs:
    platform: '$(buildPlatform)'
    configuration: '$(buildConfiguration)'
    vsTestVersion: 'toolsInstaller'

Thank you @nohwnd :)

@cperezCyf
Copy link

cperezCyf commented Jun 14, 2023

Added both @nohwnd and @georgewwww but it doesn't seem to find the tests

image

The only way I have seem it to find my test is by filtering through:
testAssemblyVer2: |
**Test.cs

image

Although it doesn't seem to be running them

@nohwnd
Copy link
Member Author

nohwnd commented Jun 14, 2023

#4516 (comment)

@cperezCyf Based on the output here, I don't think your projects is overriding the output path to be something different than bin (e.g. some projects use out instead). So maybe the names of your dlls actually don't match *test.dll / *tests.dll ?

Can you look at a build that succeeded previously and check what the name of the test dll is? And maybe post it here?

@cperezCyf
Copy link

cperezCyf commented Jun 14, 2023

Unfortunately I don't have a previous one that succeeded but I'll have a look at the names of the dlls. Thanks!

Update: it was the path, thanks again @nohwnd!!

renovate bot referenced this issue in orso-co/Orso.Arpa.Api Jun 17, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
nuget | patch | `17.6.1` -> `17.6.2` |

---

### Release Notes

<details>
<summary>microsoft/vstest</summary>

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

#### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix:
[17.6.2](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.2;/TestPlatform.vsix)
Microsoft.TestPlatform.ObjectModel :
[17.6.2](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,every
weekend,before 5am every weekday" in timezone Europe/Berlin, Automerge -
At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/orso-co/Orso.Arpa.Api).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@Blue101black
Copy link

Commenting here because this is where Azure is linking to for issues with Azure Pipelines at the moment.

Our pipelines have been failing intermittently the past couple of days and timing out / hanging on the build step mostly.

.Net 6
This was our build task for example:

- task: DotNetCoreCLI@2
          displayName: 'Build Web project'
          inputs:
            version: '6.0.x'
            packageType: sdk
            command: build
            arguments: ' --configuration Release -warnaserror '
            projects: '$(web_project)'

We fixed our pipelines by changing version from 6.0.x to 6.0.100

vbreuss referenced this issue in Testably/Testably.Abstractions Jun 25, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
nuget | patch | `17.6.1` -> `17.6.2` |

---

### Release Notes

<details>
<summary>microsoft/vstest</summary>

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix:
[17.6.2](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.2;/TestPlatform.vsix)
Microsoft.TestPlatform.ObjectModel :
[17.6.2](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Testably/Testably.Abstractions).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
vbreuss referenced this issue in Testably/Testably.Abstractions Jul 17, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
nuget | patch | `17.6.0` -> `17.6.3` |

---

### Release Notes

<details>
<summary>microsoft/vstest (Microsoft.NET.Test.Sdk)</summary>

###
[`v17.6.3`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3)

##### Issues Fixed

- \[rel/17.6] Update version to 17.6.3 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4555](https://togithub.com/microsoft/vstest/pull/4555)
- \[rel/17.6] Disable pre-start of testhosts by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4554](https://togithub.com/microsoft/vstest/pull/4554)

**Full Changelog**:
microsoft/vstest@v17.6.2...v17.6.3

##### Artifacts

- TestPlatform vsix:
[17.6.3](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/20230627-01;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.3](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.3)

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

#### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix:
[17.6.2](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.2;/TestPlatform.vsix)
Microsoft.TestPlatform.ObjectModel :
[17.6.2](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.2)

###
[`v17.6.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1)

##### Issues Fixed

This is a tiny patch to fixup few latest issues,

- Fix no-suitable provider found by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474)
which fixes
[#&#8203;4467](https://togithub.com/microsoft/vstest/issues/4467)

When .NET Portable or .NET Standard dlls are provided to the run, the
run crashes with "No suitable test runtime provider was found", which is
a regression introduced in 17.6.0.

![](https://user-images.githubusercontent.com/11354648/239257444-4199e185-4884-43c8-9f23-4f8181572191.png)

- Fix hangdump running into crashdump by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480)
which fixes
[#&#8203;4378](https://togithub.com/microsoft/vstest/issues/4378)

Running --blame-hang and --blame-crash at the same time, can result in
--blame-hang cancelling --blame-crash, and killing the testhost in the
process, resulting in no dumps being created. This fix waits for
--blame-crash to finish dumping the process, and then it creates hang
dump.

- Update Nuget.Frameworks by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500)
which fixes
[#&#8203;4409](https://togithub.com/microsoft/vstest/issues/4409)

##### Internal updates:

- Update dependencies from devdiv/DevDiv/vs-code-coverage by
[@&#8203;dotnet-maestro](https://togithub.com/dotnet-maestro) in
[https://github.com/microsoft/vstest/pull/4479](https://togithub.com/microsoft/vstest/pull/4479)
- Disable internal build on new pipeline by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4476](https://togithub.com/microsoft/vstest/pull/4476)

**Full Changelog**:
microsoft/vstest@v17.6.0...v17.6.1

##### Artifacts

- TestPlatform vsix:
[17.6.1](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.1;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.1](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Testably/Testably.Abstractions).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjExIiwidXBkYXRlZEluVmVyIjoiMzYuOC4xMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
buehler referenced this issue in buehler/dotnet-operator-sdk Sep 26, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
`17.6.0` -> `17.7.2` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.NET.Test.Sdk/17.6.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.NET.Test.Sdk/17.6.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/vstest (Microsoft.NET.Test.Sdk)</summary>

###
[`v17.7.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.2)

#### What's Changed

- Fix cannot find System.Text.Json by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4669](https://togithub.com/microsoft/vstest/pull/4669)

**Full Changelog**:
microsoft/vstest@v17.7.1...v17.7.2

###
[`v17.7.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.1)

#### What's Changed

- Take System dlls from testhost folder to fix running .NET Framework
dlls on mono and under VS on Mac in
[#&#8203;4610](https://togithub.com/microsoft/vstest/issues/4610) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Fix hangs in parallel execution and discovery in
[#&#8203;4629](https://togithub.com/microsoft/vstest/issues/4629) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
- Fix executable bitness for testhost.x86 in
[#&#8203;4654](https://togithub.com/microsoft/vstest/issues/4654) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)

**Full Changelog**:
microsoft/vstest@v17.7.0...v17.7.1

###
[`v17.7.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.0)

> ⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from
Nuget.org, we've encountered an unexpected issue with versioning which
prevents it from being used in all AzDO clients. We are working on a
fix.

The most pressing issues were all backported to
[17.6.1](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1),
[17.6.2](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2) and
[17.6.3](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3).

#### Issues fixed (since 17.6.3)

- Don't print socket transport error in console by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4493](https://togithub.com/microsoft/vstest/issues/4493) which
fixes [#&#8203;4461](https://togithub.com/microsoft/vstest/issues/4461)
    When testhost crashes, we no longer print the transport error:

---> System.Exception: Unable to read data from the transport
connection:
An existing connection was forcibly closed by the remote host..

This error is a side-effect or our architecture is almost never the
culprit. Instead it leads developers away from the actual issue which is
crash of testhost, or datacollector.

- Pass workloads to proxy managers in
[#&#8203;4422](https://togithub.com/microsoft/vstest/issues/4422) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
Which allows datacollector users to only receive the sources that are
currently running in the testhost associated to datacollector, instead
of all the sources that have the same target framework.

- Fix Newtonsoft versions in testhost.deps.json in
[#&#8203;4367](https://togithub.com/microsoft/vstest/issues/4367) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
testhost.runtimeconfig.json files that we ship with testhost contained
an old version of Newtonsoft.Json. The version in this file does not
have an effect on execution, but some compliance tools statically
analyze it and report possible vulnerabilities.

Other fixes:

- Replacing calls to BuildMultipleAssemblyPath when passing only one
source in acceptance tests in
[#&#8203;4358](https://togithub.com/microsoft/vstest/issues/4358) by
[@&#8203;daveMueller](https://togithub.com/daveMueller)
- Check for null Path in
[#&#8203;4391](https://togithub.com/microsoft/vstest/issues/4391) by
[@&#8203;lewing](https://togithub.com/lewing)
- Remove unused variable in
[#&#8203;4425](https://togithub.com/microsoft/vstest/issues/4425) by
[@&#8203;mthalman](https://togithub.com/mthalman)
- Fix execution gets stucks on single netstandard source by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4497](https://togithub.com/microsoft/vstest/issues/4497) which
fixes [#&#8203;4392](https://togithub.com/microsoft/vstest/issues/4392)
- TestObject use ConcurrentDictionary instead of Dictionary in
[#&#8203;4450](https://togithub.com/microsoft/vstest/issues/4450) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Drop usage of Microsoft.Internal.TestPlatform.Remote in
[#&#8203;4456](https://togithub.com/microsoft/vstest/issues/4456) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)

Special thanks to [@&#8203;SimonCropp](https://togithub.com/SimonCropp)
for the many fixes regarding nullability spelling and code style in
[#&#8203;4518](https://togithub.com/microsoft/vstest/issues/4518),
[#&#8203;4520](https://togithub.com/microsoft/vstest/issues/4520),
[#&#8203;4525](https://togithub.com/microsoft/vstest/issues/4525),
[#&#8203;4526](https://togithub.com/microsoft/vstest/issues/4526),
[#&#8203;4521](https://togithub.com/microsoft/vstest/issues/4521),
[#&#8203;4519](https://togithub.com/microsoft/vstest/issues/4519),
[#&#8203;4522](https://togithub.com/microsoft/vstest/issues/4522),
[#&#8203;4529](https://togithub.com/microsoft/vstest/issues/4529) 🙇

**Full Changelog**:
microsoft/vstest@v17.6.3...v17.7.0

##### Drops

- Microsoft.TestPlatform.ObjectModel :
[v17.7.0](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.7.0)

###
[`v17.6.3`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3)

##### Issues Fixed

- \[rel/17.6] Update version to 17.6.3 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4555](https://togithub.com/microsoft/vstest/pull/4555)
- \[rel/17.6] Disable pre-start of testhosts by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4554](https://togithub.com/microsoft/vstest/pull/4554)

**Full Changelog**:
microsoft/vstest@v17.6.2...v17.6.3

##### Artifacts

- TestPlatform vsix:
[17.6.3](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/20230627-01;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.3](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.3)

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix:
[17.6.2](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.2;/TestPlatform.vsix)
Microsoft.TestPlatform.ObjectModel :
[17.6.2](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.2)

###
[`v17.6.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1)

##### Issues Fixed

This is a tiny patch to fixup few latest issues,

- Fix no-suitable provider found by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474)
which fixes
[#&#8203;4467](https://togithub.com/microsoft/vstest/issues/4467)

When .NET Portable or .NET Standard dlls are provided to the run, the
run crashes with "No suitable test runtime provider was found", which is
a regression introduced in 17.6.0.

![](https://user-images.githubusercontent.com/11354648/239257444-4199e185-4884-43c8-9f23-4f8181572191.png)

- Fix hangdump running into crashdump by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480)
which fixes
[#&#8203;4378](https://togithub.com/microsoft/vstest/issues/4378)

Running --blame-hang and --blame-crash at the same time, can result in
--blame-hang cancelling --blame-crash, and killing the testhost in the
process, resulting in no dumps being created. This fix waits for
--blame-crash to finish dumping the process, and then it creates hang
dump.

- Update Nuget.Frameworks by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500)
which fixes
[#&#8203;4409](https://togithub.com/microsoft/vstest/issues/4409)

##### Internal updates:

- Update dependencies from devdiv/DevDiv/vs-code-coverage by
[@&#8203;dotnet-maestro](https://togithub.com/dotnet-maestro) in
[https://github.com/microsoft/vstest/pull/4479](https://togithub.com/microsoft/vstest/pull/4479)
- Disable internal build on new pipeline by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4476](https://togithub.com/microsoft/vstest/pull/4476)

**Full Changelog**:
microsoft/vstest@v17.6.0...v17.6.1

##### Artifacts

- TestPlatform vsix:
[17.6.1](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.1;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.1](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled because a matching PR was automerged
previously.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/buehler/dotnet-operator-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
dariuszkuc referenced this issue in apollographql/federation-hotchocolate Oct 19, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
`17.1.0` -> `17.7.2` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.NET.Test.Sdk/17.1.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.NET.Test.Sdk/17.1.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/vstest (Microsoft.NET.Test.Sdk)</summary>

###
[`v17.7.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.2)

#### What's Changed

- Fix cannot find System.Text.Json by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4669](https://togithub.com/microsoft/vstest/pull/4669)

**Full Changelog**:
microsoft/vstest@v17.7.1...v17.7.2

###
[`v17.7.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.1)

#### What's Changed

- Take System dlls from testhost folder to fix running .NET Framework
dlls on mono and under VS on Mac in
[#&#8203;4610](https://togithub.com/microsoft/vstest/issues/4610) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Fix hangs in parallel execution and discovery in
[#&#8203;4629](https://togithub.com/microsoft/vstest/issues/4629) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
- Fix executable bitness for testhost.x86 in
[#&#8203;4654](https://togithub.com/microsoft/vstest/issues/4654) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)

**Full Changelog**:
microsoft/vstest@v17.7.0...v17.7.1

###
[`v17.7.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.0)

> ⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from
Nuget.org, we've encountered an unexpected issue with versioning which
prevents it from being used in all AzDO clients. We are working on a
fix.

The most pressing issues were all backported to
[17.6.1](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1),
[17.6.2](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2) and
[17.6.3](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3).

#### Issues fixed (since 17.6.3)

- Don't print socket transport error in console by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4493](https://togithub.com/microsoft/vstest/issues/4493) which
fixes [#&#8203;4461](https://togithub.com/microsoft/vstest/issues/4461)
    When testhost crashes, we no longer print the transport error:

---> System.Exception: Unable to read data from the transport
connection:
An existing connection was forcibly closed by the remote host..

This error is a side-effect or our architecture is almost never the
culprit. Instead it leads developers away from the actual issue which is
crash of testhost, or datacollector.

- Pass workloads to proxy managers in
[#&#8203;4422](https://togithub.com/microsoft/vstest/issues/4422) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
Which allows datacollector users to only receive the sources that are
currently running in the testhost associated to datacollector, instead
of all the sources that have the same target framework.

- Fix Newtonsoft versions in testhost.deps.json in
[#&#8203;4367](https://togithub.com/microsoft/vstest/issues/4367) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
testhost.runtimeconfig.json files that we ship with testhost contained
an old version of Newtonsoft.Json. The version in this file does not
have an effect on execution, but some compliance tools statically
analyze it and report possible vulnerabilities.

Other fixes:

- Replacing calls to BuildMultipleAssemblyPath when passing only one
source in acceptance tests in
[#&#8203;4358](https://togithub.com/microsoft/vstest/issues/4358) by
[@&#8203;daveMueller](https://togithub.com/daveMueller)
- Check for null Path in
[#&#8203;4391](https://togithub.com/microsoft/vstest/issues/4391) by
[@&#8203;lewing](https://togithub.com/lewing)
- Remove unused variable in
[#&#8203;4425](https://togithub.com/microsoft/vstest/issues/4425) by
[@&#8203;mthalman](https://togithub.com/mthalman)
- Fix execution gets stucks on single netstandard source by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4497](https://togithub.com/microsoft/vstest/issues/4497) which
fixes [#&#8203;4392](https://togithub.com/microsoft/vstest/issues/4392)
- TestObject use ConcurrentDictionary instead of Dictionary in
[#&#8203;4450](https://togithub.com/microsoft/vstest/issues/4450) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Drop usage of Microsoft.Internal.TestPlatform.Remote in
[#&#8203;4456](https://togithub.com/microsoft/vstest/issues/4456) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)

Special thanks to [@&#8203;SimonCropp](https://togithub.com/SimonCropp)
for the many fixes regarding nullability spelling and code style in
[#&#8203;4518](https://togithub.com/microsoft/vstest/issues/4518),
[#&#8203;4520](https://togithub.com/microsoft/vstest/issues/4520),
[#&#8203;4525](https://togithub.com/microsoft/vstest/issues/4525),
[#&#8203;4526](https://togithub.com/microsoft/vstest/issues/4526),
[#&#8203;4521](https://togithub.com/microsoft/vstest/issues/4521),
[#&#8203;4519](https://togithub.com/microsoft/vstest/issues/4519),
[#&#8203;4522](https://togithub.com/microsoft/vstest/issues/4522),
[#&#8203;4529](https://togithub.com/microsoft/vstest/issues/4529) 🙇

**Full Changelog**:
microsoft/vstest@v17.6.3...v17.7.0

##### Drops

- Microsoft.TestPlatform.ObjectModel :
[v17.7.0](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.7.0)

###
[`v17.6.3`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3)

##### Issues Fixed

- \[rel/17.6] Update version to 17.6.3 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4555](https://togithub.com/microsoft/vstest/pull/4555)
- \[rel/17.6] Disable pre-start of testhosts by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4554](https://togithub.com/microsoft/vstest/pull/4554)

**Full Changelog**:
microsoft/vstest@v17.6.2...v17.6.3

##### Artifacts

- TestPlatform vsix:
[17.6.3](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/20230627-01;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.3](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.3)

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix:
[17.6.2](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.2;/TestPlatform.vsix)
Microsoft.TestPlatform.ObjectModel :
[17.6.2](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.2)

###
[`v17.6.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1)

##### Issues Fixed

This is a tiny patch to fixup few latest issues,

- Fix no-suitable provider found by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474)
which fixes
[#&#8203;4467](https://togithub.com/microsoft/vstest/issues/4467)

When .NET Portable or .NET Standard dlls are provided to the run, the
run crashes with "No suitable test runtime provider was found", which is
a regression introduced in 17.6.0.

![](https://user-images.githubusercontent.com/11354648/239257444-4199e185-4884-43c8-9f23-4f8181572191.png)

- Fix hangdump running into crashdump by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480)
which fixes
[#&#8203;4378](https://togithub.com/microsoft/vstest/issues/4378)

Running --blame-hang and --blame-crash at the same time, can result in
--blame-hang cancelling --blame-crash, and killing the testhost in the
process, resulting in no dumps being created. This fix waits for
--blame-crash to finish dumping the process, and then it creates hang
dump.

- Update Nuget.Frameworks by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500)
which fixes
[#&#8203;4409](https://togithub.com/microsoft/vstest/issues/4409)

##### Internal updates:

- Update dependencies from devdiv/DevDiv/vs-code-coverage by
[@&#8203;dotnet-maestro](https://togithub.com/dotnet-maestro) in
[https://github.com/microsoft/vstest/pull/4479](https://togithub.com/microsoft/vstest/pull/4479)
- Disable internal build on new pipeline by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4476](https://togithub.com/microsoft/vstest/pull/4476)

**Full Changelog**:
microsoft/vstest@v17.6.0...v17.6.1

##### Artifacts

- TestPlatform vsix:
[17.6.1](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.1;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.1](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.1)

###
[`v17.6.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.0)

See the release notes
[here](https://togithub.com/microsoft/vstest/blob/main/docs/releases.md#1760).

###
[`v17.5.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.5.0)

See the release notes
[here](https://togithub.com/microsoft/vstest/blob/main/docs/releases.md#1750).

###
[`v17.4.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.4.1)

See the release notes
[here](https://togithub.com/microsoft/vstest/blob/main/docs/releases.md#1741).

###
[`v17.4.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.4.0)

See the release notes
[here](https://togithub.com/microsoft/vstest-docs/blob/main/docs/releases.md#1740).

###
[`v17.3.3`](https://togithub.com/microsoft/vstest/releases/tag/v17.3.3)

See the release notes
[here](https://togithub.com/microsoft/vstest/blob/main/docs/releases.md#1733).

###
[`v17.3.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.3.2)

See the release notes
[here](https://togithub.com/microsoft/vstest-docs/blob/main/docs/releases.md#1732).

###
[`v17.3.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.3.1)

See the release notes
[here](https://togithub.com/microsoft/vstest-docs/blob/main/docs/releases.md#1731).

###
[`v17.3.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.3.0)

See the release notes
[here](https://togithub.com/microsoft/vstest-docs/blob/main/docs/releases.md#1730).

###
[`v17.2.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.2.1)

See the release notes
[here](https://togithub.com/microsoft/vstest/blob/main/docs/releases.md#1721).

###
[`v17.2.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.2.0)

See the release notes
[here](https://togithub.com/microsoft/vstest-docs/blob/main/docs/releases.md#1720).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [x] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/apollographql/federation-hotchocolate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
buehler referenced this issue in buehler/dotnet-operator-sdk Jan 17, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
`17.6.0` -> `17.7.2` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.NET.Test.Sdk/17.6.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.NET.Test.Sdk/17.6.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/vstest (Microsoft.NET.Test.Sdk)</summary>

###
[`v17.7.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.2)

#### What's Changed

- Fix cannot find System.Text.Json by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4669](https://togithub.com/microsoft/vstest/pull/4669)

**Full Changelog**:
microsoft/vstest@v17.7.1...v17.7.2

###
[`v17.7.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.1)

#### What's Changed

- Take System dlls from testhost folder to fix running .NET Framework
dlls on mono and under VS on Mac in
[#&#8203;4610](https://togithub.com/microsoft/vstest/issues/4610) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Fix hangs in parallel execution and discovery in
[#&#8203;4629](https://togithub.com/microsoft/vstest/issues/4629) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
- Fix executable bitness for testhost.x86 in
[#&#8203;4654](https://togithub.com/microsoft/vstest/issues/4654) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)

**Full Changelog**:
microsoft/vstest@v17.7.0...v17.7.1

###
[`v17.7.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.0)

> ⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from
Nuget.org, we've encountered an unexpected issue with versioning which
prevents it from being used in all AzDO clients. We are working on a
fix.

The most pressing issues were all backported to
[17.6.1](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1),
[17.6.2](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2) and
[17.6.3](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3).

#### Issues fixed (since 17.6.3)

- Don't print socket transport error in console by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4493](https://togithub.com/microsoft/vstest/issues/4493) which
fixes [#&#8203;4461](https://togithub.com/microsoft/vstest/issues/4461)
    When testhost crashes, we no longer print the transport error:

---> System.Exception: Unable to read data from the transport
connection:
An existing connection was forcibly closed by the remote host..

This error is a side-effect or our architecture is almost never the
culprit. Instead it leads developers away from the actual issue which is
crash of testhost, or datacollector.

- Pass workloads to proxy managers in
[#&#8203;4422](https://togithub.com/microsoft/vstest/issues/4422) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
Which allows datacollector users to only receive the sources that are
currently running in the testhost associated to datacollector, instead
of all the sources that have the same target framework.

- Fix Newtonsoft versions in testhost.deps.json in
[#&#8203;4367](https://togithub.com/microsoft/vstest/issues/4367) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
testhost.runtimeconfig.json files that we ship with testhost contained
an old version of Newtonsoft.Json. The version in this file does not
have an effect on execution, but some compliance tools statically
analyze it and report possible vulnerabilities.

Other fixes:

- Replacing calls to BuildMultipleAssemblyPath when passing only one
source in acceptance tests in
[#&#8203;4358](https://togithub.com/microsoft/vstest/issues/4358) by
[@&#8203;daveMueller](https://togithub.com/daveMueller)
- Check for null Path in
[#&#8203;4391](https://togithub.com/microsoft/vstest/issues/4391) by
[@&#8203;lewing](https://togithub.com/lewing)
- Remove unused variable in
[#&#8203;4425](https://togithub.com/microsoft/vstest/issues/4425) by
[@&#8203;mthalman](https://togithub.com/mthalman)
- Fix execution gets stucks on single netstandard source by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4497](https://togithub.com/microsoft/vstest/issues/4497) which
fixes [#&#8203;4392](https://togithub.com/microsoft/vstest/issues/4392)
- TestObject use ConcurrentDictionary instead of Dictionary in
[#&#8203;4450](https://togithub.com/microsoft/vstest/issues/4450) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Drop usage of Microsoft.Internal.TestPlatform.Remote in
[#&#8203;4456](https://togithub.com/microsoft/vstest/issues/4456) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)

Special thanks to [@&#8203;SimonCropp](https://togithub.com/SimonCropp)
for the many fixes regarding nullability spelling and code style in
[#&#8203;4518](https://togithub.com/microsoft/vstest/issues/4518),
[#&#8203;4520](https://togithub.com/microsoft/vstest/issues/4520),
[#&#8203;4525](https://togithub.com/microsoft/vstest/issues/4525),
[#&#8203;4526](https://togithub.com/microsoft/vstest/issues/4526),
[#&#8203;4521](https://togithub.com/microsoft/vstest/issues/4521),
[#&#8203;4519](https://togithub.com/microsoft/vstest/issues/4519),
[#&#8203;4522](https://togithub.com/microsoft/vstest/issues/4522),
[#&#8203;4529](https://togithub.com/microsoft/vstest/issues/4529) 🙇

**Full Changelog**:
microsoft/vstest@v17.6.3...v17.7.0

##### Drops

- Microsoft.TestPlatform.ObjectModel :
[v17.7.0](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.7.0)

###
[`v17.6.3`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3)

##### Issues Fixed

- \[rel/17.6] Update version to 17.6.3 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4555](https://togithub.com/microsoft/vstest/pull/4555)
- \[rel/17.6] Disable pre-start of testhosts by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4554](https://togithub.com/microsoft/vstest/pull/4554)

**Full Changelog**:
microsoft/vstest@v17.6.2...v17.6.3

##### Artifacts

- TestPlatform vsix:
[17.6.3](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/20230627-01;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.3](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.3)

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix:
[17.6.2](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.2;/TestPlatform.vsix)
Microsoft.TestPlatform.ObjectModel :
[17.6.2](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.2)

###
[`v17.6.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1)

##### Issues Fixed

This is a tiny patch to fixup few latest issues,

- Fix no-suitable provider found by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474)
which fixes
[#&#8203;4467](https://togithub.com/microsoft/vstest/issues/4467)

When .NET Portable or .NET Standard dlls are provided to the run, the
run crashes with "No suitable test runtime provider was found", which is
a regression introduced in 17.6.0.

![](https://user-images.githubusercontent.com/11354648/239257444-4199e185-4884-43c8-9f23-4f8181572191.png)

- Fix hangdump running into crashdump by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480)
which fixes
[#&#8203;4378](https://togithub.com/microsoft/vstest/issues/4378)

Running --blame-hang and --blame-crash at the same time, can result in
--blame-hang cancelling --blame-crash, and killing the testhost in the
process, resulting in no dumps being created. This fix waits for
--blame-crash to finish dumping the process, and then it creates hang
dump.

- Update Nuget.Frameworks by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500)
which fixes
[#&#8203;4409](https://togithub.com/microsoft/vstest/issues/4409)

##### Internal updates:

- Update dependencies from devdiv/DevDiv/vs-code-coverage by
[@&#8203;dotnet-maestro](https://togithub.com/dotnet-maestro) in
[https://github.com/microsoft/vstest/pull/4479](https://togithub.com/microsoft/vstest/pull/4479)
- Disable internal build on new pipeline by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4476](https://togithub.com/microsoft/vstest/pull/4476)

**Full Changelog**:
microsoft/vstest@v17.6.0...v17.6.1

##### Artifacts

- TestPlatform vsix:
[17.6.1](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.1;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.1](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled because a matching PR was automerged
previously.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/buehler/dotnet-operator-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
buehler referenced this issue in buehler/dotnet-operator-sdk Jan 17, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
`17.6.0` -> `17.7.2` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.NET.Test.Sdk/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.NET.Test.Sdk/17.6.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.NET.Test.Sdk/17.6.0/17.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/vstest (Microsoft.NET.Test.Sdk)</summary>

###
[`v17.7.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.2)

#### What's Changed

- Fix cannot find System.Text.Json by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4669](https://togithub.com/microsoft/vstest/pull/4669)

**Full Changelog**:
microsoft/vstest@v17.7.1...v17.7.2

###
[`v17.7.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.1)

#### What's Changed

- Take System dlls from testhost folder to fix running .NET Framework
dlls on mono and under VS on Mac in
[#&#8203;4610](https://togithub.com/microsoft/vstest/issues/4610) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Fix hangs in parallel execution and discovery in
[#&#8203;4629](https://togithub.com/microsoft/vstest/issues/4629) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
- Fix executable bitness for testhost.x86 in
[#&#8203;4654](https://togithub.com/microsoft/vstest/issues/4654) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)

**Full Changelog**:
microsoft/vstest@v17.7.0...v17.7.1

###
[`v17.7.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.7.0)

> ⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from
Nuget.org, we've encountered an unexpected issue with versioning which
prevents it from being used in all AzDO clients. We are working on a
fix.

The most pressing issues were all backported to
[17.6.1](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1),
[17.6.2](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2) and
[17.6.3](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3).

#### Issues fixed (since 17.6.3)

- Don't print socket transport error in console by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4493](https://togithub.com/microsoft/vstest/issues/4493) which
fixes [#&#8203;4461](https://togithub.com/microsoft/vstest/issues/4461)
    When testhost crashes, we no longer print the transport error:

---> System.Exception: Unable to read data from the transport
connection:
An existing connection was forcibly closed by the remote host..

This error is a side-effect or our architecture is almost never the
culprit. Instead it leads developers away from the actual issue which is
crash of testhost, or datacollector.

- Pass workloads to proxy managers in
[#&#8203;4422](https://togithub.com/microsoft/vstest/issues/4422) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
Which allows datacollector users to only receive the sources that are
currently running in the testhost associated to datacollector, instead
of all the sources that have the same target framework.

- Fix Newtonsoft versions in testhost.deps.json in
[#&#8203;4367](https://togithub.com/microsoft/vstest/issues/4367) by
[@&#8203;nohwnd](https://togithub.com/nohwnd)
testhost.runtimeconfig.json files that we ship with testhost contained
an old version of Newtonsoft.Json. The version in this file does not
have an effect on execution, but some compliance tools statically
analyze it and report possible vulnerabilities.

Other fixes:

- Replacing calls to BuildMultipleAssemblyPath when passing only one
source in acceptance tests in
[#&#8203;4358](https://togithub.com/microsoft/vstest/issues/4358) by
[@&#8203;daveMueller](https://togithub.com/daveMueller)
- Check for null Path in
[#&#8203;4391](https://togithub.com/microsoft/vstest/issues/4391) by
[@&#8203;lewing](https://togithub.com/lewing)
- Remove unused variable in
[#&#8203;4425](https://togithub.com/microsoft/vstest/issues/4425) by
[@&#8203;mthalman](https://togithub.com/mthalman)
- Fix execution gets stucks on single netstandard source by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4497](https://togithub.com/microsoft/vstest/issues/4497) which
fixes [#&#8203;4392](https://togithub.com/microsoft/vstest/issues/4392)
- TestObject use ConcurrentDictionary instead of Dictionary in
[#&#8203;4450](https://togithub.com/microsoft/vstest/issues/4450) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)
- Drop usage of Microsoft.Internal.TestPlatform.Remote in
[#&#8203;4456](https://togithub.com/microsoft/vstest/issues/4456) by
[@&#8203;Evangelink](https://togithub.com/Evangelink)

Special thanks to [@&#8203;SimonCropp](https://togithub.com/SimonCropp)
for the many fixes regarding nullability spelling and code style in
[#&#8203;4518](https://togithub.com/microsoft/vstest/issues/4518),
[#&#8203;4520](https://togithub.com/microsoft/vstest/issues/4520),
[#&#8203;4525](https://togithub.com/microsoft/vstest/issues/4525),
[#&#8203;4526](https://togithub.com/microsoft/vstest/issues/4526),
[#&#8203;4521](https://togithub.com/microsoft/vstest/issues/4521),
[#&#8203;4519](https://togithub.com/microsoft/vstest/issues/4519),
[#&#8203;4522](https://togithub.com/microsoft/vstest/issues/4522),
[#&#8203;4529](https://togithub.com/microsoft/vstest/issues/4529) 🙇

**Full Changelog**:
microsoft/vstest@v17.6.3...v17.7.0

##### Drops

- Microsoft.TestPlatform.ObjectModel :
[v17.7.0](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.7.0)

###
[`v17.6.3`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.3)

##### Issues Fixed

- \[rel/17.6] Update version to 17.6.3 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4555](https://togithub.com/microsoft/vstest/pull/4555)
- \[rel/17.6] Disable pre-start of testhosts by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[#&#8203;4554](https://togithub.com/microsoft/vstest/pull/4554)

**Full Changelog**:
microsoft/vstest@v17.6.2...v17.6.3

##### Artifacts

- TestPlatform vsix:
[17.6.3](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/20230627-01;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.3](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.3)

###
[`v17.6.2`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.2)

##### Fixes

This patch addresses the problems that were introduced in 17.6.0 that
happen when running on AzDo with the default *test*.dll filter, which
includes additional TestPlatform dlls into the run and fails it.

To mitigate this issue we solved the bug in 17.6.1, and added additional
exclusions for known assemblies that are coming from TestPlatform and
commonly used test adapters, to avoid trying to run tests from those
assemblies.

Description and workarounds for this issue are available here:
[https://github.com/microsoft/vstest/issues/4516](https://togithub.com/microsoft/vstest/issues/4516)

- \[rel/17.6] Downgrade Nuget.Frameworks to 6.5.0 by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4512](https://togithub.com/microsoft/vstest/pull/4512)
- \[rel/17.6] Filter out known platform sources by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4517](https://togithub.com/microsoft/vstest/pull/4517)
- \[rel/17.6] Exclude also known resource dlls by
[@&#8203;Evangelink](https://togithub.com/Evangelink) in
[https://github.com/microsoft/vstest/pull/4528](https://togithub.com/microsoft/vstest/pull/4528)

**Full Changelog**:
microsoft/vstest@v17.6.1...v17.6.2

Artifacts
TestPlatform vsix:
[17.6.2](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.2;/TestPlatform.vsix)
Microsoft.TestPlatform.ObjectModel :
[17.6.2](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.2)

###
[`v17.6.1`](https://togithub.com/microsoft/vstest/releases/tag/v17.6.1)

##### Issues Fixed

This is a tiny patch to fixup few latest issues,

- Fix no-suitable provider found by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474)
which fixes
[#&#8203;4467](https://togithub.com/microsoft/vstest/issues/4467)

When .NET Portable or .NET Standard dlls are provided to the run, the
run crashes with "No suitable test runtime provider was found", which is
a regression introduced in 17.6.0.

![](https://user-images.githubusercontent.com/11354648/239257444-4199e185-4884-43c8-9f23-4f8181572191.png)

- Fix hangdump running into crashdump by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480)
which fixes
[#&#8203;4378](https://togithub.com/microsoft/vstest/issues/4378)

Running --blame-hang and --blame-crash at the same time, can result in
--blame-hang cancelling --blame-crash, and killing the testhost in the
process, resulting in no dumps being created. This fix waits for
--blame-crash to finish dumping the process, and then it creates hang
dump.

- Update Nuget.Frameworks by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500)
which fixes
[#&#8203;4409](https://togithub.com/microsoft/vstest/issues/4409)

##### Internal updates:

- Update dependencies from devdiv/DevDiv/vs-code-coverage by
[@&#8203;dotnet-maestro](https://togithub.com/dotnet-maestro) in
[https://github.com/microsoft/vstest/pull/4479](https://togithub.com/microsoft/vstest/pull/4479)
- Disable internal build on new pipeline by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[https://github.com/microsoft/vstest/pull/4476](https://togithub.com/microsoft/vstest/pull/4476)

**Full Changelog**:
microsoft/vstest@v17.6.0...v17.6.1

##### Artifacts

- TestPlatform vsix:
[17.6.1](https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/microsoft/vstest/17.6/v17.6.1;/TestPlatform.vsix)
- Microsoft.TestPlatform.ObjectModel :
[17.6.1](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.6.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled because a matching PR was automerged
previously.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/buehler/dotnet-operator-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@nohwnd
Copy link
Member Author

nohwnd commented Jul 9, 2024

This is 4 versions old, the problem can still be encountered but there is no immediate action to take. Workaround 1 above is still recommended as a good default and was propagated to VSTest task in azdo, until this regression: microsoft/azure-pipelines-tasks#19555

@nohwnd nohwnd closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants