Skip to content

Instantly share code, notes, and snippets.

@mbrgm
Last active February 9, 2018 07:39
Show Gist options
  • Save mbrgm/e54fa22d39a7eea96d23b527307982a6 to your computer and use it in GitHub Desktop.
Save mbrgm/e54fa22d39a7eea96d23b527307982a6 to your computer and use it in GitHub Desktop.
2018/02/08 12:45:45 [INFO] Packer version: 1.1.4-dev
2018/02/08 12:45:45 Packer Target OS/Arch: windows amd64
2018/02/08 12:45:45 Built with Go Version: go1.9
2018/02/08 12:45:45 Using internal plugin for digitalocean
2018/02/08 12:45:45 Using internal plugin for oracle-oci
2018/02/08 12:45:45 Using internal plugin for parallels-iso
2018/02/08 12:45:45 Using internal plugin for alicloud-ecs
2018/02/08 12:45:45 Using internal plugin for lxd
2018/02/08 12:45:45 Using internal plugin for oracle-classic
2018/02/08 12:45:45 Using internal plugin for azure-arm
2018/02/08 12:45:45 Using internal plugin for oneandone
2018/02/08 12:45:45 Using internal plugin for parallels-pvm
2018/02/08 12:45:45 Using internal plugin for docker
2018/02/08 12:45:45 Using internal plugin for hyperv-vmcx
2018/02/08 12:45:45 Using internal plugin for amazon-instance
2018/02/08 12:45:45 Using internal plugin for amazon-ebs
2018/02/08 12:45:45 Using internal plugin for amazon-chroot
2018/02/08 12:45:45 Using internal plugin for googlecompute
2018/02/08 12:45:45 Using internal plugin for null
2018/02/08 12:45:45 Using internal plugin for openstack
2018/02/08 12:45:45 Using internal plugin for vmware-iso
2018/02/08 12:45:45 Using internal plugin for file
2018/02/08 12:45:45 Using internal plugin for virtualbox-ovf
2018/02/08 12:45:45 Using internal plugin for vmware-vmx
2018/02/08 12:45:45 Using internal plugin for amazon-ebsvolume
2018/02/08 12:45:45 Using internal plugin for cloudstack
2018/02/08 12:45:45 Using internal plugin for hyperv-iso
2018/02/08 12:45:45 Using internal plugin for lxc
2018/02/08 12:45:45 Using internal plugin for profitbricks
2018/02/08 12:45:45 Using internal plugin for qemu
2018/02/08 12:45:45 Using internal plugin for triton
2018/02/08 12:45:45 Using internal plugin for virtualbox-iso
2018/02/08 12:45:45 Using internal plugin for amazon-ebssurrogate
2018/02/08 12:45:45 Using internal plugin for ansible
2018/02/08 12:45:45 Using internal plugin for ansible-local
2018/02/08 12:45:45 Using internal plugin for salt-masterless
2018/02/08 12:45:45 Using internal plugin for shell
2018/02/08 12:45:45 Using internal plugin for windows-shell
2018/02/08 12:45:45 Using internal plugin for chef-client
2018/02/08 12:45:45 Using internal plugin for chef-solo
2018/02/08 12:45:45 Using internal plugin for converge
2018/02/08 12:45:45 Using internal plugin for file
2018/02/08 12:45:45 Using internal plugin for powershell
2018/02/08 12:45:45 Using internal plugin for puppet-masterless
2018/02/08 12:45:45 Using internal plugin for puppet-server
2018/02/08 12:45:45 Using internal plugin for shell-local
2018/02/08 12:45:45 Using internal plugin for windows-restart
2018/02/08 12:45:45 Using internal plugin for shell-local
2018/02/08 12:45:45 Using internal plugin for amazon-import
2018/02/08 12:45:45 Using internal plugin for docker-tag
2018/02/08 12:45:45 Using internal plugin for docker-save
2018/02/08 12:45:45 Using internal plugin for artifice
2018/02/08 12:45:45 Using internal plugin for atlas
2018/02/08 12:45:45 Using internal plugin for docker-import
2018/02/08 12:45:45 Using internal plugin for manifest
2018/02/08 12:45:45 Using internal plugin for vagrant
2018/02/08 12:45:45 Using internal plugin for vsphere
2018/02/08 12:45:45 Using internal plugin for vsphere-template
2018/02/08 12:45:45 Using internal plugin for alicloud-import
2018/02/08 12:45:45 Using internal plugin for compress
2018/02/08 12:45:45 Using internal plugin for docker-push
2018/02/08 12:45:45 Using internal plugin for googlecompute-export
2018/02/08 12:45:45 Using internal plugin for vagrant-cloud
2018/02/08 12:45:45 Using internal plugin for checksum
2018/02/08 12:45:45 Attempting to open config file: C:\Users\JohnDoe\AppData\Roaming\packer.config
2018/02/08 12:45:45 [WARN] Config file doesn't exist: C:\Users\JohnDoe\AppData\Roaming\packer.config
2018/02/08 12:45:45 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[docker:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-instance:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance amazon-ebs:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs vmware-iso:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso file:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-ebssurrogate:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate alicloud-ecs:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs oracle-oci:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci hyperv-vmcx:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx cloudstack:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack virtualbox-iso:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso digitalocean:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean null:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null vmware-vmx:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx triton:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton lxd:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd googlecompute:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hyperv-iso:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso virtualbox-ovf:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-chroot:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot openstack:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack lxc:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc parallels-pvm:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm oneandone:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone qemu:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu parallels-iso:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso azure-arm:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-ebsvolume:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume profitbricks:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks oracle-classic:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic] PostProcessors:map[docker-import:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vsphere-template:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template docker-save:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save artifice:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export alicloud-import:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import vagrant-cloud:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud shell-local:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local amazon-import:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-tag:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag atlas:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere manifest:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant compress:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress checksum:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum] Provisioners:map[converge:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server windows-restart:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart shell:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo shell-local:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local ansible:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible powershell:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell salt-masterless:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless file:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file puppet-masterless:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless ansible-local:C:\Program Files\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local]}
2018/02/08 12:45:45 Setting cache directory: C:\Users\JohnDoe\Desktop\packer-templates\centos-71-64-minimal\packer_cache
2018/02/08 12:45:45 Loading builder: virtualbox-iso
2018/02/08 12:45:45 Plugin could not be found. Checking same directory as executable.
2018/02/08 12:45:45 Current exe path: C:\Program Files\Packer\packer.exe
2018/02/08 12:45:45 Creating plugin client for path: C:\Program Files\Packer\packer.exe
2018/02/08 12:45:45 Starting plugin: C:\Program Files\Packer\packer.exe []string{"C:\\Program Files\\Packer\\packer.exe", "plugin", "packer-builder-virtualbox-iso"}
2018/02/08 12:45:45 Waiting for RPC address for: C:\Program Files\Packer\packer.exe
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 [INFO] Packer version: 1.1.4-dev
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Packer Target OS/Arch: windows amd64
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Built with Go Version: go1.9
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Attempting to open config file: C:\Users\JohnDoe\AppData\Roaming\packer.config
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 [WARN] Config file doesn't exist: C:\Users\JohnDoe\AppData\Roaming\packer.config
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Setting cache directory: C:\Users\JohnDoe\Desktop\packer-templates\centos-71-64-minimal\packer_cache
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 args: []string{"packer-builder-virtualbox-iso"}
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Plugin minimum port: 10000
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Plugin maximum port: 25000
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Plugin address: tcp 127.0.0.1:10000
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Waiting for connection...
2018/02/08 12:45:45 packer.exe: 2018/02/08 12:45:45 Serving a plugin connection...
2018/02/08 12:45:45 Loading provisioner: shell
2018/02/08 12:45:45 Plugin could not be found. Checking same directory as executable.
2018/02/08 12:45:45 Current exe path: C:\Program Files\Packer\packer.exe
2018/02/08 12:45:45 Creating plugin client for path: C:\Program Files\Packer\packer.exe
2018/02/08 12:45:45 Starting plugin: C:\Program Files\Packer\packer.exe []string{"C:\\Program Files\\Packer\\packer.exe", "plugin", "packer-provisioner-shell"}
Exception 0xc0000005 0x1 0x4b41404 0x180008910
PC=0x180008910
syscall.Syscall(0x7ffcab4fdc40, 0x2, 0x230, 0x2, 0x0, 0x1e0, 0x1fa2ac0, 0x64202a001)
C:/Go/src/runtime/syscall_windows.go:163 +0x69
syscall.SetFileCompletionNotificationModes(0x230, 0x2, 0x21ec4b3, 0x4)
C:/Go/src/syscall/zsyscall_windows.go:1727 +0x6f
internal/poll.(*FD).Init(0xc0424861e0, 0x21ec4b3, 0x4, 0x22920d8, 0xc042476990, 0x47511b, 0x238)
C:/Go/src/internal/poll/fd_windows.go:346 +0xf9
os.newFile(0x230, 0x21eb3c3, 0x2, 0x21ec4b3, 0x4, 0xa0)
C:/Go/src/os/file_windows.go:57 +0x138
os.Pipe(0xc042476ab8, 0x410a51, 0xc0420040d8, 0x8)
C:/Go/src/os/file_windows.go:325 +0x1bd
os/exec.(*Cmd).writerDescriptor(0xc042366000, 0x3373dc0, 0xc042004030, 0x1a80, 0xc0420040d8, 0x3)
C:/Go/src/os/exec/exec.go:256 +0x6a
os/exec.(*Cmd).stdout(0xc042366000, 0x0, 0x0, 0x0)
C:/Go/src/os/exec/exec.go:232 +0x44
os/exec.(*Cmd).Start(0xc042366000, 0x17, 0xc042476e60)
C:/Go/src/os/exec/exec.go:352 +0x198
github.com/hashicorp/packer/packer/plugin.(*Client).Start(0xc042142660, 0x0, 0x0, 0x0, 0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:227 +0x81a
github.com/hashicorp/packer/packer/plugin.(*Client).packrpcClient(0xc042142660, 0x1, 0x9e0000c042150020, 0xc042150040)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:362 +0x3c
github.com/hashicorp/packer/packer/plugin.(*Client).Provisioner(0xc042142660, 0xc04235ef00, 0x22, 0xc042142660, 0xc04208c838)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:167 +0x36
main.(*config).LoadProvisioner(0xc0423f27e0, 0xc04221aa00, 0x5, 0x40, 0x1f53e00, 0x1, 0xc0421ba300)
C:/Users/marius/go/src/github.com/hashicorp/packer/config.go:133 +0x130
main.(*config).LoadProvisioner-fm(0xc04221aa00, 0x5, 0x4, 0xc0421ba300, 0x0, 0x1)
C:/Users/marius/go/src/github.com/hashicorp/packer/main.go:202 +0x45
github.com/hashicorp/packer/packer.(*Core).Build(0xc04214c280, 0xc04200e110, 0x4, 0xc0424911f0, 0x0, 0x1, 0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/core.go:128 +0x23b
github.com/hashicorp/packer/command.BuildCommand.Run(0xc0420400c0, 0x33841c0, 0xc0421440e0, 0x33857a0, 0xc04214c1e0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
C:/Users/marius/go/src/github.com/hashicorp/packer/command/build.go:64 +0x636
github.com/hashicorp/packer/command.(*BuildCommand).Run(0xc0420f0230, 0xc042072020, 0x7, 0xe, 0x2291cc0)
<autogenerated>:1 +0x95
github.com/hashicorp/packer/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc0420ec3c0, 0xc0420ec3c0, 0x1, 0x1)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/cli/cli.go:160 +0x195
main.wrappedMain(0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/main.go:218 +0xa7e
main.realMain(0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/main.go:116 +0x8e
main.main()
C:/Users/marius/go/src/github.com/hashicorp/packer/main.go:33 +0x29
goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
C:/Go/src/runtime/sigqueue.go:131 +0xad
os/signal.loop()
C:/Go/src/os/signal/signal_unix.go:22 +0x29
created by os/signal.init.0
C:/Go/src/os/signal/signal_unix.go:28 +0x48
goroutine 8 [syscall, locked to thread]:
syscall.Syscall6(0x7ffcab504ac0, 0x5, 0x264, 0xc04242c000, 0x2710, 0xc04213c01c, 0x0, 0x0, 0xc04212bce8, 0xc04212bce8, ...)
C:/Go/src/runtime/syscall_windows.go:174 +0x69
syscall.ReadConsole(0x264, 0xc04242c000, 0x2710, 0xc04213c01c, 0x0, 0x9c40, 0x0)
C:/Go/src/syscall/zsyscall_windows.go:1290 +0xbb
internal/poll.(*FD).readConsole(0xc042068000, 0xc042422000, 0x8000, 0x8000, 0x452260, 0x5b813f8, 0x1dc8385)
C:/Go/src/internal/poll/fd_windows.go:476 +0x274
internal/poll.(*FD).Read(0xc042068000, 0xc042422000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
C:/Go/src/internal/poll/fd_windows.go:429 +0x125
os.(*File).read(0xc042004010, 0xc042422000, 0x8000, 0x8000, 0x0, 0x0, 0x86b0028)
C:/Go/src/os/file_windows.go:207 +0x55
os.(*File).Read(0xc042004010, 0xc042422000, 0x8000, 0x8000, 0x8000, 0x8000, 0xc042420000)
C:/Go/src/os/file.go:103 +0x74
io.copyBuffer(0x33748c0, 0xc042004688, 0x3374880, 0xc042004010, 0xc042422000, 0x8000, 0x8000, 0xc04212bf88, 0xc04212bf90, 0x0)
C:/Go/src/io/io.go:392 +0x12a
io.Copy(0x33748c0, 0xc042004688, 0x3374880, 0xc042004010, 0x0, 0x0, 0x0)
C:/Go/src/io/io.go:362 +0x6f
main.setupStdin.func1(0xc042004688, 0xc042004010)
C:/Users/marius/go/src/github.com/hashicorp/packer/stdin.go:24 +0x7e
created by main.setupStdin
C:/Users/marius/go/src/github.com/hashicorp/packer/stdin.go:22 +0x79
goroutine 9 [chan receive]:
main.setupStdin.func2(0xc042337020, 0xc042004688)
C:/Users/marius/go/src/github.com/hashicorp/packer/stdin.go:35 +0x8f
created by main.setupStdin
C:/Users/marius/go/src/github.com/hashicorp/packer/stdin.go:32 +0x141
goroutine 11 [semacquire]:
sync.runtime_notifyListWait(0xc0420ec4c0, 0xc000000000)
C:/Go/src/runtime/sema.go:507 +0x11e
sync.(*Cond).Wait(0xc0420ec4b0)
C:/Go/src/sync/cond.go:56 +0x87
io.(*pipe).read(0xc0420ec480, 0xc042278000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
C:/Go/src/io/pipe.go:47 +0xcd
io.(*PipeReader).Read(0xc042140058, 0xc042278000, 0x1000, 0x1000, 0x1000, 0x1000, 0x0)
C:/Go/src/io/pipe.go:130 +0x53
bufio.(*Scanner).Scan(0xc04206e100, 0x0)
C:/Go/src/bufio/scan.go:207 +0xb6
github.com/hashicorp/packer/command.(*Meta).FlagSet.func1(0xc04206e100, 0xc0420f02a0)
C:/Users/marius/go/src/github.com/hashicorp/packer/command/meta.go:131 +0x90
created by github.com/hashicorp/packer/command.(*Meta).FlagSet
C:/Users/marius/go/src/github.com/hashicorp/packer/command/meta.go:130 +0x1be
goroutine 67 [syscall, locked to thread]:
syscall.Syscall6(0x7ffcab504690, 0x5, 0x220, 0xc042230000, 0x8000, 0xc042039d3c, 0x0, 0x0, 0xc04244cd80, 0xc04242a100, ...)
C:/Go/src/runtime/syscall_windows.go:174 +0x69
syscall.ReadFile(0x220, 0xc042230000, 0x8000, 0x8000, 0xc042039d3c, 0x0, 0xc042039d50, 0xc042039d58)
C:/Go/src/syscall/zsyscall_windows.go:311 +0xe0
syscall.Read(0x220, 0xc042230000, 0x8000, 0x8000, 0xc042020600, 0xa, 0xc042039d1a)
C:/Go/src/syscall/syscall_windows.go:297 +0x6f
internal/poll.(*FD).Read(0xc042069860, 0xc042230000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
C:/Go/src/internal/poll/fd_windows.go:431 +0x1c2
os.(*File).read(0xc042140138, 0xc042230000, 0x8000, 0x8000, 0xc042039e60, 0x471583, 0xc0420ec540)
C:/Go/src/os/file_windows.go:207 +0x55
os.(*File).Read(0xc042140138, 0xc042230000, 0x8000, 0x8000, 0x16, 0x0, 0x0)
C:/Go/src/os/file.go:103 +0x74
io.copyBuffer(0x3373dc0, 0xc042140118, 0x3374880, 0xc042140138, 0xc042230000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
C:/Go/src/io/io.go:392 +0x12a
io.Copy(0x3373dc0, 0xc042140118, 0x3374880, 0xc042140138, 0x0, 0x0, 0x0)
C:/Go/src/io/io.go:362 +0x6f
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
C:/Go/src/os/exec/exec.go:264 +0x54
os/exec.(*Cmd).Start.func1(0xc0420a4c60, 0xc0421451c0)
C:/Go/src/os/exec/exec.go:380 +0x2e
created by os/exec.(*Cmd).Start
C:/Go/src/os/exec/exec.go:379 +0x6ae
goroutine 68 [syscall, locked to thread]:
syscall.Syscall6(0x7ffcab504690, 0x5, 0x224, 0xc042228000, 0x8000, 0xc042315d3c, 0x0, 0x0, 0xc04244cf00, 0xc0421ba1c0, ...)
C:/Go/src/runtime/syscall_windows.go:174 +0x69
syscall.ReadFile(0x224, 0xc042228000, 0x8000, 0x8000, 0xc042315d3c, 0x0, 0xc042315d50, 0xc042315d58)
C:/Go/src/syscall/zsyscall_windows.go:311 +0xe0
syscall.Read(0x224, 0xc042228000, 0x8000, 0x8000, 0xc042025300, 0xa, 0xc042315d1a)
C:/Go/src/syscall/syscall_windows.go:297 +0x6f
internal/poll.(*FD).Read(0xc042069c20, 0xc042228000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
C:/Go/src/internal/poll/fd_windows.go:431 +0x1c2
os.(*File).read(0xc042140150, 0xc042228000, 0x8000, 0x8000, 0xc042315e60, 0x471583, 0xc0420ec600)
C:/Go/src/os/file_windows.go:207 +0x55
os.(*File).Read(0xc042140150, 0xc042228000, 0x8000, 0x8000, 0x33, 0x0, 0x0)
C:/Go/src/os/file.go:103 +0x74
io.copyBuffer(0x3373dc0, 0xc042140128, 0x3374880, 0xc042140150, 0xc042228000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
C:/Go/src/io/io.go:392 +0x12a
io.Copy(0x3373dc0, 0xc042140128, 0x3374880, 0xc042140150, 0x0, 0x0, 0x0)
C:/Go/src/io/io.go:362 +0x6f
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
C:/Go/src/os/exec/exec.go:264 +0x54
os/exec.(*Cmd).Start.func1(0xc0420a4c60, 0xc042145220)
C:/Go/src/os/exec/exec.go:380 +0x2e
created by os/exec.(*Cmd).Start
C:/Go/src/os/exec/exec.go:379 +0x6ae
goroutine 69 [syscall, locked to thread]:
syscall.Syscall(0x7ffcab5042a0, 0x2, 0x23c, 0xffffffff, 0x0, 0x726553204c515320, 0x5c3032315c726576, 0x6e6e69425c535444)
C:/Go/src/runtime/syscall_windows.go:163 +0x69
syscall.WaitForSingleObject(0x23c, 0x4d5c2936ffffffff, 0x74666f736f726369, 0x726553204c515320, 0x5c3032315c726576)
C:/Go/src/syscall/zsyscall_windows.go:718 +0x6d
os.(*Process).wait(0xc04214b7d0, 0x0, 0x0, 0x0)
C:/Go/src/os/exec_windows.go:18 +0x7c
os.(*Process).Wait(0xc04214b7d0, 0x18, 0xc042317ec8, 0x73656c6946206d61)
C:/Go/src/os/exec.go:115 +0x32
os/exec.(*Cmd).Wait(0xc0420a4c60, 0x2291c68, 0xc042140118)
C:/Go/src/os/exec/exec.go:446 +0x69
github.com/hashicorp/packer/packer/plugin.(*Client).Start.func2(0xc042140128, 0xc042140118, 0xc0420a4c60, 0xc04232c000, 0xc042327620)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:254 +0x8a
created by github.com/hashicorp/packer/packer/plugin.(*Client).Start
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:247 +0x8ee
goroutine 70 [semacquire]:
sync.runtime_notifyListWait(0xc0420ec640, 0xc00000000a)
C:/Go/src/runtime/sema.go:507 +0x11e
sync.(*Cond).Wait(0xc0420ec630)
C:/Go/src/sync/cond.go:56 +0x87
io.(*pipe).read(0xc0420ec600, 0xc042318000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
C:/Go/src/io/pipe.go:47 +0xcd
io.(*PipeReader).Read(0xc042140120, 0xc042318000, 0x1000, 0x1000, 0x4ea841, 0xc042068520, 0xc042311ce8)
C:/Go/src/io/pipe.go:130 +0x53
bufio.(*Reader).fill(0xc042311f60)
C:/Go/src/bufio/bufio.go:97 +0x121
bufio.(*Reader).ReadSlice(0xc042311f60, 0xc042311d0a, 0x53, 0xc04244d200, 0x22925b0, 0xc042328000, 0xc04244d228)
C:/Go/src/bufio/bufio.go:338 +0x33
bufio.(*Reader).ReadBytes(0xc042311f60, 0x4f430a, 0xc04207e000, 0x2, 0xc042242100, 0x3e, 0x0)
C:/Go/src/bufio/bufio.go:416 +0x72
bufio.(*Reader).ReadString(0xc042311f60, 0xa, 0xc042311ee8, 0x2, 0x2, 0x0)
C:/Go/src/bufio/bufio.go:456 +0x3f
github.com/hashicorp/packer/packer/plugin.(*Client).logStderr(0xc042327620, 0x3373d80, 0xc042140120)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:344 +0xac
created by github.com/hashicorp/packer/packer/plugin.(*Client).Start
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:270 +0x92c
goroutine 71 [semacquire]:
sync.runtime_notifyListWait(0xc0420ec580, 0xc000000001)
C:/Go/src/runtime/sema.go:507 +0x11e
sync.(*Cond).Wait(0xc0420ec570)
C:/Go/src/sync/cond.go:56 +0x87
io.(*pipe).read(0xc0420ec540, 0xc042320000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
C:/Go/src/io/pipe.go:47 +0xcd
io.(*PipeReader).Read(0xc042140110, 0xc042320000, 0x1000, 0x1000, 0x5c03a30, 0x0, 0x0)
C:/Go/src/io/pipe.go:130 +0x53
bufio.(*Reader).fill(0xc042313f68)
C:/Go/src/bufio/bufio.go:97 +0x121
bufio.(*Reader).ReadSlice(0xc042313f68, 0xc042313e0a, 0x403ee6, 0xc04232c060, 0xc0423f9c20, 0xc042313ef8, 0xc042313e58)
C:/Go/src/bufio/bufio.go:338 +0x33
bufio.(*Reader).ReadBytes(0xc042313f68, 0xc042313e0a, 0xc042270080, 0x16, 0x16, 0x0, 0x0)
C:/Go/src/bufio/bufio.go:416 +0x72
github.com/hashicorp/packer/packer/plugin.(*Client).Start.func3(0xc04232c060, 0xc042140110)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:280 +0x173
created by github.com/hashicorp/packer/packer/plugin.(*Client).Start
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:275 +0x977
goroutine 20 [chan receive]:
github.com/hashicorp/packer/packer/plugin.(*Client).Start.func4.1(0xc04232c060)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:295 +0x74
created by github.com/hashicorp/packer/packer/plugin.(*Client).Start.func4
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/plugin/client.go:294 +0x46
goroutine 81 [select]:
github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.(*Stream).Read(0xc042214410, 0xc042357000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/stream.go:125 +0x277
bufio.(*Reader).fill(0xc042352120)
C:/Go/src/bufio/bufio.go:97 +0x121
bufio.(*Reader).ReadByte(0xc042352120, 0x0, 0x0, 0xd40010)
C:/Go/src/bufio/bufio.go:239 +0x40
github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec.(*ioDecReader).readn1(0xc042358070, 0xc04223c058)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec/decode.go:276 +0x3e
github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec.(*msgpackDecDriver).readNextBd(0xc042420050)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec/msgpack.go:560 +0x3b
github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec.(*msgpackDecDriver).TryDecodeAsNil(0xc042420050, 0xc042223fa8)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec/msgpack.go:587 +0x58
github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec.(*Decoder).decode(0xc042358000, 0x1bc0320, 0xc042206420)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec/decode.go:1477 +0x55
github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec.(*Decoder).Decode(0xc042358000, 0x1bc0320, 0xc042206420, 0x0, 0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec/decode.go:1386 +0x82
github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec.(*rpcCodec).read(0xc042180070, 0x1bc0320, 0xc042206420, 0x1, 0xc042206420)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec/rpc.go:107 +0x6e
github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec.(*goRpcCodec).ReadResponseHeader(0xc042180070, 0xc042206420, 0x0, 0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/ugorji/go/codec/rpc.go:151 +0x4a
net/rpc.(*Client).input(0xc042352180)
C:/Go/src/net/rpc/client.go:109 +0xbc
created by net/rpc.NewClientWithCodec
C:/Go/src/net/rpc/client.go:201 +0xcc
goroutine 22 [IO wait]:
internal/poll.runtime_pollWait(0x86b0f50, 0x72, 0x0)
C:/Go/src/runtime/netpoll.go:173 +0x5e
internal/poll.(*pollDesc).wait(0xc04223a158, 0x72, 0x336c600, 0x0, 0x0)
C:/Go/src/internal/poll/fd_poll_runtime.go:85 +0xb5
internal/poll.(*ioSrv).ExecIO(0x346e3b0, 0xc04223a018, 0x2291be0, 0x8d4a6c, 0x1, 0xc04234bcc8)
C:/Go/src/internal/poll/fd_windows.go:195 +0x13a
internal/poll.(*FD).Read(0xc04223a000, 0xc04223e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
C:/Go/src/internal/poll/fd_windows.go:439 +0x266
net.(*netFD).Read(0xc04223a000, 0xc04223e000, 0x1000, 0x1000, 0xc0422120e0, 0x0, 0x0)
C:/Go/src/net/fd_windows.go:151 +0x59
net.(*conn).Read(0xc04213a020, 0xc04223e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
C:/Go/src/net/net.go:176 +0x74
bufio.(*Reader).Read(0xc04232a0c0, 0xc04200e090, 0xc, 0xc, 0xc0421320f0, 0x5b87c90, 0x0)
C:/Go/src/bufio/bufio.go:213 +0x312
io.ReadAtLeast(0x336e4c0, 0xc04232a0c0, 0xc04200e090, 0xc, 0xc, 0xc, 0xc, 0x0, 0x0)
C:/Go/src/io/io.go:309 +0x8d
io.ReadFull(0x336e4c0, 0xc04232a0c0, 0xc04200e090, 0xc, 0xc, 0xc, 0x0, 0x0)
C:/Go/src/io/io.go:327 +0x5f
github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.(*Session).recvLoop(0xc0422109a0, 0x0, 0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:408 +0x100
github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.(*Session).recv(0xc0422109a0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:396 +0x32
created by github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.newSession
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:104 +0x39d
goroutine 23 [select]:
github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.(*Session).send(0xc0422109a0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:358 +0x2d1
created by github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.newSession
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:105 +0x3bf
goroutine 24 [select]:
github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.(*Session).keepalive(0xc0422109a0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:292 +0x109
created by github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.newSession
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:107 +0x40e
goroutine 25 [select]:
github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux.(*Session).AcceptStream(0xc0422109a0, 0x0, 0x0, 0x0)
C:/Users/marius/go/src/github.com/hashicorp/packer/vendor/github.com/hashicorp/yamux/session.go:191 +0xf9
github.com/hashicorp/packer/packer/rpc.(*muxBroker).Run(0xc0420d2620)
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/rpc/mux_broker.go:126 +0x3a
created by github.com/hashicorp/packer/packer/rpc.NewClient
C:/Users/marius/go/src/github.com/hashicorp/packer/packer/rpc/client.go:26 +0x75
rax 0x0
rbx 0xc042466340
rcx 0x230
rdi 0x2af000
rsi 0xc042476860
rbp 0xc042476810
rsp 0x8aefd98
r8 0x1
r9 0x0
r10 0x230
r11 0x5ca9000
r12 0x0
r13 0xfa
r14 0xfa
r15 0xa
rip 0x180008910
rflags 0x10246
cs 0x33
fs 0x53
gs 0x2b
{
"variables": {
"disk_size": "40960"
},
"builders":
[
{
"name": "vbox",
"type": "virtualbox-iso",
"ssh_wait_timeout": "15m",
"guest_os_type": "Linux26_64",
"headless": "true",
"disk_size": "{{ user `disk_size`}}",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"1024"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"4"
]
],
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_md5sum` }}",
"iso_checksum_type": "md5",
"http_directory": "http",
"ssh_username": "root",
"ssh_password": "root",
"shutdown_command": "shutdown -h now",
"boot_wait": "5s",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
]
}
],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/enable-sudo-without-tty.sh",
"scripts/enable-serial-console.sh",
"../_common/centos/scripts/rng-tools.sh",
"../_common/centos/scripts/virtualbox.sh",
"../_common/centos/scripts/cleanup.sh",
"../_common/all/scripts/cleanup.sh",
"../_common/all/scripts/zerodisk.sh"
]
}
],
"post-processors": [
{ "type": "manifest" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment