Hi,
I’m analysing a large .NET 4.5 solution with a number of projects using Azure DevOps pipelines and the provided SonarCloud pipeline tasks.
When running x64 unit tests with VStest task, according to the logs all the tests run and pass, but the VStest task hangs and never completes (I’ve left it up to 12 hours after the last logs are produced). Looking at the build server, there seems to be a single testhost process left running.
This doesn’t happen without the SonarCloud scanner in place. Without the SonarCloud analysis the VStest task completes as expected. Also, if unit tests are not run, the Sonar analysis completes and published successfully.
What could be causing this behaviour and is there a way to resolve it? At the moment I can’t get any code coverage data in my analysis.