-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: TestClientTimeout* failures with "missing timeout substring" on Windows #43120
Comments
We increased the timeout here: golang/build@b6220de But I don't know if that change has been deployed yet. @dmitshur - do you know? |
Oh, the latest log shows So I'm not quite sure... |
Yes, it has. You can find out the deployed version by visiting https://farmer.golang.org, it tells the version at the top:
|
Curiously, this has still only ever occurred on
2021-11-03T18:37:22-cfd016d/windows-arm64-10 |
Change https://golang.org/cl/361275 mentions this issue: |
The test had been setting an arbitrary 200ms timeout to allow the server's handler to set up before timing out. That is not only potentially flaky on slow machines, but also typically much longer than necessary. Replace the hard-coded timeout with a much shorter initial timeout, and use exponential backoff to lengthen it if needed. This allows the test to be run about 20x faster in the typical case, which may make it easier to reproduce rare failure modes by running with a higher -count flag. For #43120 Change-Id: I1e0d0ec99d5a107fff56e3bcc7174d686ec582d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/361275 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Damien Neil <[email protected]>
2021-12-29T19:23:11-8a306e2/windows-arm64-10 |
I honestly don't know what to make of the couple of (CC @bufflig) |
Change https://golang.org/cl/375635 mentions this issue: |
Marking as release-blocker until the skip is added, at which point this can be moved back to the backlog. |
These tests are empirically flaky on the windows/arm and windows/arm64 builders, with a consistent (but rare) failure mode. This change skips the test if that particular failure mode is encountered on those platforms; the skip can be removed if and when someone has the time to pin down the root cause. For #43120 Change-Id: Ie3a9a06bf47e3a907c7b07441acc1494a4631135 Reviewed-on: https://go-review.googlesource.com/c/go/+/375635 Trust: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]> Reviewed-by: Damien Neil <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
The skip is merged. Back to the Backlog. 😩 |
Apparently
|
Change https://golang.org/cl/379156 mentions this issue: |
…ndows/arm64 This extends the skip added in CL 375635 to the "_Headers" variant of the test, since we have observed similar failures in that variant on the builders. For #43120 Change-Id: Ib1c97fbb776b576271629272f3194da77913a941 Reviewed-on: https://go-review.googlesource.com/c/go/+/379156 Trust: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Damien Neil <[email protected]>
These tests are empirically flaky on the windows/arm and windows/arm64 builders, with a consistent (but rare) failure mode. This change skips the test if that particular failure mode is encountered on those platforms; the skip can be removed if and when someone has the time to pin down the root cause. For golang#43120 Change-Id: Ie3a9a06bf47e3a907c7b07441acc1494a4631135 Reviewed-on: https://go-review.googlesource.com/c/go/+/375635 Trust: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]> Reviewed-by: Damien Neil <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
…ndows/arm64 This extends the skip added in CL 375635 to the "_Headers" variant of the test, since we have observed similar failures in that variant on the builders. For golang#43120 Change-Id: Ib1c97fbb776b576271629272f3194da77913a941 Reviewed-on: https://go-review.googlesource.com/c/go/+/379156 Trust: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Damien Neil <[email protected]>
Looks like the skip isn't quite wide enough — this can also manifest during the initial 2022-08-08T16:40:58-e730703/windows-arm64-10:
|
Change https://go.dev/cl/425096 mentions this issue: |
There is already a skip in case of a later failure in the same test on these platforms. Skip the failure if it occurs earlier too. For #43120. Change-Id: Id530370caa6a7df8cae593f6fdcb66871b86b125 Reviewed-on: https://go-review.googlesource.com/c/go/+/425096 Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Damien Neil <[email protected]>
This test is still skipped at HEAD, but there have been a fair number of @neild, do you think it's worth unskipping at this point? |
Apparently not fixed: it reproduced on (CC @golang/windows) |
Found new dashboard test flakes for:
2023-10-04 02:55 windows-amd64-2016 go@9018601e net/http.TestClientTimeout_Headers (log)
|
Found new dashboard test flakes for:
2024-08-07 17:23 gotip-windows-amd64 go@b696250e net/http.TestClientTimeout/h2 (log)
|
Found new dashboard test flakes for:
2024-12-16 21:43 gotip-windows-amd64 go@d92c34a3 net/http.TestClientTimeout/h1 (log)
|
2020-12-09T01:34:53-ae9b442/windows-arm-zx2c4
2020-12-07T17:19:41-7f9a2bc/windows-arm-zx2c4
2020-12-03T02:35:36-da54dfb/windows-arm-zx2c4
2020-12-02T20:17:57-2d0258d/windows-arm-zx2c4
CC @zx2c4 @bradfitz @neild @empijei
The text was updated successfully, but these errors were encountered: