feat: first commit flaky #84029
Annotations
10 errors, 1 warning, and 1 notice
|
Test:
test/test-runner/test-output-coverage-failure.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: ok\n' +
'ok 1 - ok\n' +
' ---\n' +
' duration_ms: *\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-coverage-failure.mjs:12:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: ok\n' +
'ok 1 - ok\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..1\n' +
'# Warning: Could not report code coverage. Error: Failed to collect coverage\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# flaky 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: ok\n' +
'ok 1 - ok\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..1\n' +
'# Warning: Could not report code coverage. Error: Failed to collect coverage\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-coverage-failure.mjs
|
|
Test:
test/test-runner/test-output-before-and-after-each-too-many-listeners.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-before-and-after-each-too-many-listeners.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
'ok 2 - 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
'ok 3 - 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
'ok 4 - 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
'ok 5 - 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
'ok 6 - 6\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
'ok 7 - 7\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
'ok 8 - 8\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
'ok 9 - 9\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
'ok 10 - 10\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
'ok 11 - 11\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
'# pass 11\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# flaky 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
'ok 2 - 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
'ok 3 - 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
'ok 4 - 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
'ok 5 - 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
'ok 6 - 6\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
'ok 7 - 7\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
'ok 8 - 8\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
'ok 9 - 9\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
'ok 10 - 10\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
'ok 11 - 11\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
'# pass 11\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner
|
|
Test:
test/test-runner/test-output-before-and-after-each-with-timeout-too-many-listeners.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-before-and-after-each-with-timeout-too-many-listeners.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
'ok 2 - 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
'ok 3 - 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
'ok 4 - 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
'ok 5 - 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
'ok 6 - 6\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
'ok 7 - 7\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
'ok 8 - 8\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
'ok 9 - 9\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
'ok 10 - 10\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
'ok 11 - 11\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
'# pass 11\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# flaky 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'# Subtest: 1\n' +
'ok 1 - 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 2\n' +
'ok 2 - 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 3\n' +
'ok 3 - 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 4\n' +
'ok 4 - 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 5\n' +
'ok 5 - 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 6\n' +
'ok 6 - 6\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 7\n' +
'ok 7 - 7\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 8\n' +
'ok 8 - 8\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 9\n' +
'ok 9 - 9\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 10\n' +
'ok 10 - 10\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# Subtest: 11\n' +
'ok 11 - 11\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..11\n' +
'# tests 11\n' +
'# suites 0\n' +
'# pass 11\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node
|
|
Test:
test/test-runner/test-output-abort-suite.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: describe timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-abort-suite.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: describe timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 2\n' +
' ok 2 - ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 3\n' +
' ok 3 - ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 4\n' +
' ok 4 - ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: not ok 1\n' +
' not ok 5 - not ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:10:3'\n" +
" failureType: 'cancelledByParent'\n" +
" error: 'test did not finish before its parent and was cancelled'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
' # Subtest: not ok 2\n' +
' not ok 6 - not ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:11:3'\n" +
" failureType: 'cancelledByParent'\n" +
" error: 'test did not finish before its parent and was cancelled'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
' # Subtest: not ok 3\n' +
' not ok 7 - not ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:12:3'\n" +
" failureType: 'testAborted'\n" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:13:3'\n" +
" failureType: 'testAborted'\n" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:14:3'\n" +
" failureType: 'testAborted'\n" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - describe timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort_suite.js:5:1'\n" +
" failureType: 'testAborted'\n" +
" error: 'The operation was aborted due to t
|
|
Test:
test/test-runner/test-output-arbitrary-output-colored.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
"{ foo: [32m'bar'[39m }\n" +
'[33m1[39m\n' +
'[32m✔ passing test [90m(*ms)[39m[39m\n' +
+ '[34mℹ flaky 0[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 1[39m\n' +
'[34mℹ fail 0[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
+ '[34mℹ flaky 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'TAP version 13\n' +
"# { foo: [32m'bar'[39m }\n" +
'# [33m1[39m\n' +
'# Subtest: passing test\n' +
...
' ...\n' +
+ '# flaky 0\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-arbitrary-output-colored.mjs:23:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "{ foo: [32m'bar'[39m }\n" +
'[33m1[39m\n' +
'[32m✔ passing test [90m(*ms)[39m[39m\n' +
'[34mℹ flaky 0[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 1[39m\n' +
'[34mℹ fail 0[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
'[34mℹ flaky 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'TAP version 13\n' +
"# { foo: [32m'bar'[39m }\n" +
'# [33m1[39m\n' +
'# Subtest: passing test\n' +
'ok 1 - passing test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'# flaky 0\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# flaky 0\n' +
'# duration_ms *\n',
expected: "{ foo: [32m'bar'[39m }\n" +
'[33m1[39m\n' +
'[32m✔ passing test [90m(*ms)[39m[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 1[39m\n' +
'[34mℹ fail 0[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'TAP version 13\n' +
"# { foo: [32m'bar'[39m }\n" +
'# [33m1[39m\n' +
'# Subtest: passing test\n' +
'ok 1 - passing test\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 1\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-arbitrary-output-colored.mjs
|
|
Test:
test/test-runner/test-output-assertion-color-tty.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
+ '[34mℹ flaky 0[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 0[39m\n' +
'[34mℹ fail 1[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
+ '[34mℹ flaky 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'\n' +
'[31m✖ failing tests:[39m\n' +
'\n' +
'test at test/fixtures/test-runner/output/assertion-color-tty.mjs:4:1\n' +
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-assertion-color-tty.mjs:13:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
'[34mℹ flaky 0[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 0[39m\n' +
'[34mℹ fail 1[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
'[34mℹ flaky 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'\n' +
'[31m✖ failing tests:[39m\n' +
'\n' +
'test at test/fixtures/test-runner/output/assertion-color-tty.mjs:4:1\n' +
'[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
' [AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n' +
' [32mactual[39m [31mexpected[39m\n' +
'\n' +
" [39m'[39m[32m![39m[39mH[39m[39me[39m[39ml[39m[39ml[39m[39mo[39m[39m [39m[39mW[39m[39mo[39m[39mr[39m[39ml[39m[39md[39m[31m![39m[39m'[39m\n" +
' ] {\n' +
' generatedMessage: [33mtrue[39m,\n' +
" code: [32m'ERR_ASSERTION'[39m,\n" +
" actual: [32m'!Hello World'[39m,\n" +
" expected: [32m'Hello World!'[39m,\n" +
" operator: [32m'strictEqual'[39m,\n" +
" diff: [32m'simple'[39m\n" +
' }\n',
expected: '[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
'[34mℹ tests 1[39m\n' +
'[34mℹ suites 0[39m\n' +
'[34mℹ pass 0[39m\n' +
'[34mℹ fail 1[39m\n' +
'[34mℹ cancelled 0[39m\n' +
'[34mℹ skipped 0[39m\n' +
'[34mℹ todo 0[39m\n' +
'[34mℹ duration_ms *[39m\n' +
'\n' +
'[31m✖ failing tests:[39m\n' +
'\n' +
'test at test/fixtures/test-runner/output/assertion-color-tty.mjs:4:1\n' +
'[31m✖ failing assertion [90m(*ms)[39m[39m\n' +
' [AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:\n' +
' [32mactual[39m [31mexpected[39m\n' +
'\n' +
" [39m'[39m[32m![39m[39mH[39m[39me[39m[39ml[39m[39ml[39m[39mo[39m[39m [39m[39mW[39m[39mo[39m[39mr[39m[39ml[39m[39md[39m[31m![39m[39m'[39m\n" +
' ] {\n' +
' generatedMessage: [33mtrue[39m,\n' +
" code: [32m'ERR_ASSERTION'[39m,\n" +
" actual: [32m'!Hello World'[39m,\n" +
" expected: [32m'Hello World!'[39m,\n" +
" operator: [32m'strictEqual'[39m,\n" +
" diff: [32m'simple'[39m\n" +
' }\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/test-runner/test-output-assertion-color-tty.mjs
|
|
Test:
test/test-runner/test-output-arbitrary-output.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'ok 1 - test\n' +
' ---\n' +
' duration_ms: *\n' +
' ...\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-arbitrary-output.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'ok 1 - test\n' +
' ---\n' +
' duration_ms: *\n' +
' ...\n' +
'# arbitrary - pre\n' +
'ok 2 - test\n' +
' ---\n' +
' duration_ms: *\n' +
' ...\n' +
'# arbitrary - mid\n' +
'ok 3 - test\n' +
' ---\n' +
' duration_ms: *\n' +
' ...\n' +
'# arbitrary - post\n' +
'1..3\n' +
'# tests 3\n' +
'# suites 0\n' +
'# pass 3\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# flaky 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'ok 1 - test\n' +
' ---\n' +
' duration_ms: *\n' +
' ...\n' +
'# arbitrary - pre\n' +
'ok 2 - test\n' +
' ---\n' +
' duration_ms: *\n' +
' ...\n' +
'# arbitrary - mid\n' +
'ok 3 - test\n' +
' ---\n' +
' duration_ms: *\n' +
' ...\n' +
'# arbitrary - post\n' +
'1..3\n' +
'# tests 3\n' +
'# suites 0\n' +
'# pass 3\n' +
'# fail 0\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-arbitrary-output.mjs
|
|
Test:
test/test-runner/test-output-abort.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-abort.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
' # Subtest: ok 1\n' +
' ok 1 - ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 2\n' +
' ok 2 - ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 3\n' +
' ok 3 - ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: ok 4\n' +
' ok 4 - ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: not ok 1\n' +
' not ok 5 - not ok 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:11:7'\n" +
" failureType: 'cancelledByParent'\n" +
" error: 'test did not finish before its parent and was cancelled'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
' # Subtest: not ok 2\n' +
' not ok 6 - not ok 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:12:7'\n" +
" failureType: 'cancelledByParent'\n" +
" error: 'test did not finish before its parent and was cancelled'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
' # Subtest: not ok 3\n' +
' not ok 7 - not ok 3\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:13:7'\n" +
" failureType: 'testAborted'\n" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 4\n' +
' not ok 8 - not ok 4\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:14:7'\n" +
" failureType: 'testAborted'\n" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: not ok 5\n' +
' not ok 9 - not ok 5\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:15:7'\n" +
" failureType: 'testAborted'\n" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' ...\n' +
' 1..9\n' +
'not ok 1 - promise timeout signal\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort.js:5:1'\n" +
" failureType: 'testAborted'\n" +
" error: 'The operation was aborted due to timeout'\n" +
' code: 23\n' +
" name:
|
|
Test:
test/test-runner/test-output-abort-runs-after-hook.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-abort-runs-after-hook.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# flaky 0\n' +
'# duration_ms *\n',
expected: 'TAP version 13\n' +
'AFTER\n' +
'# Subtest: test that aborts\n' +
'not ok 1 - test that aborts\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:4:1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
' Immediate.<anonymous> (<project-root>/test/fixtures/test-runner/output/abort-runs-after-hook.js:12:11)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'1..1\n' +
'# tests 1\n' +
'# suites 0\n' +
'# pass 0\n' +
'# fail 1\n' +
'# cancelled 0\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/test-runner/test-output-abort-runs-after-hook.mjs
|
|
Test:
test/test-runner/test-output-abort-hooks.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
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' +
...
'# todo 0\n' +
+ '# flaky 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:208:3)
at async file:///home/runner/work/node/node/node/test/test-runner/test-output-abort-hooks.mjs:7:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'before\n' +
'2.1\n' +
'2.2\n' +
'after\n' +
'beforeEach\n' +
'4.1\n' +
'afterEach\n' +
'4.2\n' +
'TAP version 13\n' +
'# Subtest: 1 before describe\n' +
' # Subtest: test 1\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" +
" error: 'test did not finish before its parent and was cancelled'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
' # Subtest: test 2\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" +
" error: 'test did not finish before its parent and was cancelled'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' ...\n' +
' 1..2\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" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' before.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:8:8)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 2 after describe\n' +
' # Subtest: test 1\n' +
' ok 1 - test 1\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' # Subtest: test 2\n' +
' ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
' ...\n' +
' 1..2\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" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' after.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:23:8)\n' +
' <node-internal-frames>\n' +
' ...\n' +
'# Subtest: 3 beforeEach describe\n' +
' # Subtest: test 1\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" +
" error: 'This operation was aborted'\n" +
' code: 20\n' +
" name: 'AbortError'\n" +
' stack: |-\n' +
' <node-internal-frames>\n' +
' beforeEach.signal (<project-root>/test/fixtures/test-runner/output/abort_hooks.js:38:8)\n' +
' <node-internal-frames>\n' +
' ...\n' +
' # Subtest: test 2\n' +
' not ok 2 - test 2\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '<project-root>/te
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Post Set up sccache
60% - 2997 hits, 1965 misses, 0 errors
|
background
wait
wait-all
cancel
Loading