Skip to content

fix: we can redirect disturbed request body if it's not going to be used #15510

fix: we can redirect disturbed request body if it's not going to be used

fix: we can redirect disturbed request body if it's not going to be used #15510

Triggered via pull request November 23, 2024 10:40
Status Failure
Total duration 4m 43s
Artifacts

nodejs.yml

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

Annotations

90 errors and 18 notices
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:38141/300/2' - 'http://localhost:38141/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:38141/300/2' - 'http://localhost:38141/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:206:9) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:38141/300/2', expected: 'http://localhost:38141/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:35345/300/2' - 'http://localhost:35345/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:35345/300/2' - 'http://localhost:35345/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:35345/300/2', expected: 'http://localhost:35345/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36559/300/2' - 'http://localhost:36559/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36559/300/2' - 'http://localhost:36559/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:36559/300/2', expected: 'http://localhost:36559/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:46343/300/2' - 'http://localhost:46343/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:46343/300/2' - 'http://localhost:46343/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:46343/300/2', expected: 'http://localhost:46343/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49414/300/2' - 'http://localhost:49414/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49414/300/2' - 'http://localhost:49414/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /Users/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:206:9) at StreamHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/Users/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49414/300/2', expected: 'http://localhost:49414/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49565/300/2' - 'http://localhost:49565/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49565/300/2' - 'http://localhost:49565/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49565/300/2', expected: 'http://localhost:49565/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49412/300/2' - 'http://localhost:49412/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49412/300/2' - 'http://localhost:49412/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /Users/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/Users/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49412/300/2', expected: 'http://localhost:49412/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49563/300/2' - 'http://localhost:49563/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49563/300/2' - 'http://localhost:49563/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49563/300/2', expected: 'http://localhost:49563/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test\redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53035/300/2' - 'http://localhost:53035/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53035/300/2' - 'http://localhost:53035/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at D:\a\undici\undici\test\redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (D:\a\undici\undici\lib\api\api-stream.js:99:22) at RedirectHandler.onHeaders (D:\a\undici\undici\lib\handler\redirect-handler.js:143:27) at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29) at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27) at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:53035/300/2', expected: 'http://localhost:53035/300/3', operator: 'strictEqual' } }
test\redirect-stream.js: test\redirect-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 follow a redirect chain up to the allowed number of times: test\redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53201/300/2' - 'http://localhost:53201/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53201/300/2' - 'http://localhost:53201/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:53201/300/2', expected: 'http://localhost:53201/300/3', operator: 'strictEqual' } }
test\redirect-request.js: test\redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49415/300/2' - 'http://localhost:49415/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49415/300/2' - 'http://localhost:49415/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /Users/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/Users/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49415/300/2', expected: 'http://localhost:49415/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49566/300/2' - 'http://localhost:49566/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49566/300/2' - 'http://localhost:49566/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49566/300/2', expected: 'http://localhost:49566/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Process completed with exit code 1.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:50232/300/2' - 'http://localhost:50232/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:50232/300/2' - 'http://localhost:50232/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /Users/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:206:9) at StreamHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/Users/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:50232/300/2', expected: 'http://localhost:50232/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:50383/300/2' - 'http://localhost:50383/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:50383/300/2' - 'http://localhost:50383/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:50383/300/2', expected: 'http://localhost:50383/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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, macos-latest) / Test with Node.js 21 on macos-latest
Process completed with exit code 1.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49440/300/2' - 'http://localhost:49440/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49440/300/2' - 'http://localhost:49440/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /Users/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:203:9) at StreamHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/Users/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49440/300/2', expected: 'http://localhost:49440/300/3', operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
test/redirect-stream.js: test/redirect-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
should follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49562/300/2' - 'http://localhost:49562/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49562/300/2' - 'http://localhost:49562/300/3' ^ at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:632:9) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:49562/300/2', expected: 'http://localhost:49562/300/3', operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test\redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53670/300/2' - 'http://localhost:53670/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53670/300/2' - 'http://localhost:53670/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at D:\a\undici\undici\test\redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:206:9) at StreamHandler.onHeaders (D:\a\undici\undici\lib\api\api-stream.js:99:22) at RedirectHandler.onHeaders (D:\a\undici\undici\lib\handler\redirect-handler.js:143:27) at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29) at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27) at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:53670/300/2', expected: 'http://localhost:53670/300/3', operator: 'strictEqual' } }
test\redirect-stream.js: test\redirect-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 follow a redirect chain up to the allowed number of times: test\redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53834/300/2' - 'http://localhost:53834/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53834/300/2' - 'http://localhost:53834/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:53834/300/2', expected: 'http://localhost:53834/300/3', operator: 'strictEqual' } }
test\redirect-request.js: test\redirect-request.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.
should follow a redirect chain up to the allowed number of times: test\redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53862/300/2' - 'http://localhost:53862/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53862/300/2' - 'http://localhost:53862/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at D:\a\undici\undici\test\redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (D:\a\undici\undici\lib\api\api-stream.js:99:22) at RedirectHandler.onHeaders (D:\a\undici\undici\lib\handler\redirect-handler.js:143:27) at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29) at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27) at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:53862/300/2', expected: 'http://localhost:53862/300/3', operator: 'strictEqual' } }
test\redirect-stream.js: test\redirect-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 follow a redirect chain up to the allowed number of times: test\redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:54032/300/2' - 'http://localhost:54032/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:54032/300/2' - 'http://localhost:54032/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:54032/300/2', expected: 'http://localhost:54032/300/3', operator: 'strictEqual' } }
test\redirect-request.js: test\redirect-request.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Process completed with exit code 1.
should follow a redirect chain up to the allowed number of times: test\redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:51233/300/2' - 'http://localhost:51233/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:51233/300/2' - 'http://localhost:51233/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at D:\a\undici\undici\test\redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:206:9) at StreamHandler.onHeaders (D:\a\undici\undici\lib\api\api-stream.js:99:22) at RedirectHandler.onHeaders (D:\a\undici\undici\lib\handler\redirect-handler.js:143:27) at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29) at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27) at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:51233/300/2', expected: 'http://localhost:51233/300/3', operator: 'strictEqual' } }
test\redirect-stream.js: test\redirect-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 follow a redirect chain up to the allowed number of times: test\redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:51404/300/2' - 'http://localhost:51404/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:51404/300/2' - 'http://localhost:51404/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:51404/300/2', expected: 'http://localhost:51404/300/3', operator: 'strictEqual' } }
test\redirect-request.js: test\redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:39349/300/2' - 'http://localhost:39349/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:39349/300/2' - 'http://localhost:39349/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:39349/300/2', expected: 'http://localhost:39349/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:39895/300/2' - 'http://localhost:39895/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:39895/300/2' - 'http://localhost:39895/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:39895/300/2', expected: 'http://localhost:39895/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Process completed with exit code 1.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:41859/300/2' - 'http://localhost:41859/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:41859/300/2' - 'http://localhost:41859/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:41859/300/2', expected: 'http://localhost:41859/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:34579/300/2' - 'http://localhost:34579/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:34579/300/2' - 'http://localhost:34579/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:34579/300/2', expected: 'http://localhost:34579/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:40019/300/2' - 'http://localhost:40019/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:40019/300/2' - 'http://localhost:40019/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:206:9) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:40019/300/2', expected: 'http://localhost:40019/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36901/300/2' - 'http://localhost:36901/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36901/300/2' - 'http://localhost:36901/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:640:9) at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:36901/300/2', expected: 'http://localhost:36901/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:34261/300/2' - 'http://localhost:34261/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:34261/300/2' - 'http://localhost:34261/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:206:9) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:34261/300/2', expected: 'http://localhost:34261/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:32829/300/2' - 'http://localhost:32829/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:32829/300/2' - 'http://localhost:32829/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:797:9) at async Test.processPendingSubtests (node:internal/test_runner/test:527:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:32829/300/2', expected: 'http://localhost:32829/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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.
should follow a redirect chain up to the allowed number of times: test\redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:56023/300/2' - 'http://localhost:56023/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:56023/300/2' - 'http://localhost:56023/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at D:\a\undici\undici\test\redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:203:9) at StreamHandler.onHeaders (D:\a\undici\undici\lib\api\api-stream.js:99:22) at RedirectHandler.onHeaders (D:\a\undici\undici\lib\handler\redirect-handler.js:143:27) at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29) at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27) at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:56023/300/2', expected: 'http://localhost:56023/300/3', operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
test\redirect-stream.js: test\redirect-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
should follow a redirect chain up to the allowed number of times: test\redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:56154/300/2' - 'http://localhost:56154/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:56154/300/2' - 'http://localhost:56154/300/3' ^ at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35) at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:632:9) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:56154/300/2', expected: 'http://localhost:56154/300/3', operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
test\redirect-request.js: test\redirect-request.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.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36417/300/2' - 'http://localhost:36417/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36417/300/2' - 'http://localhost:36417/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:203:9) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:36417/300/2', expected: 'http://localhost:36417/300/3', operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
test/redirect-stream.js: test/redirect-stream.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
should follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:42095/300/2' - 'http://localhost:42095/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:42095/300/2' - 'http://localhost:42095/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Test.run (node:internal/test_runner/test:632:9) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:42095/300/2', expected: 'http://localhost:42095/300/3', operator: 'strictEqual' }, code: 'ERR_TEST_FAILURE' }
test/redirect-request.js: test/redirect-request.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, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Process completed with exit code 1.
should follow a redirect chain up to the allowed number of times: test/redirect-stream.js#L284
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:38119/300/2' - 'http://localhost:38119/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:38119/300/2' - 'http://localhost:38119/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at /home/runner/work/undici/undici/test/redirect-stream.js:284:9 at StreamHandler.runInAsyncScope (node:async_hooks:211:14) at StreamHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-stream.js:99:22) at RedirectHandler.onHeaders (/home/runner/work/undici/undici/lib/handler/redirect-handler.js:143:27) at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:245:29) at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:612:27) at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:141:30) at wasm://wasm/00032d9a:wasm-function[10]:0x56f at wasm://wasm/00032d9a:wasm-function[20]:0x7d57 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:38119/300/2', expected: 'http://localhost:38119/300/3', operator: 'strictEqual' } }
test/redirect-stream.js: test/redirect-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 follow a redirect chain up to the allowed number of times: test/redirect-request.js#L401
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal: + actual - expected + 'http://localhost:45515/300/2' - 'http://localhost:45515/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:45515/300/2' - 'http://localhost:45515/300/3' ^ at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:401:7) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:935:9) at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'http://localhost:45515/300/2', expected: 'http://localhost:45515/300/3', operator: 'strictEqual' } }
test/redirect-request.js: test/redirect-request.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 23 compiled --without-intl
Process completed with exit code 1.
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 48480.807ms
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 50360.016ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 66539.731ms
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 66964.086ms
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 51119.005ms
test (23, macos-latest) / Test with Node.js 23 on macos-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 66233.692ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 967 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 65947.456ms
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 967 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 72533.108ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 52256.173ms
test (23, windows-latest) / Test with Node.js 23 on windows-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 54978.277ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 967 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 51737.844ms
test (23, ubuntu-latest) / Test with Node.js 23 on ubuntu-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 47629.160ms
Test with Node.js 22 compiled --without-intl
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 47991.642ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 967 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 47730.769ms
Test with Node.js 20 compiled --without-intl
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 48677.767ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 967 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 57364.182ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 975 Suites 📂: 78 Passed ✅: 967 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 52764.971ms
Test with Node.js 23 compiled --without-intl
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 47820.960ms