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

Http redirect test fails on install #199

Closed
gopherbot opened this issue Nov 15, 2009 · 5 comments
Closed

Http redirect test fails on install #199

gopherbot opened this issue Nov 15, 2009 · 5 comments

Comments

@gopherbot
Copy link
Contributor

by dahankzter:

A Fresh clone of the repo leads to this during install with 'all.bash'

All my programs (for testing and playing around) works fine.
Its just this test that fail.

Install test-phase fails with this output:

6g -o _gotest_.6 client.go fs.go request.go server.go status.go url.go   
client_test.go request_test.go url_test.go
rm -f _test/http.a
gopack grc _test/http.a _gotest_.6 
make[2]: Leaving directory `/opt/go/src/pkg/http'
--- FAIL: http.TestRedirect
    Get http://codesearch.google.com/: dial tcp codesearch.google.com:http:
lookup codesearch.google.com. on 192.168.0.1:53: no answer from server
FAIL
make[1]: *** [test] Error 1
make[1]: Leaving directory `/opt/go/src/pkg/http'
make: *** [http.test] Error 2

Environment and repo info:
GOOS=linux
COARCH=amd64

changeset:   4052:b72ec78019b4
tag:         tip
user:        Russ Cox <[email protected]>
date:        Sun Nov 15 00:00:05 2009 -0800
summary:     cc: drop redundant strcpy
@gopherbot
Copy link
Contributor Author

Comment 1 by jesse.dailey:

Looks like your local DNS is failing...
"lookup codesearch.google.com. on 192.168.0.1:53: no answer from server"
That is probably your home router/modem.

@gopherbot
Copy link
Contributor Author

Comment 2 by dahankzter:

Not really sure its the case, in the terminal nslookup gives this:
(And yes it hits my dlink router first)
Server:     192.168.0.1
Address:    192.168.0.1#53
Non-authoritative answer:
codesearch.google.com   canonical name = www3.l.google.com.
Name:   www3.l.google.com
Address: 216.239.59.113
Name:   www3.l.google.com
Address: 216.239.59.101
Name:   www3.l.google.com
Address: 216.239.59.100
Name:   www3.l.google.com
Address: 216.239.59.102

@rsc
Copy link
Contributor

rsc commented Nov 15, 2009

Comment 3:

Status changed to Duplicate.

Merged into issue #20.

@gopherbot
Copy link
Contributor Author

Comment 4 by [email protected]:

I get the same blocking error :
(...)
cd http && gomake test
gotest
rm -f _test/http.a _gotest_.6
6g -o _gotest_.6 client.go fs.go request.go server.go status.go url.go   
client_test.go request_test.go url_test.go
rm -f _test/http.a
gopack grc _test/http.a _gotest_.6 
--- FAIL: http.TestRedirect
    Get http://codesearch.google.com/: dial tcp codesearch.google.com:http: lookup
codesearch.google.com. on 192.168.0.1:53: no answer from server
FAIL
make[1]: *** [test] Error 1
make: *** [http.test] Error 2
== System properties : ==
$ hg log -l 1
changeset:   4108:d1b75410b793
tag:         tip
user:        Adam Langley <[email protected]>
date:        Tue Nov 17 18:21:47 2009 -0800
summary:     crypto/rsa: add PKCS#1 v1.5 signature support.
export GOROOT="$HOME/Documents/Development/Go"
export GOARCH=amd64
export GOOS=darwin
export GOBIN="$HOME/Applications/bin"
System : MacBook 3.1, Snow Leopard
Darwin host.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009;
root:xnu-1486.2.11~1/RELEASE_I386 i386

@gopherbot
Copy link
Contributor Author

Comment 5 by kiwane:

By disabling Firewall in System Preferences -> Security panel, the test succeeds.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
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