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 deadlock in TestServerGracefulClose on solaris and illumos #36178

Open
bcmills opened this issue Dec 17, 2019 · 3 comments
Open
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-illumos OS-Solaris WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@bcmills
Copy link
Member

bcmills commented Dec 17, 2019

#!watchflakes
post <- pkg == "net/http" && test == "TestServerGracefulClose" && `panic: test timed out`

2019-12-16T20:38:31-f7f9866/illumos-amd64
2019-11-04T15:18:34-d3660e8/illumos-amd64
2019-10-04T20:09:41-60dc159/illumos-amd64-joyent

goroutine 7503 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0xfffffbffeecafb48, 0x77, 0xc001c1dca0)
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/runtime/netpoll.go:203 +0x6d
internal/poll.(*pollDesc).wait(0xc0001ed118, 0x77, 0x470300, 0x4fc360, 0xffffffffffffffff)
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitWrite(...)
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/internal/poll/fd_poll_runtime.go:96
internal/poll.(*FD).Write(0xc0001ed100, 0xc001b8e000, 0x50003b, 0x58c000, 0x0, 0x0, 0x0)
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/internal/poll/fd_unix.go:276 +0x290
net.(*netFD).Write(0xc0001ed100, 0xc001b8e000, 0x50003b, 0x58c000, 0xc000227f48, 0xc000054228, 0xc000054220)
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/net/fd_unix.go:220 +0x4f
net.(*conn).Write(0xc000180020, 0xc001b8e000, 0x50003b, 0x58c000, 0x0, 0x0, 0x0)
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/net/net.go:196 +0x8e
net/http_test.TestServerGracefulClose.func2(0xa5cc40, 0xc000180020, 0xc001b8e000, 0x50003b, 0x58c000, 0xc00032c3c0)
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/net/http/serve_test.go:3100 +0x5b
created by net/http_test.TestServerGracefulClose
	/var/tmp/workdir-host-illumos-amd64-jclulow/go/src/net/http/serve_test.go:3099 +0x35e

CC @bradfitz @ianlancetaylor @jclulow

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-illumos labels Dec 17, 2019
@bcmills bcmills added this to the Backlog milestone Dec 17, 2019
@bcmills bcmills changed the title net/http: apparent deadlock in TestServerGracefulClose on illumos-amd64 builder net/http: apparent deadlock in TestServerGracefulClose on illumos-amd64 builder Dec 17, 2019
@bcmills
Copy link
Member Author

bcmills commented May 6, 2022

@bcmills
Copy link
Member Author

bcmills commented May 6, 2022

(CC @rorth @neild)

@bcmills bcmills changed the title net/http: apparent deadlock in TestServerGracefulClose on illumos-amd64 builder net/http: apparent deadlock in TestServerGracefulClose on solaris and illumos May 6, 2022
@bcmills
Copy link
Member Author

bcmills commented May 6, 2022

This test appears to be another regression test related to #3595.
(See also #51104.)

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Sep 11, 2023
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. OS-illumos OS-Solaris WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
Status: No status
Development

No branches or pull requests

1 participant