-
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: spurious EADDRINUSE from connect syscall on FreeBSD when connecting from IPv6 wildcard to IPv4 address #34264
Comments
2021-06-08T05:02:19-c20bcb6/freebsd-amd64-12_2 |
|
These appear to always be for the specific pair The This FreeBSD bug seems to match the symptom, but it was believed to be fixed as of FreeBSD 12-STABLE. |
Change https://golang.org/cl/369157 mentions this issue: |
The failure mode in #34264 appears to match https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210726. That bug was supposed to have been fixed in FreeBSD 12, but we're still observing failures specifically for the 6-to-4 case on FreeBSD 12.2. It is not clear to me whether FreeBSD 13.0 is also affected. For #34264 Change-Id: Iba7c7fc57676ae628b13c0b8fe43ddf2251c3637 Reviewed-on: https://go-review.googlesource.com/c/go/+/369157 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
The |
Unfortunately, this is still reproducible on all FreeBSD versions from 12.3-RELEASE to 14.0-CURRENT. I'll look at writing a small reproducer and will reopen the corresponding FreeBSD bug. |
I've looked at this some more, and it seems that this failure is caused by two separate issues:
[1] freebsd/freebsd-src@92b3e07 |
Observed in a
freebsd-amd64-12_0
TryBot: https://storage.googleapis.com/go-build-log/2e4c3b9c/freebsd-amd64-12_0_d1b5be43.logThis test is also flaky on macOS (#22019), but the symptom on FreeBSD is different from the one observed on macOS (
connect: address already in use
vs.getsockopt: operation timed out
).Note that the
freebsd-arm-paulzhol
flake reported in #22019 (comment) matches this one.CC @ianlancetaylor @mikioh
The text was updated successfully, but these errors were encountered: