-
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: TestTimeoutHandlerAndFlusher flaky on darwin-arm64-corellium #34573
Comments
Let's just delete the whole test. |
Thanks for the ping Bryan!
That test tests out the TimeoutHandler which requires an actual
timeout/sleep, not just synchronization. I think perhaps the sleep duration
might have been too short.
Also it reports that it is a teapot because that's the status code that was
purposefully set :)
I'll take a look at it when I get to the office in a few hours, am
currently out running many early morning errands, thanks for the
assignment.
…On Fri, Sep 27, 2019 at 7:59 AM Bryan C. Mills ***@***.***> wrote:
Assigned #34573 <#34573> to @odeke-em
<https://github.com/odeke-em>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#34573?email_source=notifications&email_token=ABFL3V32P4UY7HI5SOB4AE3QLYNUDA5CNFSM4I3HPC42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOT4KQ4CQ#event-2668957194>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABFL3VZZTRMFY2MC77FZCETQLYNUDANCNFSM4I3HPC4Q>
.
|
Going nuclear SGTM but let's perhaps figure out how to catch such failures
if anyone ever makes such a subtle change to TimeoutHandler.
…On Fri, Sep 27, 2019 at 8:06 AM Brad Fitzpatrick ***@***.***> wrote:
Let's just delete the whole test.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#34573?email_source=notifications&email_token=ABFL3V72VMV367PZLCKCWLDQLYOQPA5CNFSM4I3HPC42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ZGAEY#issuecomment-535978003>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABFL3VZ5FN2G4QUDTIWRHO3QLYOQPANCNFSM4I3HPC4Q>
.
|
Change https://golang.org/cl/197757 mentions this issue: |
I got some time in my ride and I've mailed https://go-review.googlesource.com/c/go/+/197757 to remove it. |
@gopherbot, please backport to Go 1.13: the flaky test was also backported. |
Backport issue(s) opened: #34579 (for 1.13). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
Change https://golang.org/cl/197719 mentions this issue: |
… due to flakes Removes TestTimeoutHandlerAndFlusher due to flakes on one of the builders due to timing issues. Perhaps later, we might need to bring it back when we've figured out the timing issues. Updates #34573 Fixes #34579 Change-Id: Ia88d4da31fb228296144dc31f9a4288167fb4a53 Reviewed-on: https://go-review.googlesource.com/c/go/+/197757 Run-TryBot: Emmanuel Odeke <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> (cherry picked from commit 5573885) Reviewed-on: https://go-review.googlesource.com/c/go/+/197719 Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]>
@odeke-em, there were different failure modes:
(In all cases the underlying Anyway, if everything except Thanks for fixing the issue, btw! |
The new regression test added for #34439 just flaked twice on the
darwin-arm64-corellium
builder:The
time.Sleep(timeout * 2)
seems suspect,¹ although I'm not certain that's the root cause of the flakes.(Also, I have no idea why the test server thinks it is a teapot. 😅)
¹ https://testing.googleblog.com/2008/08/tott-sleeping-synchronization.html
CC @bradfitz
The text was updated successfully, but these errors were encountered: