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/httptest: deadlock in Server.Close on plan9 #59306

Open
millerresearch opened this issue Mar 29, 2023 · 0 comments
Open

net/http/httptest: deadlock in Server.Close on plan9 #59306

millerresearch opened this issue Mar 29, 2023 · 0 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Plan9
Milestone

Comments

@millerresearch
Copy link
Contributor

#!watchflakes
post <- builder ~ `^plan9` && pkg == "net/http" && `test timed out` && `blocked in Close`

This is a peculiar one. So far just one occurrence at https://build.golang.org/log/042a896ae485c11f420d43237a20b30bf7aa54f9 running TestResponseControllerSetFutureWriteDeadline.

It appears the server is waiting for the listener goroutine, which is blocked in a syscall opening a tcp connection's listen file. No other significant goroutines are running. If the test has actually ended, the open should have been cancelled. Not clear why this didn't happen.

@bcmills bcmills changed the title net/http: deadlock in httptest.Close on plan9 net/http/httptest: deadlock in httptest.Close on plan9 Mar 31, 2023
@bcmills bcmills changed the title net/http/httptest: deadlock in httptest.Close on plan9 net/http/httptest: deadlock in Server.Close on plan9 Mar 31, 2023
@bcmills bcmills added OS-Plan9 NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Mar 31, 2023
@bcmills bcmills added this to the Backlog milestone Mar 31, 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-Plan9
Projects
None yet
Development

No branches or pull requests

2 participants