Skip to content

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

@nsrip-dd

Description

@nsrip-dd

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

Metadata

Metadata

Assignees

Labels

bugunintended behavior that has to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions