Skip to content

Instantly share code, notes, and snippets.

@johnLate
Created April 14, 2016 17:06
Show Gist options
  • Save johnLate/9c0c569c21f486af8563a0f80856fe6c to your computer and use it in GitHub Desktop.
Save johnLate/9c0c569c21f486af8563a0f80856fe6c to your computer and use it in GitHub Desktop.
packer bug virtualbox builder iso_url symlink
./symlink_debian-8.4.0-amd64-netinst.iso links to ./debian-8.4.0-amd64-netinst (without .iso)
file is from http://ftp.debian.de/debian-cd/8.4.0/amd64/iso-cd/debian-8.4.0-amd64-netinst.iso
{
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Debian_64",
"vm_name": "bug-test",
"iso_url": "symlink_debian-8.4.0-amd64-netinst.iso",
"iso_checksum": "92cb8946618e3ed776827e7fcb56e452d993dbf8",
"iso_checksum_type": "sha1",
"ssh_username": "x",
"ssh_password": "x"
}]
}
2016/04/14 18:50:36 [INFO] Packer version: 0.10.1 dev 39cb194e0be7b621140e681bb9cb327b5bdd9f81
2016/04/14 18:50:36 Packer Target OS/Arch: linux amd64
2016/04/14 18:50:36 Built with Go Version: go1.6.1
2016/04/14 18:50:36 Detected home directory from env var: /home/********
2016/04/14 18:50:36 Using internal plugin for parallels-iso
2016/04/14 18:50:36 Using internal plugin for qemu
2016/04/14 18:50:36 Using internal plugin for vmware-iso
2016/04/14 18:50:36 Using internal plugin for amazon-chroot
2016/04/14 18:50:36 Using internal plugin for azure-arm
2016/04/14 18:50:36 Using internal plugin for docker
2016/04/14 18:50:36 Using internal plugin for null
2016/04/14 18:50:36 Using internal plugin for virtualbox-ovf
2016/04/14 18:50:36 Using internal plugin for amazon-ebs
2016/04/14 18:50:36 Using internal plugin for openstack
2016/04/14 18:50:36 Using internal plugin for parallels-pvm
2016/04/14 18:50:36 Using internal plugin for vmware-vmx
2016/04/14 18:50:36 Using internal plugin for amazon-instance
2016/04/14 18:50:36 Using internal plugin for digitalocean
2016/04/14 18:50:36 Using internal plugin for file
2016/04/14 18:50:36 Using internal plugin for googlecompute
2016/04/14 18:50:36 Using internal plugin for virtualbox-iso
2016/04/14 18:50:36 Using internal plugin for salt-masterless
2016/04/14 18:50:36 Using internal plugin for shell-local
2016/04/14 18:50:36 Using internal plugin for ansible
2016/04/14 18:50:36 Using internal plugin for ansible-local
2016/04/14 18:50:36 Using internal plugin for chef-solo
2016/04/14 18:50:36 Using internal plugin for file
2016/04/14 18:50:36 Using internal plugin for powershell
2016/04/14 18:50:36 Using internal plugin for puppet-server
2016/04/14 18:50:36 Using internal plugin for windows-restart
2016/04/14 18:50:36 Using internal plugin for chef-client
2016/04/14 18:50:36 Using internal plugin for puppet-masterless
2016/04/14 18:50:36 Using internal plugin for shell
2016/04/14 18:50:36 Using internal plugin for windows-shell
2016/04/14 18:50:36 Using internal plugin for atlas
2016/04/14 18:50:36 Using internal plugin for compress
2016/04/14 18:50:36 Using internal plugin for docker-import
2016/04/14 18:50:36 Using internal plugin for docker-tag
2016/04/14 18:50:36 Using internal plugin for vsphere
2016/04/14 18:50:36 Using internal plugin for vagrant
2016/04/14 18:50:36 Using internal plugin for vagrant-cloud
2016/04/14 18:50:36 Using internal plugin for amazon-import
2016/04/14 18:50:36 Using internal plugin for artifice
2016/04/14 18:50:36 Using internal plugin for docker-push
2016/04/14 18:50:36 Using internal plugin for docker-save
2016/04/14 18:50:36 Using internal plugin for shell-local
2016/04/14 18:50:36 Detected home directory from env var: /home/********
2016/04/14 18:50:36 Attempting to open config file: /home/********/.packerconfig
2016/04/14 18:50:36 [WARN] Config file doesn't exist: /home/********/.packerconfig
2016/04/14 18:50:36 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-chroot:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs file:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file docker:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker openstack:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack vmware-vmx:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx googlecompute:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute parallels-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso digitalocean:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-instance:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance qemu:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu vmware-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso azure-arm:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm null:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null virtualbox-ovf:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf parallels-pvm:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm] PostProcessors:map[docker-push:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push atlas:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vagrant-cloud:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud amazon-import:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vagrant:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-save:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save shell-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local compress:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-import:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-tag:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vsphere:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere] Provisioners:map[file:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell salt-masterless:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-solo:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server windows-restart:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-client:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client puppet-masterless:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-shell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell shell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell]}
2016/04/14 18:50:36 Setting cache directory: /home/********/********/********/fail/packer_cache
2016/04/14 18:50:36 Detected home directory from env var: /home/********
2016/04/14 18:50:36 Loading builder: virtualbox-iso
2016/04/14 18:50:36 Plugin could not be found. Checking same directory as executable.
2016/04/14 18:50:36 Current exe path: /usr/bin/packer-io
2016/04/14 18:50:36 Creating plugin client for path: /usr/bin/packer-io
2016/04/14 18:50:36 Starting plugin: /usr/bin/packer-io []string{"/usr/bin/packer-io", "plugin", "packer-builder-virtualbox-iso"}
2016/04/14 18:50:36 Waiting for RPC address for: /usr/bin/packer-io
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 [INFO] Packer version: 0.10.1 dev 39cb194e0be7b621140e681bb9cb327b5bdd9f81
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Packer Target OS/Arch: linux amd64
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Built with Go Version: go1.6.1
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Detected home directory from env var: /home/********
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for azure-arm
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for digitalocean
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for openstack
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for qemu
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for amazon-ebs
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for docker
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for googlecompute
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for null
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for amazon-chroot
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for virtualbox-iso
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for virtualbox-ovf
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for vmware-vmx
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for vmware-iso
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for amazon-instance
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for file
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for parallels-iso
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for parallels-pvm
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for chef-solo
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for file
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for powershell
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for shell
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for windows-shell
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for ansible
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for chef-client
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for puppet-server
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for salt-masterless
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for shell-local
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for windows-restart
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for ansible-local
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for puppet-masterless
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for compress
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for docker-import
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for shell-local
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for vagrant
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for docker-save
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for docker-tag
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for vagrant-cloud
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for vsphere
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for amazon-import
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for artifice
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for atlas
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Using internal plugin for docker-push
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Detected home directory from env var: /home/********
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Attempting to open config file: /home/********/.packerconfig
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 [WARN] Config file doesn't exist: /home/********/.packerconfig
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[parallels-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso azure-arm:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm qemu:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-chroot:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot vmware-vmx:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx virtualbox-ovf:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso parallels-pvm:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm openstack:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack docker:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker googlecompute:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null digitalocean:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-instance:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance file:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-ebs:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs] PostProcessors:map[amazon-import:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import compress:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-import:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import shell-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-save:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vagrant-cloud:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud atlas:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere artifice:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push] Provisioners:map[chef-solo:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo file:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-client:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client shell-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-server:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local puppet-masterless:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless]}
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Setting cache directory: /home/********/********/********/fail/packer_cache
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 args: []string{"packer-builder-virtualbox-iso"}
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Plugin minimum port: 10000
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Plugin maximum port: 25000
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Detected home directory from env var: /home/********
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Plugin address: unix /home/********/tmp/packer-plugin663961432
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Waiting for connection...
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Serving a plugin connection...
2016/04/14 18:50:36 ui: virtualbox-iso output will be in this color.
2016/04/14 18:50:36 ui:
2016/04/14 18:50:36 Build debug mode: false
2016/04/14 18:50:36 Force build: false
2016/04/14 18:50:36 Preparing build: virtualbox-iso
virtualbox-iso output will be in this color.
2016/04/14 18:50:36 ui: Warnings for build 'virtualbox-iso':

