Skip to content

loader: implement package maps #82192

loader: implement package maps

loader: implement package maps #82192

Triggered via pull request March 15, 2026 15:11
Status Failure
Total duration 33m 43s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 2 warnings, and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/parallel/test-require-package-map.js#L197
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/parallel/test-require-package-map.js:186:5 TypeError [ERR_INVALID_ARG_TYPE]: The "message" argument must be one of type string or function. Received undefined at innerFail (node:internal/assert/utils:135:11) at assert.strictEqual (node:assert:360:5) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-require-package-map.js:197:14) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1201:25) at Test.start (node:internal/test_runner/test:1096:17) at node:internal/test_runner/test:1617:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) { code: 'ERR_INVALID_ARG_TYPE' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-require-package-map.js
test-linux (ubuntu-24.04-arm): test/es-module/test-esm-package-map.mjs#L0
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/es-module/test-esm-package-map.mjs:250:5 { code: Error: spawn /home/runner/work/node/node/node/out/Release/node ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:507:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/runner/work/node/node/node/out/Release/node', path: '/home/runner/work/node/node/node/out/Release/node', spawnargs: [ '--experimental-package-map', '/home/runner/work/node/node/node/test/fixtures/package-map/nested-project/package-map-external-deps.json', '--input-type=module', '--eval', "import dep from 'dep-a'; console.log(dep);" ] }, signal: undefined, stderr: '', stdout: '' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-esm-package-map.mjs
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-require-package-map.js#L197
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/parallel/test-require-package-map.js:186:5 TypeError [ERR_INVALID_ARG_TYPE]: The "message" argument must be one of type string or function. Received undefined at innerFail (node:internal/assert/utils:135:11) at assert.strictEqual (node:assert:360:5) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-require-package-map.js:197:14) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1201:25) at Test.start (node:internal/test_runner/test:1096:17) at node:internal/test_runner/test:1617:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) { code: 'ERR_INVALID_ARG_TYPE' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-require-package-map.js
test-linux (ubuntu-24.04): test/es-module/test-esm-package-map.mjs#L0
--- stdout --- Test failure: 'resolves packages outside the package map directory via relative paths' Location: test/es-module/test-esm-package-map.mjs:250:5 { code: Error: spawn /home/runner/work/node/node/node/out/Release/node ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:507:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/runner/work/node/node/node/out/Release/node', path: '/home/runner/work/node/node/node/out/Release/node', spawnargs: [ '--experimental-package-map', '/home/runner/work/node/node/node/test/fixtures/package-map/nested-project/package-map-external-deps.json', '--input-type=module', '--eval', "import dep from 'dep-a'; console.log(dep);" ] }, signal: undefined, stderr: '', stdout: '' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-esm-package-map.mjs
test-linux (ubuntu-24.04-arm)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test-linux (ubuntu-24.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
sccache stats
68% - 3311 hits, 1549 misses, 0 errors
sccache stats
74% - 3607 hits, 1240 misses, 0 errors