Skip to content

citgm-smoker fails @yarnpkg/cli@4.18.1 in alpine-latest-x64 (openssl not found) #1232

Open

Description

@MikeMcC399

Situation

npm module @yarnpkg/cli fails when run through Jenkins citgm-smoker on alpine-latest-x64, for example

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

    Https tests  it should fail to install if server uses non trusted certificate
     Could not find openssl on your system on this path: openssl
       at ../../.yarn/cache/pem-https-dd6a983ad7-afd0967576.zip/node_modules/pem/webpack:/pem/lib/openssl.js:257:1
 A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
 Test Suites: 1 failed, 6 passed, 7 total

Steps to reproduce

Testing in a Node.js Alpine Linux Docker image also fails, if no openssl is installed:

docker run -it --rm node:26.13.0-alpine3.24 sh
npm install citgm@latest -g --allow-scripts=yarn
citgm @yarnpkg/cli --loglevel=silly # hangs for a couple of minutes, then fails

After installing openssl, citgm @yarnpkg/cli succeeds.

apk add --no-cache openssl
citgm @yarnpkg/cli # succeeds

Suggestion

Other

Similar to #1200

Activity

  1. MikeMcC399 commented on Nov 6, 2026

    @MikeMcC399
    MemberAuthor

    Addition of openssl to Jenkins is planned (follow nodejs/build#4526)

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