Circleci/picard tag 0.0.4188-9ab0127 breaks setup_remote_docker


#1

Running the cli tool locally after updating circleci, I noticed my local builds were failing on the setup_remote_docker step.

mkdir -p /root/project && cp -r /tmp/_circleci_local_build_repo/. /root/project
====>> Setup a remote Docker engine
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xc93b18]

goroutine 1 [running]:
github.com/circleci/build-agent/runner.runAsRoot(0xf3deed, 0x34, 0x6, 0xef6080, 0xc420198900, 0xc42041a990, 0x26)
	/go/src/github.com/circleci/build-agent/runner/step_setup_remote_docker.go:73 +0x38
github.com/circleci/build-agent/runner.(*SetupRemoteDockerStep).Run(0xc4203ee080, 0x15019c0, 0xc42004c900, 0x14ff6c0, 0xc4201b71d0, 0x0)
	/go/src/github.com/circleci/build-agent/runner/step_setup_remote_docker.go:107 +0x22ff
github.com/circleci/build-agent/runner.(*BasicRunner).Run(0xc4204ed600, 0x15019c0, 0xc42004c900, 0x14ff6c0, 0xc4201b71d0)
	/go/src/github.com/circleci/build-agent/runner/basic_runner.go:49 +0x11f
github.com/circleci/build-agent/runner.(*Runner).Run(0xc420026e00, 0x0, 0x0)
	/go/src/github.com/circleci/build-agent/runner/runner.go:83 +0x986
github.com/circleci/build-agent/cmd.stepRun(0x15582a0, 0xc4203d39c0, 0x0, 0x4)
	/go/src/github.com/circleci/build-agent/cmd/internalStep.go:97 +0x420
github.com/circleci/build-agent/vendor/github.com/spf13/cobra.(*Command).execute(0x15582a0, 0xc4203d3940, 0x4, 0x4, 0x15582a0, 0xc4203d3940)
	/go/src/github.com/circleci/build-agent/vendor/github.com/spf13/cobra/command.go:654 +0x2a2
github.com/circleci/build-agent/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x15584e0, 0x463f2a, 0xc42000a040, 0x14e4717e0279b833)
	/go/src/github.com/circleci/build-agent/vendor/github.com/spf13/cobra/command.go:729 +0x2fe
github.com/circleci/build-agent/vendor/github.com/spf13/cobra.(*Command).Execute(0x15584e0, 0xc420070000, 0x14e4717e0279b833)
	/go/src/github.com/circleci/build-agent/vendor/github.com/spf13/cobra/command.go:688 +0x2b
github.com/circleci/build-agent/cmd.Execute()
	/go/src/github.com/circleci/build-agent/cmd/root.go:41 +0x2d
main.main()
	/go/src/github.com/circleci/build-agent/main.go:14 +0x104
====>> Error executing build steps
Error: Unexpected preparation error: Internal Error - runner failed with exit code: 2

I noticed the circleci script allows you to specify a tag for the circleci/picard image which runs the build. The previous tag from docker hub (circleci --tag 0.0.4171-0daf87a build) appears to work, so it seems this new version broke something.


#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.