Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: apparent deadlocks in TestHandlerAbortRacesBodyRead since 2022-08-09 #54602

Open
bcmills opened this issue Aug 22, 2022 · 3 comments
Open
Assignees
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Milestone

Comments

@bcmills
Copy link
Member

bcmills commented Aug 22, 2022

#!watchflakes
post <- pkg == "net/http" && test == "TestHandlerAbortRacesBodyRead"

greplogs -l -e 'panic: test timed out .*(?:\n.*)*net/http\.\(\*Transport\)\.RoundTrip.*\n\t.+\nnet/http_test\.TestHandlerAbortRacesBodyRead'
2022-08-16T20:39:36-6a9c674/plan9-amd64-0intro
2022-08-09T16:41:32-25d74f3/darwin-amd64-12_0

Marking as release-blocker for Go 1.20 because darwin/amd64 is a first-class port and this failure mode seems to be new as of this cycle.

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker labels Aug 22, 2022
@bcmills bcmills added this to the Go1.20 milestone Aug 22, 2022
@mknyszek
Copy link
Contributor

mknyszek commented Sep 7, 2022

CC @neild

@neild
Copy link
Contributor

neild commented Sep 28, 2022

Added watchflakes stanza to issue description.

@gopherbot
Copy link

gopherbot commented Oct 4, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestHandlerAbortRacesBodyRead"
2022-08-09 16:41 darwin-amd64-12_0 go@25d74f32 net/http.TestHandlerAbortRacesBodyRead (log)
panic: test timed out after 3m0s

runtime.gopark(0xc000269c20?, 0x0?, 0x20?, 0x47?, 0x100e77f?)
	/Users/gopher/workdir/go/src/runtime/proc.go:363 +0xd6 fp=0xc0005a8e38 sp=0xc0005a8e18 pc=0x103abb6
runtime.goparkunlock(...)
	/Users/gopher/workdir/go/src/runtime/proc.go:369
runtime.semacquire1(0xc000269c38, 0x0?, 0x1, 0x0)
	/Users/gopher/workdir/go/src/runtime/sema.go:150 +0x1fe fp=0xc0005a8ea0 sp=0xc0005a8e38 pc=0x104b99e
sync.runtime_Semacquire(0xc000240900?)
	/Users/gopher/workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc0005a8ed0 sp=0xc0005a8ea0 pc=0x1067485
sync.(*WaitGroup).Wait(0x1595640?)
	/Users/gopher/workdir/go/src/sync/waitgroup.go:139 +0x52 fp=0xc0005a8ef8 sp=0xc0005a8ed0 pc=0x10743b2
net/http_test.TestHandlerAbortRacesBodyRead(0xc00057a680)
	/Users/gopher/workdir/go/src/net/http/transport_test.go:6567 +0x145 fp=0xc0005a8f70 sp=0xc0005a8ef8 pc=0x1402fa5
testing.tRunner(0xc00057a680, 0x150d300)

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Projects
Status: Active
Development

No branches or pull requests

4 participants