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

cmd/go: script test hanging with blocked output pipes #53400

Open
bcmills opened this issue Jun 15, 2022 · 1 comment
Open

cmd/go: script test hanging with blocked output pipes #53400

bcmills opened this issue Jun 15, 2022 · 1 comment
Assignees
Labels
NeedsInvestigation
Milestone

Comments

@bcmills bcmills added this to the Go1.20 milestone Jun 15, 2022
@bcmills bcmills self-assigned this Jun 15, 2022
@bcmills bcmills added the NeedsInvestigation label Jun 15, 2022
@bcmills
Copy link
Member Author

@bcmills bcmills commented Jun 15, 2022

This is some script test hanging while waiting on the subprocess's output pipes to close, with the output pipes stuck open.

This is quite possibly a bug in the go command, but it will be much more straightforward to diagnose once #50436 is implemented. (A workaround in the interim is possible but more complex, because we would either have to run our own pipe-copying goroutines or direct all of the stderr and stdout output pipes for script tests to files.)

I plan to implement #50436 for Go 1.20, so milestoning to Go 1.20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation
Projects
None yet
Development

No branches or pull requests

1 participant