Skip to content

Instantly share code, notes, and snippets.

@joshmarlow
Created October 23, 2018 17:12
Show Gist options
  • Save joshmarlow/96bf0f781f2b08c50df13403c52f6bf6 to your computer and use it in GitHub Desktop.
Save joshmarlow/96bf0f781f2b08c50df13403c52f6bf6 to your computer and use it in GitHub Desktop.
Debug output from stderr
panic: interface conversion: interface {} is digitalocean.Config, not *digitalocean.Config
2018/10/23 13:12:41 packer:
2018/10/23 13:12:41 packer: goroutine 91 [running]:
2018/10/23 13:12:41 packer: github.com/hashicorp/packer/builder/digitalocean.(*stepCreateSSHKey).Run(0xc000346080, 0x281cb80, 0xc0001b4380, 0x281a980, 0xc0003841e0, 0x0)
2018/10/23 13:12:41 packer: /Users/azr/go/src/github.com/hashicorp/packer/builder/digitalocean/step_create_ssh_key.go:31 +0xac7
2018/10/23 13:12:41 packer: github.com/hashicorp/packer/helper/multistep.(*BasicRunner).Run(0xc0001b4340, 0x281a980, 0xc0003841e0)
2018/10/23 13:12:41 packer: /Users/azr/go/src/github.com/hashicorp/packer/helper/multistep/basic_runner.go:72 +0x222
2018/10/23 13:12:41 packer: github.com/hashicorp/packer/builder/digitalocean.(*Builder).Run(0xc0004dec00, 0x2822400, 0xc000346040, 0x280ff40, 0xc00019c0e0, 0x281cf40, 0xc00000c008, 0x4bca9c, 0x1e1d9e0, 0x1e1d9e0, ...)
2018/10/23 13:12:41 packer: /Users/azr/go/src/github.com/hashicorp/packer/builder/digitalocean/builder.go:103 +0x6b7
2018/10/23 13:12:41 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc0001c6540, 0x1, 0xc0003b6520, 0x0, 0x0)
2018/10/23 13:12:41 packer: /Users/azr/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:94 +0x1cd
2018/10/23 13:12:41 packer: reflect.Value.call(0xc000528660, 0xc0001c80b0, 0x13, 0x25467a6, 0x4, 0xc000495f18, 0x3, 0x3, 0xc0005302c0, 0x0, ...)
2018/10/23 13:12:41 packer: /usr/local/Cellar/go/1.11/libexec/src/reflect/value.go:447 +0x449
2018/10/23 13:12:41 packer: reflect.Value.Call(0xc000528660, 0xc0001c80b0, 0x13, 0xc0000ce718, 0x3, 0x3, 0x0, 0x0, 0x0)
2018/10/23 13:12:41 packer: /usr/local/Cellar/go/1.11/libexec/src/reflect/value.go:308 +0xa4
2018/10/23 13:12:41 packer: net/rpc.(*service).call(0xc000530280, 0xc0001d4140, 0xc000536170, 0xc000536180, 0xc00047a600, 0xc0001c67a0, 0x1e8d940, 0xc0003b651c, 0x18a, 0x1e1d9e0, ...)
2018/10/23 13:12:41 packer: /usr/local/Cellar/go/1.11/libexec/src/net/rpc/server.go:384 +0x14e
2018/10/23 13:12:41 packer: created by net/rpc.(*Server).ServeCodec
2018/10/23 13:12:41 packer: /usr/local/Cellar/go/1.11/libexec/src/net/rpc/server.go:481 +0x47e
2018/10/23 13:12:41 [INFO] (telemetry) ending digitalocean
2018/10/23 13:12:41 /usr/local/bin/packer: plugin process exited
2018/10/23 13:12:41 ui error: Build 'digitalocean' errored: unexpected EOF
2018/10/23 13:12:41 Builds completed. Waiting on interrupt barrier...
2018/10/23 13:12:41 machine readable: error-count []string{"1"}
2018/10/23 13:12:41 ui error:
==> Some builds didn't complete successfully and had errors:
2018/10/23 13:12:41 machine readable: digitalocean,error []string{"unexpected EOF"}
2018/10/23 13:12:41 ui error: --> digitalocean: unexpected EOF
2018/10/23 13:12:41 ui:
==> Builds finished but no artifacts were created.
2018/10/23 13:12:41 [INFO] (telemetry) Finalizing.
2018/10/23 13:12:41 waiting for all plugin processes to complete...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment