-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
C++ code coverage is broken #39303
Comments
It's unlikely to be any of those commits. The other, more plausible, difference between
is that we started building with |
Logged into the machine and tried building manually without |
Testing (manually) with |
With
I think we'd need a Lines 223 to 224 in c6d9d8a
pip (3.4 was runnable as a script but script/gcovr is gone in the later version). FWIW the GitHub actions coverage workflow bypasses several targets in the Makefile and uses gcovr 4.2 (via pip install): node/.github/workflows/coverage-linux.yml Line 37 in b034151
Alternative to using |
Should be addressed by changes in the Makefile and on the CI machine. |
Update the version of `gcovr` used for C++ coverage from 3.4 to 4.2 for compatibility with gcc/g++ 8. PR-URL: #39326 Refs: #39303 Refs: gcovr/gcovr#228 Refs: nodejs/build#2705 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Update the version of `gcovr` used for C++ coverage from 3.4 to 4.2 for compatibility with gcc/g++ 8. PR-URL: #39326 Refs: #39303 Refs: gcovr/gcovr#228 Refs: nodejs/build#2705 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Update the version of `gcovr` used for C++ coverage from 3.4 to 4.2 for compatibility with gcc/g++ 8. PR-URL: #39326 Refs: #39303 Refs: gcovr/gcovr#228 Refs: nodejs/build#2705 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Version
master branch
Platform
n/a
Subsystem
build
What steps will reproduce the bug?
View https://coverage.nodejs.org/. See (screenshot below) that the C++ coverage broke some time around June 24 2021.
How often does it reproduce? Is there a required condition?
n/a
What is the expected behavior?
Coverage should be generated
What do you see instead?
No coverage generated
Additional information
The last commit shown where the cover worked is e0ebc6b. The commit shown where it stops working is 84d6ce9. If this is a problem in the repository (and not a build infra issue), then that means it is in one of these three commits:
84d6ce9
d65514b
bf9ce95
Of those three commits, the one that could at least plausibly could have somehow caused this is d65514b. /ping @richardlau
The text was updated successfully, but these errors were encountered: