Skip to content

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

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

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

Triggered via pull request November 25, 2025 04:11
Status Failure
Total duration 53m 33s
Artifacts 1

test-shared.yml

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

Annotations

8 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-parse-args.mjs#L243
--- 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: 'without CLI flags' Location: test/parallel/test-parse-args.mjs:242:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 2 !== 0 at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs:243:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Suite.postRun (node:internal/test_runner/test:1224:19) at Suite.run (node:internal/test_runner/test:1522:10) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 2, expected: 0, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/parallel/test-parse-args.mjs#L243
--- 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: 'without CLI flags' Location: test/parallel/test-parse-args.mjs:242:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 2 !== 0 at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs:243:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Suite.postRun (node:internal/test_runner/test:1224:19) at Suite.run (node:internal/test_runner/test:1522:10) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 2, expected: 0, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-parse-args.mjs#L243
--- 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: 'without CLI flags' Location: test/parallel/test-parse-args.mjs:242:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 2 !== 0 at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs:243:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Suite.postRun (node:internal/test_runner/test:1224:19) at Suite.run (node:internal/test_runner/test:1522:10) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 2, expected: 0, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/parallel/test-parse-args.mjs#L243
--- 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: 'without CLI flags' Location: test/parallel/test-parse-args.mjs:242:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 2 !== 0 at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs:243:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Suite.postRun (node:internal/test_runner/test:1224:19) at Suite.run (node:internal/test_runner/test:1522:10) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 2, expected: 0, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2025-11-2593c3e6dbc8-slim/test/parallel/test-parse-args.mjs

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.9 MB
sha256:37b9aa62d4f12ad24fdc9994af434bc837173e5d0d99131a76258a2282e12c13