Skip to content

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

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 #15509

Triggered via pull request November 23, 2024 10:38
Status Failure
Total duration 3m 57s
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:41831/300/2' - 'http://localhost:41831/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:41831/300/2' - 'http://localhost:41831/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:41831/300/2', expected: 'http://localhost:41831/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:40583/300/2' - 'http://localhost:40583/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:40583/300/2' - 'http://localhost:40583/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:40583/300/2', expected: 'http://localhost:40583/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:46535/300/2' - 'http://localhost:46535/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:46535/300/2' - 'http://localhost:46535/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:46535/300/2', expected: 'http://localhost:46535/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:33877/300/2' - 'http://localhost:33877/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:33877/300/2' - 'http://localhost:33877/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:33877/300/2', expected: 'http://localhost:33877/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:34849/300/2' - 'http://localhost:34849/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:34849/300/2' - 'http://localhost:34849/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:34849/300/2', expected: 'http://localhost:34849/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:43577/300/2' - 'http://localhost:43577/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:43577/300/2' - 'http://localhost:43577/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:43577/300/2', expected: 'http://localhost:43577/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:40025/300/2' - 'http://localhost:40025/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:40025/300/2' - 'http://localhost:40025/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:40025/300/2', expected: 'http://localhost:40025/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:36589/300/2' - 'http://localhost:36589/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36589/300/2' - 'http://localhost:36589/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:36589/300/2', expected: 'http://localhost:36589/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:49416/300/2' - 'http://localhost:49416/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49416/300/2' - 'http://localhost:49416/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:49416/300/2', expected: 'http://localhost:49416/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:49567/300/2' - 'http://localhost:49567/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49567/300/2' - 'http://localhost:49567/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:49567/300/2', expected: 'http://localhost:49567/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: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: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: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: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: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 (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:52921/300/2' - 'http://localhost:52921/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:52921/300/2' - 'http://localhost:52921/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:52921/300/2', expected: 'http://localhost:52921/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:53092/300/2' - 'http://localhost:53092/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53092/300/2' - 'http://localhost:53092/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:53092/300/2', expected: 'http://localhost:53092/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:58608/300/2' - 'http://localhost:58608/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:58608/300/2' - 'http://localhost:58608/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:58608/300/2', expected: 'http://localhost:58608/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:58772/300/2' - 'http://localhost:58772/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:58772/300/2' - 'http://localhost:58772/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:58772/300/2', expected: 'http://localhost:58772/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: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: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: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: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: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 (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:49443/300/2' - 'http://localhost:49443/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49443/300/2' - 'http://localhost:49443/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:49443/300/2', expected: 'http://localhost:49443/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:49564/300/2' - 'http://localhost:49564/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:49564/300/2' - 'http://localhost:49564/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:49564/300/2', expected: 'http://localhost:49564/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:53644/300/2' - 'http://localhost:53644/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53644/300/2' - 'http://localhost:53644/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:53644/300/2', expected: 'http://localhost:53644/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:53813/300/2' - 'http://localhost:53813/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:53813/300/2' - 'http://localhost:53813/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:53813/300/2', expected: 'http://localhost:53813/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:60953/300/2' - 'http://localhost:60953/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:60953/300/2' - 'http://localhost:60953/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:60953/300/2', expected: 'http://localhost:60953/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:61075/300/2' - 'http://localhost:61075/300/3' ^] { failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:61075/300/2' - 'http://localhost:61075/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:61075/300/2', expected: 'http://localhost:61075/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:57572/300/2' - 'http://localhost:57572/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:57572/300/2' - 'http://localhost:57572/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:57572/300/2', expected: 'http://localhost:57572/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:57741/300/2' - 'http://localhost:57741/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:57741/300/2' - 'http://localhost:57741/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:57741/300/2', expected: 'http://localhost:57741/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:36783/300/2' - 'http://localhost:36783/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:36783/300/2' - 'http://localhost:36783/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:36783/300/2', expected: 'http://localhost:36783/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:39643/300/2' - 'http://localhost:39643/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:39643/300/2' - 'http://localhost:39643/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:39643/300/2', expected: 'http://localhost:39643/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:39407/300/2' - 'http://localhost:39407/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:39407/300/2' - 'http://localhost:39407/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:39407/300/2', expected: 'http://localhost:39407/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:37679/300/2' - 'http://localhost:37679/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:37679/300/2' - 'http://localhost:37679/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:37679/300/2', expected: 'http://localhost:37679/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:50052/300/2' - 'http://localhost:50052/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:50052/300/2' - 'http://localhost:50052/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:50052/300/2', expected: 'http://localhost:50052/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:50203/300/2' - 'http://localhost:50203/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:50203/300/2' - 'http://localhost:50203/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:50203/300/2', expected: 'http://localhost:50203/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:45849/300/2' - 'http://localhost:45849/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:45849/300/2' - 'http://localhost:45849/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:45849/300/2', expected: 'http://localhost:45849/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:40791/300/2' - 'http://localhost:40791/300/3' ^] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:40791/300/2' - 'http://localhost:40791/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:40791/300/2', expected: 'http://localhost:40791/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:38473/300/2' - 'http://localhost:38473/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:38473/300/2' - 'http://localhost:38473/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:38473/300/2', expected: 'http://localhost:38473/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:40275/300/2' - 'http://localhost:40275/300/3' ^ ] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'http://localhost:40275/300/2' - 'http://localhost:40275/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:40275/300/2', expected: 'http://localhost:40275/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 (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 🕐: 47534.766ms
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 🕐: 52456.060ms
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 🕐: 47657.589ms
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 🕐: 50270.502ms
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 🕐: 67152.456ms
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 🕐: 67086.068ms
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 🕐: 51478.083ms
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 🕐: 52783.365ms
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 🕐: 68259.045ms
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 🕐: 73603.519ms
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 🕐: 52663.276ms
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 🕐: 57117.377ms
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 🕐: 55731.125ms
Test with Node.js 22 compiled --without-intl
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 47856.293ms
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 🕐: 48704.597ms
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 🕐: 67822.426ms
Test with Node.js 20 compiled --without-intl
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 48829.363ms
Test with Node.js 23 compiled --without-intl
Total Tests: 975 Suites 📂: 78 Passed ✅: 966 Failed ❌: 2 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 47825.072ms