Skip to content

test_runner: make signal handling configurable #75516

test_runner: make signal handling configurable

test_runner: make signal handling configurable #75516

Triggered via pull request September 1, 2025 03:39
Status Failure
Total duration 45m 23s
Artifacts

test-linux.yml

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

Annotations

8 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-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:///home/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:///home/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 /home/runner/work/node/node/node/test/parallel/test-runner-global-setup-watch-mode.mjs
test-linux (ubuntu-24.04-arm): 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 (/home/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 /home/runner/work/node/node/node/test/parallel/test-runner-exit-code.js
test-linux (ubuntu-24.04-arm): 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> (/home/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 /home/runner/work/node/node/node/test/parallel/test-runner-error-reporter.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): 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:///home/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:///home/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 /home/runner/work/node/node/node/test/parallel/test-runner-global-setup-watch-mode.mjs
test-linux (ubuntu-24.04): 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 (/home/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 /home/runner/work/node/node/node/test/parallel/test-runner-exit-code.js
test-linux (ubuntu-24.04): 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> (/home/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 /home/runner/work/node/node/node/test/parallel/test-runner-error-reporter.js
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors