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

未关闭 适合新手
#1,200 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@MikeMcC399 已经在做这个了。

开始于 2026年10月19日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, javascript, linux, node.js
领域
ci-cd, testing

调研方向

首先使用 Node.js Alpine Docker 镜像复现问题,并运行 citgm express-session;issue 报告称,由于缺少 openssl,运行会失败,而使用 apk 安装后即可成功。阅读 lib/lookup.json,了解如何配置跳过的软件包,然后确定 Alpine 环境是否能够提供 openssl,或者是否应在那里处理该 issue。选定的更改解决所报告的故障后,即算完成。

由索引模型根据 Issue 内容生成。

描述

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
 > [email protected] 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

主要语言
JavaScript
星标
608
派生
163
平均合并
4 天 3 小时
30 天内合并 PR
14

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nodejs/citgm 的其他 Issue

查看 nodejs/citgm 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。