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: