Skip to content

net/http: TestTransportNoReuseAfterEarlyResponse failures due to leaked transports #64252

Open
@gopherbot

Description

@gopherbot
#!watchflakes
post <- pkg == "net/http" && test == "TestTransportNoReuseAfterEarlyResponse" && `appears to have leaked a Transport`

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestTransportNoReuseAfterEarlyResponse (2.62s)
    --- FAIL: TestTransportNoReuseAfterEarlyResponse/h1 (2.62s)
        main_test.go:161: Test appears to have leaked a Transport:
            internal/poll.runtime_Semacquire(0x56d7d7f8?)
            	/tmp/buildlet/go/src/runtime/sema.go:67 +0x25
            internal/poll.(*FD).Close(0xc000288800)
            	/tmp/buildlet/go/src/internal/poll/fd_unix.go:113 +0x65
            net.(*netFD).Close(0xc000288800)
            	/tmp/buildlet/go/src/net/fd_posix.go:37 +0x32
            net.(*conn).Close(0xc000692008)
...
            testing.(*T).Run(0xc000a09860, {0xf98d51f?, 0xf64c56d?}, 0xc0002d8060)
            	/tmp/buildlet/go/src/testing/testing.go:1736 +0x3ab
            net/http_test.run[...](0xc000a09860, 0xfb220b0, {0xc0004ba740, 0x2?, 0x183e44b0})
            	/tmp/buildlet/go/src/net/http/clientserver_test.go:82 +0x283
            net/http_test.TestTransportNoReuseAfterEarlyResponse(0xc000a09860)
            	/tmp/buildlet/go/src/net/http/transport_test.go:3490 +0x9c
            testing.tRunner(0xc000a09860, 0xfb20d38)
            	/tmp/buildlet/go/src/testing/testing.go:1682 +0xfb
            created by testing.(*T).Run in goroutine 1
            	/tmp/buildlet/go/src/testing/testing.go:1735 +0x390

watchflakes

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.TestingAn issue that has been verified to require only test changes, not just a test failure.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions