Skip to content

go panic EOF [recovered] on docker exec ... register

I'm getting this with the most recently updated image (from 11 hours ago).

admin@localhost:~/gitlab_runner$ docker run -d --name gitlab-runner --restart always   -v /var/run/docker.sock:/var/run/docker.sock   -v /srv/gitlab-runner/config:/etc/gitlab-runner   gitlab/gitlab-runner:ubuntu
8bfab35bac6849441aee38633af2662ad04ca07bead3b85f2d6f615252d57e21
admin@localhost:~/gitlab_runner$ docker exec gitlab-runner gitlab-runner register

Result:

Running in system-mode.                            
                                                   
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/ci):
panic: EOF [recovered]
	panic: EOF

goroutine 1 [running]:
main.func·001()
	/builds/gitlab-org/gitlab-ci-multi-runner/main.go:42 +0x8b
gitlab.com/gitlab-org/gitlab-ci-multi-runner/commands.(*RegisterCommand).ask(0xc208001680, 0x9aa410, 0x3, 0xa73870, 0x48, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner/commands/register.go:58 +0x271
gitlab.com/gitlab-org/gitlab-ci-multi-runner/commands.(*RegisterCommand).askRunner(0xc208001680)
	/go/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner/commands/register.go:133 +0x78
gitlab.com/gitlab-org/gitlab-ci-multi-runner/commands.(*RegisterCommand).Execute(0xc208001680, 0xc2080503c0)
	/go/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner/commands/register.go:165 +0x19e
gitlab.com/gitlab-org/gitlab-ci-multi-runner/common.Commander.Execute·fm(0xc2080503c0)
	/go/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner/common/command.go:24 +0x43
github.com/codegangsta/cli.Command.Run(0x9cadd0, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9fb410, 0x15, 0x0, ...)
	/go/src/github.com/codegangsta/cli/command.go:127 +0xffe
github.com/codegangsta/cli.(*App).Run(0xc20805c700, 0xc20800a000, 0x2, 0x2, 0x0, 0x0)
	/go/src/github.com/codegangsta/cli/app.go:159 +0xd7b
main.main()
	/builds/gitlab-org/gitlab-ci-multi-runner/main.go:68 +0x38f

goroutine 2 [runnable]:
runtime.forcegchelper()
	/usr/src/go/src/runtime/proc.go:90
runtime.goexit()
	/usr/src/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 3 [runnable]:
runtime.bgsweep()
	/usr/src/go/src/runtime/mgc0.go:82
runtime.goexit()
	/usr/src/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 4 [runnable]:
runtime.runfinq()
	/usr/src/go/src/runtime/malloc.go:712
runtime.goexit()
	/usr/src/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 5 [runnable]:
os/signal.loop()
	/usr/src/go/src/os/signal/signal_unix.go:19
created by os/signal.init·1
	/usr/src/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [runnable]:
gitlab.com/gitlab-org/gitlab-ci-multi-runner/helpers.Reap()
	/go/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner/helpers/reaper_unix.go:7
created by main.main
	/builds/gitlab-org/gitlab-ci-multi-runner/main.go:50 +0x50