Skip to content

Instantly share code, notes, and snippets.

@mitchellh
Created August 22, 2013 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitchellh/6311139 to your computer and use it in GitHub Desktop.
Save mitchellh/6311139 to your computer and use it in GitHub Desktop.
2013/08/22 08:47:17 Packer Version: 0.3.5 dev cfb53005ff99ce34543108789b10332a5275b665+CHANGES
2013/08/22 08:47:17 Packer Target OS/Arch: darwin amd64
2013/08/22 08:47:17 Detected home directory from env var: /Users/mitchellh
2013/08/22 08:47:17 Attempting to open config file: /Users/mitchellh/.packerconfig
2013/08/22 08:47:17 File doesn't exist, but doesn't need to. Ignoring.
2013/08/22 08:47:17 Packer config: &{PluginMinPort:0 PluginMaxPort:0 Builders:map[amazon-ebs:packer-builder-amazon-ebs amazon-chroot:packer-builder-amazon-chroot amazon-instance:packer-builder-amazon-instance digitalocean:packer-builder-digitalocean virtualbox:packer-builder-virtualbox vmware:packer-builder-vmware] Commands:map[build:packer-command-build fix:packer-command-fix inspect:packer-command-inspect validate:packer-command-validate] PostProcessors:map[vagrant:packer-post-processor-vagrant] Provisioners:map[file:packer-provisioner-file shell:packer-provisioner-shell salt-masterless:packer-provisioner-salt-masterless]}
2013/08/22 08:47:17 Setting cache directory: /Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer_cache
2013/08/22 08:47:17 Environment.Cli: []string{"build", "-only=amazon-ebs,virtulbox,vmware", "local/example.json"}
2013/08/22 08:47:17 command + args: []string{"build", "-only=amazon-ebs,virtulbox,vmware", "local/example.json"}
2013/08/22 08:47:17 Loading command: build
2013/08/22 08:47:17 Creating plugin client for path: ./bin/packer-command-build
2013/08/22 08:47:17 Starting plugin: ./bin/packer-command-build []string{"./bin/packer-command-build"}
2013/08/22 08:47:17 Waiting for RPC address for: ./bin/packer-command-build
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Preparing to serve a command plugin...
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Plugin minimum port: 10000
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Plugin maximum port: 25000
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Plugin address: 127.0.0.1:10000
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Waiting for connection...
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Serving a plugin connection...
2013/08/22 08:47:17 Executing command: build
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Reading template: local/example.json
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Creating build: amazon-ebs
2013/08/22 08:47:17 Loading builder: amazon-ebs
2013/08/22 08:47:17 Creating plugin client for path: ./bin/packer-builder-amazon-ebs
2013/08/22 08:47:17 Starting plugin: ./bin/packer-builder-amazon-ebs []string{"./bin/packer-builder-amazon-ebs"}
2013/08/22 08:47:17 Waiting for RPC address for: ./bin/packer-builder-amazon-ebs
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 Preparing to serve a builder plugin...
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 Plugin minimum port: 10000
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 Plugin maximum port: 25000
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 Plugin address: 127.0.0.1:10002
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 Waiting for connection...
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 Serving a plugin connection...
2013/08/22 08:47:17 Loading provisioner: shell
2013/08/22 08:47:17 Creating plugin client for path: ./bin/packer-provisioner-shell
2013/08/22 08:47:17 Starting plugin: ./bin/packer-provisioner-shell []string{"./bin/packer-provisioner-shell"}
2013/08/22 08:47:17 Waiting for RPC address for: ./bin/packer-provisioner-shell
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Preparing to serve a provisioner plugin...
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Plugin minimum port: 10000
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Plugin maximum port: 25000
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Plugin address: 127.0.0.1:10004
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Waiting for connection...
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Serving a plugin connection...
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Skipping build 'amazon-chroot' because not specified by -only.
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Skipping build 'amazon-instance' because not specified by -only.
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Skipping build 'digitalocean' because not specified by -only.
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Skipping build 'virtualbox' because not specified by -only.
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Creating build: vmware
2013/08/22 08:47:17 Loading builder: vmware
2013/08/22 08:47:17 Creating plugin client for path: ./bin/packer-builder-vmware
2013/08/22 08:47:17 Starting plugin: ./bin/packer-builder-vmware []string{"./bin/packer-builder-vmware"}
2013/08/22 08:47:17 Waiting for RPC address for: ./bin/packer-builder-vmware
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Preparing to serve a builder plugin...
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Plugin minimum port: 10000
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Plugin maximum port: 25000
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Plugin address: 127.0.0.1:10006
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Waiting for connection...
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Serving a plugin connection...
2013/08/22 08:47:17 Loading provisioner: shell
2013/08/22 08:47:17 Creating plugin client for path: ./bin/packer-provisioner-shell
2013/08/22 08:47:17 Starting plugin: ./bin/packer-provisioner-shell []string{"./bin/packer-provisioner-shell"}
2013/08/22 08:47:17 Waiting for RPC address for: ./bin/packer-provisioner-shell
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Preparing to serve a provisioner plugin...
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Plugin minimum port: 10000
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Plugin maximum port: 25000
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Plugin address: 127.0.0.1:10008
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Waiting for connection...
2013/08/22 08:47:17 ./bin/packer-provisioner-shell: 2013/08/22 08:47:17 Serving a plugin connection...
2013/08/22 08:47:17 ui: amazon-ebs output will be in this color.
2013/08/22 08:47:17 ui: vmware output will be in this color.
2013/08/22 08:47:17 ui:
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Build debug mode: false
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Force build: false
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Preparing build: amazon-ebs
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerUserVars:map[access_key:AKIAJEFIQ5YRIPJGG52Q secret_key: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]} AccessConfig:{AccessKey:AKIAJEFIQ5YRIPJGG52Q SecretKey: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 RawRegion:us-east-1} AMIConfig:{AMIName:packer-ami 1377186437 AMIDescription: AMIUsers:[] AMIGroups:[] AMIProductCodes:[]} BlockDevices:{AMIMappings:[] LaunchMappings:[]} RunConfig:{SourceAmi:ami-de0d9eb7 IamInstanceProfile: InstanceType:m1.small UserData: UserDataFile: RawSSHTimeout:1m SSHUsername:ubuntu SSHPort:22 SecurityGroupId: SubnetId: VpcId: sshTimeout:60000000000} Tags:map[] tpl:0xc2001415c0}
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Preparing build: vmware
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Starting build run: vmware
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Starting build run: amazon-ebs
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Waiting on builds to complete...
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Running builder: vmware
2013/08/22 08:47:17 ./bin/packer-command-build: 2013/08/22 08:47:17 Running builder: amazon-ebs
2013/08/22 08:47:17 ui: ==> amazon-ebs: Creating temporary keypair for this instance...
2013/08/22 08:47:17 ui: ==> vmware: Downloading or copying ISO
2013/08/22 08:47:17 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:17 temporary keypair name: packer beafe8287b1b44d1247bb75c09717dd4
2013/08/22 08:47:17 ui:  vmware: Downloading or copying: file:///Users/mitchellh/Downloads/ubuntu-12.04.2-server-amd64.iso
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Acquiring lock to download: file:///Users/mitchellh/Downloads/ubuntu-12.04.2-server-amd64.iso
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/Users/mitchellh/Downloads/ubuntu-12.04.2-server-amd64.iso", RawQuery:"", Fragment:""}
2013/08/22 08:47:17 ./bin/packer-builder-vmware: 2013/08/22 08:47:17 Verifying checksum of /Users/mitchellh/Downloads/ubuntu-12.04.2-server-amd64.iso
2013/08/22 08:47:19 ui: ==> amazon-ebs: Creating temporary security group for this instance...
2013/08/22 08:47:19 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:19 Temporary group name: packer f8b5099f4f5a460127b113b44fa8bc22
2013/08/22 08:47:19 ui: ==> vmware: Creating floppy disk...
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Floppy path: /var/folders/_z/htl39wc13h974ypr7r1gymmh0000gn/T/packer838770449
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Initializing block device backed by temporary file
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Formatting the block device with a FAT filesystem...
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Initializing FAT filesystem on block device
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Reading the root directory from the filesystem
2013/08/22 08:47:19 ui:  vmware: Copying: data.txt
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Adding file to floppy: local/data.txt
2013/08/22 08:47:19 ui: ==> vmware: Creating virtual machine disk
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Executing: /Applications/VMware Fusion.app/Contents/Library/vmware-vdiskmanager [-c -s 40000M -a lsilogic -t 1 output-vmware/disk.vmdk]
2013/08/22 08:47:19 ui: ==> amazon-ebs: Authorizing SSH access on the temporary security group...
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 stdout: Creating disk 'output-vmware/disk.vmdk'
2013/08/22 08:47:19 ./bin/packer-builder-vmware: Virtual disk creation successful.
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 stderr:
2013/08/22 08:47:19 ui: ==> vmware: Building and writing VMX file
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Setting custom VMX data...
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Setting VMX: 'memsize' = '1024'
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Floppy path present, setting in VMX
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Trying port: 8561
2013/08/22 08:47:19 ui: ==> vmware: Starting HTTP server on port 8561
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Looking for available port between 5900 and 6000
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Trying port: 5974
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Found available VNC port: 5974
2013/08/22 08:47:19 ui: ==> vmware: Starting virtual machine...
2013/08/22 08:47:19 ./bin/packer-builder-vmware: 2013/08/22 08:47:19 Executing: /Applications/VMware Fusion.app/Contents/Library/vmrun [-T fusion start output-vmware/packer-vmware.vmx gui]
2013/08/22 08:47:20 ui: ==> amazon-ebs: Launching a source AWS instance...
2013/08/22 08:47:22 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:22 instance id: i-7c1ac118
2013/08/22 08:47:22 ui: ==> amazon-ebs: Waiting for instance (i-7c1ac118) to become ready...
2013/08/22 08:47:22 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:22 Waiting for state to become: running
2013/08/22 08:47:22 ./bin/packer-provisioner-shell: 2013/08/22 08:47:22 Received interrupt signal. Ignoring.
2013/08/22 08:47:22 ./bin/packer-provisioner-shell: 2013/08/22 08:47:22 Received interrupt signal. Ignoring.
2013/08/22 08:47:22 ./bin/packer-command-build: 2013/08/22 08:47:22 Received interrupt signal. Ignoring.
2013/08/22 08:47:22 ./bin/packer-command-build: 2013/08/22 08:47:22 Stopping build: amazon-ebs
2013/08/22 08:47:22 ./bin/packer-command-build: 2013/08/22 08:47:22 Stopping build: vmware
2013/08/22 08:47:22 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:22 Cancelling the step runner...
2013/08/22 08:47:22 ./bin/packer-builder-vmware: 2013/08/22 08:47:22 Cancelling the step runner...
2013/08/22 08:47:22 Closing stdin because interrupt received.
2013/08/22 08:47:22 First interrupt. Ignoring to allow plugins to clean up.
2013/08/22 08:47:22 ./bin/packer-builder-vmware: 2013/08/22 08:47:22 Received interrupt signal. Ignoring.
2013/08/22 08:47:22 ./bin/packer-builder-vmware: 2013/08/22 08:47:22 stdout:
2013/08/22 08:47:22 ./bin/packer-builder-vmware: 2013/08/22 08:47:22 stderr:
2013/08/22 08:47:22 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:22 Received interrupt signal. Ignoring.
2013/08/22 08:47:22 ui error: ==> vmware: Error starting VM: VMware error:
2013/08/22 08:47:22 ui: ==> vmware: Waiting 2.293128344s to give VMware time to clean up...
2013/08/22 08:47:24 ./bin/packer-builder-vmware: 2013/08/22 08:47:24 Executing: /Applications/VMware Fusion.app/Contents/Library/vmrun [-T fusion list]
2013/08/22 08:47:25 ./bin/packer-builder-vmware: 2013/08/22 08:47:25 stdout: Total running VMs: 0
2013/08/22 08:47:25 ./bin/packer-builder-vmware: 2013/08/22 08:47:25 stderr:
2013/08/22 08:47:25 ./bin/packer-builder-vmware: 2013/08/22 08:47:25 Deleting floppy disk: /var/folders/_z/htl39wc13h974ypr7r1gymmh0000gn/T/packer838770449
2013/08/22 08:47:25 ui: ==> vmware: Deleting output directory...
2013/08/22 08:47:25 ./bin/packer-command-build: 2013/08/22 08:47:25 Build cancelled: vmware
2013/08/22 08:47:25 ui error: Build 'vmware' errored: Error starting VM: VMware error: 
2013/08/22 08:47:43 ui: ==> amazon-ebs: Terminating the source AWS instance...
2013/08/22 08:47:43 ./bin/packer-builder-amazon-ebs: 2013/08/22 08:47:43 Waiting for state to become: terminated
2013/08/22 08:50:06 Second interrupt. Exiting now.
2013/08/22 08:50:06 ui error: Interrupt signal received twice. Forcefully exiting now.
2013/08/22 08:50:06 waiting for all plugin processes to complete...
2013/08/22 08:50:06 rpc: client protocol error: unexpected EOF
2013/08/22 08:50:06 waiting for all plugin processes to complete...
2013/08/22 08:50:06 rpc: client protocol error: unexpected EOF
2013/08/22 08:50:06 rpc: client protocol error: unexpected EOF
2013/08/22 08:50:06 rpc: client protocol error: unexpected EOF
2013/08/22 08:50:06 rpc: client protocol error: unexpected EOF
2013/08/22 08:50:06 ./bin/packer-provisioner-shell: plugin process exited
2013/08/22 08:50:06 ./bin/packer-builder-vmware: plugin process exited
2013/08/22 08:50:06 ./bin/packer-command-build: plugin process exited
2013/08/22 08:50:06 rpc: client protocol error: unexpected EOF
2013/08/22 08:50:06 rpc: writing response: use of closed network connection
2013/08/22 08:50:06 EOF
panic: EOF
goroutine 79 [running]:
log.Panic(0x5d3fa0, 0x1, 0x1)
/Users/mitchellh/go/src/pkg/log/log.go:307 +0xaa
github.com/mitchellh/packer/packer/rpc.func·001()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/rpc/builder.go:73 +0x23e
created by github.com/mitchellh/packer/packer/rpc.(*builder).Run
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/rpc/builder.go:77 +0x1b0
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc200325d18)
/Users/mitchellh/go/src/pkg/runtime/zsema_darwin_amd64.c:165 +0x2e
sync.(*WaitGroup).Wait(0xc200335260)
/Users/mitchellh/go/src/pkg/sync/waitgroup.go:109 +0xf2
github.com/mitchellh/packer/packer/plugin.CleanupClients()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:91 +0x17b
main.wrappedMain(0x0)
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer.go:92 +0x39d
main.realMain(0x0)
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer.go:73 +0x6cd
main.main()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer.go:22 +0x1c
goroutine 2 [syscall]:
goroutine 4 [syscall]:
os/signal.loop()
/Users/mitchellh/go/src/pkg/os/signal/signal_unix.go:21 +0x1c
created by os/signal.init·1
/Users/mitchellh/go/src/pkg/os/signal/signal_unix.go:27 +0x2f
goroutine 6 [syscall]:
syscall.Syscall()
/Users/mitchellh/go/src/pkg/syscall/asm_darwin_amd64.s:15 +0x5
syscall.read(0x0, 0xc20010c000, 0x8000, 0x8000, 0x3c00101660, ...)
/Users/mitchellh/go/src/pkg/syscall/zsyscall_darwin_amd64.go:900 +0x702013/08/22 08:50:06 ./bin/packer-builder-amazon-ebs: plugin process exited
syscall.Read(0x0, 0xc20010c000, 0x8000, 0x8000, 0x100101660, ...)
/Users/mitchellh/go/src/pkg/syscall/syscall_unix.go:132 +0x5a
os.(*File).read(0xc200000000, 0xc20010c000, 0x8000, 0x8000, 0x20efa, ...)
/Users/mitchellh/go/src/pkg/os/file_unix.go:174 +0x60
os.(*File).Read(0xc200000000, 0xc20010c000, 0x8000, 0x8000, 0x8000, ...)
/Users/mitchellh/go/src/pkg/os/file.go:95 +0x96
io.Copy(0xc2000bc1b0, 0xc2000003a0, 0xc200101600, 0xc200000000, 0x0, ...)
/Users/mitchellh/go/src/pkg/io/io.go:348 +0x1c6
main.func·003()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/stdin.go:23 +0x94
created by main.setupStdin
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/stdin.go:24 +0xaf
goroutine 8 [semacquire]:
sync.runtime_Semacquire(0xc200325620)
/Users/mitchellh/go/src/pkg/runtime/zsema_darwin_amd64.c:165 +0x2e
sync.(*WaitGroup).Wait(0xc200304680)
/Users/mitchellh/go/src/pkg/sync/waitgroup.go:109 +0xf2
github.com/mitchellh/packer/packer/plugin.CleanupClients()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:91 +0x17b
main.func·002()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/signal.go:31 +0x1be
created by main.setupSignalHandlers
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/signal.go:33 +0x115
goroutine 46 [syscall]:
syscall.Syscall()
/Users/mitchellh/go/src/pkg/syscall/asm_darwin_amd64.s:15 +0x5
syscall.read(0x1a, 0xc20025b000, 0x8000, 0x8000, 0xc2001b0800, ...)
/Users/mitchellh/go/src/pkg/syscall/zsyscall_darwin_amd64.go:900 +0x70
syscall.Read(0x1a, 0xc20025b000, 0x8000, 0x8000, 0x339898, ...)
/Users/mitchellh/go/src/pkg/syscall/syscall_unix.go:132 +0x5a
os.(*File).read(0xc200000d60, 0xc20025b000, 0x8000, 0x8000, 0xc20025b000, ...)
/Users/mitchellh/go/src/pkg/os/file_unix.go:174 +0x60
os.(*File).Read(0xc200000d60, 0xc20025b000, 0x8000, 0x8000, 0x10, ...)
/Users/mitchellh/go/src/pkg/os/file.go:95 +0x96
io.Copy(0xc200101db0, 0xc200000cd8, 0xc200101600, 0xc200000d60, 0x10, ...)
/Users/mitchellh/go/src/pkg/io/io.go:348 +0x1c6
os/exec.func·003(0x28d20, 0x1f4a60)
/Users/mitchellh/go/src/pkg/os/exec/exec.go:207 +0x60
os/exec.func·004(0xc20018bfe0)
/Users/mitchellh/go/src/pkg/os/exec/exec.go:276 +0x2a
created by os/exec.(*Cmd).Start
/Users/mitchellh/go/src/pkg/os/exec/exec.go:277 +0x732
goroutine 47 [syscall]:
syscall.Syscall()
/Users/mitchellh/go/src/pkg/syscall/asm_darwin_amd64.s:15 +0x5
syscall.read(0x1c, 0xc200263000, 0x8000, 0x8000, 0xc2001b0900, ...)
/Users/mitchellh/go/src/pkg/syscall/zsyscall_darwin_amd64.go:900 +0x70
syscall.Read(0x1c, 0xc200263000, 0x8000, 0x8000, 0x339898, ...)
/Users/mitchellh/go/src/pkg/syscall/syscall_unix.go:132 +0x5a
os.(*File).read(0xc200000d88, 0xc200263000, 0x8000, 0x8000, 0xc200263000, ...)
/Users/mitchellh/go/src/pkg/os/file_unix.go:174 +0x60
os.(*File).Read(0xc200000d88, 0xc200263000, 0x8000, 0x8000, 0x39, ...)
/Users/mitchellh/go/src/pkg/os/file.go:95 +0x96
io.Copy(0xc200101db0, 0xc200000d00, 0xc200101600, 0xc200000d88, 0x16b, ...)
/Users/mitchellh/go/src/pkg/io/io.go:348 +0x1c6
os/exec.func·003(0xc2001851a0, 0x2016c0)
/Users/mitchellh/go/src/pkg/os/exec/exec.go:207 +0x60
os/exec.func·004(0xc20018bc00)
/Users/mitchellh/go/src/pkg/os/exec/exec.go:276 +0x2a
created by os/exec.(*Cmd).Start
/Users/mitchellh/go/src/pkg/os/exec/exec.go:277 +0x732
goroutine 48 [syscall]:
syscall.Syscall6()
/Users/mitchellh/go/src/pkg/syscall/asm_darwin_amd64.s:39 +0x5
syscall.wait4(0x1476b, 0xc200000df8, 0x0, 0xc2001707e0, 0x100000001, ...)
/Users/mitchellh/go/src/pkg/syscall/zsyscall_darwin_amd64.go:32 +0x7b
syscall.Wait4(0x1476b, 0x5eee34, 0x0, 0xc2001707e0, 0xc1fffd91f8, ...)
/Users/mitchellh/go/src/pkg/syscall/syscall_bsd.go:137 +0x6c
os.(*Process).wait(0xc20025a2c0, 0xc20026e000, 0x0, 0x0)
/Users/mitchellh/go/src/pkg/os/exec_unix.go:22 +0xea
os.(*Process).Wait(0xc20025a2c0, 0x2300000000, 0x2412e, 0x800)
/Users/mitchellh/go/src/pkg/os/doc.go:43 +0x25
os/exec.(*Cmd).Wait(0xc200198140, 0x0, 0x0)
/Users/mitchellh/go/src/pkg/os/exec/exec.go:310 +0x197
github.com/mitchellh/packer/packer/plugin.func·006()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:264 +0x95
created by github.com/mitchellh/packer/packer/plugin.(*Client).Start
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:277 +0x877
goroutine 49 [semacquire]:
sync.runtime_Semacquire(0xc200325bf8)
/Users/mitchellh/go/src/pkg/runtime/zsema_darwin_amd64.c:165 +0x2e
sync.(*Cond).Wait(0xc200176570)
/Users/mitchellh/go/src/pkg/sync/cond.go:74 +0x95
io.(*pipe).read(0xc200176540, 0xc20026b000, 0x1000, 0x1000, 0x0, ...)
/Users/mitchellh/go/src/pkg/io/pipe.go:52 +0x1f2
io.(*PipeReader).Read(0xc200000cf0, 0xc20026b000, 0x1000, 0x1000, 0x0, ...)
/Users/mitchellh/go/src/pkg/io/pipe.go:130 +0x5d
bufio.(*Reader).fill(0xc2001949c0)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:79 +0x10c
bufio.(*Reader).ReadSlice(0xc2001949c0, 0x4f80a, 0x0, 0x0, 0x0, ...)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:262 +0x202
bufio.(*Reader).ReadBytes(0xc2001949c0, 0xa, 0x0, 0x0, 0x0, ...)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:343 +0xb7
bufio.(*Reader).ReadString(0xc2001949c0, 0xa, 0x0, 0x0, 0x0, ...)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:383 +0x53
github.com/mitchellh/packer/packer/plugin.(*Client).logStderr(0xc200214690, 0xc200101fc0, 0xc200000cf0)
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:333 +0x60
created by github.com/mitchellh/packer/packer/plugin.(*Client).Start
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:280 +0x8bd
goroutine 50 [semacquire]:
sync.runtime_Semacquire(0xc200000a88)
/Users/mitchellh/go/src/pkg/runtime/zsema_darwin_amd64.c:165 +0x2e
sync.(*Cond).Wait(0xc2001764b0)
/Users/mitchellh/go/src/pkg/sync/cond.go:74 +0x95
io.(*pipe).read(0xc200176480, 0xc20026d000, 0x1000, 0x1000, 0x0, ...)
/Users/mitchellh/go/src/pkg/io/pipe.go:52 +0x1f2
io.(*PipeReader).Read(0xc200000cc0, 0xc20026d000, 0x1000, 0x1000, 0x0, ...)
/Users/mitchellh/go/src/pkg/io/pipe.go:130 +0x5d
bufio.(*Reader).fill(0xc200194a20)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:79 +0x10c
bufio.(*Reader).ReadSlice(0xc200194a20, 0x1100a, 0x0, 0x0, 0x0, ...)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:262 +0x202
bufio.(*Reader).ReadBytes(0xc200194a20, 0xc20019490a, 0x0, 0x0, 0x0, ...)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:343 +0xb7
github.com/mitchellh/packer/packer/plugin.func·007()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:290 +0x92
created by github.com/mitchellh/packer/packer/plugin.(*Client).Start
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:299 +0x93d
goroutine 51 [chan receive]:
github.com/mitchellh/packer/packer/plugin.func·008()
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:305 +0x3a
created by github.com/mitchellh/packer/packer/plugin.func·009
/Users/mitchellh/code/go/src/github.com/mitchellh/packer/packer/plugin/client.go:307 +0x4e
goroutine 52 [IO wait]:
net.runtime_pollWait(0x59f780, 0x72, 0x0)
/Users/mitchellh/go/src/pkg/runtime/znetpoll_darwin_amd64.c:118 +0x82
net.(*pollDesc).WaitRead(0xc200211230, 0x23, 0xc2001011b0)
/Users/mitchellh/go/src/pkg/net/fd_poll_runtime.go:75 +0x31
net.(*netFD).Read(0xc2002111b0, 0xc200280000, 0x1000, 0x1000, 0x0, ...)
/Users/mitchellh/go/src/pkg/net/fd_unix.go:195 +0x2b3
net.(*conn).Read(0xc200000ab0, 0xc200280000, 0x1000, 0x1000, 0x0, ...)
/Users/mitchellh/go/src/pkg/net/net.go:123 +0xc3
bufio.(*Reader).fill(0xc20016e540)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:79 +0x10c
bufio.(*Reader).Read(0xc20016e540, 0xc2000bb670, 0x1, 0x9, 0x1, ...)
/Users/mitchellh/go/src/pkg/bufio/bufio.go:147 +0x1b0
io.ReadAtLeast(0xc200135300, 0xc20016e540, 0xc2000bb670, 0x1, 0x9, ...)
/Users/mitchellh/go/src/pkg/io/io.go:284 +0xf7
io.ReadFull(0xc200135300, 0xc20016e540, 0xc2000bb670, 0x1, 0x9, ...)
/Users/mitchellh/go/src/pkg/io/io.go:302 +0x6f
encoding/gob.decodeUintReader(0x76, 0x1b, 0xc2000bb601, 2013/08/22 08:50:06 rpc: client protocol error: unexpected EOF
0x9597d, 0x0, ...)
/Users/mitchellh/go/src/pkg/encoding/gob/decode.go:65 +0xaa
encoding/gob.(*Decoder).recvMessage(0xc2000b81e0, 0xffffffff)
/Users/mitchellh/go/src/pkg/encoding/gob/decoder.go:2013/08/22 08:50:06 ./bin/packer-provisioner-shell: plugin process exited
73 +0x4b
sync.(*Mutex).Unlock(0xc2000b81e0)
/Users/mitchellh/go/src/pkg/sync/mutex.go:89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment