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

build: fix coverage after gcovr update #18958

Closed
wants to merge 1 commit into from

Conversation

killagu
Copy link
Contributor

@killagu killagu commented Feb 23, 2018

The patch will fix the broken coverage report.
It can be merged after nodejs/build#1145 accept

Fixes: #18938
Refs: nodejs/build#1145

Checklist
Affected core subsystem(s)

@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Feb 23, 2018
@BridgeAR BridgeAR added the blocked PRs that are blocked by other issues or PRs. label Feb 23, 2018
@killagu killagu changed the title [WIP]build: fix coverage after gcovr update build: fix coverage after gcovr update Feb 28, 2018
@mhdawson
Copy link
Member

Landed nodejs/build#1145 and validated that coverage was successfully generated with that update and this PR.

Regular Node.js CI run: https://ci.nodejs.org/job/node-test-pull-request/13403/

@mhdawson
Copy link
Member

CI run for coverage job using repo that includes this PR: https://ci.nodejs.org/job/node-test-commit-linux-coverage/549/

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@watilde watilde removed the blocked PRs that are blocked by other issues or PRs. label Feb 28, 2018
@@ -176,8 +176,8 @@ coverage-build: all
--single-branch git://github.com/gcovr/gcovr.git; fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We possibly can put a commit hash of the current latest gcovr at here for this change, then we can keep it as is a bit more easily.

@mhdawson
Copy link
Member

One more run of the coverage job, hopefully with the right parameters to include the fix this time: https://ci.nodejs.org/job/node-test-commit-linux-coverage/551/

@watilde that's a good point, I'll look at doing that in a follow-on PR.

@killagu
Copy link
Contributor Author

killagu commented Feb 28, 2018

@mhdawson But if we lock the commit and miss some gcovr version, upgrade will be harder.
In my opinion, keeping the newest version is ok.

@killagu
Copy link
Contributor Author

killagu commented Feb 28, 2018

build/jenkins/scripts/generate-index-html.py failed at line 98.

</div>'''.format(date, sha, float(jscov), float(cxxcov)))

ValueError: could not convert string to float: 

In my local env, print the index.csv.

94.82,91.2,2018-02-28T15:37:13Z,8476815f01bb4e60

@mhdawson Please login the benchmark machine, check what’s going wrong.

@mhdawson
Copy link
Member

Ok both builds good now will land

mhdawson pushed a commit that referenced this pull request Feb 28, 2018
PR-URL: #18958
Fixes: #18938
Ref: nodejs/build#1145
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
@mhdawson
Copy link
Member

Landed as 3f78d3f. @killagu thanks for investigating/fixing this.

@mhdawson mhdawson closed this Feb 28, 2018
addaleax pushed a commit to addaleax/node that referenced this pull request Mar 5, 2018
PR-URL: nodejs#18958
Fixes: nodejs#18938
Ref: nodejs/build#1145
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Mar 6, 2018
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
PR-URL: nodejs#18958
Fixes: nodejs#18938
Ref: nodejs/build#1145
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
@jasnell
Copy link
Member

jasnell commented Aug 17, 2018

does this need to be backported to 8.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coverage broken
6 participants