Skip to content
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

GCOV will generate garbled characters in file name #48

Closed
jxyang opened this issue Jan 26, 2021 · 1 comment
Closed

GCOV will generate garbled characters in file name #48

jxyang opened this issue Jan 26, 2021 · 1 comment
Labels
area/testing issues around tests and testing severity/moderate Severity: Moderate status/triaged Status: Triaged

Comments

@jxyang
Copy link
Contributor

jxyang commented Jan 26, 2021

Currently gcov lib version(7.5.0) and gcov util code will generate garbled characters in file names for code coverage. This will

  1. crash the dotnet solution running and,
  2. generate bunch of unusable gcda and gcno files.

That error happens systematically for kernel and utils and possible for other components. That makes code coverage result not consumable.

Some thoughts and findings:

  1. The problem is possible introduced by code update. The last normal code coverage report can be found is around Oct 20th, 2020. After that the nightly pipeline crashed for a long period(around half month). Unfortunately, nightly pipeline does not retain jobs running before October.
  2. The currently used gcov version is built from GCC 7.5.0, other versions will not generate gcda and gnco files(verified by Xuejun). And also the code coverage report generation script need an overhaul. It may not process all gcda and gcno files correctly.
@paulcallen paulcallen added area/testing issues around tests and testing severity/moderate Severity: Moderate status/triaged Status: Triaged labels Mar 29, 2021
@bodzhang
Copy link
Collaborator

bodzhang commented Jun 2, 2021

Addressed by PR #335

@bodzhang bodzhang closed this as completed Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing issues around tests and testing severity/moderate Severity: Moderate status/triaged Status: Triaged
Projects
None yet
Development

No branches or pull requests

3 participants