Skip to content

[flaky] test\tls-cert-leak.js #5268

@trivikr

Description

@trivikr
Completed 50/400: Heap: 11MB
Completed 100/400: Heap: 11MB
Completed 150/400: Heap: 11MB
Completed 200/400: Heap: 11MB
Growth from baseline: 1.51%
Average growth rate: 0.51%
Growth rates: 2.43%, -1.30%, 0.41%
Completed 250/400: Heap: 11MB
Growth from baseline: 2.04%
Average growth rate: 0.52%
Growth rates: 2.43%, -1.30%, 0.41%, 0.52%
Completed 300/400: Heap: 12MB
Growth from baseline: 2.57%
Average growth rate: 0.52%
Growth rates: 2.43%, -1.30%, 0.41%, 0.52%, 0.52%
Completed 350/400: Heap: 12MB
Growth from baseline: 4.27%
Average growth rate: 0.71%
Growth rates: 2.43%, -1.30%, 0.41%, 0.52%, 0.52%, 1.66%
Final growth from baseline: 4.27%
Final memory slope: 2622.32 bytes per request
✖ no memory leak with TLS certificate errors (3897.2839ms)
Error: AssertionError [ERR_ASSERTION]: Memory leak detected: Memory still growing rapidly at 2622.32 bytes per request
    at runTest (D:\a\undici\undici\test\tls-cert-leak.js:139:14)
    at async TestContext.<anonymous> (D:\a\undici\undici\test\tls-cert-leak.js:209:3)
    at async Test.run (node:internal/test_runner/test:1208:7)
    at async startSubtestAfterBootstrap (node:internal/test_runner/harness:385:3) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: undefined,
  expected: undefined,
  operator: 'fail',
  diff: 'simple'
}
Error: The operation was canceled.

Example: https://github.com/nodejs/undici/actions/runs/25479695505/job/74760865930?pr=5261

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions