Skip to content

src,lib: add --allow-env permission #13490

src,lib: add --allow-env permission

src,lib: add --allow-env permission #13490

Re-run triggered September 25, 2026 19:53
Status Failure
Total duration 24m 37s
Artifacts 2

test-shared.yml

on: pull_request
Build slim tarball
1m 35s
Build slim tarball
aarch64-linux: Cache V8 build
1h 11m
aarch64-linux: Cache V8 build
Matrix: build
Matrix: build-openssl
Fit to window
Zoom out
Zoom in

Annotations

2 errors
aarch64-linux: with shared openssl-3.5.8 / build
Process completed with exit code 2.
aarch64-linux: with shared openssl-3.5.8 / build: test/parallel/test-crypto-key-store-pkcs11.js#L362
--- stderr --- /home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js:580 throw err; ^ AssertionError [ERR_ASSERTION]: node:internal/crypto/keys:1015 handle.init(kKeyTypePrivate, data, format ?? null, ^ Error: error:40800005:pkcs11::General Error at Object.createPrivateKey (node:internal/crypto/keys:1015:10) at [eval]:2:23 at [eval]:7:6 at runScriptInThisContext (node:internal/vm:219:10) at node:internal/process/execution:485:12 at [eval]-wrapper:6:24 at runScriptInContext (node:internal/process/execution:483:60) at evalFunction (node:internal/process/execution:317:30) at evalTypeScript (node:internal/process/execution:329:3) at node:internal/main/eval_string:71:3 { opensslErrorStack: [ 'error:40800005:pkcs11::General Error', 'error:13000074:engine routines::no such engine', 'error:13000084:engine routines::dso not found', 'error:12800067:DSO support routines::could not load the shared library', 'error:12800067:DSO support routines::could not load the shared library', 'error:1608010C:STORE routines::unsupported' ], library: 'pkcs11', reason: 'General Error', code: 'ERR_OSSL_GENERAL_ERROR' } Node.js v27.0.0-pre 1 !== 0 at assertChild (/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js:362:10) at assertPermissionModel (/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js:424:3) at runTest (/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js:568:3) at Object.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js:578:3) at Module._compile (node:internal/modules/cjs/loader:1956:14) at Object..js (node:internal/modules/cjs/loader:2096:10) at Module.load (node:internal/modules/cjs/loader:1678:32) at Module._load (node:internal/modules/cjs/loader:1470:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 1, expected: 0, operator: 'strictEqual', diff: 'simple' } Node.js v27.0.0-pre [process 48286]: --- stderr --- [process 48286]: --- stdout --- [process 48286]: status = 1, signal = null /home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/common/child_process.js:112 throw error; ^ Error: - process terminated with status 1, expected 0 at runInChild (/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js:69:3) at Object.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js:584:3) at Module._compile (node:internal/modules/cjs/loader:1956:14) at Object..js (node:internal/modules/cjs/loader:2096:10) at Module.load (node:internal/modules/cjs/loader:1678:32) at Module._load (node:internal/modules/cjs/loader:1470:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:33:47 { options: { cwd: '/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/.tmp.1830/softhsm', env: { SOFTHSM2_CONF: '/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/.tmp.1830/softhsm/softhsm2.conf', NODE_TEST_PKCS11_CHILD: '1' }, stdio: 'inherit' }, command: '/home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/out/Release/node --openssl-config=/nix/store/lpxxxqmbyfl42z6gscmf3ysbrjrji0vy-openssl-pkcs11.cnf /home/runner/work/_temp/node-v27.0.0-nightly2026-09-2592fc877a6d-slim/test/parallel/test-crypto-key-store-pkcs11.js'