Skip to content
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: failure in TestSelfConnect #8680

Closed
RLH opened this issue Sep 8, 2014 · 3 comments

Comments

Projects
None yet
4 participants
@RLH
Copy link
Contributor

commented Sep 8, 2014

Saw this running the all.bash tests over the weekend.
--- FAIL: TestSelfConnect (0.07s)
    dial_test.go:153: #766: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #767: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #768: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #769: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #770: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #771: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #772: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #773: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #774: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #775: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #776: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #777: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #778: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #779: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #780: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #781: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #782: Dial "127.0.0.1:42484" succeeded
    dial_test.go:153: #783: Dial "127.0.0.1:42484" succeeded
FAIL
FAIL    net 2.594s


--

Looks like some other concurrent test started listening on the port.
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Sep 8, 2014

Comment 1:

Labels changed: added repo-main, release-go1.4.

Status changed to Accepted.

@gopherbot

This comment has been minimized.

Copy link

commented Sep 16, 2014

Comment 2:

CL https://golang.org/cl/136700043 mentions this issue.
@rsc

This comment has been minimized.

Copy link
Contributor

commented Sep 16, 2014

Comment 3:

This issue was closed by revision 95c899f.

Status changed to Fixed.

@RLH RLH added fixed labels Sep 16, 2014

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015

@rsc rsc removed the release-go1.4 label Apr 14, 2015

@golang golang locked and limited conversation to collaborators Jun 25, 2016

wheatman added a commit to wheatman/go-akaros that referenced this issue Jun 25, 2018

net: make TestSelfConnect less fragile
We believe TestSelfConnect can accidentally connect to
something else listening on or dialing from that port.

Fixes golang#8680.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews, rlh
https://golang.org/cl/136700043

wheatman added a commit to wheatman/go-akaros that referenced this issue Jul 9, 2018

net: make TestSelfConnect less fragile
We believe TestSelfConnect can accidentally connect to
something else listening on or dialing from that port.

Fixes golang#8680.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews, rlh
https://golang.org/cl/136700043

wheatman added a commit to wheatman/go-akaros that referenced this issue Jul 30, 2018

net: make TestSelfConnect less fragile
We believe TestSelfConnect can accidentally connect to
something else listening on or dialing from that port.

Fixes golang#8680.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews, rlh
https://golang.org/cl/136700043

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.