util: update isError with new Error.isError #71108
Annotations
20 errors and 2 notices
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-loader-not-found.mjs#L20
--- stdout ---
Test failure: 'should throw'
Location: test/es-module/test-esm-loader-not-found.mjs:9:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /'i-dont-exist'/. Input:
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_MODULE_NOT_FOUND' }\n" +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-not-found.mjs:20:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1466:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:332:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_MODULE_NOT_FOUND' }\n" +
'\n' +
'Node.js v25.0.0-pre\n',
expected: /'i-dont-exist'/,
operator: 'match'
}
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-loader-not-found.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-loader-chaining.mjs#L208
--- stdout ---
Test failure: 'should throw for incomplete resolve chain, citing errant loader & hook'
Location: test/es-module/test-esm-loader-chaining.mjs:192:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /loader-resolve-incomplete\.mjs/. Input:
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_LOADER_CHAIN_INCOMPLETE' }\n" +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-chaining.mjs:208:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_LOADER_CHAIN_INCOMPLETE' }\n" +
'\n' +
'Node.js v25.0.0-pre\n',
expected: /loader-resolve-incomplete\.mjs/,
operator: 'match'
}
Test failure: 'should throw when the resolve chain is broken'
Location: test/es-module/test-esm-loader-chaining.mjs:272:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /loader-resolve-incomplete\.mjs/. Input:
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_LOADER_CHAIN_INCOMPLETE' }\n" +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-chaining.mjs:289:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_LOADER_CHAIN_INCOMPLETE' }\n" +
'\n' +
'Node.js v25.0.0-pre\n',
expected: /loader-resolve-incomplete\.mjs/,
operator: 'match'
}
Test failure: 'should throw for incomplete load chain, citing errant loader & hook'
Location: test/es-module/test-esm-loader-chaining.mjs:294:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /loader-load-incomplete\.mjs/. Input:
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_LOADER_CHAIN_INCOMPLETE' }\n" +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-chaining.mjs:311:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_LOADER_CHAIN_INCOMPLETE' }\n" +
'\n' +
'Node.js v25.0.0-pre\n',
expected: /loader-load-incomplete\.mjs/,
operator: 'match'
}
Test failure: 'should throw when the load chain is broken'
Location: test/es-module/test-esm-loader-chaining.mjs:316:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /loader-load-incomplete\.mjs/. Input:
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
"Error { code: 'ERR_LOADER_CHAIN_INCOMPLETE' }\n" +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-chaining.mjs:333:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-loader-hooks.mjs#L303
--- stdout ---
Test failure: 'should handle regular Error object'
Location: test/es-module/test-esm-loader-hooks.mjs:295:5
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Error: error message\r?\n/. Input:
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'Error {}\n' +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-hooks.mjs:303:14)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1466:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'Error {}\n' +
'\n' +
'Node.js v25.0.0-pre\n',
expected: /Error: error message\r?\n/,
operator: 'match'
}
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-loader-hooks.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-loader-spawn-promisified.mjs#L299
--- stdout ---
Test failure: 'throw maximum call stack error on the loader'
Location: test/es-module/test-esm-loader-spawn-promisified.mjs:289:3
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(stderr.includes('Maximum call stack size exceeded'))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-spawn-promisified.mjs:299:5)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
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-loader-spawn-promisified.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-loader-thenable.mjs#L28
--- stdout ---
Test failure: 'should crash the node process rejection with an error'
Location: test/es-module/test-esm-loader-thenable.mjs:20:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /\sError: must crash the process\r?\n/. Input:
'(node:137919) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n' +
`--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///home/runner/work/node/node/node/test/fixtures/es-module-loaders/thenable-load-hook-rejected.mjs", pathToFileURL("./"));'\n` +
'(Use `node --trace-warnings ...` to show where the warning was created)\n' +
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'Error {}\n' +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-thenable.mjs:28:5)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:137919) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n' +
`--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///home/runner/work/node/node/node/test/fixtures/es-module-loaders/thenable-load-hook-rejected.mjs", pathToFileURL("./"));'\n` +
'(Use `node --trace-warnings ...` to show where the warning was created)\n' +
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'Error {}\n' +
'\n' +
'Node.js v25.0.0-pre\n' +
'...',
expected: /\sError: must crash the process\r?\n/,
operator: 'match'
}
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-loader-thenable.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/es-module/test-esm-loader-with-syntax-error.mjs#L16
--- stdout ---
Test failure: 'should crash the node process'
Location: test/es-module/test-esm-loader-with-syntax-error.mjs:9:3
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /SyntaxError \[Error\]:/. Input:
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'SyntaxError [Error] {}\n' +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/es-module/test-esm-loader-with-syntax-error.mjs:16:5)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1466:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:332:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'SyntaxError [Error] {}\n' +
'\n' +
'Node.js v25.0.0-pre\n',
expected: /SyntaxError \[Error\]:/,
operator: 'match'
}
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-loader-with-syntax-error.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-assert.js#L275
--- stdout ---
FOO
Test failure: 'assert.throws()'
Location: test/parallel/test-assert.js:86:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
code: 'ERR_ASSERTION',
+ message: 'Values have same structure but are not reference-equal:\n\nError {}\n',
- message: 'Expected "actual" to be reference-equal to "expected":\n' +
- '+ actual - expected\n' +
- '\n' +
- '+ [Error: foo]\n' +
- '- [Error: foobar]\n',
name: 'AssertionError'
}
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert.js:275:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.processPendingSubtests (node:internal/test_runner/test:752:18)
at Test.postRun (node:internal/test_runner/test:1191:19)
at Test.run (node:internal/test_runner/test:1119:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
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.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-assert-deep-with-error.js#L24
--- stdout ---
Test failure: 'Handle error causes'
Location: test/parallel/test-assert-deep-with-error.js:17:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ message: 'Values have same structure but are not reference-equal:\n\nError {}\n'
- message: 'Expected values to be strictly deep-equal:\n' +
- '+ actual - expected\n' +
- '\n' +
- ' [Error: a] {\n' +
- '+ [cause]: [Error: x]\n' +
- '- [cause]: [Error: y]\n' +
- ' }\n'
}
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-deep-with-error.js:24:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.start (node:internal/test_runner/test:959:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:332:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
Test failure: 'Handle undefined causes'
Location: test/parallel/test-assert-deep-with-error.js:61:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ message: 'Values have same structure but are not reference-equal:\n\nError {}\n'
- message: 'Expected values to be strictly deep-equal:\n' +
- '+ actual - expected\n' +
- '\n' +
- '+ [Error: a]\n' +
- '- [Error: a] {\n' +
- '- [cause]: undefined\n' +
- '- }\n'
}
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-deep-with-error.js:68:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.processPendingSubtests (node:internal/test_runner/test:752:18)
at Test.postRun (node:internal/test_runner/test:1191:19)
at Test.run (node:internal/test_runner/test:1119:12)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:332:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
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-deep-with-error.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-assert-deep.js#L1033
--- stdout ---
Test failure: 'Check extra properties on errors'
Location: test/parallel/test-assert-deep.js:1027:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
Comparison {
message: 'Expected values to be strictly deep-equal:\n' +
'+ actual - expected\n' +
'\n' +
' Comparison {\n' +
...
"+ '\\n' +\n" +
+ "+ ' TypeError {\\n' +\n" +
- "+ ' [TypeError: foo] {\\n' +\n" +
`+ "+ foo: 'bar'\\n" +\n` +
`+ "- foo: 'baz.'\\n" +\n` +
"+ ' }\\n',\n" +
"+ operator: 'deepStrictEqual'\n" +
"- message: '',\n" +
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-deep.js:1033:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.processPendingSubtests (node:internal/test_runner/test:752:18)
at Test.postRun (node:internal/test_runner/test:1191:19)
at Test.run (node:internal/test_runner/test:1119:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
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-deep.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-child-process-exec-abortcontroller-promisified.js#L26
--- stderr ---
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal:
Comparison {
cause: DOMException {},
name: 'AbortError'
}
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: AbortError: The operation was aborted
at abortChildProcess (node:child_process:726:27)
at AbortSignal.onAbortListener (node:child_process:796:7)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at AbortSignal.dispatchEvent (node:internal/event_target:762:26)
at runAbort (node:internal/abort_controller:488:10)
at abortSignal (node:internal/abort_controller:459:3)
at AbortController.abort (node:internal/abort_controller:507:5)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-child-process-exec-abortcontroller-promisified.js:26:6)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10) {
code: 'ABORT_ERR',
cmd: 'sleep 2m',
stdout: '',
stderr: '',
[cause]: DOMException {}
},
expected: { name: 'AbortError', cause: DOMException {} },
operator: 'rejects'
}
Node.js v25.0.0-pre
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-child-process-exec-abortcontroller-promisified.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-assert.js#L275
--- stdout ---
FOO
Test failure: 'assert.throws()'
Location: test/parallel/test-assert.js:86:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
code: 'ERR_ASSERTION',
+ message: 'Values have same structure but are not reference-equal:\n\nError {}\n',
- message: 'Expected "actual" to be reference-equal to "expected":\n' +
- '+ actual - expected\n' +
- '\n' +
- '+ [Error: foo]\n' +
- '- [Error: foobar]\n',
name: 'AssertionError'
}
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert.js:275:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.processPendingSubtests (node:internal/test_runner/test:752:18)
at Test.postRun (node:internal/test_runner/test:1191:19)
at Test.run (node:internal/test_runner/test:1119:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
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.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-assert-deep-with-error.js#L24
--- stdout ---
Test failure: 'Handle error causes'
Location: test/parallel/test-assert-deep-with-error.js:17:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ message: 'Values have same structure but are not reference-equal:\n\nError {}\n'
- message: 'Expected values to be strictly deep-equal:\n' +
- '+ actual - expected\n' +
- '\n' +
- ' [Error: a] {\n' +
- '+ [cause]: [Error: x]\n' +
- '- [cause]: [Error: y]\n' +
- ' }\n'
}
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-deep-with-error.js:24:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.start (node:internal/test_runner/test:959:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:332:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
Test failure: 'Handle undefined causes'
Location: test/parallel/test-assert-deep-with-error.js:61:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ message: 'Values have same structure but are not reference-equal:\n\nError {}\n'
- message: 'Expected values to be strictly deep-equal:\n' +
- '+ actual - expected\n' +
- '\n' +
- '+ [Error: a]\n' +
- '- [Error: a] {\n' +
- '- [cause]: undefined\n' +
- '- }\n'
}
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-deep-with-error.js:68:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.processPendingSubtests (node:internal/test_runner/test:752:18)
at Test.postRun (node:internal/test_runner/test:1191:19)
at Test.run (node:internal/test_runner/test:1119:12)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:332:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
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-deep-with-error.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-assert-deep.js#L1033
--- stdout ---
Test failure: 'Check extra properties on errors'
Location: test/parallel/test-assert-deep.js:1027:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
Comparison {
message: 'Expected values to be strictly deep-equal:\n' +
'+ actual - expected\n' +
'\n' +
' Comparison {\n' +
...
"+ '\\n' +\n" +
+ "+ ' TypeError {\\n' +\n" +
- "+ ' [TypeError: foo] {\\n' +\n" +
`+ "+ foo: 'bar'\\n" +\n` +
`+ "- foo: 'baz.'\\n" +\n` +
"+ ' }\\n',\n" +
"+ operator: 'deepStrictEqual'\n" +
"- message: '',\n" +
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-assert-deep.js:1033:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1062:25)
at Test.processPendingSubtests (node:internal/test_runner/test:752:18)
at Test.postRun (node:internal/test_runner/test:1191:19)
at Test.run (node:internal/test_runner/test:1119:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [AssertionError],
expected: [Object],
operator: 'throws'
}
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-deep.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-child-process-exec-abortcontroller-promisified.js#L26
--- stderr ---
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Values have same structure but are not reference-equal:
Comparison {
cause: DOMException {},
name: 'AbortError'
}
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: AbortError: The operation was aborted
at abortChildProcess (node:child_process:726:27)
at AbortSignal.onAbortListener (node:child_process:796:7)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at AbortSignal.dispatchEvent (node:internal/event_target:762:26)
at runAbort (node:internal/abort_controller:488:10)
at abortSignal (node:internal/abort_controller:459:3)
at AbortController.abort (node:internal/abort_controller:507:5)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-child-process-exec-abortcontroller-promisified.js:26:6)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10) {
code: 'ABORT_ERR',
cmd: 'sleep 2m',
stdout: '',
stderr: '',
[cause]: DOMException {}
},
expected: { name: 'AbortError', cause: DOMException {} },
operator: 'rejects'
}
Node.js v25.0.0-pre
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-child-process-exec-abortcontroller-promisified.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-crypto-fips.js#L52
--- stderr ---
Spawned child [pid:137479] with cmd 'process.versions' expect "OpenSSL error when trying to enable FIPS:" with args '--enable-fips' OPENSSL_CONF=undefined
Child #1 [pid:137479] OK.
Spawned child [pid:137481] with cmd 'process.versions' expect "OpenSSL error when trying to enable FIPS:" with args '--force-fips' OPENSSL_CONF=undefined
Child #2 [pid:137481] OK.
Spawned child [pid:137482] with cmd 'require("crypto").getFips()' expect 0 with args '' OPENSSL_CONF=" "
Child #3 [pid:137482] OK.
Spawned child [pid:137489] with cmd 'new worker_threads.Worker('require("crypto").setFips(true);', { eval: true })' expect "Calling crypto.setFips() is not supported in workers" with args '' OPENSSL_CONF=undefined
node:internal/assert/utils:281
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert.ok(response.includes(expectedOutput))
at responseHandler (/home/runner/work/node/node/node/test/parallel/test-crypto-fips.js:52:14)
at testHelper (/home/runner/work/node/node/node/test/parallel/test-crypto-fips.js:62:3)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-crypto-fips.js:94:1)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Module._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v25.0.0-pre
Command: out/Release/node --expose-internals --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-crypto-fips.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-internal-util-helpers.js#L30
--- stderr ---
node:internal/assert/utils:281
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(isError(newErr))
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-internal-util-helpers.js:30:3)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Module._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Node.js v25.0.0-pre
Command: out/Release/node --expose-internals --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-internal-util-helpers.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-cli.js#L194
--- stderr ---
node:assert:799
throw err;
^
AssertionError [ERR_ASSERTION]: The input did not match the regular expression / {6}stack: |-'/. Input:
'TAP version 13\n' +
'# Subtest: this should pass\n' +
'ok 1 - this should pass\n' +
' ---\n' +
' duration_ms: 1.266513\n' +
" type: 'test'\n" +
' ...\n' +
'# invalid tap output\n' +
'# Subtest: test/fixtures/test-runner/invalid-tap.js\n' +
'ok 2 - test/fixtures/test-runner/invalid-tap.js\n' +
' ---\n' +
' duration_ms: 53.710456\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: level 0a\n' +
' # Subtest: level 1a\n' +
' ok 1 - level 1a\n' +
' ---\n' +
' duration_ms: 2.088106\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: level 1b\n' +
' not ok 2 - level 1b\n' +
' ---\n' +
' duration_ms: 2.325979\n' +
" type: 'test'\n" +
" location: '/home/runner/work/node/node/node/test/fixtures/test-runner/nested.js:10:5'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
" failureType: 'testCodeFailure'\n" +
' cause:\n' +
' ...\n' +
' # Subtest: level 1c\n' +
' ok 3 - level 1c # SKIP aaa\n' +
' ---\n' +
' duration_ms: 2.165069\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: level 1d\n' +
' ok 4 - level 1d\n' +
' ---\n' +
' duration_ms: 1.938026\n' +
" type: 'test'\n" +
' ...\n' +
' # level 1d diagnostic\n' +
' 1..4\n' +
'not ok 3 - level 0a\n' +
' ---\n' +
' duration_ms: 3.696406\n' +
" type: 'test'\n" +
" location: '/home/runner/work/node/node/node/test/fixtures/test-runner/nested.js:6:1'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
" failureType: 'subtestsFailed'\n" +
" cause: '1 subtest failed'\n" +
' ...\n' +
'# Subtest: level 0b\n' +
'not ok 4 - level 0b\n' +
' ---\n' +
' duration_ms: 0.222244\n' +
" type: 'test'\n" +
" location: '/home/runner/work/node/node/node/test/fixtures/test-runner/nested.js:22:1'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
" failureType: 'testCodeFailure'\n" +
' cause:\n' +
' ...\n' +
'1..4\n' +
'# tests 8\n' +
'# suites 0\n' +
'# pass 4\n' +
'# fail 3\n' +
'# cancelled 0\n' +
'# skipped 1\n' +
'# todo 0\n' +
'# duration_ms 120.080737\n'
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-cli.js:194:12)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Module._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: this should pass\n' +
'ok 1 - this should pass\n' +
' ---\n' +
' duration_ms: 1.266513\n' +
" type: 'test'\n" +
' ...\n' +
'# invalid tap output\n' +
'# Subtest: test/fixtures/test-runner/invalid-tap.js\n' +
'ok 2 - test/fixtures/test-runner/invalid-tap.js\n' +
' ---\n' +
' duration_ms: 53.710456\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: level 0a\n' +
' # Subtest: level 1a\n' +
' ok 1 - level 1a\n' +
' ---\n' +
' duration_ms: 2.088106\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: level 1b\n' +
' not ok 2 - level 1b\n' +
' ---\n' +
' duration_ms: 2.325979\n' +
" type: 'test'\n" +
" location: '/home/runner/work/node/node/node/test/fixtures/test-runner/nested.js:10:5'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
" failureType: 'testCodeFailure'\n" +
' cause:\n' +
' ...\n' +
' # Subtest: level 1c\n' +
' ok 3 - level 1c # SKIP aaa\n' +
'
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-force-exit-failure.js#L23
--- stderr ---
node:assert:799
throw err;
^
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Error: fails/. Input:
'✖ fails and schedules more work (0.950794ms)\n' +
'ℹ tests 1\n' +
'ℹ suites 0\n' +
'ℹ pass 0\n' +
'ℹ fail 1\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 0\n' +
'ℹ duration_ms 75.454191\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/fixtures/test-runner/throws_sync_and_async.js:4:1\n' +
'✖ fails and schedules more work (0.950794ms)\n' +
' Error {}\n'
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-force-exit-failure.js:23:3)
at Module._compile (node:internal/modules/cjs/loader:1734:14)
at Object..js (node:internal/modules/cjs/loader:1899:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Module._load (node:internal/modules/cjs/loader:1286:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '✖ fails and schedules more work (0.950794ms)\n' +
'ℹ tests 1\n' +
'ℹ suites 0\n' +
'ℹ pass 0\n' +
'ℹ fail 1\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 0\n' +
'ℹ duration_ms 75.454191\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/fixtures/test-runner/throws_sync_and_async.js:4:1\n' +
'✖ fails and schedules more work (0.950794ms)\n' +
' Error {}\n',
expected: /Error: fails/,
operator: 'match'
}
Node.js v25.0.0-pre
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-runner-force-exit-failure.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-module-mocking.js#L681
--- stderr ---
(node:169161) ExperimentalWarning: Module mocking is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
--- stdout ---
Test failure: 'wrong import syntax should throw error after module mocking'
Location: test/parallel/test-runner-module-mocking.js:671:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Error \[ERR_MODULE_NOT_FOUND\]: Cannot find module/. Input:
'(node:169239) ExperimentalWarning: Module mocking is an experimental feature and might change at any time\n' +
'(Use `node --trace-warnings ...` to show where the warning was created)\n' +
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'Error {\n' +
" code: 'ERR_MODULE_NOT_FOUND',\n" +
" url: 'file:///home/runner/work/node/node/node/test/fixtures/module-mocking/basic-esm-without-extension'\n" +
'}\n' +
'\n' +
'Node.js v25.0.0-pre\n'
at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:681:10)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1069:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:752:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '(node:169239) ExperimentalWarning: Module mocking is an experimental feature and might change at any time\n' +
'(Use `node --trace-warnings ...` to show where the warning was created)\n' +
'\n' +
'node:internal/modules/run_main:105\n' +
' triggerUncaughtException(\n' +
' ^\n' +
'Error {\n' +
" code: 'ERR_MODULE_NOT_FOUND',\n" +
" url: 'file:///home/runner/work/node/node/node/test/fixtures/module-mocking/basic-esm-without-extension'\n" +
'}\n' +
'...',
expected: /Error \[ERR_MODULE_NOT_FOUND\]: Cannot find module/,
operator: 'match'
}
Command: out/Release/node --experimental-test-module-mocks --experimental-require-module --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-output.mjs#L321
--- stdout ---
Test failure: 'test-runner/output/abort.js'
Location: test/parallel/test-runner-output.mjs:330:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'This operation was aborted'\n" +
- ' code: 20\n' +
- " name: 'AbortError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'This operation was aborted'\n" +
- ' code: 20\n' +
- " name: 'AbortError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'This operation was aborted'\n" +
- ' code: 20\n' +
- " name: 'AbortError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - promise timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'The operation was aborted due to timeout'\n" +
- ' code: 23\n' +
- " name: 'TimeoutError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
' ...\n' +
'# Subtest: promise abort signal\n' +
'not ok 2 - promise abort signal\n' +
' ---\n' +
' duration_ms: *\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'This operation was aborted'\n" +
- ' code: 20\n' +
- " name: 'AbortError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
' ...\n' +
'# Subtest: callback timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'This operation was aborted'\n" +
- ' code: 20\n' +
- " name: 'AbortError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'This operation was aborted'\n" +
- ' code: 20\n' +
- " name: 'AbortError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
...
" failureType: 'testAborted'\n" +
- " error: 'This operation was aborted'\n" +
- ' code: 20\n' +
- " name: 'AbortError'\n" +
- ' stack: |-\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- ' *\n' +
- '
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|