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

jenkins: openssl1.1.0 not supported on node.js 12+ #1711

Merged
merged 3 commits into from
Mar 8, 2019
Merged

jenkins: openssl1.1.0 not supported on node.js 12+ #1711

merged 3 commits into from
Mar 8, 2019

Conversation

sam-github
Copy link
Contributor

@sam-github
Copy link
Contributor Author

nodedjs/master advertises its version as v12.0.0-pre, so I hope this will apply to it.

@sam-github sam-github mentioned this pull request Mar 5, 2019
4 tasks
@refack
Copy link
Contributor

refack commented Mar 5, 2019

made a test job to test this:
https://ci.nodejs.org/job/temp2-node-test-commit-linux-containered/4/console

BTW: we might want to add a test with a shared 1.1.1

@refack refack requested a review from rvagg March 5, 2019 22:49
@refack refack added ci-public ci-change PSA of configuration changes labels Mar 5, 2019
@refack
Copy link
Contributor

refack commented Mar 5, 2019

P.S. meanwhile for testing you can trigger the job and un-checking the incompatible configuration.
https://ci.nodejs.org/job/node-test-commit-linux-containered/build?delay=0sec

@sam-github
Copy link
Contributor Author

Sorry, I really don't know enough about jenkins to know how to test this.

I did https://ci.nodejs.org/job/node-test-commit-linux-containered/11123/ from #1711 (comment), unchecking some things that shouldn't be run, but I'm not at all sure what that tested.

Should that have used the groovy changes in this file? What am I looking for? What do I do next to get this landed, or confirm that it does whats intended?

@refack
Copy link
Contributor

refack commented Mar 6, 2019

What do I do next to get this landed

I'd like another @nodejs/build review.

confirm that it does whats intended?

This run https://ci.nodejs.org/job/temp2-node-test-commit-linux-containered/4/console seems to verify it excludes as expected:

17:46:55 Node.js version: 12.0.0
17:46:55 Skipping ubuntu1604_sharedlibs_fips20_x64 for Node.js 12
17:46:55 Skipping ubuntu1604_sharedlibs_openssl102_x64 for Node.js 12
17:46:55 Skipping ubuntu1604_sharedlibs_openssl110_x64 for Node.js 12
17:46:55 Running nodes

@refack
Copy link
Contributor

refack commented Mar 6, 2019

Testing https://ci.nodejs.org/job/temp2-node-test-commit-linux-containered/5/console with v11.x-staging:

18:14:07 Node.js version: 11.11.1
18:14:07 Skipping ubuntu1604_sharedlibs_openssl102_x64 for Node.js 11
18:14:07 Skipping ubuntu1604_sharedlibs_fips20_x64 for Node.js 11
18:14:07 Running nodes

@sam-github
Copy link
Contributor Author

I don't have perms to make an openssl-1.1.1 containerd build. It looks like the conditional step for ubuntu1604_sharedlibs_openssl110_x64 in https://ci.nodejs.org/job/node-test-commit-linux-containered/configure would have to be duplicated (careful following that link, it can cause Chrome to freeze), with basically all the 1.1.0 replaced with 1.1.1. The build would only be valid for node.js 11.x and above. Once nodejs/node#26270 lands, it would be valid for 10.x and above.

I can't really tell from https://ci.nodejs.org/computer/test-softlayer-ubuntu1604_sharedlibs_container-x64-5/ what the container is. If can get ssh access to test-softlayer-ubuntu1604_docker-x64-1 I could poke around, and try to see where openssl1.1.0 is (a docker container, somewhere on the fs, not sure). I suspect an openssl 1.1.1 untar; Config; make somewhere parallel to the existing openssl 1.1.0 and 1.0.2 is what is needed.

Does anyone in @nodejs/build want to take a shot at configuring this? If not, I'll ask for access. I'll need a bit of guidance, I've never done any jenkins configuration before.

/cc @mhdawson @miladfarca

@richardlau
Copy link
Member

I can't really tell from https://ci.nodejs.org/computer/test-softlayer-ubuntu1604_sharedlibs_container-x64-5/ what the container is. If can get ssh access to test-softlayer-ubuntu1604_docker-x64-1 I could poke around, and try to see where openssl1.1.0 is (a docker container, somewhere on the fs, not sure). I suspect an openssl 1.1.1 untar; Config; make somewhere parallel to the existing openssl 1.1.0 and 1.0.2 is what is needed.

I think openssl-1.1.1 is already in the container, based on

ENV OPENSSL111DIR /opt/openssl-1.1.1a
RUN mkdir -p /tmp/openssl_1.1.1a && \
cd /tmp/openssl_1.1.1a && \
curl -sL https://www.openssl.org/source/openssl-1.1.1a.tar.gz | tar zxv --strip=1 && \
./config --prefix=$OPENSSL111DIR && \
make -j 6 && \
make install && \
rm -rf /tmp/openssl_1.1.1a

Does anyone in @nodejs/build want to take a shot at configuring this? If not, I'll ask for access. I'll need a bit of guidance, I've never done any jenkins configuration before.

I'm not in @nodejs/build, but wouldn't mind volunteering to configure this if you'd prefer someone with more experience editing Jenkins job configuration. I don't have access to this particular job, but do already have access to the CitGM, node-stresss and node-report jobs.

@refack
Copy link
Contributor

refack commented Mar 7, 2019

I think openssl-1.1.1 is already in the container, based on

Does anyone in @nodejs/build want to take a shot at configuring this?

If no new Containers are needed. I'll give this a go.

@refack
Copy link
Contributor

refack commented Mar 7, 2019

Ahh, again it seems like @rvagg already set everything up 🙇 . Just needed to flip a switch.
https://ci.nodejs.org/job/temp2-node-test-commit-linux-containered/6/

BTW, it's set up to run for node >= 9 (linked with shared 1.1.1) it that correct?

@sam-github
Copy link
Contributor Author

Yay! Thanks for the help @refack @rvagg and @richardlau

Until nodejs/node#26270 lands, the 1.1.1 containerd test should only run for node > 10. Once 26270 lands, the version test should be as Rod made it, > 9. I don't expect we'll backport openssl 1.1.1 it any further down the LTS levels than 10.x

@refack refack self-assigned this Mar 8, 2019
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

@refack refack merged commit 92343cb into nodejs:master Mar 8, 2019
@refack refack removed the request for review from rvagg March 8, 2019 14:35
@refack
Copy link
Contributor

refack commented Mar 8, 2019

https://ci.nodejs.org/job/node-test-commit-linux-containered/11164/

09:36:30 Node.js major version: 12
09:36:30 Node.js version: 12.0.0
09:36:30 Skipping ubuntu1604_sharedlibs_openssl102_x64 for Node.js 12
09:36:30 Skipping ubuntu1604_sharedlibs_openssl110_x64 for Node.js 12
09:36:30 Skipping ubuntu1604_sharedlibs_fips20_x64 for Node.js 12
09:36:30 Running nodes
09:36:30 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_debug_x64
09:36:30 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_openssl111_x64
09:36:30 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_withoutssl_x64
09:36:30 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_withoutintl_x64
09:36:30 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_zlib_x64
09:36:30 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_shared_x64

https://ci.nodejs.org/job/node-test-commit-linux-containered/11165/

09:38:14 Node.js major version: 10
09:38:14 Node.js version: 10.15.4
09:38:14 Skipping ubuntu1604_sharedlibs_fips20_x64 for Node.js 10
09:38:14 Skipping ubuntu1604_sharedlibs_openssl111_x64 for Node.js 10
09:38:14 Skipping ubuntu1604_sharedlibs_openssl102_x64 for Node.js 10
09:38:14 Running nodes
09:38:14 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_withoutintl_x64
09:38:14 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_openssl110_x64
09:38:14 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_zlib_x64
09:38:14 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_debug_x64
09:38:14 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_withoutssl_x64
09:38:14 Triggering node-test-commit-linux-containered » ubuntu1604_sharedlibs_shared_x64

@richardlau
Copy link
Member

I don't think those test failures are related to the changes here: nodejs/node#26520

@refack
Copy link
Contributor

refack commented Mar 8, 2019

I don't think those test failures are related to the changes here: nodejs/node#26520

Ok, so we're back in business https://ci.nodejs.org/job/node-test-commit-linux-containered/jobConfigHistory/showDiffFiles?timestamp1=2019-02-28_17-50-31&timestamp2=2019-03-08_10-30-49

@sam-github sam-github deleted the skip-openssl-1.1.0 branch March 8, 2019 20:06
@sam-github
Copy link
Contributor Author

Thanks @refack

@refack refack removed their assignment Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-change PSA of configuration changes ci-job-request ci-public
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants