Skip to content

util: fix parseArgs skipping first positional arg with --eval= and --… #1083

util: fix parseArgs skipping first positional arg with --eval= and --…

util: fix parseArgs skipping first positional arg with --eval= and --… #1083

Triggered via pull request November 23, 2025 06:08
Status Cancelled
Total duration 30m 59s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 32s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-parse-args.mjs#L223
--- stdout --- Option '-w' argument is ambiguous. Did you forget to specify the option argument for '-w'? To specify an option argument starting with a dash use '--with=-XYZ' or '-w-XYZ'. Test failure: 'correct default args when use node -p' Location: test/parallel/test-parse-args.mjs:214:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:223:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Object], expected: [Object], operator: 'deepStrictEqual', diff: 'simple' } Test failure: 'correct default args when use node --print' Location: test/parallel/test-parse-args.mjs:228:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:237:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Object], expected: [Object], operator: 'deepStrictEqual', diff: 'simple' } Test failure: 'correct default args when use node -e' Location: test/parallel/test-parse-args.mjs:242:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:251:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Object], expected: [Object], operator: 'deepStrictEqual', diff: 'simple' } Test failure: 'correct default args when use node --eval' Location: test/parallel/test-parse-args.mjs:256:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:264:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:
aarch64-linux: with shared libraries: test/parallel/test-parse-args-eval.js#L4
--- stderr --- /home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/lib/internal/util/parse_args/parse_args.js:18 } = primordials; ^ ReferenceError: primordials is not defined at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/lib/internal/util/parse_args/parse_args.js:18:5) at Module._compile (node:internal/modules/cjs/loader:1760:14) at Object..js (node:internal/modules/cjs/loader:1892:10) at Module.load (node:internal/modules/cjs/loader:1480:32) at Module._load (node:internal/modules/cjs/loader:1299:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.require (node:internal/modules/cjs/loader:1503:12) at require (node:internal/modules/helpers:152:16) at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args-eval.js:4:25) Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args-eval.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-parse-args.mjs#L223
--- stdout --- Option '-w' argument is ambiguous. Did you forget to specify the option argument for '-w'? To specify an option argument starting with a dash use '--with=-XYZ' or '-w-XYZ'. Test failure: 'correct default args when use node -p' Location: test/parallel/test-parse-args.mjs:214:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:223:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Object], expected: [Object], operator: 'deepStrictEqual', diff: 'simple' } Test failure: 'correct default args when use node --print' Location: test/parallel/test-parse-args.mjs:228:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:237:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Object], expected: [Object], operator: 'deepStrictEqual', diff: 'simple' } Test failure: 'correct default args when use node -e' Location: test/parallel/test-parse-args.mjs:242:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:251:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Object], expected: [Object], operator: 'deepStrictEqual', diff: 'simple' } Test failure: 'correct default args when use node --eval' Location: test/parallel/test-parse-args.mjs:256:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected { positionals: [], + values: [Object: null prototype] {} - values: [Object: null prototype] { - foo: true - } } at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args.mjs:264:10) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Test.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) at async Test.processPendingSubtests (node:internal/test_runner/test:777:
x86_64-linux: with shared libraries: test/parallel/test-parse-args-eval.js#L4
--- stderr --- /home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/lib/internal/util/parse_args/parse_args.js:18 } = primordials; ^ ReferenceError: primordials is not defined at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/lib/internal/util/parse_args/parse_args.js:18:5) at Module._compile (node:internal/modules/cjs/loader:1760:14) at Object..js (node:internal/modules/cjs/loader:1892:10) at Module.load (node:internal/modules/cjs/loader:1480:32) at Module._load (node:internal/modules/cjs/loader:1299:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.require (node:internal/modules/cjs/loader:1503:12) at require (node:internal/modules/helpers:152:16) at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args-eval.js:4:25) Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2025-11-230e985eca4b-slim/test/parallel/test-parse-args-eval.js
aarch64-darwin: with shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-fix-eval-args exists
aarch64-darwin: with shared libraries
The operation was canceled.
Test Shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-fix-eval-args exists
x86_64-darwin: with shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-fix-eval-args exists
x86_64-darwin: with shared libraries
The operation was canceled.

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.9 MB
sha256:735e9790eb3ca1767979120d643e176c01c533b67b5965c26400e82876e06ccd