build icon indicating copy to clipboard operation
build copied to clipboard

PSA - added node-test-commit-arm-debug to node-test-commit

Open mhdawson opened this issue 3 years ago • 8 comments

Added node-test-commit-arm-debug job to node-test-commit as next step in: https://github.com/nodejs/node/issues/41209.

It's configured to only run the build/test > 17, and otherwise just pass as a job.

Will close this once we turn off the x86 debug builds and all has run ok for a few days.

mhdawson avatar Dec 22 '21 19:12 mhdawson

I should have also noted that it will show as yellow until we investigate: https://github.com/nodejs/node/issues/41204

mhdawson avatar Dec 22 '21 19:12 mhdawson

Updated configuration for https://ci.nodejs.org/job/node-test-commit-linux-containered/

so that the debug build only runs if major version is less than or equal to 17

mhdawson avatar Dec 22 '21 19:12 mhdawson

We usually do exclusions based on Node.js release lines in https://github.com/nodejs/build/blob/master/jenkins/scripts/VersionSelectorScript.groovy.

richardlau avatar Dec 22 '21 20:12 richardlau

As far as I understand the groovy selector allows us to not run based on machine tag (ex ubuntu2004), not sure how that translates to this case.

If you have suggestion for an alternate change to the groovy script that would help illustrate what you are suggesting.

mhdawson avatar Dec 22 '21 20:12 mhdawson

So for example https://github.com/nodejs/build/blob/1018f9f415cff394b627c89c3c7744b9fcd8a359/jenkins/scripts/VersionSelectorScript.groovy#L103 means that the dynamically linked OpenSSL 3 bit of linux-containered doesn't run for Node.js versions earlier than 15. https://github.com/nodejs/build/blob/1018f9f415cff394b627c89c3c7744b9fcd8a359/jenkins/scripts/VersionSelectorScript.groovy#L107 says to not run dynamically linked OpenSSL 1.0.2 for Node.js 10 and later.

So we can add a rule for sharedlibs_debug or sharedlibs_debug_x64 if you want to be more specific (it's a regexp match afterall).

richardlau avatar Dec 22 '21 22:12 richardlau

Ok we can update the groovy script for the part related to the x86 containers. Interestingly if you look at the actual contained job, there was already a check for > version 8. I just added the second check for <= 17

image

So it looks like there is some configuration in the CI job as well. Maybe that was just missed?

mhdawson avatar Dec 22 '21 22:12 mhdawson

I'd imagine the existing condition predates the introduction of the groovy script.

richardlau avatar Dec 22 '21 22:12 richardlau

So we can add a rule for sharedlibs_debug or sharedlibs_debug_x64 if you want to be more specific (it's a regexp match afterall).

Opened https://github.com/nodejs/build/pull/2925.

richardlau avatar Apr 13 '22 19:04 richardlau

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[bot] avatar Feb 08 '23 00:02 github-actions[bot]