-
Notifications
You must be signed in to change notification settings - Fork 323
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
Comments
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. |
[![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 [@​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 [@​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 [@​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>
[![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 [@​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 [@​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 [@​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>
[![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 [@​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 [@​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 [@​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>
[![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 [#​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 [@​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 [@​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 [@​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>
Since yesterday we got this error in many pipeline/releases
|
@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. |
@nohwnd do you have an ETA on propagation? Got hit by this issue today. |
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. |
Thanks! |
the work around worked for me, Thanks! |
Ran with the following tasks:
But still got the original error |
@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 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. |
vstest.console is present in the console for additional context here is the yaml:
|
@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:
|
@cperezCyf The version for the vstest.console is shown a bit lower, after RunSettings block, for me was on the line 46.
Thank you @nohwnd :) |
Added both @nohwnd and @georgewwww but it doesn't seem to find the tests The only way I have seem it to find my test is by filtering through: Although it doesn't seem to be running them |
@cperezCyf Based on the output here, I don't think your projects is overriding the output path to be something different than Can you look at a build that succeeded previously and check what the name of the test dll is? And maybe post it here? |
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!! |
[![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 [@​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 [@​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 [@​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>
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
We fixed our pipelines by changing version from 6.0.x to 6.0.100 |
[![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 [@​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 [@​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 [@​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>
[![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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4555](https://togithub.com/microsoft/vstest/pull/4555) - \[rel/17.6] Disable pre-start of testhosts by [@​nohwnd](https://togithub.com/nohwnd) in [#​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 [@​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 [@​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 [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500) which fixes [#​4409](https://togithub.com/microsoft/vstest/issues/4409) ##### Internal updates: - Update dependencies from devdiv/DevDiv/vs-code-coverage by [@​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 [@​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>
[![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 [@​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 [#​4610](https://togithub.com/microsoft/vstest/issues/4610) by [@​Evangelink](https://togithub.com/Evangelink) - Fix hangs in parallel execution and discovery in [#​4629](https://togithub.com/microsoft/vstest/issues/4629) by [@​nohwnd](https://togithub.com/nohwnd) - Fix executable bitness for testhost.x86 in [#​4654](https://togithub.com/microsoft/vstest/issues/4654) by [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4493](https://togithub.com/microsoft/vstest/issues/4493) which fixes [#​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 [#​4422](https://togithub.com/microsoft/vstest/issues/4422) by [@​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 [#​4367](https://togithub.com/microsoft/vstest/issues/4367) by [@​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 [#​4358](https://togithub.com/microsoft/vstest/issues/4358) by [@​daveMueller](https://togithub.com/daveMueller) - Check for null Path in [#​4391](https://togithub.com/microsoft/vstest/issues/4391) by [@​lewing](https://togithub.com/lewing) - Remove unused variable in [#​4425](https://togithub.com/microsoft/vstest/issues/4425) by [@​mthalman](https://togithub.com/mthalman) - Fix execution gets stucks on single netstandard source by [@​nohwnd](https://togithub.com/nohwnd) in [#​4497](https://togithub.com/microsoft/vstest/issues/4497) which fixes [#​4392](https://togithub.com/microsoft/vstest/issues/4392) - TestObject use ConcurrentDictionary instead of Dictionary in [#​4450](https://togithub.com/microsoft/vstest/issues/4450) by [@​Evangelink](https://togithub.com/Evangelink) - Drop usage of Microsoft.Internal.TestPlatform.Remote in [#​4456](https://togithub.com/microsoft/vstest/issues/4456) by [@​Evangelink](https://togithub.com/Evangelink) Special thanks to [@​SimonCropp](https://togithub.com/SimonCropp) for the many fixes regarding nullability spelling and code style in [#​4518](https://togithub.com/microsoft/vstest/issues/4518), [#​4520](https://togithub.com/microsoft/vstest/issues/4520), [#​4525](https://togithub.com/microsoft/vstest/issues/4525), [#​4526](https://togithub.com/microsoft/vstest/issues/4526), [#​4521](https://togithub.com/microsoft/vstest/issues/4521), [#​4519](https://togithub.com/microsoft/vstest/issues/4519), [#​4522](https://togithub.com/microsoft/vstest/issues/4522), [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4555](https://togithub.com/microsoft/vstest/pull/4555) - \[rel/17.6] Disable pre-start of testhosts by [@​nohwnd](https://togithub.com/nohwnd) in [#​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 [@​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 [@​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 [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500) which fixes [#​4409](https://togithub.com/microsoft/vstest/issues/4409) ##### Internal updates: - Update dependencies from devdiv/DevDiv/vs-code-coverage by [@​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 [@​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>
[![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 [@​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 [#​4610](https://togithub.com/microsoft/vstest/issues/4610) by [@​Evangelink](https://togithub.com/Evangelink) - Fix hangs in parallel execution and discovery in [#​4629](https://togithub.com/microsoft/vstest/issues/4629) by [@​nohwnd](https://togithub.com/nohwnd) - Fix executable bitness for testhost.x86 in [#​4654](https://togithub.com/microsoft/vstest/issues/4654) by [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4493](https://togithub.com/microsoft/vstest/issues/4493) which fixes [#​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 [#​4422](https://togithub.com/microsoft/vstest/issues/4422) by [@​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 [#​4367](https://togithub.com/microsoft/vstest/issues/4367) by [@​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 [#​4358](https://togithub.com/microsoft/vstest/issues/4358) by [@​daveMueller](https://togithub.com/daveMueller) - Check for null Path in [#​4391](https://togithub.com/microsoft/vstest/issues/4391) by [@​lewing](https://togithub.com/lewing) - Remove unused variable in [#​4425](https://togithub.com/microsoft/vstest/issues/4425) by [@​mthalman](https://togithub.com/mthalman) - Fix execution gets stucks on single netstandard source by [@​nohwnd](https://togithub.com/nohwnd) in [#​4497](https://togithub.com/microsoft/vstest/issues/4497) which fixes [#​4392](https://togithub.com/microsoft/vstest/issues/4392) - TestObject use ConcurrentDictionary instead of Dictionary in [#​4450](https://togithub.com/microsoft/vstest/issues/4450) by [@​Evangelink](https://togithub.com/Evangelink) - Drop usage of Microsoft.Internal.TestPlatform.Remote in [#​4456](https://togithub.com/microsoft/vstest/issues/4456) by [@​Evangelink](https://togithub.com/Evangelink) Special thanks to [@​SimonCropp](https://togithub.com/SimonCropp) for the many fixes regarding nullability spelling and code style in [#​4518](https://togithub.com/microsoft/vstest/issues/4518), [#​4520](https://togithub.com/microsoft/vstest/issues/4520), [#​4525](https://togithub.com/microsoft/vstest/issues/4525), [#​4526](https://togithub.com/microsoft/vstest/issues/4526), [#​4521](https://togithub.com/microsoft/vstest/issues/4521), [#​4519](https://togithub.com/microsoft/vstest/issues/4519), [#​4522](https://togithub.com/microsoft/vstest/issues/4522), [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4555](https://togithub.com/microsoft/vstest/pull/4555) - \[rel/17.6] Disable pre-start of testhosts by [@​nohwnd](https://togithub.com/nohwnd) in [#​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 [@​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 [@​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 [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500) which fixes [#​4409](https://togithub.com/microsoft/vstest/issues/4409) ##### Internal updates: - Update dependencies from devdiv/DevDiv/vs-code-coverage by [@​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 [@​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>
[![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 [@​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 [#​4610](https://togithub.com/microsoft/vstest/issues/4610) by [@​Evangelink](https://togithub.com/Evangelink) - Fix hangs in parallel execution and discovery in [#​4629](https://togithub.com/microsoft/vstest/issues/4629) by [@​nohwnd](https://togithub.com/nohwnd) - Fix executable bitness for testhost.x86 in [#​4654](https://togithub.com/microsoft/vstest/issues/4654) by [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4493](https://togithub.com/microsoft/vstest/issues/4493) which fixes [#​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 [#​4422](https://togithub.com/microsoft/vstest/issues/4422) by [@​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 [#​4367](https://togithub.com/microsoft/vstest/issues/4367) by [@​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 [#​4358](https://togithub.com/microsoft/vstest/issues/4358) by [@​daveMueller](https://togithub.com/daveMueller) - Check for null Path in [#​4391](https://togithub.com/microsoft/vstest/issues/4391) by [@​lewing](https://togithub.com/lewing) - Remove unused variable in [#​4425](https://togithub.com/microsoft/vstest/issues/4425) by [@​mthalman](https://togithub.com/mthalman) - Fix execution gets stucks on single netstandard source by [@​nohwnd](https://togithub.com/nohwnd) in [#​4497](https://togithub.com/microsoft/vstest/issues/4497) which fixes [#​4392](https://togithub.com/microsoft/vstest/issues/4392) - TestObject use ConcurrentDictionary instead of Dictionary in [#​4450](https://togithub.com/microsoft/vstest/issues/4450) by [@​Evangelink](https://togithub.com/Evangelink) - Drop usage of Microsoft.Internal.TestPlatform.Remote in [#​4456](https://togithub.com/microsoft/vstest/issues/4456) by [@​Evangelink](https://togithub.com/Evangelink) Special thanks to [@​SimonCropp](https://togithub.com/SimonCropp) for the many fixes regarding nullability spelling and code style in [#​4518](https://togithub.com/microsoft/vstest/issues/4518), [#​4520](https://togithub.com/microsoft/vstest/issues/4520), [#​4525](https://togithub.com/microsoft/vstest/issues/4525), [#​4526](https://togithub.com/microsoft/vstest/issues/4526), [#​4521](https://togithub.com/microsoft/vstest/issues/4521), [#​4519](https://togithub.com/microsoft/vstest/issues/4519), [#​4522](https://togithub.com/microsoft/vstest/issues/4522), [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4555](https://togithub.com/microsoft/vstest/pull/4555) - \[rel/17.6] Disable pre-start of testhosts by [@​nohwnd](https://togithub.com/nohwnd) in [#​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 [@​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 [@​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 [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500) which fixes [#​4409](https://togithub.com/microsoft/vstest/issues/4409) ##### Internal updates: - Update dependencies from devdiv/DevDiv/vs-code-coverage by [@​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 [@​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>
[![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 [@​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 [#​4610](https://togithub.com/microsoft/vstest/issues/4610) by [@​Evangelink](https://togithub.com/Evangelink) - Fix hangs in parallel execution and discovery in [#​4629](https://togithub.com/microsoft/vstest/issues/4629) by [@​nohwnd](https://togithub.com/nohwnd) - Fix executable bitness for testhost.x86 in [#​4654](https://togithub.com/microsoft/vstest/issues/4654) by [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4493](https://togithub.com/microsoft/vstest/issues/4493) which fixes [#​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 [#​4422](https://togithub.com/microsoft/vstest/issues/4422) by [@​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 [#​4367](https://togithub.com/microsoft/vstest/issues/4367) by [@​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 [#​4358](https://togithub.com/microsoft/vstest/issues/4358) by [@​daveMueller](https://togithub.com/daveMueller) - Check for null Path in [#​4391](https://togithub.com/microsoft/vstest/issues/4391) by [@​lewing](https://togithub.com/lewing) - Remove unused variable in [#​4425](https://togithub.com/microsoft/vstest/issues/4425) by [@​mthalman](https://togithub.com/mthalman) - Fix execution gets stucks on single netstandard source by [@​nohwnd](https://togithub.com/nohwnd) in [#​4497](https://togithub.com/microsoft/vstest/issues/4497) which fixes [#​4392](https://togithub.com/microsoft/vstest/issues/4392) - TestObject use ConcurrentDictionary instead of Dictionary in [#​4450](https://togithub.com/microsoft/vstest/issues/4450) by [@​Evangelink](https://togithub.com/Evangelink) - Drop usage of Microsoft.Internal.TestPlatform.Remote in [#​4456](https://togithub.com/microsoft/vstest/issues/4456) by [@​Evangelink](https://togithub.com/Evangelink) Special thanks to [@​SimonCropp](https://togithub.com/SimonCropp) for the many fixes regarding nullability spelling and code style in [#​4518](https://togithub.com/microsoft/vstest/issues/4518), [#​4520](https://togithub.com/microsoft/vstest/issues/4520), [#​4525](https://togithub.com/microsoft/vstest/issues/4525), [#​4526](https://togithub.com/microsoft/vstest/issues/4526), [#​4521](https://togithub.com/microsoft/vstest/issues/4521), [#​4519](https://togithub.com/microsoft/vstest/issues/4519), [#​4522](https://togithub.com/microsoft/vstest/issues/4522), [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [#​4555](https://togithub.com/microsoft/vstest/pull/4555) - \[rel/17.6] Disable pre-start of testhosts by [@​nohwnd](https://togithub.com/nohwnd) in [#​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 [@​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 [@​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 [@​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4474](https://togithub.com/microsoft/vstest/pull/4474) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4480](https://togithub.com/microsoft/vstest/pull/4480) which fixes [#​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 [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4500](https://togithub.com/microsoft/vstest/pull/4500) which fixes [#​4409](https://togithub.com/microsoft/vstest/issues/4409) ##### Internal updates: - Update dependencies from devdiv/DevDiv/vs-code-coverage by [@​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 [@​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>
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 |
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:
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:
You can use:
Workaround 2
Use TestPlatform Installer task to install VSTest 17.5.0 (or 17.6.2), and instruct your vstest task to use it:
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/visual-studio-test-platform-installer-v1?view=azure-pipelines
The text was updated successfully, but these errors were encountered: