2017/07/06 11:41:57 [INFO] Packer version: 1.0.0 2017/07/06 11:41:57 Packer Target OS/Arch: linux amd64 2017/07/06 11:41:57 Built with Go Version: go1.8 2017/07/06 11:41:57 Detected home directory from env var: /home/packer 2017/07/06 11:41:57 Using internal plugin for amazon-ebssurrogate 2017/07/06 11:41:57 Using internal plugin for docker 2017/07/06 11:41:57 Using internal plugin for file 2017/07/06 11:41:57 Using internal plugin for hyperv-iso 2017/07/06 11:41:57 Using internal plugin for parallels-pvm 2017/07/06 11:41:57 Using internal plugin for vmware-vmx 2017/07/06 11:41:57 Using internal plugin for amazon-ebsvolume 2017/07/06 11:41:57 Using internal plugin for azure-arm 2017/07/06 11:41:57 Using internal plugin for oneandone 2017/07/06 11:41:57 Using internal plugin for openstack 2017/07/06 11:41:57 Using internal plugin for qemu 2017/07/06 11:41:57 Using internal plugin for triton 2017/07/06 11:41:57 Using internal plugin for virtualbox-iso 2017/07/06 11:41:57 Using internal plugin for vmware-iso 2017/07/06 11:41:57 Using internal plugin for amazon-chroot 2017/07/06 11:41:57 Using internal plugin for amazon-ebs 2017/07/06 11:41:57 Using internal plugin for cloudstack 2017/07/06 11:41:57 Using internal plugin for digitalocean 2017/07/06 11:41:57 Using internal plugin for googlecompute 2017/07/06 11:41:57 Using internal plugin for null 2017/07/06 11:41:57 Using internal plugin for amazon-instance 2017/07/06 11:41:57 Using internal plugin for parallels-iso 2017/07/06 11:41:57 Using internal plugin for profitbricks 2017/07/06 11:41:57 Using internal plugin for virtualbox-ovf 2017/07/06 11:41:57 Using internal plugin for ansible-local 2017/07/06 11:41:57 Using internal plugin for powershell 2017/07/06 11:41:57 Using internal plugin for puppet-server 2017/07/06 11:41:57 Using internal plugin for shell 2017/07/06 11:41:57 Using internal plugin for shell-local 2017/07/06 11:41:57 Using internal plugin for windows-restart 2017/07/06 11:41:57 Using internal plugin for ansible 2017/07/06 11:41:57 Using internal plugin for file 2017/07/06 11:41:57 Using internal plugin for windows-shell 2017/07/06 11:41:57 Using internal plugin for chef-client 2017/07/06 11:41:57 Using internal plugin for converge 2017/07/06 11:41:57 Using internal plugin for puppet-masterless 2017/07/06 11:41:57 Using internal plugin for chef-solo 2017/07/06 11:41:57 Using internal plugin for salt-masterless 2017/07/06 11:41:57 Using internal plugin for amazon-import 2017/07/06 11:41:57 Using internal plugin for checksum 2017/07/06 11:41:57 Using internal plugin for vsphere 2017/07/06 11:41:57 Using internal plugin for docker-import 2017/07/06 11:41:57 Using internal plugin for docker-tag 2017/07/06 11:41:57 Using internal plugin for manifest 2017/07/06 11:41:57 Using internal plugin for shell-local 2017/07/06 11:41:57 Using internal plugin for vagrant 2017/07/06 11:41:57 Using internal plugin for artifice 2017/07/06 11:41:57 Using internal plugin for compress 2017/07/06 11:41:57 Using internal plugin for docker-push 2017/07/06 11:41:57 Using internal plugin for docker-save 2017/07/06 11:41:57 Using internal plugin for googlecompute-export 2017/07/06 11:41:57 Using internal plugin for vagrant-cloud 2017/07/06 11:41:57 Using internal plugin for atlas 2017/07/06 11:41:57 Detected home directory from env var: /home/packer 2017/07/06 11:41:57 Attempting to open config file: /home/packer/.packerconfig 2017/07/06 11:41:57 [WARN] Config file doesn't exist: /home/packer/.packerconfig 2017/07/06 11:41:57 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf] PostProcessors:map[amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export] Provisioners:map[shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless]} 2017/07/06 11:41:57 Setting cache directory: /home/packer/packer_cache 2017/07/06 11:41:57 Loading builder: virtualbox-iso 2017/07/06 11:41:57 Plugin could not be found. Checking same directory as executable. 2017/07/06 11:41:57 Current exe path: /usr/local/bin/packer 2017/07/06 11:41:57 Creating plugin client for path: /usr/local/bin/packer 2017/07/06 11:41:57 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-virtualbox-iso"} 2017/07/06 11:41:57 Waiting for RPC address for: /usr/local/bin/packer 2017/07/06 11:41:57 Detected home directory from env var: /home/packer 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 [INFO] Packer version: 1.0.0 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Packer Target OS/Arch: linux amd64 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Built with Go Version: go1.8 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Detected home directory from env var: /home/packer 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Attempting to open config file: /home/packer/.packerconfig 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 [WARN] Config file doesn't exist: /home/packer/.packerconfig 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Setting cache directory: /home/packer/packer_cache 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 args: []string{"packer-builder-virtualbox-iso"} 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Plugin minimum port: 10000 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Detected home directory from env var: /home/packer 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Plugin maximum port: 25000 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Plugin address: unix /tmp/packer-plugin492118715 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Waiting for connection... 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 Serving a plugin connection... 2017/07/06 11:41:57 ui: virtualbox-iso output will be in this color. 2017/07/06 11:41:57 ui: 2017/07/06 11:41:57 Build debug mode: false 2017/07/06 11:41:57 Force build: false 2017/07/06 11:41:57 On error: 2017/07/06 11:41:57 Preparing build: virtualbox-iso 2017/07/06 11:41:57 Waiting on builds to complete... 2017/07/06 11:41:57 Starting build run: virtualbox-iso 2017/07/06 11:41:57 Running builder: virtualbox-iso 2017/07/06 11:41:57 packer: 2017/07/06 11:41:57 VBoxManage path: /usr/bin/VBoxManage 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 VBoxManage --version output: 5.1.22r115126 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 VirtualBox version: 5.1.22 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Found Default Guest Additions ISO: /usr/share/virtualbox/VBoxGuestAdditions.iso 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Guest additions URL: file:///usr/share/virtualbox/VBoxGuestAdditions.iso 2017/07/06 11:41:58 ui: ==> virtualbox-iso: Downloading or copying Guest additions 2017/07/06 11:41:58 ui:  virtualbox-iso: Downloading or copying: file:///usr/share/virtualbox/VBoxGuestAdditions.iso 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Acquiring lock to download: file:///usr/share/virtualbox/VBoxGuestAdditions.iso 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/usr/share/virtualbox/VBoxGuestAdditions.iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""} 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 [DEBUG] Using local file: /usr/share/virtualbox/VBoxGuestAdditions.iso 2017/07/06 11:41:58 ui: ==> virtualbox-iso: Downloading or copying ISO 2017/07/06 11:41:58 ui:  virtualbox-iso: Downloading or copying: file:///iso/CentOS-7-x86_64-Minimal-1611.iso 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Acquiring lock to download: file:///iso/CentOS-7-x86_64-Minimal-1611.iso 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/iso/CentOS-7-x86_64-Minimal-1611.iso", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""} 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 [DEBUG] Using local file: /iso/CentOS-7-x86_64-Minimal-1611.iso 2017/07/06 11:41:58 ui:  virtualbox-iso: Error downloading: stat /iso/CentOS-7-x86_64-Minimal-1611.iso: no such file or directory 2017/07/06 11:41:58 ui:  virtualbox-iso: Downloading or copying: http://mirror.hh.se/centos/7.3.1611/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Acquiring lock to download: http://mirror.hh.se/centos/7.3.1611/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso 2017/07/06 11:41:58 packer: 2017/07/06 11:41:58 Verifying checksum of /home/packer/packer_cache/773235332d215f5d244287023339350a0f2bf888bfa550bfec34d9fa36f692c8.iso 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 [DEBUG] Initial checksum matched, no download needed. 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 No floppy files specified. Floppy disk will not be made. 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 Trying port: 8309 2017/07/06 11:42:00 ui: ==> virtualbox-iso: Starting HTTP server on port 8309 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 Suppressing annoying messages in VirtualBox 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 Executing VBoxManage: []string{"setextradata", "global", "GUI/SuppressMessages", "confirmInputCapture,remindAboutAutoCapture,remindAboutMouseIntegrationOff,remindAboutMouseIntegrationOn,remindAboutWrongColorDepth"} 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 stdout: 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 stderr: 2017/07/06 11:42:00 packer: 2017/07/06 11:42:00 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateCheckCount", "60"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateDate", "1 d, 2018-01-01, stable"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"setextradata", "global", "GUI/RegistrationData", "triesLeft=0"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 ui: ==> virtualbox-iso: Creating virtual machine... 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"createvm", "--name", "foo", "--ostype", "RedHat_64", "--register"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: Virtual machine 'foo' is created and registered. 2017/07/06 11:42:01 packer: UUID: 9bea9eef-f48e-47f7-8f40-c8d9549152a5 2017/07/06 11:42:01 packer: Settings file: '/home/packer/VirtualBox VMs/foo/foo.vbox' 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--boot1", "disk", "--boot2", "dvd", "--boot3", "none", "--boot4", "none"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--cpus", "1"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--memory", "512"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 ui: ==> virtualbox-iso: Creating hard drive... 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"createhd", "--filename", "/tmp/installer-virtualbox-iso/foo.vdi", "--size", "100000", "--format", "VDI", "--variant", "Standard"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: Medium created. UUID: a39a1174-155f-40b3-9fab-5ae62477b1fa 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"storagectl", "foo", "--name", "IDE Controller", "--add", "ide"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"storageattach", "foo", "--storagectl", "IDE Controller", "--port", "0", "--device", "0", "--type", "hdd", "--medium", "/tmp/installer-virtualbox-iso/foo.vdi", "--nonrotational", "off", "--discard", "off"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"storageattach", "foo", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--type", "dvddrive", "--medium", "/home/packer/packer_cache/773235332d215f5d244287023339350a0f2bf888bfa550bfec34d9fa36f692c8.iso"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Not attaching guest additions since we're uploading. 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Looking for available port between 5900 and 6000 on 0.0.0.0 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Trying port: 5992 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--vrdeaddress", "0.0.0.0", "--vrdeauthtype", "null", "--vrde", "on", "--vrdeport", "5992"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 No floppy disk, not attaching. 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Looking for available communicator (SSH, WinRM, etc) port between 2222 and 4444 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Trying port: 3028 2017/07/06 11:42:01 ui: ==> virtualbox-iso: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3028) 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--natpf1", "packercomm,tcp,127.0.0.1,3028,,22"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 ui: ==> virtualbox-iso: Executing custom VBoxManage commands... 2017/07/06 11:42:01 ui:  virtualbox-iso: Executing: modifyvm foo --memory 2048 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--memory", "2048"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 ui:  virtualbox-iso: Executing: modifyvm foo --cpus 1 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--cpus", "1"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 ui:  virtualbox-iso: Executing: modifyvm foo --audio none 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"modifyvm", "foo", "--audio", "none"} 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stdout: 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 stderr: 2017/07/06 11:42:01 ui: ==> virtualbox-iso: Starting the virtual machine... 2017/07/06 11:42:01 ui:  virtualbox-iso: The VM will be run headless, without a GUI. If you want to virtualbox-iso: view the screen of the VM, connect via VRDP without a password to virtualbox-iso: rdp://0.0.0.0:5992 2017/07/06 11:42:01 packer: 2017/07/06 11:42:01 Executing VBoxManage: []string{"startvm", "foo", "--type", "headless"} 2017/07/06 11:42:02 packer: 2017/07/06 11:42:02 stdout: Waiting for VM "foo" to power on... 2017/07/06 11:42:02 packer: VM "foo" has been successfully started. 2017/07/06 11:42:02 packer: 2017/07/06 11:42:02 stderr: 2017/07/06 11:42:02 ui: ==> virtualbox-iso: Waiting 10s for boot... 2017/07/06 11:42:12 ui: ==> virtualbox-iso: Typing the boot command... 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Special code '' found, replacing with: [0f 8f] 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Sending char ' ', code '[39 b9]', shift false 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Sending char 'a', code '[1e 9e]', shift false 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Sending char 'p', code '[19 99]', shift false 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Sending char 'p', code '[19 99]', shift false 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Sending char 'e', code '[12 92]', shift false 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Sending char 'n', code '[31 b1]', shift false 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Sending char 'd', code '[20 a0]', shift false 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Special code found, will sleep 1 second at this point. 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "0f"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "8f"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "39"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b9"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "1e"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "9e"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "19"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "99"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "19"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "99"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "12"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "92"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "31"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b1"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "20"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "a0"} 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stdout: 2017/07/06 11:42:12 packer: 2017/07/06 11:42:12 stderr: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char ' ', code '[39 b9]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'i', code '[17 97]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'n', code '[31 b1]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'i', code '[17 97]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 't', code '[14 94]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'r', code '[13 93]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'd', code '[20 a0]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char '=', code '[0d 8d]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'i', code '[17 97]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'n', code '[31 b1]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'i', code '[17 97]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 't', code '[14 94]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'r', code '[13 93]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'd', code '[20 a0]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char '.', code '[34 b4]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'i', code '[17 97]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'm', code '[32 b2]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Sending char 'g', code '[22 a2]', shift false 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Special code found, will sleep 1 second at this point. 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "39"} 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stdout: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stderr: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b9"} 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stdout: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stderr: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "17"} 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stdout: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stderr: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "97"} 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stdout: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stderr: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "31"} 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stdout: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stderr: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b1"} 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stdout: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 stderr: 2017/07/06 11:42:13 packer: 2017/07/06 11:42:13 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "17"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "97"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "14"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "94"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "13"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "93"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "20"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "a0"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "0d"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "8d"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "17"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "97"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "31"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b1"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "17"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "97"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "14"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "94"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "13"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "93"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "20"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "a0"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "34"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b4"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "17"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "97"} 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stdout: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 stderr: 2017/07/06 11:42:14 packer: 2017/07/06 11:42:14 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "32"} 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stdout: 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stderr: 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b2"} 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stdout: 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stderr: 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "22"} 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stdout: 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stderr: 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "a2"} 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stdout: 2017/07/06 11:42:15 packer: 2017/07/06 11:42:15 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char ' ', code '[39 b9]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 'i', code '[17 97]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 'n', code '[31 b1]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 's', code '[1f 9f]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 't', code '[14 94]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char '.', code '[34 b4]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 't', code '[14 94]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 'e', code '[12 92]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 'x', code '[2d ad]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Sending char 't', code '[14 94]', shift false 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Special code found, will sleep 1 second at this point. 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "39"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b9"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "17"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "97"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "31"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b1"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "1f"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "9f"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "14"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "94"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "34"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "b4"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"controlvm", "foo", "keyboardputscancode", "14"} 2017/07/06 11:42:16 ui error: ==> virtualbox-iso: Error sending boot command: VBoxManage error: VBoxManage: error: Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS) ==> virtualbox-iso: VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component KeyboardWrap, interface IKeyboard, callee nsISupports ==> virtualbox-iso: VBoxManage: error: Context: "PutScancodes(ComSafeArrayAsInParam(saScancodes), &codesStored)" at line 345 of file VBoxManageControlVM.cpp 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: VBoxManage: error: Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS) 2017/07/06 11:42:16 packer: VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component KeyboardWrap, interface IKeyboard, callee nsISupports 2017/07/06 11:42:16 packer: VBoxManage: error: Context: "PutScancodes(ComSafeArrayAsInParam(saScancodes), &codesStored)" at line 345 of file VBoxManageControlVM.cpp 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"storageattach", "foo", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--medium", "none"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: VBoxManage: error: Controller 'IDE Controller' does not support hotplugging 2017/07/06 11:42:16 packer: VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component SessionMachine, interface IMachine, callee nsISupports 2017/07/06 11:42:16 packer: VBoxManage: error: Context: "DetachDevice(Bstr(pszCtl).raw(), port, device)" at line 393 of file VBoxManageStorageController.cpp 2017/07/06 11:42:16 ui: ==> virtualbox-iso: Unregistering and deleting virtual machine... 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"unregistervm", "foo", "--delete"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: VBoxManage: error: Cannot unregister the machine 'foo' while it is locked 2017/07/06 11:42:16 packer: VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports 2017/07/06 11:42:16 packer: VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 156 of file VBoxManageMisc.cpp 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 Executing VBoxManage: []string{"unregistervm", "foo", "--delete"} 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stdout: 2017/07/06 11:42:16 packer: 2017/07/06 11:42:16 stderr: VBoxManage: error: Cannot unregister the machine 'foo' while it is locked 2017/07/06 11:42:16 packer: VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports 2017/07/06 11:42:16 packer: VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 156 of file VBoxManageMisc.cpp 2017/07/06 11:42:17 packer: 2017/07/06 11:42:17 Executing VBoxManage: []string{"unregistervm", "foo", "--delete"} 2017/07/06 11:42:17 packer: 2017/07/06 11:42:17 stdout: 2017/07/06 11:42:17 packer: 2017/07/06 11:42:17 stderr: VBoxManage: error: Cannot unregister the machine 'foo' while it is locked 2017/07/06 11:42:17 packer: VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports 2017/07/06 11:42:17 packer: VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 156 of file VBoxManageMisc.cpp 2017/07/06 11:42:19 packer: 2017/07/06 11:42:19 Executing VBoxManage: []string{"unregistervm", "foo", "--delete"} 2017/07/06 11:42:19 packer: 2017/07/06 11:42:19 stdout: 2017/07/06 11:42:19 packer: 2017/07/06 11:42:19 stderr: VBoxManage: error: Cannot unregister the machine 'foo' while it is locked 2017/07/06 11:42:19 packer: VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports 2017/07/06 11:42:19 packer: VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 156 of file VBoxManageMisc.cpp 2017/07/06 11:42:22 packer: 2017/07/06 11:42:22 Executing VBoxManage: []string{"unregistervm", "foo", "--delete"} 2017/07/06 11:42:23 packer: 2017/07/06 11:42:23 stdout: 2017/07/06 11:42:23 packer: 2017/07/06 11:42:23 stderr: VBoxManage: error: Cannot unregister the machine 'foo' while it is locked 2017/07/06 11:42:23 packer: VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports 2017/07/06 11:42:23 packer: VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 156 of file VBoxManageMisc.cpp 2017/07/06 11:42:27 ui error: ==> virtualbox-iso: Error deleting virtual machine: VBoxManage error: VBoxManage: error: Cannot unregister the machine 'foo' while it is locked ==> virtualbox-iso: VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports ==> virtualbox-iso: VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 156 of file VBoxManageMisc.cpp 2017/07/06 11:42:27 ui: ==> virtualbox-iso: Deleting output directory... 2017/07/06 11:42:27 ui error: Build 'virtualbox-iso' errored: Error sending boot command: VBoxManage error: VBoxManage: error: Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS) VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component KeyboardWrap, interface IKeyboard, callee nsISupports VBoxManage: error: Context: "PutScancodes(ComSafeArrayAsInParam(saScancodes), &codesStored)" at line 345 of file VBoxManageControlVM.cpp 2017/07/06 11:42:27 Builds completed. Waiting on interrupt barrier... 2017/07/06 11:42:27 machine readable: error-count []string{"1"} 2017/07/06 11:42:27 ui error: ==> Some builds didn't complete successfully and had errors: 2017/07/06 11:42:27 machine readable: virtualbox-iso,error []string{"Error sending boot command: VBoxManage error: VBoxManage: error: Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)\nVBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component KeyboardWrap, interface IKeyboard, callee nsISupports\nVBoxManage: error: Context: \"PutScancodes(ComSafeArrayAsInParam(saScancodes), &codesStored)\" at line 345 of file VBoxManageControlVM.cpp"} 2017/07/06 11:42:27 ui error: --> virtualbox-iso: Error sending boot command: VBoxManage error: VBoxManage: error: Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS) VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component KeyboardWrap, interface IKeyboard, callee nsISupports VBoxManage: error: Context: "PutScancodes(ComSafeArrayAsInParam(saScancodes), &codesStored)" at line 345 of file VBoxManageControlVM.cpp 2017/07/06 11:42:27 ui: ==> Builds finished but no artifacts were created. 2017/07/06 11:42:27 waiting for all plugin processes to complete... 2017/07/06 11:42:27 /usr/local/bin/packer: plugin process exited