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: TestDialGoogle fails #13

Closed
gopherbot opened this issue Nov 11, 2009 · 4 comments
Closed

net: TestDialGoogle fails #13

gopherbot opened this issue Nov 11, 2009 · 4 comments
Milestone

Comments

@gopherbot
Copy link

by mafafa2:

What steps will reproduce the problem?

run ./all.bash


What is the expected output? What do you see instead?

I expect it to display:
--- cd ../test
N known bugs; 0 unexpected bugs

I see:

.
.
.
make[2]: Entering directory `/home/ricardo/go/src/pkg/net'
6g -o _gotest_.6 dnsclient.go dnsconfig.go dnsmsg.go fd.go fd_linux.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_.6 
make[2]: Leaving directory `/home/ricardo/go/src/pkg/net'
--- FAIL: net.TestDialGoogle
    -- 74.125.19.99:80 --
    -- www.google.com:80 --
    -- 74.125.19.99:http --
    -- www.google.com:http --
    Dial("tcp", "", "www.google.com:http") = _, dial tcp 
www.google.com:http: lookup www.google.com.supercable.net.ve. on 
128.107.241.185:53: no answer from server
    -- 074.125.019.099:0080 --
    -- [::ffff:74.125.19.99]:80 --
    -- [::ffff:4a7d:1363]:80 --
    -- [0:0:0:0:0000:ffff:74.125.19.99]:80 --
    -- [0:0:0:0:000000:ffff:74.125.19.99]:80 --
    -- [0:0:0:0:0:ffff::74.125.19.99]:80 --
FAIL
make[1]: *** [test] Error 1
make[1]: Leaving directory `/home/ricardo/go/src/pkg/net'
make: *** [net.test] Error 2

What is your $GOOS?  $GOARCH?

$GOOS=linux
$GOARCH=amd64

Which revision are you sync'ed to?  (hg log -l 1)

changeset:   3952:64e703cb307d
tag:         tip
user:        Russ Cox <rsc@golang.org>
date:        Tue Nov 10 14:09:01 2009 -0800
summary:     update video links

Please provide any additional information below.

none
@agl
Copy link
Contributor

agl commented Nov 11, 2009

Comment 1:

Fixed by 433497578a I suspect. hg pull -u to update your tree.

Status changed to Fixed.

@gopherbot
Copy link
Author

Comment 2 by ic_man_777@hotmail.com:

I had the same problem trying to compile go, I update the project but I got the same
error :/  my archtecture is 386

@gopherbot
Copy link
Author

Comment 3:

CL https://golang.org/cl/91830043 mentions this issue.

@nigeltao
Copy link
Contributor

Comment 4:

Comment #3 is a gobot bug. CL 91830043 does not mention this issue. It mentions issue
#13 of the leveldb-go project, not the go project. gobot should have tagged
https://code.google.com/p/leveldb-go/issues/detail?id=13 instead.

@mikioh mikioh changed the title --- FAIL: net.TestDialGoogle net: TestDialGoogle fails Aug 5, 2015
@mikioh mikioh added this to the Go1.5 milestone Aug 5, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
tklauser pushed a commit to tklauser/go that referenced this issue May 8, 2019
Fixes golang#13

math.Float32bits returns a uint32, and then a cast to int64 used to convert
it into a 64bit immediate which overflowed the signed int32 bounds.
Casting it into a signed int32 first forces the compiler to sign extend
the value returned by math.Float32bits which correctly generates the 32bit
signed immediate for the MOV instruction.

Change-Id: Ia531a26eeb4e344aff490ab73a35b8cf31c9e6dc
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

4 participants