2016/04/14 18:50:36 ui: * A shutdown_command was not specified. Without a shutdown command, Packer
will forcibly halt the virtual machine, which may result in data loss.
2016/04/14 18:50:36 ui: 
2016/04/14 18:50:36 Waiting on builds to complete...
Warnings for build 'virtualbox-iso':
2016/04/14 18:50:36 Starting build run: virtualbox-iso
2016/04/14 18:50:36 Running builder: virtualbox-iso

* A shutdown_command was not specified. Without a shutdown command, Packer
will forcibly halt the virtual machine, which may result in data loss.

2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 VBoxManage path: /usr/bin/VBoxManage
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 VBoxManage --version output: 5.0.16_OSEr105871
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 VirtualBox version: 5.0.16
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Found Default Guest Additions ISO: /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Guest additions URL: file:///usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
2016/04/14 18:50:36 ui: ==> virtualbox-iso: Downloading or copying Guest additions
==> virtualbox-iso: Downloading or copying Guest additions
2016/04/14 18:50:36 ui:  virtualbox-iso: Downloading or copying: file:///usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
 virtualbox-iso: Downloading or copying: file:///usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Acquiring lock to download: file:///usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso", RawPath:"", RawQuery:"", Fragment:""}
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 [DEBUG] Using local file: /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
2016/04/14 18:50:36 ui: ==> virtualbox-iso: Downloading or copying ISO
==> virtualbox-iso: Downloading or copying ISO
2016/04/14 18:50:36 ui:  virtualbox-iso: Downloading or copying: file:///home/********/********/********/fail/debian-8.4.0-amd64-netinst
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Acquiring lock to download: file:///home/********/********/********/fail/debian-8.4.0-amd64-netinst
 virtualbox-iso: Downloading or copying: file:///home/********/********/********/fail/debian-8.4.0-amd64-netinst
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Parsed URL: &url.URL{Scheme:"file", Opaque:"", User:(*url.Userinfo)(nil), Host:"", Path:"/home/********/********/********/fail/debian-8.4.0-amd64-netinst", RawPath:"", RawQuery:"", Fragment:""}
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 [DEBUG] Using local file: /home/********/********/********/fail/debian-8.4.0-amd64-netinst
2016/04/14 18:50:36 packer-io: 2016/04/14 18:50:36 Verifying checksum of /home/********/********/********/fail/debian-8.4.0-amd64-netinst
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 No floppy files specified. Floppy disk will not be made.
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Suppressing annoying messages in VirtualBox
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"setextradata", "global", "GUI/RegistrationData", "triesLeft=0"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"setextradata", "global", "GUI/SuppressMessages", "confirmInputCapture,remindAboutAutoCapture,remindAboutMouseIntegrationOff,remindAboutMouseIntegrationOn,remindAboutWrongColorDepth"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateCheckCount", "60"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"setextradata", "global", "GUI/UpdateDate", "1 d, 2017-01-01, stable"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 ui: ==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating virtual machine...
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"createvm", "--name", "bug-test", "--ostype", "Debian_64", "--register"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout: Virtual machine 'bug-test' is created and registered.
2016/04/14 18:50:37 packer-io: UUID: f140f686-f29c-487c-87d7-217af45f5105
2016/04/14 18:50:37 packer-io: Settings file: '/srv/local/VM/bug-test/bug-test.vbox'
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"modifyvm", "bug-test", "--boot1", "disk", "--boot2", "dvd", "--boot3", "none", "--boot4", "none"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"modifyvm", "bug-test", "--cpus", "1"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"modifyvm", "bug-test", "--memory", "512"}
2016/04/14 18:50:37 ui: ==> virtualbox-iso: Creating hard drive...
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"createhd", "--filename", "output-virtualbox-iso/bug-test.vdi", "--size", "40000", "--format", "VDI", "--variant", "Standard"}
==> virtualbox-iso: Creating hard drive...
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout: Medium created. UUID: 80f2b4f6-b58c-4fd6-b477-583932dccf28
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"storagectl", "bug-test", "--name", "IDE Controller", "--add", "ide"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"storageattach", "bug-test", "--storagectl", "IDE Controller", "--port", "0", "--device", "0", "--type", "hdd", "--medium", "output-virtualbox-iso/bug-test.vdi"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"storageattach", "bug-test", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--type", "dvddrive", "--medium", "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"}
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)
2016/04/14 18:50:37 packer-io: VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
2016/04/14 18:50:37 packer-io: VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
2016/04/14 18:50:37 packer-io: VBoxManage: error: Invalid UUID or filename "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"
2016/04/14 18:50:37 ui error: ==> virtualbox-iso: Error attaching ISO: VBoxManage error: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)
==> virtualbox-iso: VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
==> virtualbox-iso: VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
==> virtualbox-iso: VBoxManage: error: Invalid UUID or filename "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"
2016/04/14 18:50:37 ui: ==> virtualbox-iso: Unregistering and deleting virtual machine...
==> virtualbox-iso: Error attaching ISO: VBoxManage error: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 Executing VBoxManage: []string{"unregistervm", "bug-test", "--delete"}
==> virtualbox-iso: VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
==> virtualbox-iso: VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
==> virtualbox-iso: VBoxManage: error: Invalid UUID or filename "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"
==> virtualbox-iso: Unregistering and deleting virtual machine...
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stdout:
2016/04/14 18:50:37 packer-io: 2016/04/14 18:50:37 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2016/04/14 18:50:37 ui: ==> virtualbox-iso: Deleting output directory...
==> virtualbox-iso: Deleting output directory...
2016/04/14 18:50:37 ui error: Build 'virtualbox-iso' errored: Error attaching ISO: VBoxManage error: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"
2016/04/14 18:50:37 Builds completed. Waiting on interrupt barrier...
2016/04/14 18:50:37 machine readable: error-count []string{"1"}
2016/04/14 18:50:37 ui error:
==> Some builds didn't complete successfully and had errors:
2016/04/14 18:50:37 machine readable: virtualbox-iso,error []string{"Error attaching ISO: VBoxManage error: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)\nVBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports\nVBoxManage: error: Context: \"OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())\" at line 178 of file VBoxManageDisk.cpp\nVBoxManage: error: Invalid UUID or filename \"/home/********/********/********/fail/debian-8.4.0-amd64-netinst\""}
2016/04/14 18:50:37 ui error: --> virtualbox-iso: Error attaching ISO: VBoxManage error: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"
2016/04/14 18:50:37 ui:
==> Builds finished but no artifacts were created.
2016/04/14 18:50:37 waiting for all plugin processes to complete...
Build 'virtualbox-iso' errored: Error attaching ISO: VBoxManage error: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"
2016/04/14 18:50:37 /usr/bin/packer-io: plugin process exited
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Error attaching ISO: VBoxManage error: VBoxManage: error: Could not get the storage format of the medium '/home/********/********/********/fail/debian-8.4.0-amd64-netinst' (VERR_NOT_SUPPORTED)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "/home/********/********/********/fail/debian-8.4.0-amd64-netinst"
==> Builds finished but no artifacts were created.
@johnLate
Copy link
Author

This gist is used in: hashicorp/packer#3437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment