-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Work around a bug in ancient lcov #8926
Work around a bug in ancient lcov #8926
Conversation
lcov had a bug whereby it tries to create the output file relative to / if it has emitted a warning. We do CI runs on Ubuntu 16.04 which is too old to have the fix. As a quick fix for the CI, work around the bug. Signed-off-by: Gilles Peskine <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've tested locally, but let's wait for CI confirmation to merge. Currently running https://mbedtls.trustedfirmware.org/job/mbedtls-release-ci-testing/152/ |
From https://mbedtls.trustedfirmware.org/job/mbedtls-release-ci-testing/152/console :
but the script continued and succeeded. So we probably have slightly bad data (I think what happens is that the functions called while there are multiple threads might be miscounted), but at least we don't have a CI failure that could hide other problems. |
5c77ad0
As we are nearing a release, I am proposing a minimalistic workaround that just prevents the warning from triggering the error. The proper fix is to move away from ancient tooling but I do not propose to do that the week before a release.
PR checklist