test_runner: make signal handling configurable #67611
Triggered via pull request
September 1, 2025 03:39
Status
Failure
Total duration
1h 2m 3s
Artifacts
–
Annotations
5 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-runner-global-setup-watch-mode.mjs#L121
--- stdout ---
Test failure: 'should run global setup/teardown hooks with each test run in watch mode'
Location: test/parallel/test-runner-global-setup-watch-mode.mjs:56:7
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Global teardown executed/. Input:
''
at TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-runner-global-setup-watch-mode.mjs:121:19)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1113:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1516:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1516:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:357:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '',
expected: /Global teardown executed/,
operator: 'match',
diff: 'simple'
}
Test failure: 'should run global setup/teardown hooks with each test run in watch mode'
Location: test/parallel/test-runner-global-setup-watch-mode.mjs:56:7
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Global teardown executed/. Input:
''
at TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-runner-global-setup-watch-mode.mjs:121:19)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1113:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1516:7)
at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '',
expected: /Global teardown executed/,
operator: 'match',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-global-setup-watch-mode.mjs
|
|
test-macOS:
test/parallel/test-runner-exit-code.js#L24
--- stderr ---
node:internal/process/promises:332
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'SIGINT' !== null
at runAndKill (/Users/runner/work/node/node/node/test/parallel/test-runner-exit-code.js:24:10)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'SIGINT',
expected: null,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v25.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-exit-code.js
|
|
test-macOS:
test/parallel/test-runner-error-reporter.js#L31
--- stdout ---
Test failure: 'FAIL_FAST stops test execution after first failure'
Location: test/parallel/test-runner-error-reporter.js:22:1
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
2 !== 1
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-error-reporter.js:31:10)
at Test.runInAsyncScope (node:async_hooks:213:14)
at Test.run (node:internal/test_runner/test:1106:25)
at Test.processPendingSubtests (node:internal/test_runner/test:788:18)
at Test.postRun (node:internal/test_runner/test:1235:19)
at Test.run (node:internal/test_runner/test:1163:12)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:357:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 2,
expected: 1,
operator: 'strictEqual',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-error-reporter.js
|
|
test-macOS:
test/parallel/test-debugger-exceptions.js#L0
--- stderr ---
/Users/runner/work/node/node/node/test/common/debugger.js:95
reject(new Error([
^
Error: Timeout (10000) while waiting for /(?:assert|break|break on start|debugCommand|exception|other|promiseRejection|step) in/i; found: < Debugger listening on ws://127.0.0.1:54641/d2761fff-5928-4ba7-ae6c-84a40960d25d
< For help, see: https://nodejs.org/en/docs/inspector
<
debug> connecting to 127.0.0.1:54641 ...
< Debugger attached.
<
debug>
ok
debug>
at Timeout.<anonymous> (/Users/runner/work/node/node/node/test/common/debugger.js:95:18)
at listOnTimeout (node:internal/timers:608:17)
at process.processTimers (node:internal/timers:543:7)
Node.js v25.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-debugger-exceptions.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|