Skip to content

citgm-smoker fails express-session in alpine-latest-x64 (openssl: not found) #1200

Open

Description

@MikeMcC399

Situation

npm module express-session fails when run through Jenkins citgm-smoker on alpine-latest-x64, for example

https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/nodes=alpine-latest-x64/3797/testReport/junit/(root)/citgm/express_session_v1_19_0/

 added 386 packages in 13s
 > express-session@1.19.0 test
 > ./test/support/gencert.sh && mocha --require test/support/env --check-leaks --no-exit --reporter spec test/
 + openssl req -x509 -nodes -newkey rsa:2048 -keyout ./test/fixtures/server.key -out ./test/fixtures/server.crt -days 3650 -subj '/C=US/ST=Illinois/L=Chicago/O=node-express-session/CN=express-session.local'
 ./test/support/gencert.sh: line 4: openssl: not found

Steps to reproduce

This is also reproducible outside of Jenkins using a Node.js Alpine Linux Docker image (now under Tier 2 support):

docker run -it --rm node:26.12.0-alpine3.24 sh
npm install citgm@latest -g
citgm express-session # fails

After installing openssl, citgm express-session succeeds.

apk add --no-cache openssl
citgm express-session # succeeds

Suggestion

cc: @nodejs/build

Activity

  1. krishachra commented on Oct 19, 2026

    @krishachra

    Hi! I'd like to investigate this issue,so can you assign this to me?

  2. MikeMcC399 commented on Oct 19, 2026

    @MikeMcC399
    MemberAuthor

    @krishachra

    1. Hi! I'd like to investigate this issue,so can you assign this to me?

    This is first a question for the @nodejs/build team and you are not a member of nodejs. You would need to be a Node.js Collaborator to even view Jenkins setups and results, so you will not have the ability to investigate this issue.

  3. sxa commented on Oct 19, 2026

    @sxa
    Member

    I think this should just need a change to the alpine templates in https://github.com/nodejs/build/blob/main/ansible/roles/docker/templates. Unless any build WG members object to including openssl in the containers I'd prefer to add it in.

    While it's true that to deploy it to the live systems will require build WG input, if Krish is able to replicate the failure locally with those Dockerfiles and is able to test a fix to the templates locally and verify that the fix resolves it and put in a PR to those files then that would likely save us some work :-)

  4. MikeMcC399 commented on Oct 19, 2026

    @MikeMcC399
    MemberAuthor

    Thanks @sxa! I've opened nodejs/build#4526 to move the request into the right place.

  5. sxa commented on Oct 19, 2026

    @sxa
    Member

    FYI if you're not aware it is possible to transfer issues from one repository to another, but I'm ok with having the separate one in the build repo - it gives us a record of the problem in both repositories where there is an impact.

  6. MikeMcC399 commented on Oct 19, 2026

    @MikeMcC399
    MemberAuthor

    @sxa

    6. FYI if you're not aware it is possible to transfer issues from one repository to another, but I'm ok with having the separate one in the build repo - it gives us a record of the problem in both repositories where there is an impact.

    I don't have any special privileges in this repo, so I couldn't have transferred the issue on my own. In this case though, I prefer having the two issues in parallel.

    Thanks again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions