-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/ipv4: deadlock in TestPacketConnConcurrentReadWriteUnicast #51342
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
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
Comments
Marking as release-blocker for Go 1.19 due to the similarity to #50455, which was observed on |
Change https://go.dev/cl/387915 mentions this issue: |
Change https://go.dev/cl/387916 mentions this issue: |
gopherbot
pushed a commit
to golang/net
that referenced
this issue
Feb 25, 2022
…ReadWriteUnicast This avoids a deadlock (observed in golang/go#51342) that may otherwise swallow the error logs from a failure, which may help us better diagnose the underlying problem. This is a port of CL 376094 to the "ipv4" package. For golang/go#51342 Change-Id: I7b5ba25fcbdd1ec0b319fe35b558d9dcbf8054c6 Reviewed-on: https://go-review.googlesource.com/c/net/+/387915 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
WeiminShang
added a commit
to WeiminShang/net
that referenced
this issue
Nov 16, 2022
…ReadWriteUnicast This avoids a deadlock (observed in golang/go#51342) that may otherwise swallow the error logs from a failure, which may help us better diagnose the underlying problem. This is a port of CL 376094 to the "ipv4" package. For golang/go#51342 Change-Id: I7b5ba25fcbdd1ec0b319fe35b558d9dcbf8054c6 Reviewed-on: https://go-review.googlesource.com/c/net/+/387915 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
WeiminShang
added a commit
to WeiminShang/net
that referenced
this issue
Nov 16, 2022
This change is sheer speculation based on the failures observed in golang/go#37319. (A deadlock in the test prevented us from seeing the actual failure mode of golang/go#51342 up until CL 387915, and it isn't obvious to me that we should wait for another failure before trying a likely — and otherwise harmless — fix.) This is a port of CL 376095 to the "ipv4" package. Fixes golang/go#51342. (Maybe.) Change-Id: Idd6d2d785dbb0c98404f99bd98a3c4ddc11cb2cf Reviewed-on: https://go-review.googlesource.com/c/net/+/387916 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Testing
An issue that has been verified to require only test changes, not just a test failure.
Looks like exactly the same failure mode as in #50455, but for the
ipv4
package instead ofipv6
.That probably means we can just port over CL 376094 and CL 376095 to the
ipv4
package. We may also want to audit whether any otheripv6
test fixes should be ported toipv4
.greplogs --dashboard -md -l -e '(?ms)panic: test timed out.*\nsync\.\(\*WaitGroup\)\.Wait.*\n\t.*\ngolang\.org/x/net/ipv4_test.testPacketConnConcurrentReadWriteUnicast'
2022-02-24T00:04:18-cd36cc0-78e9976/freebsd-amd64-13_0
The text was updated successfully, but these errors were encountered: