Skip to content

feat: new hooks

feat: new hooks #14693

Triggered via pull request September 20, 2024 08:13
Status Failure
Total duration 4m 49s
Artifacts

nodejs.yml

on: pull_request
Matrix: test-without-intl
Matrix: test
automerge
0s
automerge
Fit to window
Zoom out
Zoom in

Annotations

136 errors and 15 notices
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:337:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Process completed with exit code 1.
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:329:3) at process.processTicksAndRejections (node:internal/process/task_queues:93:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21), expected: null, operator: 'ifError' } }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Process completed with exit code 1.
meet acceptable resolution time: test/timers.js#L127
Error [ERR_TEST_FAILURE]: 501ms fired early at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: 501ms fired early at res.<computed> [as ok] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Timeout._onTimeout (/home/runner/work/undici/undici/test/timers.js:127:11) at listOnTimeout (node:internal/timers:571:11) at process.processTimers (node:internal/timers:512:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' }, code: 'ERR_TEST_FAILURE' }
timers: test/timers.js#L9
Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:517:28) { failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved', code: 'ERR_TEST_FAILURE' }
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), operator: 'throws' }, code: 'ERR_TEST_FAILURE' }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:632:26) at ClientHttp2Stream.emit (node:events:517:28) at emit (node:internal/http2/core:330:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' }, code: 'ERR_TEST_FAILURE' }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' }, code: 'ERR_TEST_FAILURE' }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:339:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
test/http2.js: test/http2.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Process completed with exit code 1.
test\socket-back-pressure.js: test\socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\retry-handler.js: test\retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test\mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7), operator: 'throws' } }
#2364 - Concurrent aborts: test\http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (D:\a\undici\undici\lib\handler\decorator-handler.js:207:5) at Request.onResponseStarted (D:\a\undici\undici\lib\core\request.js:233:46) at ClientHttp2Stream.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:329:3) at process.processTicksAndRejections (node:internal/process/task_queues:93:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test\client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at Object.onError (D:\a\undici\undici\test\client-timeout.js:200:11) at DecoratorHandler.onError (D:\a\undici\undici\lib\handler\decorator-handler.js:199:28) at Request.onError (D:\a\undici\undici\lib\core\request.js:300:27) at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:849:12) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21), expected: null, operator: 'ifError' } }
test\client-stream.js: test\client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\client-pipeline.js: test\client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Process completed with exit code 1.
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/Users/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:329:3) at process.processTicksAndRejections (node:internal/process/task_queues:93:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/Users/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21), expected: null, operator: 'ifError' } }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Process completed with exit code 1.
test\socket-back-pressure.js: test\socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\retry-handler.js: test\retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test\mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7), operator: 'throws' } }
#2364 - Concurrent aborts: test\http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (D:\a\undici\undici\lib\handler\decorator-handler.js:207:5) at Request.onResponseStarted (D:\a\undici\undici\lib\core\request.js:233:46) at ClientHttp2Stream.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:337:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test\client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at Object.onError (D:\a\undici\undici\test\client-timeout.js:200:11) at DecoratorHandler.onError (D:\a\undici\undici\lib\handler\decorator-handler.js:199:28) at Request.onError (D:\a\undici\undici\lib\core\request.js:300:27) at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:849:12) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test\client-timeout.js: test\client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\client-stream.js: test\client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\client-pipeline.js: test\client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Process completed with exit code 1.
test\socket-back-pressure.js: test\socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test\retry-handler.js: test\retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
should throw if handler is not valid on redirect: test\mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), operator: 'throws' }, code: 'ERR_TEST_FAILURE' }
#2364 - Concurrent aborts: test\http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (D:\a\undici\undici\lib\handler\decorator-handler.js:207:5) at Request.onResponseStarted (D:\a\undici\undici\lib\core\request.js:233:46) at ClientHttp2Stream.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h2.js:400:13) at Object.onceWrapper (node:events:632:26) at ClientHttp2Stream.emit (node:events:517:28) at emit (node:internal/http2/core:330:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' }, code: 'ERR_TEST_FAILURE' }
parser resume with no body timeout: test\client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at Object.onError (D:\a\undici\undici\test\client-timeout.js:200:11) at DecoratorHandler.onError (D:\a\undici\undici\lib\handler\decorator-handler.js:199:28) at Request.onError (D:\a\undici\undici\lib\core\request.js:300:27) at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:849:12) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' }, code: 'ERR_TEST_FAILURE' }
test\client-timeout.js: test\client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test\client-stream.js: test\client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test\client-pipeline.js: test\client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Process completed with exit code 1.
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/Users/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:339:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
test/http2.js: test/http2.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/Users/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Process completed with exit code 1.
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/Users/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:337:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/Users/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:203:9) at Test.run (node:internal/test_runner/test:631:25) at Suite.processPendingSubtests (node:internal/test_runner/test:374:18) at Test.postRun (node:internal/test_runner/test:715:19) at Test.run (node:internal/test_runner/test:673:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:374:7), operator: 'throws' }, code: 'ERR_TEST_FAILURE' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/Users/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:632:26) at ClientHttp2Stream.emit (node:events:517:28) at emit (node:internal/http2/core:330:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' }, code: 'ERR_TEST_FAILURE' }
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Process completed with exit code 1.
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/Users/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/Users/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/Users/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/Users/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' }, code: 'ERR_TEST_FAILURE' }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Process completed with exit code 1.
test\socket-back-pressure.js: test\socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\retry-handler.js: test\retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test\mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7), operator: 'throws' } }
#2364 - Concurrent aborts: test\http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (D:\a\undici\undici\lib\handler\decorator-handler.js:207:5) at Request.onResponseStarted (D:\a\undici\undici\lib\core\request.js:233:46) at ClientHttp2Stream.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:339:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
test\http2.js: test\http2.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
parser resume with no body timeout: test\client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at Object.onError (D:\a\undici\undici\test\client-timeout.js:200:11) at DecoratorHandler.onError (D:\a\undici\undici\lib\handler\decorator-handler.js:199:28) at Request.onError (D:\a\undici\undici\lib\core\request.js:300:27) at Object.errorRequest (D:\a\undici\undici\lib\core\util.js:812:13) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:849:12) at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (D:\a\undici\undici\lib\dispatcher\client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test\client-timeout.js: test\client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\client-stream.js: test\client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test\client-pipeline.js: test\client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Process completed with exit code 1.
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:639:25) at Suite.processPendingSubtests (node:internal/test_runner/test:382:18) at Test.postRun (node:internal/test_runner/test:730:19) at Test.run (node:internal/test_runner/test:688:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:337:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
Test with Node.js 21 compiled --without-intl
Process completed with exit code 1.
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:930:25) at Suite.processPendingSubtests (node:internal/test_runner/test:629:18) at Test.postRun (node:internal/test_runner/test:1026:19) at Test.run (node:internal/test_runner/test:969:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:329:3) at process.processTicksAndRejections (node:internal/process/task_queues:93:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1698:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21), expected: null, operator: 'ifError' } }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
Test with Node.js 22 compiled --without-intl
Process completed with exit code 1.
test/socket-back-pressure.js: test/socket-back-pressure.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/retry-handler.js: test/retry-handler.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
should throw if handler is not valid on redirect: test/mock-agent.js#L154
[Error [ERR_TEST_FAILURE]: Missing expected exception (InvalidArgumentError).] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Missing expected exception (InvalidArgumentError). at res.<computed> [as throws] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:154:7) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: InvalidArgumentError: invalid onError method at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:160:9) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:789:25) at Suite.processPendingSubtests (node:internal/test_runner/test:517:18) at Test.postRun (node:internal/test_runner/test:885:19) at Test.run (node:internal/test_runner/test:831:12) at async Suite.processPendingSubtests (node:internal/test_runner/test:517:7), operator: 'throws' } }
#2364 - Concurrent aborts: test/http2.js#L1302
Error [ERR_TEST_FAILURE]: false == true at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: false == true at DecoratorHandler.onResponseStarted (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:207:5) at Request.onResponseStarted (/home/runner/work/undici/undici/lib/core/request.js:233:46) at ClientHttp2Stream.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h2.js:400:13) at Object.onceWrapper (node:events:634:26) at ClientHttp2Stream.emit (node:events:519:28) at emit (node:internal/http2/core:339:3) at process.processTicksAndRejections (node:internal/process/task_queues:85:22) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } }
test/http2.js: test/http2.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
parser resume with no body timeout: test/client-timeout.js#L200
Error [ERR_TEST_FAILURE]: ifError got unwanted exception: other side closed at process.emit (node:events:519:28) { code: 'ERR_TEST_FAILURE', failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: ifError got unwanted exception: other side closed at res.<computed> [as ifError] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Object.onError (/home/runner/work/undici/undici/test/client-timeout.js:200:11) at DecoratorHandler.onError (/home/runner/work/undici/undici/lib/handler/decorator-handler.js:199:28) at Request.onError (/home/runner/work/undici/undici/lib/core/request.js:300:27) at Object.errorRequest (/home/runner/work/undici/undici/lib/core/util.js:812:13) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:849:12) at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SocketError: other side closed at Socket.<anonymous> (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:813:24) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21), expected: null, operator: 'ifError' } }
test/client-timeout.js: test/client-timeout.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-stream.js: test/client-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test/client-pipeline.js: test/client-pipeline.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
Test with Node.js 20 compiled --without-intl
Process completed with exit code 1.
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Warning:: Test "should throw if handler is not valid on redirect" generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 867 Suites 📂: 75 Passed ✅: 855 Failed ❌: 3 Canceled 🚫: 5 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 74754.768ms
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Error:: Test "should throw if handler is not valid on redirect" at test/mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 872 Suites 📂: 75 Passed ✅: 860 Failed ❌: 3 Canceled 🚫: 4 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 80310.774ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Warning:: Test "meet acceptable resolution time" generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: 999ms fired early" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "meet acceptable resolution time" generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: 5000ms fired late, got difference of 1003ms" and would have caused the test to fail, but instead triggered an uncaughtException event. Warning:: Test "should throw if handler is not valid on redirect" generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 867 Suites 📂: 75 Passed ✅: 854 Failed ❌: 4 Canceled 🚫: 5 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 80082.683ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Error:: Test "should throw if handler is not valid on redirect" at test/mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 868 Suites 📂: 75 Passed ✅: 854 Failed ❌: 3 Canceled 🚫: 6 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 98306.562ms
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Error:: Test "should throw if handler is not valid on redirect" at test\mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 866 Suites 📂: 75 Passed ✅: 854 Failed ❌: 3 Canceled 🚫: 4 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 78980.364ms
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Error:: Test "should throw if handler is not valid on redirect" at test/mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 872 Suites 📂: 75 Passed ✅: 860 Failed ❌: 3 Canceled 🚫: 4 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 102922.370ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Warning:: Test "should throw if handler is not valid on redirect" generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 867 Suites 📂: 75 Passed ✅: 855 Failed ❌: 3 Canceled 🚫: 5 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 78867.931ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Warning:: Test "should throw if handler is not valid on redirect" generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 867 Suites 📂: 75 Passed ✅: 855 Failed ❌: 3 Canceled 🚫: 5 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 86564.603ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Error:: Test "should throw if handler is not valid on redirect" at test/mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 868 Suites 📂: 75 Passed ✅: 854 Failed ❌: 3 Canceled 🚫: 6 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 129155.446ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Warning:: Test "should throw if handler is not valid on redirect" generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 867 Suites 📂: 75 Passed ✅: 855 Failed ❌: 3 Canceled 🚫: 5 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 121211.566ms
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Warning:: Test "should throw if handler is not valid on redirect" generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 867 Suites 📂: 75 Passed ✅: 855 Failed ❌: 3 Canceled 🚫: 5 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 130202.205ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Error:: Test "should throw if handler is not valid on redirect" at test\mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 868 Suites 📂: 75 Passed ✅: 854 Failed ❌: 3 Canceled 🚫: 6 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 101554.618ms
Test with Node.js 21 compiled --without-intl
Warning:: Test "should throw if handler is not valid on redirect" generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 867 Suites 📂: 75 Passed ✅: 855 Failed ❌: 3 Canceled 🚫: 5 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 74808.055ms
Test with Node.js 22 compiled --without-intl
Error:: Test "should throw if handler is not valid on redirect" at test/mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 872 Suites 📂: 75 Passed ✅: 860 Failed ❌: 3 Canceled 🚫: 4 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 75138.015ms
Test with Node.js 20 compiled --without-intl
Error:: Test "should throw if handler is not valid on redirect" at test/mock-agent.js:146:3 generated asynchronous activity after the test ended. This activity created the error "TypeError: this[#handler].onError is not a function" and would have caused the test to fail, but instead triggered an unhandledRejection event. Total Tests: 868 Suites 📂: 75 Passed ✅: 854 Failed ❌: 3 Canceled 🚫: 6 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 98915.878ms