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: TestClientRedirectContext is flaky #16049
Comments
I can't reproduce this on my Mac laptop even with thousands of runs, in normal mode or with The code also seems fine. I wonder if the failure was some network flake? In any case, punting to Go 1.8. Help wanted. |
Thank you for looking into this. FWIW, it happened recently on the darwin/arm builder: https://build.golang.org/log/2a4f80a178c686db64e9bf563d8511ff3dfa0410 |
I can constantly reproduce it on my Mac laptop (OS X 10.11.5). Using stress command
But I can't produce any valuable stack trace. Any ideas how to get any valuable info? |
i've found some things that may help here there seems to be a race condition in in the test case, the first time:
the second time:
the following added log statements highlight this. passing:
so even though failing:
also, adding a small |
@jaredborner, thanks! That let me reproduce it. I sent out https://golang.org/cl/24748 |
CL https://golang.org/cl/24748 mentions this issue. |
The TestClientRedirectContext test sometimes fail with this:
Recent flake on the darwin/386 builder:
https://build.golang.org/log/618f21103437358fda63d77ffaf92dd8b581f6d2
The text was updated successfully, but these errors were encountered: