Skip to content

Instantly share code, notes, and snippets.

@tiborvass
Created May 21, 2015 21:46
Show Gist options
  • Save tiborvass/7b8ddf86023d8db62dae to your computer and use it in GitHub Desktop.
Save tiborvass/7b8ddf86023d8db62dae to your computer and use it in GitHub Desktop.
FAIL: docker_cli_build_test.go:1215: DockerSuite.TestBuildAddSingleFileToNonExistingDir
docker_cli_build_test.go:1235:
c.Fatal(err)
... Error: failed to build the image: Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> 4986bf8c1536
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Running in f535bf7260c7
---> eb3c5cdc4104
Removing intermediate container f535bf7260c7
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Running in 3df318b9acaf
panic: open /dev/urandom: operation not permitted
goroutine 1 [running]:
code.google.com/p/go-uuid/uuid.randomBits(0xc2080a71c0, 0x10, 0x10)
/go/src/github.com/docker/docker/vendor/src/code.google.com/p/go-uuid/uuid/util.go:14 +0xbe
code.google.com/p/go-uuid/uuid.NewRandom(0x0, 0x0, 0x0)
/go/src/github.com/docker/docker/vendor/src/code.google.com/p/go-uuid/uuid/version4.go:21 +0x88
code.google.com/p/go-uuid/uuid.New(0x0, 0x0)
/go/src/github.com/docker/docker/vendor/src/code.google.com/p/go-uuid/uuid/uuid.go:39 +0x31
github.com/docker/distribution/context.init()
/go/src/github.com/docker/distribution/context/context.go:30 +0xd7
github.com/docker/distribution/registry/storage/driver.init()
/go/src/github.com/docker/distribution/registry/storage/driver/storagedriver.go:125 +0x4a
github.com/docker/distribution/registry/storage/driver/factory.init()
/go/src/github.com/docker/distribution/registry/storage/driver/factory/factory.go:71 +0x4a
github.com/docker/distribution/registry/storage/driver/filesystem.init()
/go/src/github.com/docker/distribution/registry/storage/driver/filesystem/driver.go:291 +0x42
github.com/docker/docker/graph.init()
/go/src/github.com/docker/docker/graph/tags.go:438 +0x54
github.com/docker/docker/daemon.init()
/go/src/github.com/docker/docker/daemon/wait.go:12 +0x121
main.init()
/go/src/github.com/docker/docker/docker/log.go:14 +0xa9
goroutine 5 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/local/go/src/os/signal/signal_unix.go:27 +0x35
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 7 [runnable]:
text/template/parse.lexText(0xc20806c680, 0xf9e090)
/usr/local/go/src/text/template/parse/lex.go:228 +0x37b
text/template/parse.(*lexer).run(0xc20806c680)
/usr/local/go/src/text/template/parse/lex.go:198 +0x5d
created by text/template/parse.lex
/usr/local/go/src/text/template/parse/lex.go:191 +0x1ac
[8] System error: read parent: connection reset by peer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment