Skip to content

errors: trace unhandled promise rejection location #78025

errors: trace unhandled promise rejection location

errors: trace unhandled promise rejection location #78025

Triggered via pull request June 29, 2026 20:28
Status Failure
Total duration 1h 6m 31s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 notice
test-macOS
Process completed with exit code 2.
test-macOS: test/parallel/test-node-output-trace-uncaught.mjs#L19
--- stdout --- Test failure: 'uncaught/rejection_async_fn_throw_err.js' Location: test/parallel/test-node-output-trace-uncaught.mjs:18:5 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '<project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:1\n' + + "const err = new Error('err with wrong stack');\n" + + ' ^\n' + - '<project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:6\n' + - ' throw err;\n' + - ' ^\n' + '\n' + 'Error: err with wrong stack\n' + ' at Object.<anonymous> (<project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:1:13)\n' + ' at <node-internal-frames>\n' + 'Rejected at:\n' + + ' at <project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:1:13\n' + + ' at <node-internal-frames>\n' + - ' at <project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:6:5\n' + '\n' + '\n' + 'Node.js <node-version>\n' at assertSnapshot (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:173:12) at async Module.spawnAndAssert (/Users/runner/work/node/node/node/test/common/assertSnapshot.js:208:3) at async TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-node-output-trace-uncaught.mjs:19:7) at async Test.run (node:internal/test_runner/test:1389:7) at async Suite.processPendingSubtests (node:internal/test_runner/test:960:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '<project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:1\n' + "const err = new Error('err with wrong stack');\n" + ' ^\n' + '\n' + 'Error: err with wrong stack\n' + ' at Object.<anonymous> (<project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:1:13)\n' + ' at <node-internal-frames>\n' + 'Rejected at:\n' + ' at <project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:1:13\n' + ' at <node-internal-frames>\n' + '...', expected: '<project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:6\n' + ' throw err;\n' + ' ^\n' + '\n' + 'Error: err with wrong stack\n' + ' at Object.<anonymous> (<project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:1:13)\n' + ' at <node-internal-frames>\n' + 'Rejected at:\n' + ' at <project-root>/test/fixtures/uncaught/rejection_async_fn_throw_err.js:6:5\n' + '\n' + '...', operator: 'strictEqual', diff: 'simple' } 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-node-output-trace-uncaught.mjs
sccache stats - test-macOS
75% - 3793 hits, 1243 misses, 0 errors