dd-trace-go icon indicating copy to clipboard operation
dd-trace-go copied to clipboard

[FLAKY TEST] profiler: bad multipart form: unexpected EOF

Open nsrip-dd opened this issue 6 months ago • 0 comments

Tracer Version(s)

n/a

Go Version(s)

n/a

Bug Report

Sometimes profiler tests fail with the error bad multipart form: unexpected EOF. For example: https://github.com/DataDog/dd-trace-go/actions/runs/15781660177/job/44488540113#step:3:160

--- FAIL: TestDebugCompressionEnv (1.26s)
    --- FAIL: TestDebugCompressionEnv/zstd-no-delta (0.01s)
        profiler_test.go:363: bad multipart form: unexpected EOF

I haven't yet reproduced this locally. I suspect that this is not a "real" failure in the test logic. Maybe there's some small window at the end of a test where we shut down the test profiler and mock backend where the mock backend can see an incomplete request?

Reproduction Code

Some profiler tests

Error Logs

No response

Go Env Output

No response

nsrip-dd avatar Jun 20 '25 19:06 nsrip-dd