Skip to content

test: print test errors only when finished #66075

test: print test errors only when finished

test: print test errors only when finished #66075

Re-run triggered January 2, 2025 16:31
Status Failure
Total duration 1h 24m 44s
Artifacts

test-linux.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 notice
test-linux: test/parallel/test-runner-output.mjs#L303
--- stdout --- ▶ test runner output ✔ test-runner/output/abort.js (1773.727093ms) ✔ test-runner/output/abort-runs-after-hook.js (1759.336174ms) ✔ test-runner/output/abort_suite.js (1756.543108ms) ✔ test-runner/output/abort_hooks.js (1751.864759ms) ::debug::starting to run test runner output ::debug::starting to run test-runner/output/abort.js ::debug::completed running test-runner/output/abort.js ::debug::starting to run test-runner/output/abort-runs-after-hook.js ::debug::completed running test-runner/output/abort-runs-after-hook.js ::debug::starting to run test-runner/output/abort_suite.js ::debug::completed running test-runner/output/abort_suite.js ::debug::starting to run test-runner/output/abort_hooks.js ::debug::completed running test-runner/output/abort_hooks.js ✔ test-runner/output/describe_it.js (1852.012997ms) ✔ test-runner/output/describe_nested.js (1740.57496ms) ✔ test-runner/output/eval_dot.js (1729.902671ms) ✖ test-runner/output/eval_spec.js (1717.846032ms) ✔ test-runner/output/eval_tap.js (1690.177318ms) ✔ test-runner/output/filtered-suite-delayed-build.js (1658.02589ms) ✔ test-runner/output/filtered-suite-order.mjs (1645.276681ms) ::debug::starting to run test-runner/output/describe_it.js ::debug::completed running test-runner/output/describe_it.js ::debug::starting to run test-runner/output/describe_nested.js ::debug::completed running test-runner/output/describe_nested.js ::debug::starting to run test-runner/output/eval_dot.js ::debug::completed running test-runner/output/eval_dot.js ::debug::starting to run test-runner/output/eval_spec.js ::error title=test-runner/output/eval_spec.js,file=test/parallel/test-runner-output.mjs,line=303,col=5::Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected '✔ passes (*ms)\n' + '✖ fails (*ms)\n' + - ' Error: fail\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - '\n' + 'ℹ tests 2\n' + 'ℹ suites 0\n' + 'ℹ pass 1\n' + 'ℹ fail 1\n' + 'ℹ cancelled 0\n' + at async Promise.all (index 7) { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected '✔ passes (*ms)\n' + '✖ fails (*ms)\n' + - ' Error: fail\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - ' *\n' + - '\n' + 'ℹ tests 2\n' + 'ℹ suites 0\n' + 'ℹ pass 1\n' + 'ℹ fail 1\n' + 'ℹ cancelled 0\n' + at assertSnapshot (/home/runner/work/node/node/test/common/assertSnapshot.js:56:12) at async Module.spawnAndAssert (/home/runner/work/node/node/test/common/assertSnapshot.js:91:3) at async TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-runner-output.mjs:303:5) at async Test.run (node:internal/test_runner/test:932:9) at async Promise.all (index 7) at async Suite.run (node:internal/test_runner/test:1310:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:297:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '✔ passes (*ms)\n✖ fails (*ms)\nℹ tests 2\nℹ suites 0\nℹ pass 1\nℹ fail 1\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms *\n...', expected: '✔ passes (*ms)\n✖ fails (*ms)\n Error: fail\n *\n *\n *\n *\n *\n *\n *\n...', operator: 'strictEqual' } } ::debug::starting to run test-runner/output/eval_tap.js ::debug::completed running test-runner/output/eval_tap.js ::debug::starting to run test-runner/output/filtered-suite-delayed-build.js ::debug::completed running test-runner/output/filtered-suite-delayed-build.js ::debug::starting to run test-runner/output/filtered-suite-order.mjs ::debug::completed running test-runner/output/filtered-suite-order.mjs ::debug::starting to run test-runner/output/filtered-suite-throws.js ✔ test-runner/output/filtered-su
test-linux
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors