Skip to content

test_runner: match dotfiles in default coverage exclude #6928

test_runner: match dotfiles in default coverage exclude

test_runner: match dotfiles in default coverage exclude #6928

Triggered via pull request May 19, 2026 06:36
Status Failure
Total duration 44m 42s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 19s
Build slim tarball
aarch64-linux: Cache V8 build
24s
aarch64-linux: Cache V8 build
Matrix: build
Matrix: build-openssl
Fit to window
Zoom out
Zoom in

Annotations

14 errors
aarch64-linux: with shared boringssl-0.20260413.0
Process completed with exit code 2.
aarch64-linux: with shared boringssl-0.20260413.0: test/parallel/test-runner-coverage-default-exclusion.mjs#L21
--- stdout --- Test failure: 'should exclude test files from coverage by default' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:71:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.919708\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.515247\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.382291\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.184461\n' + " type: 'test'\n" + ' ...\n' + '1..4\n' + '# tests 4\n' + '# suites 0\n' + '# pass 4\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 188.176208\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusions (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:21:10) at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:84:5) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1366:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.919708\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + '...', expected: /# logic-file\.js\s+\|/, operator: 'match', diff: 'simple' } Test failure: 'should exclude ts test files' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:88:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.003864\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.177605\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.919116\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.964638\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 5 - foo returns 1\n' + ' ---\n' + ' duration_ms: 2.625482\n' + " type: 'test'\n" + ' ...\n' + '1..5\n' + '# tests 5\n' + '# suites 0\n' + '# pass 5\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 277.399377\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclu
aarch64-linux: with shared openssl-3.5.5
Process completed with exit code 2.
aarch64-linux: with shared openssl-3.5.5: test/parallel/test-runner-coverage-default-exclusion.mjs#L21
--- stdout --- Test failure: 'should exclude test files from coverage by default' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:71:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.919047\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 2.37875\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.09369\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.961966\n' + " type: 'test'\n" + ' ...\n' + '1..4\n' + '# tests 4\n' + '# suites 0\n' + '# pass 4\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 262.133875\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusions (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:21:10) at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:84:5) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1366:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.919047\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + '...', expected: /# logic-file\.js\s+\|/, operator: 'match', diff: 'simple' } Test failure: 'should exclude ts test files' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:88:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 2.455293\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.989373\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.076042\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 2.073439\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 5 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.960541\n' + " type: 'test'\n" + ' ...\n' + '1..5\n' + '# tests 5\n' + '# suites 0\n' + '# pass 5\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 312.385393\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusi
aarch64-linux: with shared openssl-4.0.0
Process completed with exit code 2.
aarch64-linux: with shared openssl-4.0.0: test/parallel/test-runner-coverage-default-exclusion.mjs#L21
--- stdout --- Test failure: 'should exclude test files from coverage by default' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:71:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.217256\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.525914\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 4.535517\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.995544\n' + " type: 'test'\n" + ' ...\n' + '1..4\n' + '# tests 4\n' + '# suites 0\n' + '# pass 4\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 292.939226\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusions (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:21:10) at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:84:5) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1366:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.217256\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + '...', expected: /# logic-file\.js\s+\|/, operator: 'match', diff: 'simple' } Test failure: 'should exclude ts test files' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:88:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.96792\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.043947\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.972992\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.003457\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 5 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.001257\n' + " type: 'test'\n" + ' ...\n' + '1..5\n' + '# tests 5\n' + '# suites 0\n' + '# pass 5\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 274.103545\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclus
aarch64-linux: with shared openssl-3.0.19
Process completed with exit code 2.
aarch64-linux: with shared openssl-3.0.19: test/parallel/test-runner-coverage-default-exclusion.mjs#L21
--- stdout --- Test failure: 'should exclude test files from coverage by default' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:71:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.203234\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.261724\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.924438\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.953698\n' + " type: 'test'\n" + ' ...\n' + '1..4\n' + '# tests 4\n' + '# suites 0\n' + '# pass 4\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 229.121002\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusions (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:21:10) at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:84:5) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1366:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.203234\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + '...', expected: /# logic-file\.js\s+\|/, operator: 'match', diff: 'simple' } Test failure: 'should exclude ts test files' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:88:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.915522\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.252555\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.969915\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.385631\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 5 - foo returns 1\n' + ' ---\n' + ' duration_ms: 3.515603\n' + " type: 'test'\n" + ' ...\n' + '1..5\n' + '# tests 5\n' + '# suites 0\n' + '# pass 5\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 321.565759\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclu
aarch64-linux: with shared openssl-1.1.1w
Process completed with exit code 2.
aarch64-linux: with shared openssl-1.1.1w: test/parallel/test-runner-coverage-default-exclusion.mjs#L21
--- stdout --- Test failure: 'should exclude test files from coverage by default' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:71:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 4.01723\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.562766\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 2.390221\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 0.992095\n' + " type: 'test'\n" + ' ...\n' + '1..4\n' + '# tests 4\n' + '# suites 0\n' + '# pass 4\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 226.993024\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusions (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:21:10) at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:84:5) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1366:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 4.01723\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + '...', expected: /# logic-file\.js\s+\|/, operator: 'match', diff: 'simple' } Test failure: 'should exclude ts test files' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:88:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.022716\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 2.322665\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 2.147195\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 3.054471\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 5 - foo returns 1\n' + ' ---\n' + ' duration_ms: 3.222285\n' + " type: 'test'\n" + ' ...\n' + '1..5\n' + '# tests 5\n' + '# suites 0\n' + '# pass 5\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 356.929736\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusi
aarch64-linux: with shared openssl-3.6.1
Process completed with exit code 2.
aarch64-linux: with shared openssl-3.6.1: test/parallel/test-runner-coverage-default-exclusion.mjs#L21
--- stdout --- Test failure: 'should exclude test files from coverage by default' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:71:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.112223\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.359639\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.335799\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.808112\n' + " type: 'test'\n" + ' ...\n' + '1..4\n' + '# tests 4\n' + '# suites 0\n' + '# pass 4\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 267.73231\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusions (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:21:10) at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:84:5) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1366:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.112223\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + '...', expected: /# logic-file\.js\s+\|/, operator: 'match', diff: 'simple' } Test failure: 'should exclude ts test files' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:88:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 3.864663\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.394617\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.075302\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.114231\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 5 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.073469\n' + " type: 'test'\n" + ' ...\n' + '1..5\n' + '# tests 5\n' + '# suites 0\n' + '# pass 5\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 313.404413\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclus
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-runner-coverage-default-exclusion.mjs#L21
--- stdout --- Test failure: 'should exclude test files from coverage by default' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:71:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.387179\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.830302\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.640958\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.608861\n' + " type: 'test'\n" + ' ...\n' + '1..4\n' + '# tests 4\n' + '# suites 0\n' + '# pass 4\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 291.74291\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusions (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:21:10) at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-05-191bfc5d8912-slim/test/parallel/test-runner-coverage-default-exclusion.mjs:84:5) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1366:25) at async Suite.processPendingSubtests (node:internal/test_runner/test:946:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.387179\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + '...', expected: /# logic-file\.js\s+\|/, operator: 'match', diff: 'simple' } Test failure: 'should exclude ts test files' Location: test/parallel/test-runner-coverage-default-exclusion.mjs:88:3 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /# logic-file\.js\s+\|/. Input: 'TAP version 13\n' + '# Subtest: foo returns 1\n' + 'ok 1 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.644844\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 2 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.331825\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 3 - foo returns 1\n' + ' ---\n' + ' duration_ms: 4.648695\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 4 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.652657\n' + " type: 'test'\n" + ' ...\n' + '# Subtest: foo returns 1\n' + 'ok 5 - foo returns 1\n' + ' ---\n' + ' duration_ms: 1.54161\n' + " type: 'test'\n" + ' ...\n' + '1..5\n' + '# tests 5\n' + '# suites 0\n' + '# pass 5\n' + '# fail 0\n' + '# cancelled 0\n' + '# skipped 0\n' + '# todo 0\n' + '# duration_ms 484.790785\n' + '# start of coverage report\n' + '# ----------------------------------------------------------\n' + '# file | line % | branch % | funcs % | uncovered lines\n' + '# ----------------------------------------------------------\n' + '# ----------------------------------------------------------\n' + '# all files | 100.00 | 100.00 | 100.00 | \n' + '# ----------------------------------------------------------\n' + '# end of coverage report\n' at assertDefaultExclusi

Artifacts

Produced during runtime
Name Size Digest
tarballs
46.1 MB
sha256:dbd4ed270f4c4c7c84acda9a71e33a4ffce3cb986c2d2e1c05e4ab4cf4134c3f