Skip to content

test: treat tests without a callback as todo #83557

test: treat tests without a callback as todo

test: treat tests without a callback as todo #83557

Re-run triggered October 1, 2026 20:25
Status Failure
Total duration 52m 12s
Artifacts –

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
test-macOS: test/test-runner/test-output-abort-hooks.mjs#L0
--- stderr --- node:internal/modules/run_main:111 triggerUncaughtException( ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected ... Skipped lines 'before\n' + '2.1\n' + '2.2\n' + 'after\n' + 'beforeEach\n' + ... ' # Subtest: test 1\n' + + ' not ok 1 - test 1 # TODO\n' + - ' not ok 1 - test 1\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:11:3'\n" + " failureType: 'cancelledByParent'\n" + ... ' # Subtest: test 2\n' + + ' not ok 2 - test 2 # TODO\n' + - ' not ok 2 - test 2\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:14:3'\n" + " failureType: 'cancelledByParent'\n" + ... ' 1..2\n' + + 'not ok 1 - 1 before describe # TODO\n' + - 'not ok 1 - 1 before describe\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'suite'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:4:1'\n" + " failureType: 'hookFailed'\n" + ... ' # Subtest: test 1\n' + + ' ok 1 - test 1 # TODO\n' + - ' ok 1 - test 1\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + ' ...\n' + ' # Subtest: test 2\n' + + ' ok 2 - test 2 # TODO\n' + - ' ok 2 - test 2\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + ' ...\n' + ' 1..2\n' + + 'not ok 2 - 2 after describe # TODO\n' + - 'not ok 2 - 2 after describe\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'suite'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:19:1'\n" + " failureType: 'hookFailed'\n" + ... ' # Subtest: test 1\n' + + ' not ok 1 - test 1 # TODO\n' + - ' not ok 1 - test 1\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:41:3'\n" + " failureType: 'hookFailed'\n" + ... ' # Subtest: test 2\n' + + ' not ok 2 - test 2 # TODO\n' + - ' not ok 2 - test 2\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:44:3'\n" + " failureType: 'hookFailed'\n" + ... ' 1..2\n' + + 'ok 3 - 3 beforeEach describe # TODO\n' + - 'not ok 3 - 3 beforeEach describe\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'suite'\n" + - " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:34:1'\n" + - " failureType: 'subtestsFailed'\n" + - " error: '2 subtests failed'\n" + - " code: 'ERR_TEST_FAILURE'\n" + ' ...\n' + '# Subtest: 4 afterEach describe\n' + ' # Subtest: test 1\n' + + ' not ok 1 - test 1 # TODO\n' + - ' not ok 1 - test 1\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:56:3'\n" + " failureType: 'hookFailed'\n" + ... ' # Subtest: test 2\n' + + ' not ok 2 - test 2 # TODO\n' + - ' not ok 2 - test 2\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'test'\n" + " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:59:3'\n" + " failureType: 'hookFailed'\n" + ... ' 1..2\n' + + 'ok 4 - 4 afterEach describe # TODO\n' + - 'not ok 4 - 4 afterEach describe\n' + ' ---\n' + ' duration_ms: *\n' + " type: 'suite'\n" + - " location: '<project-root>/test/fixtures/test-runner/output/abort_hooks.js:49:1'\n" + - " failureType: 'subtestsFailed'\n" + - " error: '2 subtests failed'\n" + - " code: 'ERR_TEST_FAILURE'\n" + ' ...\n' + '
test-macOS: test/parallel/test-runner-xfail.js#L211
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at ChildProcess.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-xfail.js:211:12) at ChildProcess.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:512:15) at ChildProcess.emit (node:events:514:20) at maybeClose (node:internal/child_process:1156:16) at Socket.<anonymous> (node:internal/child_process:526:11) at Socket.emit (node:events:514:20) at Pipe.<anonymous> (node:net:366:12) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-xfail.js
test-macOS: test/parallel/test-runner-test-rerun-failures.js#L105
--- stdout --- Test failure: 'test should pass on third rerun' Location: test/parallel/test-runner-test-rerun-failures.js:101:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:105:10) at async Test.run (node:internal/test_runner/test:1413:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Test failure: 'test should pass on third rerun with `--test`' Location: test/parallel/test-runner-test-rerun-failures.js:130:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:134:10) at async Test.run (node:internal/test_runner/test:1413:7) at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Test failure: 'failing test is not swallowed when siblings share its source location' Location: test/parallel/test-runner-test-rerun-failures.js:159:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:218:10) at async Test.run (node:internal/test_runner/test:1413:7) at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Test failure: 'using `run` api' Location: test/parallel/test-runner-test-rerun-failures.js:256:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines [ { 'test/fixtures/test-runner/rerun.js:17:3': { name: 'ambiguous (expectedAttempts=0)', passed_on_attempt: 0 ... }, + 'test/fixtures/test-runner/rerun.js:40:1': { + name: 'nested ambiguous (expectedAttempts=1)', + passed_on_attempt: 0 + }, 'test/fixtures/test-runner/rerun.js:43:1': { name: 'describe rerun', passed_on_attempt: 0 }, 'test/fixtures/test-runner/rerun.js:44:3': { at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:264:10) at async Test.run (node:internal/test_runner/test:1413:7) at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: [Array], expected: [Array], operator: 'deepStrictEqual', diff: 'simple' } Mismatched noop function calls. Expected exactly 19, actual 20. at Proxy.mustCall (/Users/runner/work/node/node/node/test/common/index.js:470:10) at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:258:33) at Test.runInAsyncScope (node:async_hooks:227:14) at Test.run (node:internal/test_runner/test:1406:25) at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) Mismatched noop function calls. Expected exactly 4, actual 3. at Proxy.mustCall (/Users/runner/work/node/node/node/test/common/index.js:470:10) at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js:259:33) at Test.runInAsyncScope (node:async_hooks:227:14) at Test.run (node:internal/test_runner/test:1406:25) at async Test.processPendingSubtests (node:internal/test_runner/test:978:7) Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-test-rerun-failures.js
test-macOS: test/parallel/test-runner-misc.js#L36
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /pass 2$/m. Input: '⚠ <anonymous> (13.816666ms) # TODO\n' + '▶ Abort Signal in describe\n' + ' ✔ Supports AbortSignal (0.638333ms) # TODO\n' + '✔ Abort Signal in describe (1.958917ms) # TODO\n' + '✔ <anonymous> (1.989875ms) # TODO\n' + 'ℹ tests 3\n' + 'ℹ suites 1\n' + 'ℹ pass 0\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 3\n' + 'ℹ duration_ms 62.558083\n' + '\n' + '✖ failing tests:\n' + '\n' + 'test at test/parallel/test-runner-misc.js:17:5\n' + '⚠ <anonymous> (13.816666ms) # TODO\n' + " 'test timed out after 10ms'\n" at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-misc.js:36:10) at Module._compile (node:internal/modules/cjs/loader:1968:14) at Object..js (node:internal/modules/cjs/loader:2108:10) at Module.load (node:internal/modules/cjs/loader:1690:32) at Module._load (node:internal/modules/cjs/loader:1480:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: '⚠ <anonymous> (13.816666ms) # TODO\n' + '▶ Abort Signal in describe\n' + ' ✔ Supports AbortSignal (0.638333ms) # TODO\n' + '✔ Abort Signal in describe (1.958917ms) # TODO\n' + '✔ <anonymous> (1.989875ms) # TODO\n' + 'ℹ tests 3\n' + 'ℹ suites 1\n' + 'ℹ pass 0\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 3\n' + 'ℹ duration_ms 62.558083\n' + '\n' + '✖ failing tests:\n' + '\n' + 'test at test/parallel/test-runner-misc.js:17:5\n' + '⚠ <anonymous> (13.816666ms) # TODO\n' + " 'test timed out after 10ms'\n", expected: /pass 2$/m, operator: 'match', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-misc.js
test-macOS: test/parallel/test-runner-inspect.mjs#L0
--- stderr --- AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at file:///Users/runner/work/node/node/node/test/parallel/test-runner-inspect.mjs:50:10 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } 1 --- stdout --- [test] Connecting to a child Node process [test] Testing /json/list [err] (node:49024) Warning: Using the inspector with --test forces running at a concurrency of 1. Use the inspectPort option to run with concurrency [err] (Use `node --trace-warnings ...` to show where the warning was created) [err] [out] TAP version 13 [out] [err] Debugger listening on ws://127.0.0.1:59839/8d566d3e-e350-4a8b-8959-0b949e863a8c [err] [out] # For help, see: https://nodejs.org/learn/getting-started/debugging [out] [err] Debugger attached. [err] [out] # Debugger ending on ws://127.0.0.1:59839/8d566d3e-e350-4a8b-8959-0b949e863a8c [out] [out] # For help, see: https://nodejs.org/learn/getting-started/debugging [out] [out] # Subtest: this should pass [out] [out] ok 1 - this should pass # TODO [out] [out] --- [out] duration_ms: 0.541041 [out] type: 'test' [out] ... [out] [out] 1..1 [out] # tests 1 [out] # suites 0 [out] # pass 0 [out] # fail 0 [out] # cancelled 0 [out] # skipped 0 [out] # todo 1 [out] # duration_ms 126.514292 [out] Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-runner-inspect.mjs
test-macOS: test/parallel/test-runner-force-exit-failure.js#L18
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-force-exit-failure.js:18:10) at Module._compile (node:internal/modules/cjs/loader:1968:14) at Object..js (node:internal/modules/cjs/loader:2108:10) at Module.load (node:internal/modules/cjs/loader:1690:32) at Module._load (node:internal/modules/cjs/loader:1480:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-runner-force-exit-failure.js
test-macOS: test/parallel/test-runner-extraneous-async-activity.js#L14
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /pass 1/m. Input: '✔ extraneous async activity test (0.658042ms) # TODO\n' + 'ℹ Error: Test "extraneous async activity test" at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:3:1 generated asynchronous activity after the test ended. This activity created the error "Error" and would have caused the test to fail, but instead triggered an uncaughtException event.\n' + '⚠ /Users/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (59.475959ms) # TODO\n' + 'ℹ tests 2\n' + 'ℹ suites 0\n' + 'ℹ pass 0\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 2\n' + 'ℹ duration_ms 63.71875\n' + '\n' + '✖ failing tests:\n' + '\n' + 'test at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:1:1\n' + '⚠ /Users/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (59.475959ms) # TODO\n' + " 'test failed'\n" at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-extraneous-async-activity.js:14:10) at Module._compile (node:internal/modules/cjs/loader:1968:14) at Object..js (node:internal/modules/cjs/loader:2108:10) at Module.load (node:internal/modules/cjs/loader:1690:32) at Module._load (node:internal/modules/cjs/loader:1480:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: '✔ extraneous async activity test (0.658042ms) # TODO\n' + 'ℹ Error: Test "extraneous async activity test" at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:3:1 generated asynchronous activity after the test ended. This activity created the error "Error" and would have caused the test to fail, but instead triggered an uncaughtException event.\n' + '⚠ /Users/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (59.475959ms) # TODO\n' + 'ℹ tests 2\n' + 'ℹ suites 0\n' + 'ℹ pass 0\n' + 'ℹ fail 0\n' + 'ℹ cancelled 0\n' + 'ℹ skipped 0\n' + 'ℹ todo 2\n' + 'ℹ duration_ms 63.71875\n' + '\n' + '✖ failing tests:\n' + '\n' + 'test at test/fixtures/test-runner/extraneous_set_immediate_async.mjs:1:1\n' + '⚠ /Users/runner/work/node/node/node/test/fixtures/test-runner/extraneous_set_immediate_async.mjs (59.475959ms) # TODO\n' + " 'test failed'\n", expected: /pass 1/m, operator: 'match', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-runner-extraneous-async-activity.js
test-macOS: test/parallel/test-runner-exit-code.js#L70
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-exit-code.js:70:10) at Module._compile (node:internal/modules/cjs/loader:1968:14) at Object..js (node:internal/modules/cjs/loader:2108:10) at Module.load (node:internal/modules/cjs/loader:1690:32) at Module._load (node:internal/modules/cjs/loader:1480:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-exit-code.js
test-macOS: test/parallel/test-runner-expect-error.js#L0
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-expect-error.js
test-macOS: test/parallel/test-runner-cli.js#L34
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-cli.js:34:12) at Module._compile (node:internal/modules/cjs/loader:1968:14) at Object..js (node:internal/modules/cjs/loader:2108:10) at Module.load (node:internal/modules/cjs/loader:1690:32) at Module._load (node:internal/modules/cjs/loader:1480:12) at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-runner-cli.js
sccache stats - test-macOS
87% - 4383 hits, 681 misses, 0 errors
test-macOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.