test_runner: differentiate test types in enqueue dequeue events #59470
Triggered via pull request
January 1, 2025 16:20
Status
Failure
Total duration
1h 6m 11s
Artifacts
–
Annotations
4 errors and 2 notices
test-macOS (macos-14):
test/parallel/test-runner-output.mjs#L303
--- stdout ---
βΆ test runner output
β test-runner/output/abort.js (1309.607208ms)
β test-runner/output/abort-runs-after-hook.js (1132.200417ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - 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: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
at assertSnapshot (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:56:12)
at async Module.spawnAndAssert (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:91:3)
at async TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-runner-output.mjs:303:5)
at async Test.run (node:internal/test_runner/test:933:9)
at async Promise.all (index 1)
at async Suite.run (node:internal/test_runner/test:1312:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:297:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "TAP version 13\nAFTER\n# Subtest: test that aborts\nnot ok 1 - test that aborts\n ---\n duration_ms: *\n type: 'test'\n location: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n failureType: 'uncaughtException'\n error: 'boom'\n...",
expected: "TAP version 13\nAFTER\n# Subtest: test that aborts\nnot ok 1 - test that aborts\n ---\n duration_ms: *\n location: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n failureType: 'uncaughtException'\n error: 'boom'\n code: 'ERR_TEST_FAILURE'\n...",
operator: 'strictEqual'
}
::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
::error title=test-runner/output/abort-runs-after-hook.js,file=node/test/parallel/test-runner-output.mjs,line=303,col=5::Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - 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: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
at async Promise.all (index 1) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - 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: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
at assertSnapshot (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:56:12)
at async Module.spawnAndAssert (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:91:3)
at async TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-runner-output.mjs:303:5)
at async Test.run (node:internal/test_runner/test:933:9)
at async Promise.all (index 1)
at async Suite.run (node:internal/test_runner/test:1312:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:297:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "TAP versi
|
test-macOS (macos-14)
Process completed with exit code 2.
|
test-macOS (macos-13):
test/parallel/test-runner-output.mjs#L303
--- stdout ---
βΆ test runner output
β test-runner/output/abort.js (3011.758095ms)
β test-runner/output/abort-runs-after-hook.js (2990.825339ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - 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: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
at assertSnapshot (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:56:12)
at async Module.spawnAndAssert (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:91:3)
at async TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-runner-output.mjs:303:5)
at async Test.run (node:internal/test_runner/test:933:9)
at async Promise.all (index 1)
at async Suite.run (node:internal/test_runner/test:1312:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:297:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "TAP version 13\nAFTER\n# Subtest: test that aborts\nnot ok 1 - test that aborts\n ---\n duration_ms: *\n type: 'test'\n location: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n failureType: 'uncaughtException'\n error: 'boom'\n...",
expected: "TAP version 13\nAFTER\n# Subtest: test that aborts\nnot ok 1 - test that aborts\n ---\n duration_ms: *\n location: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n failureType: 'uncaughtException'\n error: 'boom'\n code: 'ERR_TEST_FAILURE'\n...",
operator: 'strictEqual'
}
β test-runner/output/abort_suite.js (2877.440931ms)
β test-runner/output/abort_hooks.js (2867.43462ms)
::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
::error title=test-runner/output/abort-runs-after-hook.js,file=node/test/parallel/test-runner-output.mjs,line=303,col=5::Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - 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: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
at async Promise.all (index 1) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - 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: '/test/fixtures/test-runner/output/abort-runs-after-hook.js:(LINE):1'\n" +
" failureType: 'uncaughtException'\n" +
" error: 'boom'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
at assertSnapshot (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:56:12)
at async Module.spawnAndAssert (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:91:3)
at async TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-runner-output.mjs:303:5)
at async Test.run (node:internal/test_runner/test:933:9)
at async Promise.all (index 1)
at async Suite.run (node:internal/test_runner/test:1312:7)
at async startSubtestAfterBootstrap (node:internal
|
test-macOS (macos-13)
Process completed with exit code 2.
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|