On master, following contributor instructions, trying to run the unit tests, I get:
vagrant@precise64:~/docker$ sudo docker run -lxc-conf=lxc.aa_profile=unconfined -privileged -v `pwd`:/go/src/github.com/dotcloud/docker docker hack/make.sh test
/proc/self/fd /go/src/github.com/dotcloud/docker
/go/src/github.com/dotcloud/docker
bundles/0.6.3-dev already exists. Removing.
---> Making bundle: test (in bundles/0.6.3-dev/test)
Tue Oct 8 23:12:24 UTC 2013
++ cd .
++ go test -v -ldflags '-X main.GITCOMMIT 2d425af -X main.VERSION 0.6.3-dev -d -w'
warning: building out-of-date packages:
code.google.com/p/go.net/websocket
github.com/dotcloud/tar
github.com/dotcloud/docker/utils
github.com/dotcloud/docker/auth
github.com/dotcloud/docker/registry
github.com/dotcloud/docker/term
github.com/gorilla/context
github.com/gorilla/mux
github.com/kr/pty
installing these packages with 'go test -i' will speed future tests.
Pulling repository docker-test-image
panic: Get https://index.docker.io/v1/images/docker-test-image/ancestry: lookup index.docker.io. on 10.0.2.3:53: no answer from server
goroutine 1 [running]:
github.com/dotcloud/docker.init·3()
/go/src/github.com/dotcloud/docker/runtime_test.go:107 +0x4cd
github.com/dotcloud/docker.init()
/go/src/github.com/dotcloud/docker/z_final_test.go:17 +0x1f3
main.init()
github.com/dotcloud/docker/_test/_testmain.go:290 +0x3b
goroutine 3 [syscall]:
os/signal.loop()
/goroot/src/pkg/os/signal/signal_unix.go:21 +0x1c
created by os/signal.init·1
/goroot/src/pkg/os/signal/signal_unix.go:27 +0x2f
goroutine 11 [select]:
github.com/dotcloud/docker.(*IPAllocator).run(0xc200143220)
/go/src/github.com/dotcloud/docker/network.go:437 +0x320
created by github.com/dotcloud/docker.newIPAllocator
/go/src/github.com/dotcloud/docker/network.go:478 +0xbd
goroutine 12 [chan send]:
github.com/dotcloud/docker.(*PortAllocator).runFountain(0xc200143240)
/go/src/github.com/dotcloud/docker/network.go:345 +0x4b
created by github.com/dotcloud/docker.newPortAllocator
/go/src/github.com/dotcloud/docker/network.go:384 +0x9a
goroutine 13 [chan send]:
github.com/dotcloud/docker.(*PortAllocator).runFountain(0xc200143260)
/go/src/github.com/dotcloud/docker/network.go:345 +0x4b
created by github.com/dotcloud/docker.newPortAllocator
/go/src/github.com/dotcloud/docker/network.go:384 +0x9a
exit status 2
FAIL github.com/dotcloud/docker 80.097s
2013/10/08 23:13:47 read unix /var/run/docker.sock: connection reset by peer
On master, following contributor instructions, trying to run the unit tests, I get: