Skip to content

net/http: TestTransportReuseConnection_Gzip_.* failures with "didn't reuse connection" #53373

Closed
@bcmills

Description

@bcmills
#!watchflakes
post <- pkg == "net/http" && test ~ `TestTransportReuseConnection_Gzip_.*` && `didn.t reuse connection` && date < "2023-08-30"

2022/06/08 19:53:00 http: TLS handshake error from 127.0.0.1:21458: EOF
--- FAIL: TestTransportReuseConnection_Gzip_ContentLength (0.10s)
    transport_test.go:4447: didn't reuse connection
FAIL
FAIL	net/http	11.607s

greplogs -l -e 'FAIL: TestTransportReuseConnection.*(?:\n .*)* didn'\''t reuse connection' --since=2022-01-01
2022-06-08T19:41:54-bdde41e/freebsd-amd64-race

See previously #22212.

Perhaps a good first step would be to modify the test to use net/http/httptrace to dump more information about what's going on with the connections?

(CC @neild @golang/freebsd)

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions