Revert https://github.com/nodejs/node/pull/56664 #71250
Annotations
4 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-output.mjs#L334
--- stdout ---
Test failure: 'test-runner/output/test-timeout-flag.js'
Location: test/parallel/test-runner-output.mjs:343:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: --test-timeout is set to 20ms\n' +
' # Subtest: should timeout after 20ms\n' +
' not ok 1 - should timeout after 20ms\n' +
' ---\n' +
...
" location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
- " failureType: 'testTimeoutFailure'\n" +
- " error: 'test timed out after 20ms'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
+ ' *\n' +
- ' async Promise.all (index 0)\n' +
' ...\n' +
' # Subtest: should timeout after 5ms\n' +
' not ok 2 - should timeout after 5ms\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
- " failureType: 'testTimeoutFailure'\n" +
- " error: 'test timed out after 5ms'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
' # Subtest: should not timeout\n' +
+ ' not ok 3 - should not timeout\n' +
- ' ok 3 - should not timeout\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
+ " location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
+ " code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
' # Subtest: should pass\n' +
+ ' not ok 4 - should pass\n' +
- ' ok 4 - should pass\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
+ " location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
+ " code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
' 1..4\n' +
'not ok 1 - --test-timeout is set to 20ms\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):1'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
- " failureType: 'subtestsFailed'\n" +
- " error: '2 subtests failed'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
'1..1\n' +
'# tests 4\n' +
'# suites 1\n' +
+ '# pass 0\n' +
- '# pass 2\n' +
'# fail 0\n' +
+ '# cancelled 4\n' +
- '# cancelled 2\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:56:12)
at async Module.spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:91:3)
at async TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-output.mjs:334:5)
at async Test.run (node:internal/test_runner/test:1060:7)
at async Promise.all (index 17)
at async Suite.run (node:internal/test_runner/test:1453:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:321:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: --test-timeout
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-output.mjs#L334
--- stdout ---
Test failure: 'test-runner/output/test-timeout-flag.js'
Location: test/parallel/test-runner-output.mjs:343:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
... Skipped lines
'TAP version 13\n' +
'# Subtest: --test-timeout is set to 20ms\n' +
' # Subtest: should timeout after 20ms\n' +
' not ok 1 - should timeout after 20ms\n' +
' ---\n' +
...
" location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
- " failureType: 'testTimeoutFailure'\n" +
- " error: 'test timed out after 20ms'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' stack: |-\n' +
+ ' *\n' +
- ' async Promise.all (index 0)\n' +
' ...\n' +
' # Subtest: should timeout after 5ms\n' +
' not ok 2 - should timeout after 5ms\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
" location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
- " failureType: 'testTimeoutFailure'\n" +
- " error: 'test timed out after 5ms'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
' # Subtest: should not timeout\n' +
+ ' not ok 3 - should not timeout\n' +
- ' ok 3 - should not timeout\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
+ " location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
+ " code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
' # Subtest: should pass\n' +
+ ' not ok 4 - should pass\n' +
- ' ok 4 - should pass\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'test'\n" +
+ " location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):3'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
+ " code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
' 1..4\n' +
'not ok 1 - --test-timeout is set to 20ms\n' +
' ---\n' +
' duration_ms: *\n' +
" type: 'suite'\n" +
" location: '/test/fixtures/test-runner/output/test-timeout-flag.js:(LINE):1'\n" +
+ " failureType: 'cancelledByParent'\n" +
+ " error: 'Promise resolution is still pending but the event loop has already resolved'\n" +
- " failureType: 'subtestsFailed'\n" +
- " error: '2 subtests failed'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
+ ' stack: |-\n' +
+ ' *\n' +
' ...\n' +
'1..1\n' +
'# tests 4\n' +
'# suites 1\n' +
+ '# pass 0\n' +
- '# pass 2\n' +
'# fail 0\n' +
+ '# cancelled 4\n' +
- '# cancelled 2\n' +
'# skipped 0\n' +
'# todo 0\n' +
'# duration_ms *\n'
at assertSnapshot (/home/runner/work/node/node/node/test/common/assertSnapshot.js:56:12)
at async Module.spawnAndAssert (/home/runner/work/node/node/node/test/common/assertSnapshot.js:91:3)
at async TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-output.mjs:334:5)
at async Test.run (node:internal/test_runner/test:1060:7)
at async Promise.all (index 17)
at async Suite.run (node:internal/test_runner/test:1453:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:321:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'TAP version 13\n' +
'# Subtest: --test-timeout
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|