Skip to content

test_runner: fix suite rerun #80949

test_runner: fix suite rerun

test_runner: fix suite rerun #80949

Triggered via pull request February 11, 2026 14:12
Status Cancelled
Total duration 2h 9m 13s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/parallel/test-runner-test-rerun-failures.js#L88
--- stdout --- Test failure: 'test should pass on third rerun' Location: test/parallel/test-runner-test-rerun-failures.js:74:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /pass 11/. Input: 'βœ– should fail on first two attempts (0.762992ms)\n' + 'βœ” ok (0.159094ms)\n' + 'βœ” ambiguous (expectedAttempts=0) (0.132688ms)\n' + 'βœ” ambiguous (expectedAttempts=1) (0.124088ms)\n' + 'β–Ά nested ambiguous (expectedAttempts=0)\n' + ' β–Ά nested\n' + ' βœ” 2 levels deep\n' + ' βœ” nested\n' + ' βœ” ok\n' + 'βœ” nested ambiguous (expectedAttempts=0) (1.539878ms)\n' + 'β–Ά nested ambiguous (expectedAttempts=1)\n' + ' β–Ά nested\n' + ' βœ” 2 levels deep (0.164878ms)\n' + ' βœ– nested (0.468506ms)\n' + ' βœ” ok (0.087842ms)\n' + 'βœ– nested ambiguous (expectedAttempts=1) (1ms)\n' + 'β–Ά describe rerun\n' + ' β–Ά passed on first attempt\n' + ' βœ” nested\n' + ' βœ” nested\n' + ' βœ” passed on first attempt\n' + ' βœ” a\n' + 'βœ” describe rerun (1.367001ms)\n' + 'β„Ή tests 16\n' + 'β„Ή suites 1\n' + 'β„Ή pass 13\n' + 'β„Ή fail 3\n' + 'β„Ή cancelled 0\n' + 'β„Ή skipped 0\n' + 'β„Ή todo 0\n' + 'β„Ή duration_ms 14.818572\n' + '\n' + 'βœ– failing tests:\n' + '\n' + 'test at test/fixtures/test-runner/rerun.js:3:1\n' + 'βœ– should fail on first two attempts (0.762992ms)\n' + ' Error: This test is expected to fail on the first two attempts\n' + ' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/fixtures/test-runner/rerun.js:5:11)\n' + ' at Test.runInAsyncScope (node:async_hooks:226:14)\n' + ' at Test.run (node:internal/test_runner/test:1120:25)\n' + ' at Test.start (node:internal/test_runner/test:1017:17)\n' + ' at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' + '\n' + 'test at test/fixtures/test-runner/rerun.js:29:13\n' + 'βœ– nested (0.468506ms)\n' + ' Error: This test is expected to fail on the first 2 attempts\n' + ' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/fixtures/test-runner/rerun.js:32:15)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' + ' at async Test.run (node:internal/test_runner/test:1127:7)\n' + ' at async TestContext.<anonymous> (/home/runner/work/node/node/node/test/fixtures/test-runner/rerun.js:29:5)\n' + ' at async Test.run (node:internal/test_runner/test:1127:7)\n' + ' at async Test.processPendingSubtests (node:internal/test_runner/test:789:7)\n' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:88:10) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1127:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'βœ– should fail on first two attempts (0.762992ms)\n' + 'βœ” ok (0.159094ms)\n' + 'βœ” ambiguous (expectedAttempts=0) (0.132688ms)\n' + 'βœ” ambiguous (expectedAttempts=1) (0.124088ms)\n' + 'β–Ά nested ambiguous (expectedAttempts=0)\n' + ' β–Ά nested\n' + ' βœ” 2 levels deep\n' + ' βœ” nested\n' + ' βœ” ok\n' + 'βœ” nested ambiguous (expectedAttempts=0) (1.539878ms)\n' + '...', expected: /pass 11/, operator: 'match', diff: 'simple' } Test failure: 'test should pass on third rerun with `--test`' Location: test/parallel/test-runner-test-rerun-failures.js:103:1 AssertionError [ERR_ASSERTION]: The input did not match the regular expression /pass 11/. Input: 'βœ– should fail on first two attempts (0.725018ms)\n' + 'βœ” ok (0.186581ms)\n' + 'βœ” ambiguous (expectedAttempts=0) (0.101913ms)\n' + 'βœ” ambiguous (expectedAttempts=1) (0.175141ms)\n' + 'β–Ά nested ambiguous (expectedAttempts=0)\n' + ' β–Ά nested\
Test Linux
Canceling since a higher priority waiting request for Test Linux-fix-suite-rerun exists
test-linux (ubuntu-24.04)
Canceling since a higher priority waiting request for Test Linux-fix-suite-rerun exists
test-linux (ubuntu-24.04)
The operation was canceled.
sccache stats
47% - 2278 hits, 2580 misses, 0 errors
sccache stats
53% - 2578 hits, 2267 misses, 0 errors