lcov fails to generate coverage statistics in some configurations #226
Labels
No labels
approved
bug
dependencies
DO-NOT-MERGE
enhancement
good-first-issue
help-wanted
historical-reviewed
historical-reviewing
needs-adoption
needs-ci
needs-design-approval
needs-info
needs-preceding-pr
needs-review
needs-reviewer
needs-work
priority-high
priority-low
priority-medium
priority-scheduled
priority-very-high
single-reviewer
size-l
size-m
size-s
size-xs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Mbed-TLS/mbedtls-framework#226
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
When the lcov.sh script is run with certain configurations most notably scripts/config.py full is fails to generate the coverage statistics with the following error:
Environment
This bug is present in the 1.0/4.0 release, however it is likely to be present in other versions.
The message above is on Ubuntu 24.04 x86_64.
Steps to reproduce
Expected result vs. actual result
It is expected that the coverage data generation should succeed with no error's, however the following is generated.
Given the suggestion from
geninfo, and the fact that this happens in the full config but not in the default config, it's likely that the problem is that we're using instrumentation that is not thread safe even when we run multithreaded tests.That means that the coverage report that we get from
basic-build-test.shis probably wrong. The CI still runsbasic-build-test.shon Ubuntu 16.04. I suspect that the reason it doesn't error out is that this tool version is old and doesn't recognize the problem.