Skip to content

lib: fix ERR_INVALID_ARG_TYPE with --enable-source-maps #85014

lib: fix ERR_INVALID_ARG_TYPE with --enable-source-maps

lib: fix ERR_INVALID_ARG_TYPE with --enable-source-maps #85014

Re-run triggered May 24, 2026 03:51
Status Failure
Total duration 2h 27m 32s
Artifacts

test-linux.yml

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

Annotations

4 errors and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/parallel/test-assert-ok-source-maps.js#L45
--- stdout --- Test failure: 'assert(false) in .mjs with --enable-source-maps throws AssertionError' Location: test/parallel/test-assert-ok-source-maps.js:27:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /assert\(false\)/. Input: 'The expression evaluated to a falsy value:' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-ok-source-maps.js:45:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1306:25) at Test.start (node:internal/test_runner/test:1177:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:385:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'The expression evaluated to a falsy value:', expected: /assert\(false\)/, operator: 'match', diff: 'simple' } Test failure: 'assert.ok(false) in .cjs with --enable-source-maps throws AssertionError' Location: test/parallel/test-assert-ok-source-maps.js:48:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /assert\.ok\(false\)/. Input: 'The expression evaluated to a falsy value:' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-ok-source-maps.js:66:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1306:25) at Test.processPendingSubtests (node:internal/test_runner/test:897:18) at Test.postRun (node:internal/test_runner/test:1447:19) at Test.run (node:internal/test_runner/test:1372:12) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'The expression evaluated to a falsy value:', expected: /assert\.ok\(false\)/, operator: 'match', diff: 'simple' } 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-assert-ok-source-maps.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-assert-ok-source-maps.js#L45
--- stdout --- Test failure: 'assert(false) in .mjs with --enable-source-maps throws AssertionError' Location: test/parallel/test-assert-ok-source-maps.js:27:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /assert\(false\)/. Input: 'The expression evaluated to a falsy value:' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-ok-source-maps.js:45:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1306:25) at Test.start (node:internal/test_runner/test:1177:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:385:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'The expression evaluated to a falsy value:', expected: /assert\(false\)/, operator: 'match', diff: 'simple' } Test failure: 'assert.ok(false) in .cjs with --enable-source-maps throws AssertionError' Location: test/parallel/test-assert-ok-source-maps.js:48:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /assert\.ok\(false\)/. Input: 'The expression evaluated to a falsy value:' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-ok-source-maps.js:66:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1306:25) at Test.processPendingSubtests (node:internal/test_runner/test:897:18) at Test.postRun (node:internal/test_runner/test:1447:19) at Test.run (node:internal/test_runner/test:1372:12) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'The expression evaluated to a falsy value:', expected: /assert\.ok\(false\)/, operator: 'match', diff: 'simple' } 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-assert-ok-source-maps.js
sccache stats - test-linux
42% - 2093 hits, 2879 misses, 0 errors
sccache stats - test-linux
47% - 2332 hits, 2630 misses, 0 errors