-
Notifications
You must be signed in to change notification settings - Fork 316
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
vstest 17.10.0 System.BadImageFormatException Azure Devops Pipelines #5098
Comments
@fhnaseer have you seen this problem before? #[error]Data collector 'Code Coverage' message: Data collector caught an exception of type 'System.BadImageFormatException': 'Image is too small.'. More details: .. |
@fhnaseer I'd be happy to share logs privately. They are too verbose for me to really be able to make sure its all good to post publicly. |
You can create a ticket here and share logs privately. |
@fhnaseer Case opened: |
Can you please share link? |
Sorry I'm not sure what you mean, I don't have a link, just the case number. |
You should have received a ticket link like this https://developercommunity.visualstudio.com/t/MicrosoftCodeCoverageConsole-cant-ins/10686388. |
I went ahead and just scanned the logs and redacted a few things. When I open a ticket at the link you gave me it sends me to services hub to open a ticket and that is what I did. The ticket was routed to azure devops support and I provided you the case number for what I received. |
Do you see any logs with filename datacollector in it? Can you please share these? |
The only logs I have available are those provided by the azure devops pipeline interface. |
You can enable full logs by providing additional log options in the pipeline => #5098 (comment) |
@wjdavis5 please get back to us with logs if you have some :) |
TempDir.zip |
Description
Error logged to stderr for ADO Task VSTest2.0 on vstest 17.10.0.
#[error]Data collector 'Code Coverage' message: Data collector caught an exception of type 'System.BadImageFormatException': 'Image is too small.'. More details: ..
actions/runner-images#10068
Steps to reproduce
Run pipeline using windows-latest or windows-2022 since the 17.10.0 update
Expected behavior
Nothing logged to stderr
Actual behavior
The following is logged to stderr
#[error]Data collector 'Code Coverage' message: Data collector caught an exception of type 'System.BadImageFormatException': 'Image is too small.'. More details: ..
However code coverage is still generated.
Diagnostic logs
I can provide complete logs privately.
Environment
...
...
...
...
...
The text was updated successfully, but these errors were encountered: