Skip to content

test_runner: exclude ignored lines from BRDA in lcov output #5797

test_runner: exclude ignored lines from BRDA in lcov output

test_runner: exclude ignored lines from BRDA in lcov output #5797

Triggered via pull request April 22, 2026 19:51
Status Failure
Total duration 46m 53s
Artifacts 1

test-shared.yml

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

Annotations

4 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-runner-coverage.js#L595
--- stdout --- Test failure: 'coverage ignore comments exclude branches in LCOV output' Location: test/parallel/test-runner-coverage.js:571:1 AssertionError [ERR_ASSERTION]: All branches should be covered when ignored code is not executed. BRF=3, BRH=2 '3' !== '2' at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-04-2229f099003f-slim/test/parallel/test-runner-coverage.js:595:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1300:25) at Test.processPendingSubtests (node:internal/test_runner/test:891:18) at Test.postRun (node:internal/test_runner/test:1441:19) at Test.run (node:internal/test_runner/test:1366:12) at async Test.processPendingSubtests (node:internal/test_runner/test:891:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: '3', expected: '2', operator: 'strictEqual', 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-04-2229f099003f-slim/test/parallel/test-runner-coverage.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-runner-coverage.js#L595
--- stdout --- Test failure: 'coverage ignore comments exclude branches in LCOV output' Location: test/parallel/test-runner-coverage.js:571:1 AssertionError [ERR_ASSERTION]: All branches should be covered when ignored code is not executed. BRF=3, BRH=2 '3' !== '2' at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-04-2229f099003f-slim/test/parallel/test-runner-coverage.js:595:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1300:25) at Test.processPendingSubtests (node:internal/test_runner/test:891:18) at Test.postRun (node:internal/test_runner/test:1441:19) at Test.run (node:internal/test_runner/test:1366:12) at async Test.processPendingSubtests (node:internal/test_runner/test:891:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: '3', expected: '2', operator: 'strictEqual', 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-04-2229f099003f-slim/test/parallel/test-runner-coverage.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
50.3 MB
sha256:6d5d57d01d97bf15f8e9012c8543f95244361771a814cad39c500ce74180e62f