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

pkg/net test error #374

Closed
gopherbot opened this issue Dec 3, 2009 · 2 comments
Closed

pkg/net test error #374

gopherbot opened this issue Dec 3, 2009 · 2 comments

Comments

@gopherbot
Copy link
Contributor

by treyharris:

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. cd pkg/net
2. make test

What is the expected output? What do you see instead?
gotest
rm -f _test/net.a _gotest_.8
8g -o _gotest_.8 dnsclient.go dnsconfig.go dnsmsg.go fd.go fd_darwin.go ip.go ipsock.go 
net.go parse.go port.go sock.go tcpsock.go udpsock.go unixsock.go    dialgoogle_test.go 
ip_test.go net_test.go parse_test.go port_test.go server_test.go timeout_test.go
rm -f _test/net.a
gopack grc _test/net.a _gotest_.8 
--- FAIL: net.TestUDPServer
    TestPacket udp 0.0.0.0 127.0.0.1
    TestPacket udp  127.0.0.1
    TestPacket udp [::] [::ffff:127.0.0.1]
    TestPacket udp [::] 127.0.0.1
    TestPacket udp 0.0.0.0 [::ffff:127.0.0.1]
    TestPacket udp 0.0.0.0 127.0.0.1
    TestPacket udp  127.0.0.1
    TestPacket udp [::] [::ffff:127.0.0.1]
    fd.Read() = 0, read udp:127.0.0.1:50796->127.0.0.1:50224: resource temporarily 
unavailable (want 0, nil)
FAIL
make: *** [test] Error 1


What is your $GOOS?  $GOARCH?

darwin 386

Which revision are you using?  (hg identify)
68ebc44e8429 tip

Please provide any additional information below.
dho asked me on IRC to submit this issue.
@rsc
Copy link
Contributor

rsc commented Dec 4, 2009

Comment 1:

Seems to be a non-deterministic bug, perhaps timing based.
This is a sufficiently obscure test that I'm going to just disable it.
I believe the bug is in the test, not the actual code.

Owner changed to r...@golang.org.

Status changed to Started.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2009

Comment 2:

This issue was closed by revision 3b858fb.

Status changed to Fixed.

Merged into issue #-.

@gopherbot gopherbot added the fixed label Dec 4, 2009
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants