-
Notifications
You must be signed in to change notification settings - Fork 19
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
'A total of 0 visits recorded' on Linux ARM runner #42
Comments
A couple of easy experiments while I'm getting a pi set up for development (and hoping that the current raspbian install will work)
|
Yes! There are .pdb files. Starting test execution, please wait... Total tests: 83. Passed: 83. Failed: 0. Skipped: 0. ==== Alternative Results (includes all methods including those without corresponding source) ==== |
Also, can share my gitlab project if it will be helpful |
What I was looking for was the bit before the test execution, when the code is being instrumented. When
there should be logging of the instrumentation task, like
If there's nothing there like that, it suggests that it's something different about the MSBuild environment on an ARM machine, such that the instrumentation step is being skipped entirely -- which would explain the lack of coverage being recorded. |
Okay, here is the full build log
|
Thanks for that. So, not just a simple MSBuild issue after all. I'll try for a simple repro locally over the weekend, then. |
Thanks a lot! |
I have a repro (the first one of the simple sample programs from the AltCover tests I tried).
Now to debug it. |
One serious refactoring later, the 4.0.659 release fixes this sort of issue, at least on my Pi 3. |
Just updated project to mentioned by you 4.0.659 version and that solved my issue! |
Hi! Can't you help me again? |
It may be a little while due to Real Life, but this is at the top of the stack. |
I've not been able to get any reliable repro, but I have done some tuning on the recording side in release 5.0.665, which may ameliorate this problem. |
Yes, with version 5.0.665 my problem is gone. Thanks! |
Hi!
Cannot get coverage information on ARM cpu-powered Linux CI runner machine because of getting 'A total of 0 visits recorded' message while the real coverage of my project is ~80%.
Can also notice, that running 'dotnet test' with AltCover switch on normal x86 machine produces coverage data.
dotnet SDK version: 2.1.500
OS: Debian Jessie softfloat
Steps to reproduce:
Can provide additional info on your request. Thanks in advance!
The text was updated successfully, but these errors were encountered: