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: dial tests are flaky on BSD #15157
Comments
Flaky tests are a distraction and cover up real problems. File bugs instead and mark them as flaky. This moves the net/http flaky test flagging mechanism to internal/testenv. Updates #15156 Updates #15157 Updates #15158 Change-Id: I0e561cd2a09c0dec369cd4ed93bc5a2b40233dfe Reviewed-on: https://go-review.googlesource.com/21614 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Also on FreeBSD: https://build.golang.org/log/73446e673c8f780dbfbc11aaab2b4f8e4daefb68
|
Yeah, I'll look into the OpenBSD failures today. |
CL https://golang.org/cl/23244 mentions this issue. |
Fixes #14717. Updates #15157. Change-Id: I7238b4fe39f3670c2dfe09b3a3df51a982f261ed Reviewed-on: https://go-review.googlesource.com/23244 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
CL https://golang.org/cl/34656 mentions this issue. |
Updates #15157 Change-Id: Id280705f4382c3b2323f0eed786a400a184614de Reviewed-on: https://go-review.googlesource.com/34656 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Just saw what looked like a flake on a linux/amd64 race trybot run: https://storage.googleapis.com/go-build-log/01e274f4/linux-amd64-race_4322dd7e.log |
Another possible flake on a linux/amd64 race trybot run: https://storage.googleapis.com/go-build-log/f6b2f823/linux-amd64-race_be3b785d.log |
I spent a little time looking into the TestDialerDualStackFDLeak flake on OpenBSD last night. I was able to repro the issue under ktrace, and Go doesn't appear to be doing anything obviously wrong. We make a non-blocking connect call, it returns EINPROGRESS, we register it with kqueue, and then the kevent syscall blocks for 6 seconds before the kernel reports that the connect failed. The failure is always around 6 seconds, so I suspect it's something TCP timeout related. I was next trying to repro the issue while tcpdump'ing lo0 (hoping it hints what part of the stack might be failing), but no success yet. |
@mdempsky, thanks for investigating. If we can't make progress on this, though, the openbsd builders are doing more harm than good with flaky tests. I think it might be time to slap on a bunch of |
@bradfitz For net flakes on OpenBSD, I'm inclined to agree. |
Doesn't seem to be limited to BSD: https://storage.googleapis.com/go-build-log/fa1eb023/linux-amd64-race_e3f8fc0c.log
|
CL https://golang.org/cl/40498 mentions this issue. |
It's flaky and distracting. I'm not sure what it's testing, either. It hasn't saved us before. Somebody can resurrect it if they have time. Updates #15157 Change-Id: I27bbfe51e09b6259bba0f73d60d03a4d38711951 Reviewed-on: https://go-review.googlesource.com/40498 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
It's flaky and distracting. I'm not sure what it's testing, either. It hasn't saved us before. Somebody can resurrect it if they have time. Updates golang#15157 Change-Id: I27bbfe51e09b6259bba0f73d60d03a4d38711951 Reviewed-on: https://go-review.googlesource.com/40498 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
On
|
Filed the |
I don't see any recent failures for |
The |
The remaining I'm going to close out this meta-issue, since there are now separate issues for the individual observed failure modes. |
These have been flaking a lot on OpenBSD ...
https://storage.googleapis.com/go-build-log/f99ca413/openbsd-amd64-gce58_83506189.log
/cc @mikioh
The text was updated successfully, but these errors were encountered: