Skip to content

test_runner: ensure proper teardown when tests run without isolation #68813

test_runner: ensure proper teardown when tests run without isolation

test_runner: ensure proper teardown when tests run without isolation #68813

Triggered via pull request March 9, 2025 22:49
Status Failure
Total duration 47m 6s
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): test/parallel/test-runner-extraneous-async-activity.js#L59
--- stderr --- node:assert:1110 throw err; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Error: Test hook "before" at .+async-error-in-test-hook\.mjs:3:1 generated asynchronous activity after the test ended/m. Input: '✔ ok (0.879691ms)\n' + 'ℹ tests 1\n' + 'ℹ suites 0\n' + 'ℹ pass 1\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 0\n' + 'ℹ duration_ms 19.417578\n' at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-extraneous-async-activity.js:59:10) 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 Function._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 Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: '✔ ok (0.879691ms)\n' + 'ℹ tests 1\n' + 'ℹ suites 0\n' + 'ℹ pass 1\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 0\n' + 'ℹ duration_ms 19.417578\n', expected: /Error: Test hook "before" at .+async-error-in-test-hook\.mjs:3:1 generated asynchronous activity after the test ended/m, operator: 'match' } Node.js v24.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-extraneous-async-activity.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/parallel/test-runner-extraneous-async-activity.js#L59
--- stderr --- node:assert:1110 throw err; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Error: Test hook "before" at .+async-error-in-test-hook\.mjs:3:1 generated asynchronous activity after the test ended/m. Input: '✔ ok (0.980718ms)\n' + 'ℹ tests 1\n' + 'ℹ suites 0\n' + 'ℹ pass 1\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 0\n' + 'ℹ duration_ms 25.060558\n' at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-extraneous-async-activity.js:59:10) 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 Function._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 Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: '✔ ok (0.980718ms)\n' + 'ℹ tests 1\n' + 'ℹ suites 0\n' + 'ℹ pass 1\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 0\n' + 'ℹ duration_ms 25.060558\n', expected: /Error: Test hook "before" at .+async-error-in-test-hook\.mjs:3:1 generated asynchronous activity after the test ended/m, operator: 'match' } Node.js v24.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-extraneous-async-activity.js
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors