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

node-test-commit-windows-coverage-daily looks broken #2645

Closed
richardlau opened this issue May 5, 2021 · 9 comments
Closed

node-test-commit-windows-coverage-daily looks broken #2645

richardlau opened this issue May 5, 2021 · 9 comments
Labels

Comments

@richardlau
Copy link
Member

@nodejs/coverage-admins https://ci.nodejs.org/job/node-test-commit-windows-coverage-daily/ looks broken.
e.g. https://ci.nodejs.org/job/node-test-commit-windows-coverage-daily/535/
➡️ https://ci.nodejs.org/job/node-compile-windows/40368/
All compile subjobs fail:

"NODEJS_MAJOR_VERSION parameter (14) does not match output of tools\getnodeversion.py (17)"

so I imagine this has been broken since Node.js 15. Looks like NODEJS_MAJOR_VERSION doesn't get set for the compile job so defaults to 14 leading to the mismatch.

@github-actions
Copy link

github-actions bot commented Mar 2, 2022

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@github-actions github-actions bot added the stale label Mar 2, 2022
@richardlau
Copy link
Member Author

ping @nodejs/coverage-admins again.

@Trott
Copy link
Member

Trott commented Mar 2, 2022

One way to resolve this issue would be to retire our Jenkins-generated coverage and rely on https://app.codecov.io/gh/nodejs/node which is generated by GitHub Actions.

@Trott
Copy link
Member

Trott commented Mar 2, 2022

One way to resolve this issue would be to retire our Jenkins-generated coverage and rely on https://app.codecov.io/gh/nodejs/node which is generated by GitHub Actions.

Argh, although I guess that would mean no C++ coverage reports?

@Trott
Copy link
Member

Trott commented Mar 2, 2022

Is the problem that an expectation of Node.js 14 is coded somewhere (maybe in an environment variable set by the job?) but running this on the master branch compiles Node.js 18 and the job errors because of that?:

20:01:43 > for /F "delims=." %a in ('python tools\getnodeversion.py') do if not "%a" == "14" (
20:01:43 echo "NODEJS_MAJOR_VERSION parameter (14) does not match output of tools\getnodeversion.py (%a)"  
20:01:43  exit /b 1 
20:01:43 ) 
20:01:43 
20:01:43 > if not "18" == "14" (
20:01:43 echo "NODEJS_MAJOR_VERSION parameter (14) does not match output of tools\getnodeversion.py (18)"  
20:01:43  exit /b 1 
20:01:43 ) 
20:01:43 "NODEJS_MAJOR_VERSION parameter (14) does not match output of tools\getnodeversion.py (18)"
20:01:43 

@Trott
Copy link
Member

Trott commented Mar 2, 2022

Yeah, looks like NODEJS_MAJOR_VERSION in the Jenkins job parameters is set to 14. We won't need to bump this every release of Node.js, will we? Is that something releasers do for other Jenkins jobs when there's a major release?

@richardlau
Copy link
Member Author

Yeah, looks like NODEJS_MAJOR_VERSION in the Jenkins job parameters is set to 14. We won't need to bump this every release of Node.js, will we? Is that something releasers do for other Jenkins jobs when there's a major release?

You'll probably need to work out how node-test-commit-windows-fanned is setting and passing NODEJS_MAJOR_VERSION to node-compile-windows.

@Trott
Copy link
Member

Trott commented Mar 2, 2022

You'll probably need to work out how node-test-commit-windows-fanned is setting and passing NODEJS_MAJOR_VERSION to node-compile-windows.

It looks like it's hardcoded in the configuration seen at https://ci.nodejs.org/view/All/job/node-test-commit-windows-coverage-daily/configure.

image

@github-actions github-actions bot removed the stale label Mar 3, 2022
@github-actions
Copy link

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants