-
Notifications
You must be signed in to change notification settings - Fork 326
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
dotnet-coverage tool doesn't work inside dotnet sdk 5/6 docker container #3400
Comments
Please check this: #981 (comment) |
Thank you very much, you totally right. |
Maybe it's worth to mention this missing prerequisite in the logs? I can reopen if needed. |
Yes. Good idea. We will add this to log or even to output. Thanks! |
We added information about dependencies to logs and console in version: https://dev.azure.com/dnceng/public/_artifacts/feed/test-tools/NuGet/dotnet-coverage/overview/17.3.3-beta.22303.2 |
Description
Unable to collect .net coverage results of .net 6 application running inside a docker container.
Steps to reproduce
Run those commands on windows with docker desktop installed:
Try to read the output file:
Expected behavior
Should contain coverage statistics
For example:
Actual behavior
output.xml:
Diagnostic logs
log.txt:
Environment
Windows 11 host (21H2)
Docker for desktop 4.5.1 (74721)
Tested with sdk:5.0 and sdk:6.0 - doesn't work
Also with privileged mode and with all capabilities - doesn't work
On WSL2 Ubuntu directly - works
The text was updated successfully, but these errors were encountered: