Skip to content

Instantly share code, notes, and snippets.

@chris-smith-zocdoc
Last active January 12, 2017 03:07
Show Gist options
  • Save chris-smith-zocdoc/e7f449fb5b23034086b76bf01f79eb94 to your computer and use it in GitHub Desktop.
Save chris-smith-zocdoc/e7f449fb5b23034086b76bf01f79eb94 to your computer and use it in GitHub Desktop.
packer-windows-example log
2016/09/29 01:14:46 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 01:14:46 Packer Target OS/Arch: linux amd64
2016/09/29 01:14:46 Built with Go Version: go1.6.3
2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 Using internal plugin for digitalocean
2016/09/29 01:14:46 Using internal plugin for parallels-iso
2016/09/29 01:14:46 Using internal plugin for virtualbox-iso
2016/09/29 01:14:46 Using internal plugin for azure-arm
2016/09/29 01:14:46 Using internal plugin for qemu
2016/09/29 01:14:46 Using internal plugin for null
2016/09/29 01:14:46 Using internal plugin for openstack
2016/09/29 01:14:46 Using internal plugin for parallels-pvm
2016/09/29 01:14:46 Using internal plugin for amazon-chroot
2016/09/29 01:14:46 Using internal plugin for amazon-ebs
2016/09/29 01:14:46 Using internal plugin for amazon-instance
2016/09/29 01:14:46 Using internal plugin for docker
2016/09/29 01:14:46 Using internal plugin for file
2016/09/29 01:14:46 Using internal plugin for googlecompute
2016/09/29 01:14:46 Using internal plugin for virtualbox-ovf
2016/09/29 01:14:46 Using internal plugin for vmware-iso
2016/09/29 01:14:46 Using internal plugin for vmware-vmx
2016/09/29 01:14:46 Using internal plugin for shell-local
2016/09/29 01:14:46 Using internal plugin for chef-solo
2016/09/29 01:14:46 Using internal plugin for file
2016/09/29 01:14:46 Using internal plugin for powershell
2016/09/29 01:14:46 Using internal plugin for puppet-masterless
2016/09/29 01:14:46 Using internal plugin for puppet-server
2016/09/29 01:14:46 Using internal plugin for shell
2016/09/29 01:14:46 Using internal plugin for ansible
2016/09/29 01:14:46 Using internal plugin for ansible-local
2016/09/29 01:14:46 Using internal plugin for chef-client
2016/09/29 01:14:46 Using internal plugin for salt-masterless
2016/09/29 01:14:46 Using internal plugin for windows-restart
2016/09/29 01:14:46 Using internal plugin for windows-shell
2016/09/29 01:14:46 Using internal plugin for vagrant-cloud
2016/09/29 01:14:46 Using internal plugin for amazon-import
2016/09/29 01:14:46 Using internal plugin for artifice
2016/09/29 01:14:46 Using internal plugin for docker-import
2016/09/29 01:14:46 Using internal plugin for docker-push
2016/09/29 01:14:46 Using internal plugin for docker-tag
2016/09/29 01:14:46 Using internal plugin for vagrant
2016/09/29 01:14:46 Using internal plugin for checksum
2016/09/29 01:14:46 Using internal plugin for docker-save
2016/09/29 01:14:46 Using internal plugin for googlecompute-export
2016/09/29 01:14:46 Using internal plugin for atlas
2016/09/29 01:14:46 Using internal plugin for compress
2016/09/29 01:14:46 Using internal plugin for manifest
2016/09/29 01:14:46 Using internal plugin for shell-local
2016/09/29 01:14:46 Using internal plugin for vsphere
2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 01:14:46 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 01:14:46 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs] PostProcessors:map[amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export] Provisioners:map[salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 01:14:46 Loading builder: amazon-ebs
2016/09/29 01:14:46 Plugin could not be found. Checking same directory as executable.
2016/09/29 01:14:46 Current exe path: /usr/local/bin/packerio
2016/09/29 01:14:46 Creating plugin client for path: /usr/local/bin/packerio
2016/09/29 01:14:46 Starting plugin: /usr/local/bin/packerio []string{"/usr/local/bin/packerio", "plugin", "packer-builder-amazon-ebs"}
2016/09/29 01:14:46 Waiting for RPC address for: /usr/local/bin/packerio
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Packer Target OS/Arch: linux amd64
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Built with Go Version: go1.6.3
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-ebs
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for openstack
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for qemu
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for virtualbox-ovf
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-instance
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for file
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for azure-arm
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for digitalocean
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for null
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vmware-iso
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vmware-vmx
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-chroot
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for googlecompute
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for parallels-iso
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for parallels-pvm
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for virtualbox-iso
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for ansible-local
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for chef-solo
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for file
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for shell
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for ansible
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for chef-client
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for powershell
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for puppet-masterless
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for puppet-server
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for salt-masterless
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for shell-local
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for windows-restart
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for windows-shell
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-save
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vsphere
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for artifice
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for checksum
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-push
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-import
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for googlecompute-export
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-import
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for atlas
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for compress
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-tag
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vagrant-cloud
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for manifest
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for shell-local
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute] PostProcessors:map[vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import] Provisioners:map[shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible]}
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 args: []string{"packer-builder-amazon-ebs"}
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Plugin minimum port: 10000
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Plugin maximum port: 25000
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Plugin address: unix /tmp/packer-plugin806559378
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Waiting for connection...
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Serving a plugin connection...
2016/09/29 01:14:46 Loading provisioner: ansible
2016/09/29 01:14:46 Plugin could not be found. Checking same directory as executable.
2016/09/29 01:14:46 Current exe path: /usr/local/bin/packerio
2016/09/29 01:14:46 Creating plugin client for path: /usr/local/bin/packerio
2016/09/29 01:14:46 Starting plugin: /usr/local/bin/packerio []string{"/usr/local/bin/packerio", "plugin", "packer-provisioner-ansible"}
2016/09/29 01:14:46 Waiting for RPC address for: /usr/local/bin/packerio
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Packer Target OS/Arch: linux amd64
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Built with Go Version: go1.6.3
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vmware-iso
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-chroot
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for null
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for parallels-pvm
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for qemu
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for digitalocean
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for parallels-iso
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-instance
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for file
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for virtualbox-iso
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for openstack
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for virtualbox-ovf
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vmware-vmx
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-ebs
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for azure-arm
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for googlecompute
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for windows-restart
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for windows-shell
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for ansible-local
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for chef-solo
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for file
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for puppet-server
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for shell
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for shell-local
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for ansible
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for chef-client
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for powershell
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for puppet-masterless
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for salt-masterless
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for atlas
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-save
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for googlecompute-export
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vsphere
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for shell-local
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for amazon-import
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for artifice
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for checksum
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for compress
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-import
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vagrant-cloud
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-push
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for docker-tag
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for manifest
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Using internal plugin for vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean] PostProcessors:map[atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push] Provisioners:map[windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell]}
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Detected home directory from env var: /home/vagrant
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 args: []string{"packer-provisioner-ansible"}
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Plugin minimum port: 10000
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Plugin maximum port: 25000
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Plugin address: unix /tmp/packer-plugin940467025
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Waiting for connection...
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Serving a plugin connection...
2016/09/29 01:14:46 ui: amazon-ebs output will be in this color.
2016/09/29 01:14:46 ui:
2016/09/29 01:14:46 Build debug mode: false
2016/09/29 01:14:46 Force build: false
2016/09/29 01:14:46 On error: abort
2016/09/29 01:14:46 Preparing build: amazon-ebs
amazon-ebs output will be in this color.
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError:abort PackerUserVars:map[region:us-east-1 source_ami:ami-2c7a073b aws_profile:ci security_group_id:sg-d852dba3 subnet_id:subnet-3536421f vpc_id:vpc-e1f33086 instance_type:t2.medium]} AccessConfig:{AccessKey: SecretKey: RawRegion:us-east-1 SkipValidation:false Token: ProfileName:ci} AMIConfig:{AMIName:packer-windows-example 1475111686 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.medium RunTags:map[] SourceAmi:ami-2c7a073b SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[sg-d852dba3] SubnetId:subnet-3536421f TemporaryKeyPairName:packer_57ec6b06-bd34-4095-a813-2f0fafccd5ed UserData: UserDataFile:BootstrapWindows.ps1 WindowsPasswordTimeout:10m0s VpcId:vpc-e1f33086 InstanceInitiatedShutdownBehavior:stop Comm:{Type:winrm SSHHost: SSHPort:0 SSHUsername: SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:0 SSHDisableAgent:false SSHHandshakeAttempts:0 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod: WinRMUser:Administrator WinRMPassword:EF942DDC-2292-4FE2-BE92-57BCE3475109 WinRMHost: WinRMPort:5986 WinRMTimeout:20m0s WinRMUseSSL:true WinRMInsecure:true WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x99c450] UserVariables:map[subnet_id:subnet-3536421f vpc_id:vpc-e1f33086 instance_type:t2.medium region:us-east-1 source_ami:ami-2c7a073b aws_profile:ci security_group_id:sg-d852dba3] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/src/packer-windows-example/windows.json}}
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 ansible-playbook version: 2.0.2.0
2016/09/29 01:14:46 Waiting on builds to complete...
2016/09/29 01:14:46 Starting build run: amazon-ebs
2016/09/29 01:14:46 Running builder: amazon-ebs
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 [INFO] Finding AZ for the given subnet 'subnet-3536421f'
2016/09/29 01:14:46 packerio: 2016/09/29 01:14:46 [INFO] AZ found: 'us-east-1a'
2016/09/29 01:14:46 ui: ==> amazon-ebs: Prevalidating AMI Name...
==> amazon-ebs: Prevalidating AMI Name...
2016/09/29 01:14:48 ui: ==> amazon-ebs: Inspecting the source AMI (ami-2c7a073b)...
==> amazon-ebs: Inspecting the source AMI (ami-2c7a073b)...
2016/09/29 01:14:48 ui: ==> amazon-ebs: Creating temporary keypair: packer_57ec6b06-bd34-4095-a813-2f0fafccd5ed
==> amazon-ebs: Creating temporary keypair: packer_57ec6b06-bd34-4095-a813-2f0fafccd5ed
2016/09/29 01:14:48 packerio: 2016/09/29 01:14:48 Using specified security groups: [sg-d852dba3]
2016/09/29 01:14:48 packerio: 2016/09/29 01:14:48 [DEBUG] Describing tempSecurityGroup to ensure it is available: sg-d852dba3
2016/09/29 01:14:48 packerio: 2016/09/29 01:14:48 [DEBUG] Found security group sg-d852dba3
2016/09/29 01:14:48 packerio: 2016/09/29 01:14:48 [DEBUG] base64 encoding user data...
==> amazon-ebs: Launching a source AWS instance...
2016/09/29 01:14:48 ui: ==> amazon-ebs: Launching a source AWS instance...
2016/09/29 01:14:49 ui:  amazon-ebs: Instance ID: i-02253fd86a641e26f
 amazon-ebs: Instance ID: i-02253fd86a641e26f
==> amazon-ebs: Waiting for instance (i-02253fd86a641e26f) to become ready...
2016/09/29 01:14:49 ui: ==> amazon-ebs: Waiting for instance (i-02253fd86a641e26f) to become ready...
2016/09/29 01:14:49 packerio: 2016/09/29 01:14:49 Waiting for state to become: running
2016/09/29 01:14:49 packerio: 2016/09/29 01:14:49 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/09/29 01:15:11 ui: ==> amazon-ebs: Skipping waiting for password since WinRM password set...
==> amazon-ebs: Skipping waiting for password since WinRM password set...
2016/09/29 01:15:11 ui: ==> amazon-ebs: Waiting for WinRM to become available...
2016/09/29 01:15:11 packerio: 2016/09/29 01:15:11 Waiting for WinRM, up to timeout: 20m0s
==> amazon-ebs: Waiting for WinRM to become available...
2016/09/29 01:15:16 packerio: 2016/09/29 01:15:16 [INFO] Attempting WinRM connection...
2016/09/29 01:15:16 packerio: 2016/09/29 01:15:16 [DEBUG] connecting to remote shell using WinRM
2016/09/29 01:17:23 packerio: 2016/09/29 01:17:23 [ERROR] connection error: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection timed out
2016/09/29 01:17:23 packerio: 2016/09/29 01:17:23 [ERROR] WinRM connection err: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection timed out
2016/09/29 01:17:28 packerio: 2016/09/29 01:17:28 [INFO] Attempting WinRM connection...
2016/09/29 01:17:28 packerio: 2016/09/29 01:17:28 [DEBUG] connecting to remote shell using WinRM
2016/09/29 01:18:40 packerio: 2016/09/29 01:18:40 [ERROR] connection error: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection refused
2016/09/29 01:18:40 packerio: 2016/09/29 01:18:40 [ERROR] WinRM connection err: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection refused
2016/09/29 01:18:45 packerio: 2016/09/29 01:18:45 [INFO] Attempting WinRM connection...
2016/09/29 01:18:45 packerio: 2016/09/29 01:18:45 [DEBUG] connecting to remote shell using WinRM
2016/09/29 01:18:46 packerio: 2016/09/29 01:18:46 [ERROR] connection error: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection refused
2016/09/29 01:18:46 packerio: 2016/09/29 01:18:46 [ERROR] WinRM connection err: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection refused
2016/09/29 01:18:51 packerio: 2016/09/29 01:18:51 [INFO] Attempting WinRM connection...
2016/09/29 01:18:51 packerio: 2016/09/29 01:18:51 [DEBUG] connecting to remote shell using WinRM
2016/09/29 01:20:59 packerio: 2016/09/29 01:20:59 [ERROR] connection error: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection timed out
2016/09/29 01:20:59 packerio: 2016/09/29 01:20:59 [ERROR] WinRM connection err: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection timed out
2016/09/29 01:21:04 packerio: 2016/09/29 01:21:04 [INFO] Attempting WinRM connection...
2016/09/29 01:21:04 packerio: 2016/09/29 01:21:04 [DEBUG] connecting to remote shell using WinRM
2016/09/29 01:23:11 packerio: 2016/09/29 01:23:11 [ERROR] connection error: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection timed out
2016/09/29 01:23:11 packerio: 2016/09/29 01:23:11 [ERROR] WinRM connection err: unknown error Post https://10.216.35.241:5986/wsman: dial tcp 10.216.35.241:5986: getsockopt: connection timed out
2016/09/29 01:23:16 packerio: 2016/09/29 01:23:16 [INFO] Attempting WinRM connection...
2016/09/29 01:23:16 packerio: 2016/09/29 01:23:16 [DEBUG] connecting to remote shell using WinRM
==> amazon-ebs: Connected to WinRM!
2016/09/29 01:23:16 ui: ==> amazon-ebs: Connected to WinRM!
2016/09/29 01:23:16 packerio: 2016/09/29 01:23:16 Running the provision hook
==> amazon-ebs: Provisioning with Ansible...
2016/09/29 01:23:16 ui: ==> amazon-ebs: Provisioning with Ansible...
2016/09/29 01:23:17 ui: ==> amazon-ebs: SSH proxy: serving on 127.0.0.1:60740
==> amazon-ebs: SSH proxy: serving on 127.0.0.1:60740
2016/09/29 01:23:17 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook /src/packer-windows-example/windows-example.yml -i /tmp/packer-provisioner-ansible667589547 --private-key /tmp/ansible-key043146876 --extra-vars ANSIBLE_KEEP_REMOTE_FILES=1 -vvv
==> amazon-ebs: Executing Ansible: ansible-playbook /src/packer-windows-example/windows-example.yml -i /tmp/packer-provisioner-ansible667589547 --private-key /tmp/ansible-key043146876 --extra-vars ANSIBLE_KEEP_REMOTE_FILES=1 -vvv
2016/09/29 01:23:17 ui:  amazon-ebs: No config file found; using defaults
 amazon-ebs: No config file found; using defaults
2016/09/29 01:23:17 ui:  amazon-ebs:
 amazon-ebs:
2016/09/29 01:23:17 ui:  amazon-ebs: PLAYBOOK: windows-example.yml **************************************************
 amazon-ebs: PLAYBOOK: windows-example.yml **************************************************
2016/09/29 01:23:17 ui:  amazon-ebs: 1 plays in /src/packer-windows-example/windows-example.yml
 amazon-ebs: 1 plays in /src/packer-windows-example/windows-example.yml
2016/09/29 01:23:17 ui:  amazon-ebs:
 amazon-ebs:
2016/09/29 01:23:17 ui:  amazon-ebs: PLAY [windows-example.yml] *****************************************************
 amazon-ebs: PLAY [windows-example.yml] *****************************************************
2016/09/29 01:23:17 ui:  amazon-ebs:
 amazon-ebs:
2016/09/29 01:23:17 ui:  amazon-ebs: TASK [setup] *******************************************************************
 amazon-ebs: TASK [setup] *******************************************************************
2016/09/29 01:23:17 ui:  amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: vagrant
 amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: vagrant
2016/09/29 01:23:17 ui:  amazon-ebs: <127.0.0.1> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=60740 -o 'IdentityFile="/tmp/ansible-key043146876"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 127.0.0.1 '/bin/sh -c '"'"'( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" )'"'"''
 amazon-ebs: <127.0.0.1> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=60740 -o 'IdentityFile="/tmp/ansible-key043146876"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 127.0.0.1 '/bin/sh -c '"'"'( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" )'"'"''
2016/09/29 01:23:17 ui:  amazon-ebs: SSH proxy: accepted connection
 amazon-ebs: SSH proxy: accepted connection
2016/09/29 01:23:17 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using none
==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using none
2016/09/29 01:23:17 ui: ==> amazon-ebs: unauthorized key
==> amazon-ebs: unauthorized key
2016/09/29 01:23:17 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
2016/09/29 01:23:17 ui: ==> amazon-ebs: unauthorized key
==> amazon-ebs: unauthorized key
2016/09/29 01:23:17 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
2016/09/29 01:23:17 ui: ==> amazon-ebs: unauthorized key
==> amazon-ebs: unauthorized key
2016/09/29 01:23:17 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
2016/09/29 01:23:17 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
==> amazon-ebs: authentication attempt from 127.0.0.1:40905 to 127.0.0.1:60740 as vagrant using publickey
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 new env request: LANG=en_US.UTF-8
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 new exec request: /bin/sh -c '( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" )'
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 [INFO] starting remote command: /bin/sh -c '( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" )'
2016/09/29 01:23:17 [INFO] 0 bytes written for 'stdout'
2016/09/29 01:23:17 [INFO] 44 bytes written for 'stderr'
2016/09/29 01:23:17 [INFO] RPC client: Communicator ended with: 1
2016/09/29 01:23:17 [INFO] RPC endpoint: Communicator ended with: 1
2016/09/29 01:23:17 [INFO] 0 bytes written for 'stdin'
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 [INFO] command '/bin/sh -c '( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `" )'' exited with code: 1
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 [INFO] RPC endpoint: Communicator ended with: 1
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 [INFO] 0 bytes written for 'stdout'
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 [INFO] 44 bytes written for 'stderr'
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 [INFO] RPC client: Communicator ended with: 1
2016/09/29 01:23:17 packerio: 2016/09/29 01:23:17 [INFO] 0 bytes written for 'stdin'
2016/09/29 01:23:17 ui:  amazon-ebs: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 22 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `\" && echo \"` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `\" ), exited with result 1", "unreachable": true}
 amazon-ebs: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 22 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `\" && echo \"` echo $HOME/.ansible/tmp/ansible-tmp-1475112197.48-12092160621548 `\" ), exited with result 1", "unreachable": true}
2016/09/29 01:23:17 ui:  amazon-ebs: to retry, use: --limit @/src/packer-windows-example/windows-example.retry
2016/09/29 01:23:17 ui:  amazon-ebs:
 amazon-ebs: to retry, use: --limit @/src/packer-windows-example/windows-example.retry
 amazon-ebs:
 amazon-ebs: PLAY RECAP *********************************************************************
2016/09/29 01:23:17 ui:  amazon-ebs: PLAY RECAP *********************************************************************
2016/09/29 01:23:17 ui:  amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
 amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
2016/09/29 01:23:17 ui:  amazon-ebs:
2016/09/29 01:23:17 ui: ==> amazon-ebs: shutting down the SSH proxy
 amazon-ebs:
==> amazon-ebs: shutting down the SSH proxy
==> amazon-ebs: Step "StepProvision" failed, aborting...
Build 'amazon-ebs' errored: unexpected EOF
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: unexpected EOF
==> Builds finished but no artifacts were created.
2016/09/29 01:23:17 ui error: ==> amazon-ebs: Step "StepProvision" failed, aborting...
2016/09/29 01:23:17 /usr/local/bin/packerio: plugin process exited
2016/09/29 01:23:17 ui error: Build 'amazon-ebs' errored: unexpected EOF
2016/09/29 01:23:17 Builds completed. Waiting on interrupt barrier...
2016/09/29 01:23:17 machine readable: error-count []string{"1"}
2016/09/29 01:23:17 ui error:
==> Some builds didn't complete successfully and had errors:
2016/09/29 01:23:17 machine readable: amazon-ebs,error []string{"unexpected EOF"}
2016/09/29 01:23:17 ui error: --> amazon-ebs: unexpected EOF
2016/09/29 01:23:17 ui:
==> Builds finished but no artifacts were created.
2016/09/29 01:23:17 waiting for all plugin processes to complete...
2016/09/29 01:23:17 /usr/local/bin/packerio: plugin process exited
No config file found; using defaults
PLAYBOOK: windows-example.yml **************************************************
1 plays in windows-example.yml
PLAY [windows-example.yml] *****************************************************
TASK [setup] *******************************************************************
<10.216.35.241> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO 10.216.35.241
<10.216.35.241> EXEC Set-StrictMode -Version Latest
(New-Item -Type Directory -Path $env:temp -Name "ansible-tmp-1475114015.59-222801586148117").FullName | Write-Host -Separator '';
<10.216.35.241> PUT "/tmp/tmpk4RGdp" TO "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1475114015.59-222801586148117\setup.ps1"
<10.216.35.241> EXEC Set-StrictMode -Version Latest
Try
{
& 'C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1475114015.59-222801586148117\setup.ps1'
}
Catch
{
$_obj = @{ failed = $true }
If ($_.Exception.GetType)
{
$_obj.Add('msg', $_.Exception.Message)
}
Else
{
$_obj.Add('msg', $_.ToString())
}
If ($_.InvocationInfo.PositionMessage)
{
$_obj.Add('exception', $_.InvocationInfo.PositionMessage)
}
ElseIf ($_.ScriptStackTrace)
{
$_obj.Add('exception', $_.ScriptStackTrace)
}
Try
{
$_obj.Add('error_record', ($_ | ConvertTo-Json | ConvertFrom-Json))
}
Catch
{
}
Echo $_obj | ConvertTo-Json -Compress -Depth 99
Exit 1
}
Finally { Remove-Item "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1475114015.59-222801586148117" -Force -Recurse -ErrorAction SilentlyContinue }
ok: [10.216.35.241] => {"ansible_facts": {"ansible_architecture": "64-bit", "ansible_date_time": {"date": "9/29/2016", "day": "29", "hour": "01", "iso8601": "2016-09-29T01:53:36", "minute": "53", "month": "09", "year": "2016"}, "ansible_distribution": "Microsoft Windows NT 6.3.9600.0", "ansible_distribution_version": "6.3.9600.0", "ansible_fqdn": "WIN-TBP1CB4C3B2", "ansible_hostname": "WIN-TBP1CB4C3B2", "ansible_interfaces": [{"default_gateway": "10.216.35.1", "dns_domain": "ec2.internal", "interface_index": 12, "interface_name": "AWS PV Network Device #0"}], "ansible_ip_addresses": ["10.216.35.241", "fe80::64e7:b343:e256:33f3"], "ansible_lastboot": "2016-09-29 01:16:11Z", "ansible_os_family": "Windows", "ansible_os_name": "Microsoft Windows Server 2012 R2 Standard", "ansible_powershell_version": 4, "ansible_system": "Win32NT", "ansible_totalmem": 4294557696, "ansible_uptime_seconds": 2245, "ansible_winrm_certificate_expires": "2017-09-29 01:32:24"}, "changed": false, "invocation": {"module_name": "setup"}}
TASK [list directory] **********************************************************
task path: /src/packer-windows-example/windows-example.yml:6
<10.216.35.241> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO 10.216.35.241
<10.216.35.241> EXEC dir
ok: [10.216.35.241] => {"changed": false, "invocation": {"module_args": {"_raw_params": "dir"}, "module_name": "raw"}, "rc": 0, "stderr": "", "stdout": "\r\n\r\n Directory: C:\\Users\\Administrator\r\n\r\n\r\nMode LastWriteTime Length Name \r\n---- ------------- ------ ---- \r\nd-r-- 9/29/2016 1:28 AM Contacts \r\nd-r-- 9/29/2016 1:28 AM Desktop \r\nd-r-- 9/29/2016 1:28 AM Documents \r\nd-r-- 9/29/2016 1:28 AM Downloads \r\nd-r-- 9/29/2016 1:28 AM Favorites \r\nd-r-- 9/29/2016 1:28 AM Links \r\nd-r-- 9/29/2016 1:28 AM Music \r\nd-r-- 9/29/2016 1:28 AM Pictures \r\nd-r-- 9/29/2016 1:28 AM Saved Games \r\nd-r-- 9/29/2016 1:28 AM Searches \r\nd-r-- 9/29/2016 1:28 AM Videos \r\n\r\n\r\n", "stdout_lines": ["", "", " Directory: C:\\Users\\Administrator", "", "", "Mode LastWriteTime Length Name ", "---- ------------- ------ ---- ", "d-r-- 9/29/2016 1:28 AM Contacts ", "d-r-- 9/29/2016 1:28 AM Desktop ", "d-r-- 9/29/2016 1:28 AM Documents ", "d-r-- 9/29/2016 1:28 AM Downloads ", "d-r-- 9/29/2016 1:28 AM Favorites ", "d-r-- 9/29/2016 1:28 AM Links ", "d-r-- 9/29/2016 1:28 AM Music ", "d-r-- 9/29/2016 1:28 AM Pictures ", "d-r-- 9/29/2016 1:28 AM Saved Games ", "d-r-- 9/29/2016 1:28 AM Searches ", "d-r-- 9/29/2016 1:28 AM Videos ", "", ""]}
PLAY RECAP *********************************************************************
10.216.35.241 : ok=2 changed=0 unreachable=0 failed=0
2016/09/29 04:02:29 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 04:02:29 Packer Target OS/Arch: linux amd64
2016/09/29 04:02:29 Built with Go Version: go1.6.3
2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 Using internal plugin for digitalocean
2016/09/29 04:02:29 Using internal plugin for file
2016/09/29 04:02:29 Using internal plugin for parallels-pvm
2016/09/29 04:02:29 Using internal plugin for vmware-iso
2016/09/29 04:02:29 Using internal plugin for parallels-iso
2016/09/29 04:02:29 Using internal plugin for virtualbox-ovf
2016/09/29 04:02:29 Using internal plugin for azure-arm
2016/09/29 04:02:29 Using internal plugin for docker
2016/09/29 04:02:29 Using internal plugin for googlecompute
2016/09/29 04:02:29 Using internal plugin for null
2016/09/29 04:02:29 Using internal plugin for amazon-chroot
2016/09/29 04:02:29 Using internal plugin for amazon-ebs
2016/09/29 04:02:29 Using internal plugin for openstack
2016/09/29 04:02:29 Using internal plugin for amazon-instance
2016/09/29 04:02:29 Using internal plugin for qemu
2016/09/29 04:02:29 Using internal plugin for virtualbox-iso
2016/09/29 04:02:29 Using internal plugin for vmware-vmx
2016/09/29 04:02:29 Using internal plugin for file
2016/09/29 04:02:29 Using internal plugin for powershell
2016/09/29 04:02:29 Using internal plugin for puppet-masterless
2016/09/29 04:02:29 Using internal plugin for puppet-server
2016/09/29 04:02:29 Using internal plugin for shell
2016/09/29 04:02:29 Using internal plugin for chef-client
2016/09/29 04:02:29 Using internal plugin for chef-solo
2016/09/29 04:02:29 Using internal plugin for salt-masterless
2016/09/29 04:02:29 Using internal plugin for shell-local
2016/09/29 04:02:29 Using internal plugin for windows-restart
2016/09/29 04:02:29 Using internal plugin for windows-shell
2016/09/29 04:02:29 Using internal plugin for ansible
2016/09/29 04:02:29 Using internal plugin for ansible-local
2016/09/29 04:02:29 Using internal plugin for docker-push
2016/09/29 04:02:29 Using internal plugin for shell-local
2016/09/29 04:02:29 Using internal plugin for vagrant-cloud
2016/09/29 04:02:29 Using internal plugin for atlas
2016/09/29 04:02:29 Using internal plugin for checksum
2016/09/29 04:02:29 Using internal plugin for manifest
2016/09/29 04:02:29 Using internal plugin for vagrant
2016/09/29 04:02:29 Using internal plugin for vsphere
2016/09/29 04:02:29 Using internal plugin for compress
2016/09/29 04:02:29 Using internal plugin for googlecompute-export
2016/09/29 04:02:29 Using internal plugin for docker-import
2016/09/29 04:02:29 Using internal plugin for docker-save
2016/09/29 04:02:29 Using internal plugin for docker-tag
2016/09/29 04:02:29 Using internal plugin for amazon-import
2016/09/29 04:02:29 Using internal plugin for artifice
2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 04:02:29 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 04:02:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs] PostProcessors:map[shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas] Provisioners:map[powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local]}
2016/09/29 04:02:29 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 Loading builder: amazon-ebs
2016/09/29 04:02:29 Plugin could not be found. Checking same directory as executable.
2016/09/29 04:02:29 Current exe path: /usr/local/bin/packerio
2016/09/29 04:02:29 Creating plugin client for path: /usr/local/bin/packerio
2016/09/29 04:02:29 Starting plugin: /usr/local/bin/packerio []string{"/usr/local/bin/packerio", "plugin", "packer-builder-amazon-ebs"}
2016/09/29 04:02:29 Waiting for RPC address for: /usr/local/bin/packerio
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Packer Target OS/Arch: linux amd64
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Built with Go Version: go1.6.3
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for openstack
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for parallels-iso
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for parallels-pvm
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for virtualbox-iso
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-chroot
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for azure-arm
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for file
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for googlecompute
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for qemu
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for virtualbox-ovf
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vmware-vmx
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-ebs
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-instance
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for digitalocean
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for null
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vmware-iso
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for puppet-masterless
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for puppet-server
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for salt-masterless
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for windows-shell
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for chef-client
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for file
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for powershell
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for shell
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for shell-local
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for windows-restart
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for ansible
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for ansible-local
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for chef-solo
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for checksum
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for compress
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-push
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-save
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for shell-local
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for artifice
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for atlas
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-import
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-tag
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for manifest
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vagrant-cloud
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-import
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for googlecompute-export
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vsphere
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso] PostProcessors:map[checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export] Provisioners:map[salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 args: []string{"packer-builder-amazon-ebs"}
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Plugin minimum port: 10000
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Plugin maximum port: 25000
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Plugin address: unix /tmp/packer-plugin824184963
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Waiting for connection...
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Serving a plugin connection...
2016/09/29 04:02:29 Loading provisioner: ansible
2016/09/29 04:02:29 Plugin could not be found. Checking same directory as executable.
2016/09/29 04:02:29 Current exe path: /usr/local/bin/packerio
2016/09/29 04:02:29 Creating plugin client for path: /usr/local/bin/packerio
2016/09/29 04:02:29 Starting plugin: /usr/local/bin/packerio []string{"/usr/local/bin/packerio", "plugin", "packer-provisioner-ansible"}
2016/09/29 04:02:29 Waiting for RPC address for: /usr/local/bin/packerio
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Packer Target OS/Arch: linux amd64
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Built with Go Version: go1.6.3
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-ebs
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for digitalocean
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for openstack
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for parallels-iso
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for parallels-pvm
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-chroot
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for azure-arm
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for file
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for null
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vmware-iso
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for virtualbox-iso
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for virtualbox-ovf
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vmware-vmx
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-instance
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for googlecompute
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for qemu
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for ansible
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for ansible-local
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for chef-client
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for file
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for powershell
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for puppet-masterless
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for puppet-server
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for shell
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for shell-local
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for windows-restart
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for windows-shell
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for chef-solo
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for salt-masterless
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-tag
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for compress
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for googlecompute-export
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for artifice
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for checksum
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for shell-local
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vsphere
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for amazon-import
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for atlas
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-import
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-push
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for docker-save
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for manifest
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Using internal plugin for vagrant-cloud
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm] PostProcessors:map[docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas] Provisioners:map[windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 args: []string{"packer-provisioner-ansible"}
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Plugin minimum port: 10000
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Plugin maximum port: 25000
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Plugin address: unix /tmp/packer-plugin117667382
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Waiting for connection...
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Detected home directory from env var: /home/vagrant
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Serving a plugin connection...
amazon-ebs output will be in this color.
2016/09/29 04:02:29 ui: amazon-ebs output will be in this color.
2016/09/29 04:02:29 ui:
2016/09/29 04:02:29 Build debug mode: false
2016/09/29 04:02:29 Force build: false
2016/09/29 04:02:29 On error: abort
2016/09/29 04:02:29 Preparing build: amazon-ebs
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError:abort PackerUserVars:map[region:us-east-1 source_ami:ami-2c7a073b aws_profile:ci security_group_id:sg-d852dba3 subnet_id:subnet-3536421f vpc_id:vpc-e1f33086 instance_type:t2.medium]} AccessConfig:{AccessKey: SecretKey: RawRegion:us-east-1 SkipValidation:false Token: ProfileName:ci} AMIConfig:{AMIName:packer-windows-example 1475121749 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.medium RunTags:map[] SourceAmi:ami-2c7a073b SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[sg-d852dba3] SubnetId:subnet-3536421f TemporaryKeyPairName:packer_57ec9255-b8bd-2bab-8359-94aabe78a33b UserData: UserDataFile:BootstrapWindows.ps1 WindowsPasswordTimeout:10m0s VpcId:vpc-e1f33086 InstanceInitiatedShutdownBehavior:stop Comm:{Type:winrm SSHHost: SSHPort:0 SSHUsername: SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:0 SSHDisableAgent:false SSHHandshakeAttempts:0 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod: WinRMUser:Administrator WinRMPassword:EF942DDC-2292-4FE2-BE92-57BCE3475109 WinRMHost: WinRMPort:5986 WinRMTimeout:20m0s WinRMUseSSL:true WinRMInsecure:true WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x99c450] UserVariables:map[instance_type:t2.medium region:us-east-1 source_ami:ami-2c7a073b aws_profile:ci security_group_id:sg-d852dba3 subnet_id:subnet-3536421f vpc_id:vpc-e1f33086] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/src/packer-windows-example/windows.json}}
2016/09/29 04:02:29 packerio: 2016/09/29 04:02:29 ansible-playbook version: 2.0.2.0
2016/09/29 04:02:29 Waiting on builds to complete...
2016/09/29 04:02:29 Starting build run: amazon-ebs
2016/09/29 04:02:29 Running builder: amazon-ebs
2016/09/29 04:02:30 packerio: 2016/09/29 04:02:30 [INFO] Finding AZ for the given subnet 'subnet-3536421f'
2016/09/29 04:02:30 packerio: 2016/09/29 04:02:30 [INFO] AZ found: 'us-east-1a'
2016/09/29 04:02:30 ui: ==> amazon-ebs: Prevalidating AMI Name...
==> amazon-ebs: Prevalidating AMI Name...
2016/09/29 04:02:44 ui: ==> amazon-ebs: Inspecting the source AMI (ami-2c7a073b)...
==> amazon-ebs: Inspecting the source AMI (ami-2c7a073b)...
2016/09/29 04:02:44 ui: ==> amazon-ebs: Creating temporary keypair: packer_57ec9255-b8bd-2bab-8359-94aabe78a33b
==> amazon-ebs: Creating temporary keypair: packer_57ec9255-b8bd-2bab-8359-94aabe78a33b
2016/09/29 04:02:44 packerio: 2016/09/29 04:02:44 Using specified security groups: [sg-d852dba3]
2016/09/29 04:02:44 packerio: 2016/09/29 04:02:44 [DEBUG] Describing tempSecurityGroup to ensure it is available: sg-d852dba3
2016/09/29 04:02:44 packerio: 2016/09/29 04:02:44 [DEBUG] Found security group sg-d852dba3
2016/09/29 04:02:44 packerio: 2016/09/29 04:02:44 [DEBUG] base64 encoding user data...
==> amazon-ebs: Launching a source AWS instance...
2016/09/29 04:02:44 ui: ==> amazon-ebs: Launching a source AWS instance...
2016/09/29 04:02:45 ui:  amazon-ebs: Instance ID: i-018b47411143fa70b
2016/09/29 04:02:45 ui: ==> amazon-ebs: Waiting for instance (i-018b47411143fa70b) to become ready...
2016/09/29 04:02:45 packerio: 2016/09/29 04:02:45 Waiting for state to become: running
2016/09/29 04:02:45 packerio: 2016/09/29 04:02:45 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
 amazon-ebs: Instance ID: i-018b47411143fa70b
==> amazon-ebs: Waiting for instance (i-018b47411143fa70b) to become ready...
2016/09/29 04:03:05 ui: ==> amazon-ebs: Skipping waiting for password since WinRM password set...
==> amazon-ebs: Skipping waiting for password since WinRM password set...
2016/09/29 04:03:05 packerio: 2016/09/29 04:03:05 Waiting for WinRM, up to timeout: 20m0s
==> amazon-ebs: Waiting for WinRM to become available...
2016/09/29 04:03:05 ui: ==> amazon-ebs: Waiting for WinRM to become available...
2016/09/29 04:03:10 packerio: 2016/09/29 04:03:10 [INFO] Attempting WinRM connection...
2016/09/29 04:03:10 packerio: 2016/09/29 04:03:10 [DEBUG] connecting to remote shell using WinRM
2016/09/29 04:05:17 packerio: 2016/09/29 04:05:17 [ERROR] connection error: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:05:17 packerio: 2016/09/29 04:05:17 [ERROR] WinRM connection err: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:05:22 packerio: 2016/09/29 04:05:22 [INFO] Attempting WinRM connection...
2016/09/29 04:05:22 packerio: 2016/09/29 04:05:22 [DEBUG] connecting to remote shell using WinRM
2016/09/29 04:07:29 packerio: 2016/09/29 04:07:29 [ERROR] connection error: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:07:29 packerio: 2016/09/29 04:07:29 [ERROR] WinRM connection err: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:07:34 packerio: 2016/09/29 04:07:34 [INFO] Attempting WinRM connection...
2016/09/29 04:07:34 packerio: 2016/09/29 04:07:34 [DEBUG] connecting to remote shell using WinRM
2016/09/29 04:07:35 packerio: 2016/09/29 04:07:35 [ERROR] connection error: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection refused
2016/09/29 04:07:35 packerio: 2016/09/29 04:07:35 [ERROR] WinRM connection err: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection refused
2016/09/29 04:07:40 packerio: 2016/09/29 04:07:40 [INFO] Attempting WinRM connection...
2016/09/29 04:07:40 packerio: 2016/09/29 04:07:40 [DEBUG] connecting to remote shell using WinRM
2016/09/29 04:07:41 packerio: 2016/09/29 04:07:41 [ERROR] connection error: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection refused
2016/09/29 04:07:41 packerio: 2016/09/29 04:07:41 [ERROR] WinRM connection err: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection refused
2016/09/29 04:07:46 packerio: 2016/09/29 04:07:46 [INFO] Attempting WinRM connection...
2016/09/29 04:07:46 packerio: 2016/09/29 04:07:46 [DEBUG] connecting to remote shell using WinRM
2016/09/29 04:09:54 packerio: 2016/09/29 04:09:54 [ERROR] connection error: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:09:54 packerio: 2016/09/29 04:09:54 [ERROR] WinRM connection err: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:09:59 packerio: 2016/09/29 04:09:59 [INFO] Attempting WinRM connection...
2016/09/29 04:09:59 packerio: 2016/09/29 04:09:59 [DEBUG] connecting to remote shell using WinRM
2016/09/29 04:12:06 packerio: 2016/09/29 04:12:06 [ERROR] connection error: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:12:06 packerio: 2016/09/29 04:12:06 [ERROR] WinRM connection err: unknown error Post https://10.216.35.243:5986/wsman: dial tcp 10.216.35.243:5986: getsockopt: connection timed out
2016/09/29 04:12:11 packerio: 2016/09/29 04:12:11 [INFO] Attempting WinRM connection...
2016/09/29 04:12:11 packerio: 2016/09/29 04:12:11 [DEBUG] connecting to remote shell using WinRM
2016/09/29 04:12:11 ui: ==> amazon-ebs: Connected to WinRM!
==> amazon-ebs: Connected to WinRM!
2016/09/29 04:12:11 packerio: 2016/09/29 04:12:11 Running the provision hook
2016/09/29 04:12:11 ui: ==> amazon-ebs: Provisioning with Ansible...
==> amazon-ebs: Provisioning with Ansible...
2016/09/29 04:12:12 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook /src/packer-windows-example/windows-example.yml -i /tmp/packer-provisioner-ansible812863192 --private-key /tmp/ansible-key588329501 --extra-vars ANSIBLE_KEEP_REMOTE_FILES=1 -vvv
==> amazon-ebs: Executing Ansible: ansible-playbook /src/packer-windows-example/windows-example.yml -i /tmp/packer-provisioner-ansible812863192 --private-key /tmp/ansible-key588329501 --extra-vars ANSIBLE_KEEP_REMOTE_FILES=1 -vvv
2016/09/29 04:12:12 ui: ==> amazon-ebs: SSH proxy: serving on 127.0.0.1:42219
==> amazon-ebs: SSH proxy: serving on 127.0.0.1:42219
2016/09/29 04:12:13 ui:  amazon-ebs: Using /src/packer-windows-example/ansible.cfg as config file
 amazon-ebs: Using /src/packer-windows-example/ansible.cfg as config file
2016/09/29 04:12:13 ui:  amazon-ebs:
 amazon-ebs:
 amazon-ebs: PLAYBOOK: windows-example.yml **************************************************
2016/09/29 04:12:13 ui:  amazon-ebs: PLAYBOOK: windows-example.yml **************************************************
2016/09/29 04:12:13 ui:  amazon-ebs: 1 plays in /src/packer-windows-example/windows-example.yml
 amazon-ebs: 1 plays in /src/packer-windows-example/windows-example.yml
2016/09/29 04:12:13 ui:  amazon-ebs:
 amazon-ebs:
2016/09/29 04:12:13 ui:  amazon-ebs: PLAY [windows-example.yml] *****************************************************
 amazon-ebs: PLAY [windows-example.yml] *****************************************************
 amazon-ebs:
 amazon-ebs: TASK [setup] *******************************************************************
2016/09/29 04:12:13 ui:  amazon-ebs:
2016/09/29 04:12:13 ui:  amazon-ebs: TASK [setup] *******************************************************************
2016/09/29 04:12:13 ui:  amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: vagrant
 amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: vagrant
2016/09/29 04:12:13 ui:  amazon-ebs: <127.0.0.1> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=42219 -o 'IdentityFile="/tmp/ansible-key588329501"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 127.0.0.1 'powershell -c '"'"'( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"''
 amazon-ebs: <127.0.0.1> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=42219 -o 'IdentityFile="/tmp/ansible-key588329501"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 127.0.0.1 'powershell -c '"'"'( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"''
 amazon-ebs: SSH proxy: accepted connection
2016/09/29 04:12:13 ui:  amazon-ebs: SSH proxy: accepted connection
2016/09/29 04:12:13 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using none
==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using none
2016/09/29 04:12:13 ui: ==> amazon-ebs: unauthorized key
==> amazon-ebs: unauthorized key
2016/09/29 04:12:13 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
2016/09/29 04:12:13 ui: ==> amazon-ebs: unauthorized key
==> amazon-ebs: unauthorized key
==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
2016/09/29 04:12:13 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
==> amazon-ebs: unauthorized key
2016/09/29 04:12:13 ui: ==> amazon-ebs: unauthorized key
==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
2016/09/29 04:12:13 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
2016/09/29 04:12:13 ui: ==> amazon-ebs: authentication attempt from 127.0.0.1:42323 to 127.0.0.1:42219 as vagrant using publickey
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 new env request: LANG=en_US.UTF-8
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 new exec request: powershell -c '( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] starting remote command: powershell -c '( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'
2016/09/29 04:12:13 [INFO] RPC client: Communicator ended with: 0
2016/09/29 04:12:13 [INFO] 76 bytes written for 'stdout'
2016/09/29 04:12:13 [INFO] 201 bytes written for 'stderr'
2016/09/29 04:12:13 [INFO] RPC endpoint: Communicator ended with: 0
2016/09/29 04:12:13 [INFO] 0 bytes written for 'stdin'
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] command 'powershell -c '( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'' exited with code: 0
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] RPC endpoint: Communicator ended with: 0
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] RPC client: Communicator ended with: 0
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] 76 bytes written for 'stdout'
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] 201 bytes written for 'stderr'
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] 0 bytes written for 'stdin'
2016/09/29 04:12:13 ui:  amazon-ebs: <127.0.0.1> PUT /tmp/tmpKvH2tw TO "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'/setup
 amazon-ebs: <127.0.0.1> PUT /tmp/tmpKvH2tw TO "` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'/setup
2016/09/29 04:12:13 ui:  amazon-ebs: <127.0.0.1> SSH: EXEC scp -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=42219 -o 'IdentityFile="/tmp/ansible-key588329501"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r /tmp/tmpKvH2tw '[127.0.0.1]:'"'"'"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'/setup'"'"''
 amazon-ebs: <127.0.0.1> SSH: EXEC scp -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=42219 -o 'IdentityFile="/tmp/ansible-key588329501"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r /tmp/tmpKvH2tw '[127.0.0.1]:'"'"'"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'/setup'"'"''
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 new env request: LANG=en_US.UTF-8
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 new exec request: scp -t '"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'/setup'
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 Uploading file to ''"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'/setup'/tmpKvH2tw'
2016/09/29 04:12:13 packerio: 2016/09/29 04:12:13 [INFO] 213977 bytes written for 'uploadData'
2016/09/29 04:12:13 [INFO] 213977 bytes written for 'uploadData'
2016/09/29 04:12:18 packerio: #< CLIXML
2016/09/29 04:12:18 ui:  amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: vagrant
 amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: vagrant
 amazon-ebs: <127.0.0.1> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=42219 -o 'IdentityFile="/tmp/ansible-key588329501"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r -tt 127.0.0.1 'powershell -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python '"'"'"'"'"'"'"'"'"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/setup'"'"'"'"'"'"'"'"'; rm -rf ""` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'/" > /dev/null 2>&1'"'"''
