Skip to content

fix: don't leak internal class #13093

fix: don't leak internal class

fix: don't leak internal class #13093

Triggered via pull request March 31, 2024 11:14
@ronagronag
synchronize #3024
hide-internals
Status Failure
Total duration 6m 29s
Artifacts

nodejs.yml

on: pull_request
Matrix: test
dependency-review
12s
dependency-review
Lint
35s
Lint
Test TypeScript types
24s
Test TypeScript types
automerge
0s
automerge
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 73 notices
keep-alive not timeout: test/client-keep-alive.js#L190
Error [ERR_TEST_FAILURE]: Failed at process.emit (node:events:517:28) { failureType: 'uncaughtException', cause: AssertionError [ERR_ASSERTION]: Failed at res.<computed> [as fail] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35) at Timeout._onTimeout (/Users/runner/work/undici/undici/test/client-keep-alive.js:190:11) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' }, code: 'ERR_TEST_FAILURE' }
test/client-keep-alive.js: test/client-keep-alive.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Process completed with exit code 1.
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 733 Suites 📂: 50 Passed ✅: 728 Failed ❌: 1 Canceled 🚫: 1 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 59104.362ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 35397.829ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3196.995ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 10981.450ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 116.336ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 160.863ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 1576.208ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11079.302ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3782.229ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 203 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 7016.502ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 35455.475ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3181.605ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11044.661ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 116.907ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 170.775ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 1534.251ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11166.307ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3881.011ms
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 203 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 7289.600ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 34822.163ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3238.019ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11070.088ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 122.507ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 196.831ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 1539.864ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11139.396ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3935.673ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 203 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 7294.471ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 42132.774ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3258.480ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11197.934ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 205.623ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 179.094ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2122.166ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11253.690ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 3844.624ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 203 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 7203.885ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 43098.216ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3546.702ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11143.384ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 145.663ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 219.816ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2748.414ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11600.404ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 4078.918ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 203 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 6964.518ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 41946.893ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3596.677ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 15663.192ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 162.350ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 251.539ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2316.561ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11616.192ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 4371.395ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 200 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 8381.239ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 38494.014ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3474.123ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 15342.867ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 157.229ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 244.457ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2091.338ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11504.488ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 4078.898ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 200 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 7727.753ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 732 Suites 📂: 50 Passed ✅: 729 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 40309.113ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 189 Suites 📂: 6 Passed ✅: 176 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 13 Todo 📝: 0 Duration 🕐: 3704.578ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 352 Suites 📂: 10 Passed ✅: 352 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 15778.974ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 15 Suites 📂: 2 Passed ✅: 15 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 168.049ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 1 Suites 📂: 1 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 264.017ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 66 Suites 📂: 6 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2444.043ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 94 Suites 📂: 16 Passed ✅: 94 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 11543.991ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 66 Suites 📂: 12 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 4312.371ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 203 Suites 📂: 3 Passed ✅: 200 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 0 Duration 🕐: 8137.178ms