Skip to content

test_runner: scope file-level hooks per file in --test-isolation=none #4300

test_runner: scope file-level hooks per file in --test-isolation=none

test_runner: scope file-level hooks per file in --test-isolation=none #4300

Triggered via pull request March 16, 2026 17:59
Status Failure
Total duration 42m 41s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
3m 47s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 4 warnings
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-runner-global-setup-teardown.mjs#L514
--- stdout --- Test failure: 'should execute globalSetup and globalTeardown correctly with imported module containing tests' Location: test/parallel/test-runner-global-setup-teardown.mjs:483:7 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /suites 0/. Input: 'Global setup executed\n' + 'βœ” Imported module Ok (0.978179ms)\n' + 'βœ– Imported module Fail (0.260609ms)\n' + 'β–Ά /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.497491ms)\n' + ' βœ” another simple test (0.204624ms)\n' + 'βœ” /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (1.047951ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + 'β„Ή pass 3\n' + 'β„Ή fail 1\n' + 'β„Ή cancelled 0\n' + 'β„Ή skipped 0\n' + 'β„Ή todo 0\n' + 'β„Ή duration_ms 20.903775\n' + '\n' + 'βœ– failing tests:\n' + '\n' + 'test at test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:1\n' + 'βœ– Imported module Fail (0.260609ms)\n' + ' Error: fail\n' + ' at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:44)\n' + ' at Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' at Test.run (node:internal/test_runner/test:1201:25)\n' + ' at Test.processPendingSubtests (node:internal/test_runner/test:831:18)\n' + ' at Test.postRun (node:internal/test_runner/test:1330:19)\n' + ' at Test.run (node:internal/test_runner/test:1258:12)\n' + ' at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3)\n' at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs:514:16) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1208:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:831:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Global setup executed\n' + 'βœ” Imported module Ok (0.978179ms)\n' + 'βœ– Imported module Fail (0.260609ms)\n' + 'β–Ά /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.497491ms)\n' + ' βœ” another simple test (0.204624ms)\n' + 'βœ” /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (1.047951ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + '...', expected: /suites 0/, operator: 'match', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs
aarch64-linux: with shared libraries: test/parallel/test-runner-enqueue-file-syntax-error.js#L0
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-enqueue-file-syntax-error.js
aarch64-linux: with shared libraries: test/parallel/test-runner-cli.js#L39
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /not ok 2 - this should fail/. Input: 'TAP version 13\n' + '# Subtest: index.test.js\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 0.630327\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 1 - index.test.js\n' + ' ---\n' + ' duration_ms: 1.676231\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: random.test.mjs\n' + ' # Subtest: this should fail\n' + ' not ok 1 - this should fail\n' + ' ---\n' + ' duration_ms: 3.441336\n' + " type: 'test'\n" + " location: '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:3:1'\n" + " failureType: 'testCodeFailure'\n" + " error: 'this is a failing test'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' stack: |-\n' + ' TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:4:9)\n' + ' Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' Test.run (node:internal/test_runner/test:1201:25)\n' + ' Test.start (node:internal/test_runner/test:1096:17)\n' + ' node:internal/test_runner/test:1617:71\n' + ' node:internal/per_context/primordials:466:82\n' + ' new Promise (<anonymous>)\n' + ' new SafePromise (node:internal/per_context/primordials:435:3)\n' + ' node:internal/per_context/primordials:466:9\n' + ' Array.map (<anonymous>)\n' + ' ...\n' + ' 1..1\n' + 'not ok 2 - random.test.mjs\n' + ' ---\n' + ' duration_ms: 3.614023\n' + " type: 'suite'\n" + " location: '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:1:1'\n" + " failureType: 'subtestsFailed'\n" + " error: '1 subtest failed'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' ...\n' + '# Subtest: subdir/subdir_test.js\n' + 'ok 3 - subdir/subdir_test.js\n' + ' ---\n' + ' duration_ms: 0.080059\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/random.cjs\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 0.182039\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 4 - test/random.cjs\n' + ' ---\n' + ' duration_ms: 0.32454\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/skip_by_name.cjs\n' + ' # Subtest: this should be skipped\n' + ' ok 1 - this should be skipped\n' + ' ---\n' + ' duration_ms: 0.177407\n' + " type: 'test'\n" + ' ...\n' + ' # Subtest: this should be executed\n' + ' ok 2 - this should be executed\n' + ' ---\n' + ' duration_ms: 0.138277\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 5 - test/skip_by_name.cjs\n' + ' ---\n' + ' duration_ms: 0.54054\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/suite_and_test.cjs\n' + ' # Subtest: this is a suite\n' + ' ok 1 - this is a suite\n' + ' ---\n' + ' duration_ms: 0.056451\n' + " type: 'suite'\n" + ' ...\n' + ' # Subtest: this is a test\n' + ' ok 2 - this is a test\n' + ' ---\n' + ' duration_ms: 0.101908\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 6 - test/suite_and_test.cjs\n' + ' ---\n' + ' duration_ms: 0.349661\n' + " type: 'suite'\n" + ' ...\n' + '1..6\n' + '# tests 6\n' + '# suites 7\n' + '# pass 5\n' + '# fail 1\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 85.041183\n' at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-cli.js:39:12) at Module
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/parallel/test-watch-file-shared-dependency.mjs#L37
--- stdout --- Mismatched <anonymous> function calls. Expected exactly 1, actual 2. at Module.mustCall (/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/common/index.js:465:10) at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-watch-file-shared-dependency.mjs:37:34) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1188:21) at Test.start (node:internal/test_runner/test:1096:17) at node:internal/test_runner/test:1617:71 at node:internal/per_context/primordials:466:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:435:3) Command: out/Release/node --expose-internals --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-watch-file-shared-dependency.mjs
aarch64-darwin: with shared libraries: test/parallel/test-runner-global-setup-teardown.mjs#L514
--- stdout --- Test failure: 'should execute globalSetup and globalTeardown correctly with imported module containing tests' Location: test/parallel/test-runner-global-setup-teardown.mjs:483:7 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /suites 0/. Input: 'Global setup executed\n' + 'βœ” Imported module Ok (0.611208ms)\n' + 'βœ– Imported module Fail (0.116959ms)\n' + 'β–Ά /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.264625ms)\n' + ' βœ” another simple test (0.05825ms)\n' + 'βœ” /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (0.458458ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + 'β„Ή pass 3\n' + 'β„Ή fail 1\n' + 'β„Ή cancelled 0\n' + 'β„Ή skipped 0\n' + 'β„Ή todo 0\n' + 'β„Ή duration_ms 28.458375\n' + '\n' + 'βœ– failing tests:\n' + '\n' + 'test at test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:1\n' + 'βœ– Imported module Fail (0.116959ms)\n' + ' Error: fail\n' + ' at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:44)\n' + ' at Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' at Test.run (node:internal/test_runner/test:1201:25)\n' + ' at Test.processPendingSubtests (node:internal/test_runner/test:831:18)\n' + ' at Test.postRun (node:internal/test_runner/test:1330:19)\n' + ' at Test.run (node:internal/test_runner/test:1258:12)\n' + ' at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3)\n' at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs:514:16) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1208:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:831:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Global setup executed\n' + 'βœ” Imported module Ok (0.611208ms)\n' + 'βœ– Imported module Fail (0.116959ms)\n' + 'β–Ά /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.264625ms)\n' + ' βœ” another simple test (0.05825ms)\n' + 'βœ” /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (0.458458ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + '...', expected: /suites 0/, operator: 'match', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs
aarch64-darwin: with shared libraries: test/parallel/test-runner-enqueue-file-syntax-error.js#L0
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-enqueue-file-syntax-error.js
aarch64-darwin: with shared libraries: test/parallel/test-runner-cli.js#L39
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /not ok 2 - this should fail/. Input: 'TAP version 13\n' + '# Subtest: index.test.js\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 2.2955\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 1 - index.test.js\n' + ' ---\n' + ' duration_ms: 2.877167\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: random.test.mjs\n' + ' # Subtest: this should fail\n' + ' not ok 1 - this should fail\n' + ' ---\n' + ' duration_ms: 0.3865\n' + " type: 'test'\n" + " location: '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:3:1'\n" + " failureType: 'testCodeFailure'\n" + " error: 'this is a failing test'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' stack: |-\n' + ' TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:4:9)\n' + ' Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' Test.run (node:internal/test_runner/test:1201:25)\n' + ' Test.start (node:internal/test_runner/test:1096:17)\n' + ' node:internal/test_runner/test:1617:71\n' + ' node:internal/per_context/primordials:466:82\n' + ' new Promise (<anonymous>)\n' + ' new SafePromise (node:internal/per_context/primordials:435:3)\n' + ' node:internal/per_context/primordials:466:9\n' + ' Array.map (<anonymous>)\n' + ' ...\n' + ' 1..1\n' + 'not ok 2 - random.test.mjs\n' + ' ---\n' + ' duration_ms: 0.496084\n' + " type: 'suite'\n" + " location: '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:1:1'\n" + " failureType: 'subtestsFailed'\n" + " error: '1 subtest failed'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' ...\n' + '# Subtest: subdir/subdir_test.js\n' + 'ok 3 - subdir/subdir_test.js\n' + ' ---\n' + ' duration_ms: 0.045958\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/random.cjs\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 0.614042\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 4 - test/random.cjs\n' + ' ---\n' + ' duration_ms: 0.756334\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/skip_by_name.cjs\n' + ' # Subtest: this should be skipped\n' + ' ok 1 - this should be skipped\n' + ' ---\n' + ' duration_ms: 0.13675\n' + " type: 'test'\n" + ' ...\n' + ' # Subtest: this should be executed\n' + ' ok 2 - this should be executed\n' + ' ---\n' + ' duration_ms: 1.188\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 5 - test/skip_by_name.cjs\n' + ' ---\n' + ' duration_ms: 1.698417\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/suite_and_test.cjs\n' + ' # Subtest: this is a suite\n' + ' ok 1 - this is a suite\n' + ' ---\n' + ' duration_ms: 0.251916\n' + " type: 'suite'\n" + ' ...\n' + ' # Subtest: this is a test\n' + ' ok 2 - this is a test\n' + ' ---\n' + ' duration_ms: 0.114875\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 6 - test/suite_and_test.cjs\n' + ' ---\n' + ' duration_ms: 0.977625\n' + " type: 'suite'\n" + ' ...\n' + '1..6\n' + '# tests 6\n' + '# suites 7\n' + '# pass 5\n' + '# fail 1\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 39.271958\n' at Object.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-cli.js:39:12) at Module._
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-runner-global-setup-teardown.mjs#L514
--- stdout --- Test failure: 'should execute globalSetup and globalTeardown correctly with imported module containing tests' Location: test/parallel/test-runner-global-setup-teardown.mjs:483:7 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /suites 0/. Input: 'Global setup executed\n' + 'βœ” Imported module Ok (1.176548ms)\n' + 'βœ– Imported module Fail (0.317594ms)\n' + 'β–Ά /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.377007ms)\n' + ' βœ” another simple test (0.141905ms)\n' + 'βœ” /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (0.839925ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + 'β„Ή pass 3\n' + 'β„Ή fail 1\n' + 'β„Ή cancelled 0\n' + 'β„Ή skipped 0\n' + 'β„Ή todo 0\n' + 'β„Ή duration_ms 20.567808\n' + '\n' + 'βœ– failing tests:\n' + '\n' + 'test at test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:1\n' + 'βœ– Imported module Fail (0.317594ms)\n' + ' Error: fail\n' + ' at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:44)\n' + ' at Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' at Test.run (node:internal/test_runner/test:1201:25)\n' + ' at Test.processPendingSubtests (node:internal/test_runner/test:831:18)\n' + ' at Test.postRun (node:internal/test_runner/test:1330:19)\n' + ' at Test.run (node:internal/test_runner/test:1258:12)\n' + ' at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3)\n' at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs:514:16) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1208:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:831:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Global setup executed\n' + 'βœ” Imported module Ok (1.176548ms)\n' + 'βœ– Imported module Fail (0.317594ms)\n' + 'β–Ά /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.377007ms)\n' + ' βœ” another simple test (0.141905ms)\n' + 'βœ” /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (0.839925ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + '...', expected: /suites 0/, operator: 'match', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs
x86_64-linux: with shared libraries: test/parallel/test-runner-enqueue-file-syntax-error.js#L0
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-enqueue-file-syntax-error.js
x86_64-linux: with shared libraries: test/parallel/test-runner-cli.js#L39
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /not ok 2 - this should fail/. Input: 'TAP version 13\n' + '# Subtest: index.test.js\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 0.838664\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 1 - index.test.js\n' + ' ---\n' + ' duration_ms: 2.200099\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: random.test.mjs\n' + ' # Subtest: this should fail\n' + ' not ok 1 - this should fail\n' + ' ---\n' + ' duration_ms: 2.832618\n' + " type: 'test'\n" + " location: '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:3:1'\n" + " failureType: 'testCodeFailure'\n" + " error: 'this is a failing test'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' stack: |-\n' + ' TestContext.<anonymous> (file:///home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:4:9)\n' + ' Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' Test.run (node:internal/test_runner/test:1201:25)\n' + ' Test.start (node:internal/test_runner/test:1096:17)\n' + ' node:internal/test_runner/test:1617:71\n' + ' node:internal/per_context/primordials:466:82\n' + ' new Promise (<anonymous>)\n' + ' new SafePromise (node:internal/per_context/primordials:435:3)\n' + ' node:internal/per_context/primordials:466:9\n' + ' Array.map (<anonymous>)\n' + ' ...\n' + ' 1..1\n' + 'not ok 2 - random.test.mjs\n' + ' ---\n' + ' duration_ms: 3.037698\n' + " type: 'suite'\n" + " location: '/home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:1:1'\n" + " failureType: 'subtestsFailed'\n" + " error: '1 subtest failed'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' ...\n' + '# Subtest: subdir/subdir_test.js\n' + 'ok 3 - subdir/subdir_test.js\n' + ' ---\n' + ' duration_ms: 0.111355\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/random.cjs\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 1.217953\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 4 - test/random.cjs\n' + ' ---\n' + ' duration_ms: 1.494757\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/skip_by_name.cjs\n' + ' # Subtest: this should be skipped\n' + ' ok 1 - this should be skipped\n' + ' ---\n' + ' duration_ms: 2.54739\n' + " type: 'test'\n" + ' ...\n' + ' # Subtest: this should be executed\n' + ' ok 2 - this should be executed\n' + ' ---\n' + ' duration_ms: 0.959119\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 5 - test/skip_by_name.cjs\n' + ' ---\n' + ' duration_ms: 4.209445\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/suite_and_test.cjs\n' + ' # Subtest: this is a suite\n' + ' ok 1 - this is a suite\n' + ' ---\n' + ' duration_ms: 0.080354\n' + " type: 'suite'\n" + ' ...\n' + ' # Subtest: this is a test\n' + ' ok 2 - this is a test\n' + ' ---\n' + ' duration_ms: 0.136005\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 6 - test/suite_and_test.cjs\n' + ' ---\n' + ' duration_ms: 0.490879\n' + " type: 'suite'\n" + ' ...\n' + '1..6\n' + '# tests 6\n' + '# suites 7\n' + '# pass 5\n' + '# fail 1\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 109.117418\n' at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-cli.js:39:12) at Modu
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/parallel/test-runner-global-setup-teardown.mjs#L514
--- stdout --- Test failure: 'should execute globalSetup and globalTeardown correctly with imported module containing tests' Location: test/parallel/test-runner-global-setup-teardown.mjs:483:7 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /suites 0/. Input: 'Global setup executed\n' + 'βœ” Imported module Ok (1.064963ms)\n' + 'βœ– Imported module Fail (0.290973ms)\n' + 'β–Ά /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.713556ms)\n' + ' βœ” another simple test (0.214415ms)\n' + 'βœ” /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (1.343284ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + 'β„Ή pass 3\n' + 'β„Ή fail 1\n' + 'β„Ή cancelled 0\n' + 'β„Ή skipped 0\n' + 'β„Ή todo 0\n' + 'β„Ή duration_ms 36.249698\n' + '\n' + 'βœ– failing tests:\n' + '\n' + 'test at test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:1\n' + 'βœ– Imported module Fail (0.290973ms)\n' + ' Error: fail\n' + ' at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/imported-module-with-test.mjs:4:44)\n' + ' at Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' at Test.run (node:internal/test_runner/test:1201:25)\n' + ' at Test.processPendingSubtests (node:internal/test_runner/test:831:18)\n' + ' at Test.postRun (node:internal/test_runner/test:1330:19)\n' + ' at Test.run (node:internal/test_runner/test:1258:12)\n' + ' at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3)\n' at TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs:514:16) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1208:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:831:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'Global setup executed\n' + 'βœ” Imported module Ok (1.064963ms)\n' + 'βœ– Imported module Fail (0.290973ms)\n' + 'β–Ά /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js\n' + ' βœ” verify setup was executed (0.713556ms)\n' + ' βœ” another simple test (0.214415ms)\n' + 'βœ” /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/global-setup-teardown/test-file.js (1.343284ms)\n' + 'Global teardown executed\n' + 'β„Ή tests 4\n' + 'β„Ή suites 1\n' + '...', expected: /suites 0/, operator: 'match', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-global-setup-teardown.mjs
x86_64-darwin: with shared libraries: test/parallel/test-runner-enqueue-file-syntax-error.js#L0
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-enqueue-file-syntax-error.js
x86_64-darwin: with shared libraries: test/parallel/test-runner-cli.js#L39
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /not ok 2 - this should fail/. Input: 'TAP version 13\n' + '# Subtest: index.test.js\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 0.819816\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 1 - index.test.js\n' + ' ---\n' + ' duration_ms: 2.770269\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: random.test.mjs\n' + ' # Subtest: this should fail\n' + ' not ok 1 - this should fail\n' + ' ---\n' + ' duration_ms: 0.658381\n' + " type: 'test'\n" + " location: '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:3:1'\n" + " failureType: 'testCodeFailure'\n" + " error: 'this is a failing test'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' stack: |-\n' + ' TestContext.<anonymous> (file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:4:9)\n' + ' Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' Test.run (node:internal/test_runner/test:1201:25)\n' + ' Test.start (node:internal/test_runner/test:1096:17)\n' + ' node:internal/test_runner/test:1617:71\n' + ' node:internal/per_context/primordials:466:82\n' + ' new Promise (<anonymous>)\n' + ' new SafePromise (node:internal/per_context/primordials:435:3)\n' + ' node:internal/per_context/primordials:466:9\n' + ' Array.map (<anonymous>)\n' + ' ...\n' + ' 1..1\n' + 'not ok 2 - random.test.mjs\n' + ' ---\n' + ' duration_ms: 0.864674\n' + " type: 'suite'\n" + " location: '/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/fixtures/test-runner/default-behavior/random.test.mjs:1:1'\n" + " failureType: 'subtestsFailed'\n" + " error: '1 subtest failed'\n" + " code: 'ERR_TEST_FAILURE'\n" + ' ...\n' + '# Subtest: subdir/subdir_test.js\n' + 'ok 3 - subdir/subdir_test.js\n' + ' ---\n' + ' duration_ms: 0.124402\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/random.cjs\n' + ' # Subtest: this should pass\n' + ' ok 1 - this should pass\n' + ' ---\n' + ' duration_ms: 1.391568\n' + " type: 'test'\n" + ' ...\n' + ' 1..1\n' + 'ok 4 - test/random.cjs\n' + ' ---\n' + ' duration_ms: 1.804906\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/skip_by_name.cjs\n' + ' # Subtest: this should be skipped\n' + ' ok 1 - this should be skipped\n' + ' ---\n' + ' duration_ms: 0.906105\n' + " type: 'test'\n" + ' ...\n' + ' # Subtest: this should be executed\n' + ' ok 2 - this should be executed\n' + ' ---\n' + ' duration_ms: 1.444816\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 5 - test/skip_by_name.cjs\n' + ' ---\n' + ' duration_ms: 3.232584\n' + " type: 'suite'\n" + ' ...\n' + '# Subtest: test/suite_and_test.cjs\n' + ' # Subtest: this is a suite\n' + ' ok 1 - this is a suite\n' + ' ---\n' + ' duration_ms: 0.063442\n' + " type: 'suite'\n" + ' ...\n' + ' # Subtest: this is a test\n' + ' ok 2 - this is a test\n' + ' ---\n' + ' duration_ms: 0.105488\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + 'ok 6 - test/suite_and_test.cjs\n' + ' ---\n' + ' duration_ms: 0.609675\n' + " type: 'suite'\n" + ' ...\n' + '1..6\n' + '# tests 6\n' + '# suites 7\n' + '# pass 5\n' + '# fail 1\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 209.277607\n' at Object.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-03-16804436daf8-slim/test/parallel/test-runner-cli.js:39:12) at
aarch64-linux: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
aarch64-darwin: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
x86_64-linux: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
x86_64-darwin: with shared libraries
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
tarballs
48.4 MB
sha256:fea621a5cebb8460e96ba08b4cba4e49ca0fb25265a9c6c012a4b713cdc85012