2016/09/29 04:12:18 ui:  amazon-ebs: <127.0.0.1> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=42219 -o 'IdentityFile="/tmp/ansible-key588329501"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=vagrant -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r -tt 127.0.0.1 'powershell -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python '"'"'"'"'"'"'"'"'"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/setup'"'"'"'"'"'"'"'"'; rm -rf ""` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'/" > /dev/null 2>&1'"'"''
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 ansible provisioner pty-req request
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 new env request: LANG=en_US.UTF-8
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 new exec request: powershell -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python '"'"'"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'/setup'"'"'; rm -rf ""` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'/" > /dev/null 2>&1'
2016/09/29 04:12:18 packerio: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><S S="Error">At line:3 char:127_x000D__x000A_</S><S S="Error">+ ... 96451551 `" )'"'"'\setup'\tmpKvH2tw'")_x000D__x000A_</S><S S="Error">+ ~_x000D__x000A_</S><S S="Error">Missing ')' in method call._x000D__x000A_</S><S S="Error">At line:3 char:127_x000D__x000A_</S><S S="Error">+ ... 96451551 `" )'"'"'\setup'\tmpKvH2tw'")_x000D__x000A_</S><S S="Error">+ ~~~_x000D__x000A_</S><S S="Error">Unexpected token ''"'' in expression or statement._x000D__x000A_</S><S S="Error">At line:3 char:148_x000D__x000A_</S><S S="Error">+ ... tup'\tmpKvH2tw'")_x000D__x000A_</S><S S="Error">+ ~~_x000D__x000A_</S><S S="Error">The string is missing the terminator: "._x000D__x000A_</S><S S="Error">At line:3 char:130_x000D__x000A_</S><S S="Error">+ ... 51551 `" )'"'"'\setup'\tmpKvH2tw'")_x000D__x000A_</S><S S="Error">+ ~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S="Error">Unexpected token '\setup'\tmpKvH2tw'")_x000D__x000A_</S><S S="Error"> if (Test-Path $dest_file_path) {_x000D__x000A_</S><S S="Error"> rm $dest_file_path_x000D__x000A_</S><S S="Error"> }_x000D__x000A_</S><S S="Error"> else {_x000D__x000A_</S><S S="Error"> $dest_dir = ([System.IO.Path]::GetDirectoryName($dest_file_path))_x000D__x000A_</S><S S="Error"> New-Item -ItemType directory -Force -ErrorAction SilentlyContinue _x000D__x000A_</S><S S="Error">-Path $dest_dir | Out-Null_x000D__x000A_</S><S S="Error"> }_x000D__x000A_</S><S S="Error"> if (Test-Path $tmp_file_path) {_x000D__x000A_</S><S S="Error"> $base64_lines = Get-Content $tmp_file_path_x000D__x000A_</S><S S="Error"> $base64_string = [string]::join("",$base64_lines)_x000D__x000A_</S><S S="Error"> $bytes = [System.Convert]::FromBase64String($base64_string) _x000D__x000A_</S><S S="Error"> [System.IO.File]::WriteAllBytes($dest_file_path, $bytes)_x000D__x000A_</S><S S="Error"> } else {_x000D__x000A_</S><S S="Error"> echo $null &gt; $dest_file_path_x000D__x000A_</S><S S="Error"> }_x000D__x000A_</S><S S="Error"> ' in expression or statement._x000D__x000A_</S><S S="Error"> + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx _x000D__x000A_</S><S S="Error"> ception_x000D__x000A_</S><S S="Error"> + FullyQualifiedErrorId : MissingEndParenthesisInMethodCall_x000D__x000A_</S><S S="Error"> _x000D__x000A_</S></Objs>2016/09/29 04:12:18 [INFO] starting remote command: powershell -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python '"'"'"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'/setup'"'"'; rm -rf ""` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'/" > /dev/null 2>&1'
2016/09/29 04:12:18 [INFO] 0 bytes written for 'stdout'
2016/09/29 04:12:18 [INFO] 44 bytes written for 'stderr'
2016/09/29 04:12:18 [INFO] RPC client: Communicator ended with: 1
2016/09/29 04:12:18 [INFO] RPC endpoint: Communicator ended with: 1
2016/09/29 04:12:18 [INFO] 0 bytes written for 'stdin'
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 [INFO] command 'powershell -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python '"'"'"` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'"'"'"'"'"'"'/setup'"'"'; rm -rf ""` echo $HOME/.ansible/tmp/ansible-tmp-1475122333.37-115032996451551 `" )'"'"'/" > /dev/null 2>&1'' exited with code: 1
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 [INFO] RPC endpoint: Communicator ended with: 1
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 [INFO] 0 bytes written for 'stdout'
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 [INFO] 44 bytes written for 'stderr'
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 [INFO] RPC client: Communicator ended with: 1
2016/09/29 04:12:18 packerio: 2016/09/29 04:12:18 [INFO] 0 bytes written for 'stdin'
2016/09/29 04:12:18 ui:  amazon-ebs: fatal: [default]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "setup"}, "module_stderr": "The system cannot find the path specified.\r\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}
 amazon-ebs: fatal: [default]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "setup"}, "module_stderr": "The system cannot find the path specified.\r\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}
2016/09/29 04:12:18 ui:  amazon-ebs:
2016/09/29 04:12:18 ui:  amazon-ebs: NO MORE HOSTS LEFT *************************************************************
 amazon-ebs:
 amazon-ebs: NO MORE HOSTS LEFT *************************************************************
2016/09/29 04:12:18 ui:  amazon-ebs: to retry, use: --limit @/src/packer-windows-example/windows-example.retry
 amazon-ebs: to retry, use: --limit @/src/packer-windows-example/windows-example.retry
2016/09/29 04:12:18 ui:  amazon-ebs:
 amazon-ebs:
2016/09/29 04:12:18 ui:  amazon-ebs: PLAY RECAP *********************************************************************
 amazon-ebs: PLAY RECAP *********************************************************************
2016/09/29 04:12:18 ui:  amazon-ebs: default : ok=0 changed=0 unreachable=0 failed=1
2016/09/29 04:12:18 ui:  amazon-ebs:
 amazon-ebs: default : ok=0 changed=0 unreachable=0 failed=1
 amazon-ebs:
2016/09/29 04:12:18 ui: ==> amazon-ebs: shutting down the SSH proxy
==> amazon-ebs: shutting down the SSH proxy
2016/09/29 04:12:18 ui error: ==> amazon-ebs: Step "StepProvision" failed, aborting...
2016/09/29 04:12:18 /usr/local/bin/packerio: plugin process exited
==> amazon-ebs: Step "StepProvision" failed, aborting...
2016/09/29 04:12:18 ui error: Build 'amazon-ebs' errored: unexpected EOF
2016/09/29 04:12:18 Builds completed. Waiting on interrupt barrier...
2016/09/29 04:12:18 machine readable: error-count []string{"1"}
2016/09/29 04:12:18 ui error:
==> Some builds didn't complete successfully and had errors:
2016/09/29 04:12:18 machine readable: amazon-ebs,error []string{"unexpected EOF"}
2016/09/29 04:12:18 ui error: --> amazon-ebs: unexpected EOF
2016/09/29 04:12:18 ui:
==> Builds finished but no artifacts were created.
2016/09/29 04:12:18 waiting for all plugin processes to complete...
2016/09/29 04:12:18 /usr/local/bin/packerio: plugin process exited
Build 'amazon-ebs' errored: unexpected EOF
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: unexpected EOF
==> Builds finished but no artifacts were created.
2016/09/29 17:46:40 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 17:46:40 Packer Target OS/Arch: linux amd64
2016/09/29 17:46:40 Built with Go Version: go1.6.3
2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 Using internal plugin for openstack
2016/09/29 17:46:40 Using internal plugin for virtualbox-ovf
2016/09/29 17:46:40 Using internal plugin for googlecompute
2016/09/29 17:46:40 Using internal plugin for null
2016/09/29 17:46:40 Using internal plugin for file
2016/09/29 17:46:40 Using internal plugin for parallels-iso
2016/09/29 17:46:40 Using internal plugin for parallels-pvm
2016/09/29 17:46:40 Using internal plugin for qemu
2016/09/29 17:46:40 Using internal plugin for virtualbox-iso
2016/09/29 17:46:40 Using internal plugin for amazon-ebs
2016/09/29 17:46:40 Using internal plugin for digitalocean
2016/09/29 17:46:40 Using internal plugin for vmware-iso
2016/09/29 17:46:40 Using internal plugin for vmware-vmx
2016/09/29 17:46:40 Using internal plugin for amazon-chroot
2016/09/29 17:46:40 Using internal plugin for azure-arm
2016/09/29 17:46:40 Using internal plugin for amazon-instance
2016/09/29 17:46:40 Using internal plugin for docker
2016/09/29 17:46:40 Using internal plugin for puppet-masterless
2016/09/29 17:46:40 Using internal plugin for puppet-server
2016/09/29 17:46:40 Using internal plugin for shell-local
2016/09/29 17:46:40 Using internal plugin for windows-restart
2016/09/29 17:46:40 Using internal plugin for ansible-local
2016/09/29 17:46:40 Using internal plugin for file
2016/09/29 17:46:40 Using internal plugin for powershell
2016/09/29 17:46:40 Using internal plugin for salt-masterless
2016/09/29 17:46:40 Using internal plugin for shell
2016/09/29 17:46:40 Using internal plugin for windows-shell
2016/09/29 17:46:40 Using internal plugin for ansible
2016/09/29 17:46:40 Using internal plugin for chef-client
2016/09/29 17:46:40 Using internal plugin for chef-solo
2016/09/29 17:46:40 Using internal plugin for googlecompute-export
2016/09/29 17:46:40 Using internal plugin for vagrant-cloud
2016/09/29 17:46:40 Using internal plugin for compress
2016/09/29 17:46:40 Using internal plugin for docker-push
2016/09/29 17:46:40 Using internal plugin for docker-save
2016/09/29 17:46:40 Using internal plugin for shell-local
2016/09/29 17:46:40 Using internal plugin for vagrant
2016/09/29 17:46:40 Using internal plugin for amazon-import
2016/09/29 17:46:40 Using internal plugin for checksum
2016/09/29 17:46:40 Using internal plugin for docker-import
2016/09/29 17:46:40 Using internal plugin for manifest
2016/09/29 17:46:40 Using internal plugin for vsphere
2016/09/29 17:46:40 Using internal plugin for artifice
2016/09/29 17:46:40 Using internal plugin for atlas
2016/09/29 17:46:40 Using internal plugin for docker-tag
2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 17:46:40 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 17:46:40 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean] PostProcessors:map[googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag] Provisioners:map[puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 17:46:40 Loading builder: amazon-ebs
2016/09/29 17:46:40 Plugin could not be found. Checking same directory as executable.
2016/09/29 17:46:40 Current exe path: /usr/local/bin/packerio
2016/09/29 17:46:40 Creating plugin client for path: /usr/local/bin/packerio
2016/09/29 17:46:40 Starting plugin: /usr/local/bin/packerio []string{"/usr/local/bin/packerio", "plugin", "packer-builder-amazon-ebs"}
2016/09/29 17:46:40 Waiting for RPC address for: /usr/local/bin/packerio
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Packer Target OS/Arch: linux amd64
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Built with Go Version: go1.6.3
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for azure-arm
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for file
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for null
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for qemu
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for virtualbox-iso
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for virtualbox-ovf
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vmware-iso
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-chroot
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-ebs
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for digitalocean
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for parallels-pvm
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vmware-vmx
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-instance
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for parallels-iso
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for googlecompute
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for openstack
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for file
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for powershell
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for windows-restart
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for windows-shell
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for chef-client
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for ansible-local
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for chef-solo
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for puppet-masterless
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for puppet-server
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for salt-masterless
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for shell
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for shell-local
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for ansible
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-import
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-save
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for googlecompute-export
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for compress
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for atlas
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-tag
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for manifest
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for shell-local
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vagrant-cloud
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for artifice
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-import
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-push
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vsphere
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for checksum
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack] PostProcessors:map[vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum] Provisioners:map[powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible]}
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 args: []string{"packer-builder-amazon-ebs"}
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Plugin minimum port: 10000
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Plugin maximum port: 25000
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Plugin address: unix /tmp/packer-plugin775471244
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Waiting for connection...
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Serving a plugin connection...
2016/09/29 17:46:40 Loading provisioner: ansible
2016/09/29 17:46:40 Plugin could not be found. Checking same directory as executable.
2016/09/29 17:46:40 Current exe path: /usr/local/bin/packerio
2016/09/29 17:46:40 Creating plugin client for path: /usr/local/bin/packerio
2016/09/29 17:46:40 Starting plugin: /usr/local/bin/packerio []string{"/usr/local/bin/packerio", "plugin", "packer-provisioner-ansible"}
2016/09/29 17:46:40 Waiting for RPC address for: /usr/local/bin/packerio
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 [INFO] Packer version: 0.11.0.dev (78cb8e71930e35f99a0126d86a9f8b7b2005767a)
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Packer Target OS/Arch: linux amd64
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Built with Go Version: go1.6.3
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for null
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for file
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for googlecompute
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for qemu
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-instance
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vmware-iso
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-chroot
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-ebs
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for azure-arm
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for digitalocean
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for openstack
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for parallels-iso
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for parallels-pvm
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for virtualbox-iso
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for virtualbox-ovf
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vmware-vmx
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for ansible-local
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for chef-client
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for chef-solo
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for file
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for powershell
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for puppet-masterless
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for puppet-server
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for ansible
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for shell
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for shell-local
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for windows-restart
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for windows-shell
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for salt-masterless
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for atlas
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for compress
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-push
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for googlecompute-export
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vagrant-cloud
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for artifice
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-save
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for amazon-import
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-import
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for checksum
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for manifest
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for shell-local
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for vsphere
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Using internal plugin for docker-tag
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Attempting to open config file: /home/vagrant/.packerconfig
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 [WARN] Config file doesn't exist: /home/vagrant/.packerconfig
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[openstack:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack virtualbox-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebs:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-instance:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance vmware-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-chroot:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot azure-arm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm parallels-iso:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm qemu:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute vmware-vmx:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx null:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null docker:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker virtualbox-ovf:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf digitalocean:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean] PostProcessors:map[docker-push:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant manifest:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vsphere:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vagrant-cloud:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-save:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-tag:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag atlas:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas compress:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress artifice:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice amazon-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import checksum:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-import:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import] Provisioners:map[salt-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-solo:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client file:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/usr/local/bin/packerio-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible]}
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Setting cache directory: /src/packer-windows-example/packer_cache
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 args: []string{"packer-provisioner-ansible"}
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Plugin minimum port: 10000
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Plugin maximum port: 25000
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Plugin address: unix /tmp/packer-plugin844905129
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Waiting for connection...
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Detected home directory from env var: /home/vagrant
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Serving a plugin connection...
2016/09/29 17:46:40 ui: amazon-ebs output will be in this color.
2016/09/29 17:46:40 ui:
2016/09/29 17:46:40 Build debug mode: false
2016/09/29 17:46:40 Force build: false
2016/09/29 17:46:40 On error:
2016/09/29 17:46:40 Preparing build: amazon-ebs
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[subnet_id:subnet-3536421f vpc_id:vpc-e1f33086 instance_type:t2.medium region:us-east-1 source_ami:ami-2c7a073b aws_profile:ci security_group_id:sg-d852dba3]} AccessConfig:{AccessKey: SecretKey: RawRegion:us-east-1 SkipValidation:false Token: ProfileName:ci} AMIConfig:{AMIName:packer-windows-example 1475171200 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.medium RunTags:map[] SourceAmi:ami-2c7a073b SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[sg-d852dba3] SubnetId:subnet-3536421f TemporaryKeyPairName:packer_57ed5380-ec96-0911-6a21-55c1895dec44 UserData: UserDataFile:BootstrapWindows.ps1 WindowsPasswordTimeout:10m0s VpcId:vpc-e1f33086 InstanceInitiatedShutdownBehavior:stop Comm:{Type:winrm SSHHost: SSHPort:0 SSHUsername: SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:0 SSHDisableAgent:false SSHHandshakeAttempts:0 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod: WinRMUser:Administrator WinRMPassword:EF942DDC-2292-4FE2-BE92-57BCE3475109 WinRMHost: WinRMPort:5986 WinRMTimeout:20m0s WinRMUseSSL:true WinRMInsecure:true WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x99c450] UserVariables:map[region:us-east-1 source_ami:ami-2c7a073b aws_profile:ci security_group_id:sg-d852dba3 subnet_id:subnet-3536421f vpc_id:vpc-e1f33086 instance_type:t2.medium] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/src/packer-windows-example/windows.json}}
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 ansible-playbook version: 2.1.1.0
2016/09/29 17:46:40 Waiting on builds to complete...
2016/09/29 17:46:40 Starting build run: amazon-ebs
2016/09/29 17:46:40 Running builder: amazon-ebs
2016/09/29 17:46:40 packerio: 2016/09/29 17:46:40 [INFO] Finding AZ for the given subnet 'subnet-3536421f'
2016/09/29 17:46:41 packerio: 2016/09/29 17:46:41 [INFO] AZ found: 'us-east-1a'
2016/09/29 17:46:41 ui: ==> amazon-ebs: Prevalidating AMI Name...
2016/09/29 17:46:42 ui: ==> amazon-ebs: Inspecting the source AMI (ami-2c7a073b)...
2016/09/29 17:46:42 ui: ==> amazon-ebs: Creating temporary keypair: packer_57ed5380-ec96-0911-6a21-55c1895dec44
2016/09/29 17:46:42 packerio: 2016/09/29 17:46:42 Using specified security groups: [sg-d852dba3]
2016/09/29 17:46:42 packerio: 2016/09/29 17:46:42 [DEBUG] Describing tempSecurityGroup to ensure it is available: sg-d852dba3
2016/09/29 17:46:43 packerio: 2016/09/29 17:46:43 [DEBUG] Found security group sg-d852dba3
2016/09/29 17:46:43 packerio: 2016/09/29 17:46:43 [DEBUG] base64 encoding user data...
2016/09/29 17:46:43 ui: ==> amazon-ebs: Launching a source AWS instance...
2016/09/29 17:46:43 ui:  amazon-ebs: Instance ID: i-0b17ec00d3c3fb07a
2016/09/29 17:46:43 ui: ==> amazon-ebs: Waiting for instance (i-0b17ec00d3c3fb07a) to become ready...
2016/09/29 17:46:43 packerio: 2016/09/29 17:46:43 Waiting for state to become: running
2016/09/29 17:46:43 packerio: 2016/09/29 17:46:43 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/09/29 17:47:01 ui: ==> amazon-ebs: Skipping waiting for password since WinRM password set...
2016/09/29 17:47:01 packerio: 2016/09/29 17:47:01 Waiting for WinRM, up to timeout: 20m0s
2016/09/29 17:47:01 ui: ==> amazon-ebs: Waiting for WinRM to become available...
2016/09/29 17:47:06 packerio: 2016/09/29 17:47:06 [INFO] Attempting WinRM connection...
2016/09/29 17:47:06 packerio: 2016/09/29 17:47:06 [DEBUG] connecting to remote shell using WinRM
2016/09/29 17:49:13 packerio: 2016/09/29 17:49:13 [ERROR] connection error: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection timed out
2016/09/29 17:49:13 packerio: 2016/09/29 17:49:13 [ERROR] WinRM connection err: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection timed out
2016/09/29 17:49:18 packerio: 2016/09/29 17:49:18 [INFO] Attempting WinRM connection...
2016/09/29 17:49:18 packerio: 2016/09/29 17:49:18 [DEBUG] connecting to remote shell using WinRM
2016/09/29 17:50:25 packerio: 2016/09/29 17:50:25 [ERROR] connection error: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection refused
2016/09/29 17:50:25 packerio: 2016/09/29 17:50:25 [ERROR] WinRM connection err: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection refused
2016/09/29 17:50:30 packerio: 2016/09/29 17:50:30 [INFO] Attempting WinRM connection...
2016/09/29 17:50:30 packerio: 2016/09/29 17:50:30 [DEBUG] connecting to remote shell using WinRM
2016/09/29 17:50:31 packerio: 2016/09/29 17:50:31 [ERROR] connection error: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection refused
2016/09/29 17:50:31 packerio: 2016/09/29 17:50:31 [ERROR] WinRM connection err: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection refused
2016/09/29 17:50:36 packerio: 2016/09/29 17:50:36 [INFO] Attempting WinRM connection...
2016/09/29 17:50:36 packerio: 2016/09/29 17:50:36 [DEBUG] connecting to remote shell using WinRM
2016/09/29 17:52:43 packerio: 2016/09/29 17:52:43 [ERROR] connection error: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection timed out
2016/09/29 17:52:43 packerio: 2016/09/29 17:52:43 [ERROR] WinRM connection err: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection timed out
2016/09/29 17:52:48 packerio: 2016/09/29 17:52:48 [INFO] Attempting WinRM connection...
2016/09/29 17:52:48 packerio: 2016/09/29 17:52:48 [DEBUG] connecting to remote shell using WinRM
2016/09/29 17:54:55 packerio: 2016/09/29 17:54:55 [ERROR] connection error: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection timed out
2016/09/29 17:54:55 packerio: 2016/09/29 17:54:55 [ERROR] WinRM connection err: unknown error Post https://10.216.35.180:5986/wsman: dial tcp 10.216.35.180:5986: getsockopt: connection timed out
2016/09/29 17:55:00 packerio: 2016/09/29 17:55:00 [INFO] Attempting WinRM connection...
2016/09/29 17:55:00 packerio: 2016/09/29 17:55:00 [DEBUG] connecting to remote shell using WinRM
2016/09/29 17:55:00 ui: ==> amazon-ebs: Connected to WinRM!
2016/09/29 17:55:00 packerio: 2016/09/29 17:55:00 Running the provision hook
2016/09/29 17:55:00 ui: ==> amazon-ebs: Provisioning with Ansible...
2016/09/29 17:55:01 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook /src/packer-windows-example/windows-example.yml -i /tmp/packer-provisioner-ansible748006595 --private-key /tmp/ansible-key366048756 --extra-vars ANSIBLE_KEEP_REMOTE_FILES=1 -vvv
2016/09/29 17:55:01 ui: ==> amazon-ebs: SSH proxy: serving on 127.0.0.1:59582
2016/09/29 17:55:01 ui:  amazon-ebs: Using /src/packer-windows-example/ansible.cfg as config file
2016/09/29 17:55:01 ui:  amazon-ebs:
2016/09/29 17:55:01 ui:  amazon-ebs: PLAYBOOK: windows-example.yml **************************************************
2016/09/29 17:55:01 ui:  amazon-ebs: 1 plays in /src/packer-windows-example/windows-example.yml
2016/09/29 17:55:01 ui:  amazon-ebs:
2016/09/29 17:55:01 ui:  amazon-ebs: PLAY [windows-example.yml] *****************************************************
2016/09/29 17:55:01 ui:  amazon-ebs:
2016/09/29 17:55:01 ui:  amazon-ebs: TASK [setup] *******************************************************************
2016/09/29 17:55:02 ui:  amazon-ebs: An exception occurred during task execution. The full traceback is:
2016/09/29 17:55:02 ui:  amazon-ebs: Traceback (most recent call last):
2016/09/29 17:55:02 ui:  amazon-ebs: File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 124, in run
2016/09/29 17:55:02 ui:  amazon-ebs: res = self._execute()
2016/09/29 17:55:02 ui:  amazon-ebs: File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 448, in _execute
2016/09/29 17:55:02 ui:  amazon-ebs: result = self._handler.run(task_vars=variables)
2016/09/29 17:55:02 ui:  amazon-ebs: File "/usr/lib/python2.7/site-packages/ansible/plugins/action/normal.py", line 33, in run
2016/09/29 17:55:02 ui:  amazon-ebs: results = merge_hash(results, self._execute_module(tmp=tmp, task_vars=task_vars))
2016/09/29 17:55:02 ui:  amazon-ebs: File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 591, in _execute_module
2016/09/29 17:55:02 ui:  amazon-ebs: tmp = self._make_tmp_path(remote_user)
2016/09/29 17:55:02 ui:  amazon-ebs: File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 218, in _make_tmp_path
2016/09/29 17:55:02 ui:  amazon-ebs: result = self._low_level_execute_command(cmd, sudoable=False)
2016/09/29 17:55:02 ui:  amazon-ebs: File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 713, in _low_level_execute_command
2016/09/29 17:55:02 ui:  amazon-ebs: cmd = self._connection._shell.append_command(cmd, 'sleep 0')
2016/09/29 17:55:02 ui:  amazon-ebs: AttributeError: 'ShellModule' object has no attribute 'append_command'
2016/09/29 17:55:02 ui:  amazon-ebs: fatal: [default]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}
2016/09/29 17:55:02 ui:  amazon-ebs:
2016/09/29 17:55:02 ui:  amazon-ebs: NO MORE HOSTS LEFT *************************************************************
2016/09/29 17:55:02 ui:  amazon-ebs: to retry, use: --limit @/src/packer-windows-example/windows-example.retry
2016/09/29 17:55:02 ui:  amazon-ebs:
2016/09/29 17:55:02 ui:  amazon-ebs: PLAY RECAP *********************************************************************
2016/09/29 17:55:02 ui:  amazon-ebs: default : ok=0 changed=0 unreachable=0 failed=1
2016/09/29 17:55:02 ui:  amazon-ebs:
2016/09/29 17:55:02 ui: ==> amazon-ebs: shutting down the SSH proxy
2016/09/29 17:55:02 ui: ==> amazon-ebs: Terminating the source AWS instance...
2016/09/29 17:55:02 packerio: 2016/09/29 17:55:02 Waiting for state to become: terminated
2016/09/29 17:55:02 packerio: 2016/09/29 17:55:02 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/09/29 17:55:32 ui: ==> amazon-ebs: No AMIs to cleanup
2016/09/29 17:55:32 ui: ==> amazon-ebs: Deleting temporary keypair...
2016/09/29 17:55:32 ui error: Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 1
2016/09/29 17:55:32 Builds completed. Waiting on interrupt barrier...
2016/09/29 17:55:32 machine readable: error-count []string{"1"}
2016/09/29 17:55:32 ui error:
==> Some builds didn't complete successfully and had errors:
2016/09/29 17:55:32 machine readable: amazon-ebs,error []string{"Error executing Ansible: Non-zero exit status: exit status 1"}
2016/09/29 17:55:32 ui error: --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 1
2016/09/29 17:55:32 ui:
==> Builds finished but no artifacts were created.
2016/09/29 17:55:32 waiting for all plugin processes to complete...
2016/09/29 17:55:32 /usr/local/bin/packerio: plugin process exited
2016/09/29 17:55:32 /usr/local/bin/packerio: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment