$wercker --debug build INFO[0000] docker| --> No Docker host specified, checking: unix:///var/run/docker.sock DEBU[0000] events| BuildStarted DEBU[0000] options| AWSOptions *main.AWSOptions DEBU[0000] options| AWSAccessKeyID string = DEBU[0000] options| AWSRegion string = us-east-1 DEBU[0000] options| AWSSecretAccessKey string = DEBU[0000] options| S3Bucket string = wercker-development DEBU[0000] options| S3PartSize int64 = 104857600 DEBU[0000] options| ApplicationID string = hpc DEBU[0000] options| ApplicationName string = hpc DEBU[0000] options| ApplicationOwnerName string = pjvds DEBU[0000] options| ApplicationStartedByName string = pjvds DEBU[0000] options| AttachOnError bool = false DEBU[0000] options| BuildDir string = /home/pjvds/dev/go/src/github.com/happypancake/hpc/_builds DEBU[0000] options| BuildID string = e33b18ad-4aea-47cb-9b16-890be138d4e4 DEBU[0000] options| CommandTimeout int = 1500000 DEBU[0000] options| ContainerDir string = /home/pjvds/dev/go/src/github.com/happypancake/hpc/_containers DEBU[0000] options| DeployID string = DEBU[0000] options| DeployTarget string = DEBU[0000] options| DirectMount bool = false DEBU[0000] options| DockerOptions *main.DockerOptions DEBU[0000] options| DockerCertPath string = DEBU[0000] options| DockerHost string = unix:///var/run/docker.sock DEBU[0000] options| DockerTLSVerify string = 0 DEBU[0000] options| EnableDevSteps bool = false DEBU[0000] options| GitOptions *main.GitOptions DEBU[0000] options| GitBranch string = master DEBU[0000] options| GitCommit string = dbf69644fca9dd99d53c25b6c55d2fc2c3ae3a63 DEBU[0000] options| GitDomain string = DEBU[0000] options| GitOwner string = pjvds DEBU[0000] options| GitRepository string = DEBU[0000] options| GlobalOptions *main.GlobalOptions DEBU[0000] options| AuthToken string = 0c126c0239241c6277c20df141ecdbebbbbd DEBU[0000] options| AuthTokenStore string = /home/pjvds/.wercker/token DEBU[0000] options| BaseURL string = https://app.wercker.com DEBU[0000] options| Debug bool = true DEBU[0000] options| Journal bool = false DEBU[0000] options| ShowColors bool = false DEBU[0000] options| Verbose bool = true DEBU[0000] options| GuestRoot string = /pipeline DEBU[0000] options| KeenOptions *main.KeenOptions DEBU[0000] options| KeenProjectID string = DEBU[0000] options| KeenProjectWriteKey string = DEBU[0000] options| ShouldKeenMetrics bool = false DEBU[0000] options| Message string = DEBU[0000] options| MntRoot string = /mnt DEBU[0000] options| NoResponseTimeout int = 300000 DEBU[0000] options| Pipeline string = DEBU[0000] options| PipelineID string = e33b18ad-4aea-47cb-9b16-890be138d4e4 DEBU[0000] options| ProjectDir string = /home/pjvds/dev/go/src/github.com/happypancake/hpc/_projects DEBU[0000] options| ProjectID string = hpc DEBU[0000] options| ProjectPath string = /home/pjvds/dev/go/src/github.com/happypancake/hpc DEBU[0000] options| ProjectURL string = DEBU[0000] options| PublishPorts []string = [] DEBU[0000] options| ReportRoot string = /report DEBU[0000] options| ReporterOptions *main.ReporterOptions DEBU[0000] options| ReporterHost string = DEBU[0000] options| ReporterKey string = DEBU[0000] options| ShouldReport bool = false DEBU[0000] options| ShouldArtifacts bool = false DEBU[0000] options| ShouldCommit bool = false DEBU[0000] options| ShouldRemove bool = true DEBU[0000] options| ShouldStoreLocal bool = false DEBU[0000] options| ShouldStoreS3 bool = false DEBU[0000] options| SourceDir string = DEBU[0000] options| StepDir string = /home/pjvds/dev/go/src/github.com/happypancake/hpc/_steps DEBU[0000] options| Tag string = master DEBU[0000] options| WerckerYml string = INFO[0000] main| --> Executing pipeline INFO[0000] main| --> Running step: setup environment DEBU[0000] events| BuildStepStarted DEBU[0000] events| Box *main.Box DEBU[0000] events| Build main.Pipeline = DEBU[0000] events| Order int = 2 DEBU[0000] events| Step main.IStep DEBU[0000] events| BaseStep *main.BaseStep = &{ setup environment wercker 1.0.174 } DEBU[0000] events| data map[string]string = DEBU[0000] events| logger *main.LogEntry = DEBU[0000] events| stepDesc *main.StepDesc = DEBU[0000] events| url string = INFO[0000] literal| [x] stdout "Running wercker version: 1.0.174 (Compiled at: 2015-06-24T14:02:21Z, Git commit: ac873bc1c5a8780889fd1454940a0037aec03e2b)\n" DEBU[0000] runner| Application: hpc INFO[0000] literal| [x] stdout "Using config:\n# This references a standard debian container from the\n# Docker Hub https://registry.hub.docker.com/_/debian/\n# Read more about containers on our dev center\n# http://devcenter.wercker.com/docs/containers/index.html\nbox: golang\n# You can also use services such as databases. Read more on our dev center:\n# http://devcenter.wercker.com/docs/services/index.html\n# services:\n # - postgres\n # http://devcenter.wercker.com/docs/services/postgresql.html\n\n # - mongodb\n # http://devcenter.wercker.com/docs/services/mongodb.html\n\n# This is the build pipeline. Pipelines are the core of wercker\n# Read more about pipelines on our dev center\n# http://devcenter.wercker.com/docs/pipelines/index.html\nbuild:\n # Steps make up the actions in your pipeline\n # Read more about steps on our dev center:\n # http://devcenter.wercker.com/docs/steps/index.html\n steps:\n - script:\n name: pack\n code: |\n ./bin/deploy\n\n" DEBU[0000] docker| No registry address provided, using https://registry.hub.docker.com INFO[0001] literal| [x] docker "\n" INFO[0003] literal| [x] docker "Pulling from library/golang: latest\n" INFO[0003] literal| [x] docker "Already exists: 575489a51992\n" INFO[0003] literal| [x] docker "Already exists: 6845b83c79fb\n" INFO[0003] literal| [x] docker "Already exists: f9fffdafe16d\n" INFO[0003] literal| [x] docker "Already exists: d63502d4fbd8\n" INFO[0003] literal| [x] docker "Already exists: 12ebbcd8c227\n" INFO[0003] literal| [x] docker "Already exists: 90c3d25eb433\n" INFO[0003] literal| [x] docker "Already exists: 42d74f76ccd1\n" INFO[0003] literal| [x] docker "Already exists: 28af37d8de25\n" INFO[0003] literal| [x] docker "Already exists: 769aafb86d21\n" INFO[0003] literal| [x] docker "Already exists: caa5032671ea\n" INFO[0003] literal| [x] docker "Already exists: 85e251cd4f9a\n" INFO[0003] literal| [x] docker "Already exists: 8737716ccc48\n" INFO[0003] literal| [x] docker "Already exists: cfd4c0b8a7f3\n" INFO[0003] literal| [x] docker "Already exists: f6271e8f3723\n" INFO[0003] literal| [x] docker "Digest: sha256:b4b343a51ff64e33934f3e7024278e46cfe9ad0a0d261868997219b5eb3f6c99\n" INFO[0003] literal| [x] docker "Status: Image is up to date for docker.io/golang:latest\n" INFO[0003] literal| [x] docker "\n" DEBU[0003] runner| Copying source to build directory DEBU[0003] runner| Steps: 2 INFO[0003] runner| --> Preparing step: wercker-init INFO[0003] runner| --> Preparing step: script DEBU[0003] box| Starting base box: golang:latest DEBU[0004] box| Docker Container: d632e54b8b5b594c5adfb7929403770e2e4dea041e6c364b18d07d1fe42c5560 DEBU[0004] box| Creating links: [] DEBU[0004] runner| Attaching session to base box DEBU[0004] dockertr| Attaching to container: d632e54b8b5b594c5adfb7929403770e2e4dea041e6c364b18d07d1fe42c5560 DEBU[0004] pipeline| Base Pipeline Environment: DEBU[0004] pipeline| WERCKER true DEBU[0004] pipeline| WERCKER_ROOT /pipeline/source DEBU[0004] pipeline| WERCKER_SOURCE_DIR /pipeline/source DEBU[0004] pipeline| WERCKER_CACHE_DIR /cache DEBU[0004] pipeline| WERCKER_OUTPUT_DIR /pipeline/output DEBU[0004] pipeline| WERCKER_PIPELINE_DIR /pipeline DEBU[0004] pipeline| WERCKER_REPORT_DIR /pipeline/report DEBU[0004] pipeline| WERCKER_APPLICATION_ID hpc DEBU[0004] pipeline| WERCKER_APPLICATION_NAME hpc DEBU[0004] pipeline| WERCKER_APPLICATION_OWNER_NAME pjvds DEBU[0004] pipeline| WERCKER_APPLICATION_URL https://app.wercker.com/#application/hpc DEBU[0004] pipeline| TERM xterm-256color DEBU[0004] pipeline| BUILD true DEBU[0004] pipeline| CI true DEBU[0004] pipeline| WERCKER_BUILD_ID e33b18ad-4aea-47cb-9b16-890be138d4e4 DEBU[0004] pipeline| WERCKER_BUILD_URL https://app.wercker.com/#build/e33b18ad-4aea-47cb-9b16-890be138d4e4 DEBU[0004] pipeline| WERCKER_GIT_DOMAIN DEBU[0004] pipeline| WERCKER_GIT_OWNER pjvds DEBU[0004] pipeline| WERCKER_GIT_REPOSITORY DEBU[0004] pipeline| WERCKER_GIT_BRANCH master DEBU[0004] pipeline| WERCKER_GIT_COMMIT dbf69644fca9dd99d53c25b6c55d2fc2c3ae3a63 DEBU[0004] runner| Setting up guest (base box) INFO[0004] literal| [ ] stdin "mkdir \"/pipeline\"\n" INFO[0004] literal| [ ] stdin "echo 478e65bd-aaaf-4370-9541-498dbacdede0 $?\n" INFO[0004] literal| [ ] stdout "478e65bd-aaaf-4370-9541-498dbacdede0 0\n" INFO[0004] literal| [ ] stdin "cp -r \"/mnt/source\" \"/pipeline/source\"\n" INFO[0004] literal| [ ] stdin "echo d60e9ae4-6c4a-4aae-8b69-a6acc77cdabe $?\n" INFO[0004] literal| [ ] stdout "cp: " INFO[0004] literal| [ ] stdout "cannot access '/mnt/source'" INFO[0004] literal| [ ] stdout ": Permission denied" INFO[0004] literal| [ ] stdout "\n" INFO[0004] literal| [ ] stdout "d60e9ae4-6c4a-4aae-8b69-a6acc77cdabe 1\n" DEBU[0004] events| BuildStepFinished DEBU[0004] events| ArtifactURL string = DEBU[0004] events| Box *main.Box DEBU[0004] events| Name string = golang:latest DEBU[0004] events| ShortName string = golang DEBU[0004] events| cmd string = DEBU[0004] events| config *main.BoxConfig = DEBU[0004] events| container *docker.Container = DEBU[0004] events| images []*docker.Image = DEBU[0004] events| logger *main.LogEntry = DEBU[0004] events| networkDisabled bool = DEBU[0004] events| options *main.PipelineOptions = DEBU[0004] events| repository string = DEBU[0004] events| services []*main.ServiceBox = DEBU[0004] events| tag string = DEBU[0004] events| Build main.Pipeline = &{0xc2080111f0 0xc2080dc200} DEBU[0004] events| Message string = Command exited with exit code: 1 DEBU[0004] events| Order int = 2 DEBU[0004] events| PackageURL string = DEBU[0004] events| Step main.IStep DEBU[0004] events| BaseStep *main.BaseStep = &{ setup environment wercker 1.0.174 } DEBU[0004] events| data map[string]string = DEBU[0004] events| logger *main.LogEntry = DEBU[0004] events| stepDesc *main.StepDesc = DEBU[0004] events| url string = DEBU[0004] events| Successful bool = false DEBU[0004] events| WerckerYamlContents string = # This references a standard debian container from the # Docker Hub https://registry.hub.docker.com/_/debian/ # Read more about containers on our dev center # http://devcenter.wercker.com/docs/containers/index.html box: golang # You can also use services such as databases. Read more on our dev center: # http://devcenter.wercker.com/docs/services/index.html # services: # - postgres # http://devcenter.wercker.com/docs/services/postgresql.html # - mongodb # http://devcenter.wercker.com/docs/services/mongodb.html # This is the build pipeline. Pipelines are the core of wercker # Read more about pipelines on our dev center # http://devcenter.wercker.com/docs/pipelines/index.html build: # Steps make up the actions in your pipeline # Read more about steps on our dev center: # http://devcenter.wercker.com/docs/steps/index.html steps: - script: name: pack code: | ./bin/deploy ERRO[0004] main| --> Step failed: setup environment INFO[0004] literal| [x] stderr "Command exited with exit code: 1\n" PANI[0004] root| Command exited with exit code: 1 DEBU[0004] box| Stopping container d632e54b8b5b594c5adfb7929403770e2e4dea041e6c364b18d07d1fe42c5560 DEBU[0005] dockertr| Container finished with status code: 137 d632e54b8b5b594c5adfb7929403770e2e4dea041e6c364b18d07d1fe42c5560 DEBU[0005] box| Removing container: d632e54b8b5b594c5adfb7929403770e2e4dea041e6c364b18d07d1fe42c5560 DEBU[0009] events| BuildFinished DEBU[0009] events| Box *main.Box DEBU[0009] events| Result string = failed DEBU[0009] events| FullPipelineFinished DEBU[0009] events| AfterStepSuccessful bool = false DEBU[0009] events| MainSuccessful bool = false DEBU[0009] events| RanAfterSteps bool = false panic: (*logrus.Entry) (0x99a800,0xc20829cc00) goroutine 1 [running]: github.com/Sirupsen/logrus.(*Entry).log(0xc20829cc00, 0x0, 0xc208241000, 0x20) /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/Sirupsen/logrus/entry.go:103 +0x634 github.com/Sirupsen/logrus.(*Entry).Panic(0xc20829cc00, 0xc2080a5208, 0x1, 0x1) /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/Sirupsen/logrus/entry.go:148 +0x7f github.com/Sirupsen/logrus.(*Entry).Panicln(0xc20829cc00, 0xc2080a5558, 0x1, 0x1) /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/Sirupsen/logrus/entry.go:241 +0x12b github.com/Sirupsen/logrus.(*Logger).Panicln(0xc208068bc0, 0xc2080a5558, 0x1, 0x1) /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/Sirupsen/logrus/logger.go:160 +0xdf main.(*SoftExit).Exit(0xc2080a5410, 0xc2080a5558, 0x1, 0x1, 0x0, 0x0) /gopath/src/github.com/wercker/sentcli/main.go:307 +0x6f main.executePipeline(0xc2080dc200, 0xad1b00, 0x0, 0x0) /gopath/src/github.com/wercker/sentcli/main.go:811 +0x109d main.cmdBuild(0xc2080dc200, 0x0, 0x0) /gopath/src/github.com/wercker/sentcli/main.go:330 +0x6d main.func·001(0xc2080a06c0) /gopath/src/github.com/wercker/sentcli/main.go:39 +0x2c4 github.com/codegangsta/cli.Command.Run(0x9bae50, 0x5, 0x9ba830, 0x1, 0x9dcff0, 0xf, 0x0, 0x0, 0x0, 0x0, ...) /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/codegangsta/cli/command.go:113 +0x105a github.com/codegangsta/cli.(*App).Run(0xc208044270, 0xc20800a000, 0x3, 0x3, 0x0, 0x0) /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/codegangsta/cli/app.go:156 +0xd19 main.main() /gopath/src/github.com/wercker/sentcli/main.go:295 +0x4e6 goroutine 5 [syscall]: os/signal.loop() /goroot/src/os/signal/signal_unix.go:21 +0x1f created by os/signal.init·1 /goroot/src/os/signal/signal_unix.go:27 +0x35 goroutine 6 [chan receive]: main.func·038() /gopath/src/github.com/wercker/sentcli/signal.go:81 +0x8b created by main.(*SignalMonkey).Register /gopath/src/github.com/wercker/sentcli/signal.go:92 +0x190 goroutine 33 [syscall, locked to thread]: runtime.goexit() /goroot/src/runtime/asm_amd64.s:2232 +0x1 goroutine 20 [semacquire]: sync.(*Cond).Wait(0xc2082a0030) /goroot/src/sync/cond.go:62 +0x9e io.(*pipe).read(0xc2082a0000, 0xc208275802, 0x5fe, 0x5fe, 0x0, 0x0, 0x0) /goroot/src/io/pipe.go:52 +0x303 io.(*PipeReader).Read(0xc2080ee048, 0xc208275802, 0x5fe, 0x5fe, 0x0, 0x0, 0x0) /goroot/src/io/pipe.go:134 +0x5b encoding/json.(*Decoder).readValue(0xc208124300, 0xc207fd39cf, 0x0, 0x0) /goroot/src/encoding/json/stream.go:124 +0x5e1 encoding/json.(*Decoder).Decode(0xc208124300, 0x8e85e0, 0xc2082c6300, 0x0, 0x0) /goroot/src/encoding/json/stream.go:44 +0x7b main.emitStatus(0x7f2fac2bbd48, 0xc2080ee048, 0xc2080dc200) /gopath/src/github.com/wercker/sentcli/box.go:530 +0x16d created by main.(*Box).Fetch /gopath/src/github.com/wercker/sentcli/box.go:446 +0x788 goroutine 51 [chan receive]: main.(*Sender).Read(0xc20806a0a8, 0xc2082be000, 0x8000, 0x8000, 0x2d, 0x0, 0x0) /gopath/src/github.com/wercker/sentcli/session.go:46 +0x71 io.Copy(0x7f2fac2b37d8, 0xc20806a0c0, 0x7f2fac2bdea8, 0xc20806a0a8, 0x93, 0x0, 0x0) /goroot/src/io/io.go:362 +0x1f6 github.com/fsouza/go-dockerclient.func·002() /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/fsouza/go-dockerclient/client.go:500 +0x98 created by github.com/fsouza/go-dockerclient.(*Client).hijack /gopath/src/github.com/wercker/sentcli/_vendor/src/github.com/fsouza/go-dockerclient/client.go:506 +0x9bb goroutine 66 [select]: main.func·035() /gopath/src/github.com/wercker/sentcli/session.go:319 +0x1b4 created by main.(*Session).SendChecked /gopath/src/github.com/wercker/sentcli/session.go:328 +0x5b2 goroutine 71 [select]: main.func·035() /gopath/src/github.com/wercker/sentcli/session.go:319 +0x1b4 created by main.(*Session).SendChecked /gopath/src/github.com/wercker/sentcli/session.go:328 +0x5b2