Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [rad] testdata $ PACKER_LOG=1 AWS_PROFILE=rad-admin packer build test.json
- 2019/04/14 19:12:49 [INFO] Packer version: 1.3.5
- 2019/04/14 19:12:49 Packer Target OS/Arch: darwin amd64
- 2019/04/14 19:12:49 Built with Go Version: go1.12
- 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 [DEBUG] Discovered plugin: terraform-state = /Users/rad/.packer.d/plugins/packer-post-processor-terraform-state
- 2019/04/14 19:12:49 Using internal plugin for file
- 2019/04/14 19:12:49 Using internal plugin for lxd
- 2019/04/14 19:12:49 Using internal plugin for ncloud
- 2019/04/14 19:12:49 Using internal plugin for openstack
- 2019/04/14 19:12:49 Using internal plugin for oracle-oci
- 2019/04/14 19:12:49 Using internal plugin for triton
- 2019/04/14 19:12:49 Using internal plugin for digitalocean
- 2019/04/14 19:12:49 Using internal plugin for hcloud
- 2019/04/14 19:12:49 Using internal plugin for parallels-iso
- 2019/04/14 19:12:49 Using internal plugin for profitbricks
- 2019/04/14 19:12:49 Using internal plugin for docker
- 2019/04/14 19:12:49 Using internal plugin for azure-arm
- 2019/04/14 19:12:49 Using internal plugin for hyperv-iso
- 2019/04/14 19:12:49 Using internal plugin for qemu
- 2019/04/14 19:12:49 Using internal plugin for vagrant
- 2019/04/14 19:12:49 Using internal plugin for amazon-chroot
- 2019/04/14 19:12:49 Using internal plugin for vmware-vmx
- 2019/04/14 19:12:49 Using internal plugin for oracle-classic
- 2019/04/14 19:12:49 Using internal plugin for hyperone
- 2019/04/14 19:12:49 Using internal plugin for lxc
- 2019/04/14 19:12:49 Using internal plugin for oneandone
- 2019/04/14 19:12:49 Using internal plugin for virtualbox-iso
- 2019/04/14 19:12:49 Using internal plugin for googlecompute
- 2019/04/14 19:12:49 Using internal plugin for alicloud-ecs
- 2019/04/14 19:12:49 Using internal plugin for amazon-ebssurrogate
- 2019/04/14 19:12:49 Using internal plugin for amazon-ebsvolume
- 2019/04/14 19:12:49 Using internal plugin for amazon-instance
- 2019/04/14 19:12:49 Using internal plugin for cloudstack
- 2019/04/14 19:12:49 Using internal plugin for null
- 2019/04/14 19:12:49 Using internal plugin for scaleway
- 2019/04/14 19:12:49 Using internal plugin for vmware-iso
- 2019/04/14 19:12:49 Using internal plugin for amazon-ebs
- 2019/04/14 19:12:49 Using internal plugin for parallels-pvm
- 2019/04/14 19:12:49 Using internal plugin for tencentcloud-cvm
- 2019/04/14 19:12:49 Using internal plugin for virtualbox-ovf
- 2019/04/14 19:12:49 Using internal plugin for hyperv-vmcx
- 2019/04/14 19:12:49 Using internal plugin for windows-restart
- 2019/04/14 19:12:49 Using internal plugin for windows-shell
- 2019/04/14 19:12:49 Using internal plugin for breakpoint
- 2019/04/14 19:12:49 Using internal plugin for chef-solo
- 2019/04/14 19:12:49 Using internal plugin for puppet-masterless
- 2019/04/14 19:12:49 Using internal plugin for salt-masterless
- 2019/04/14 19:12:49 Using internal plugin for shell-local
- 2019/04/14 19:12:49 Using internal plugin for chef-client
- 2019/04/14 19:12:49 Using internal plugin for converge
- 2019/04/14 19:12:49 Using internal plugin for puppet-server
- 2019/04/14 19:12:49 Using internal plugin for shell
- 2019/04/14 19:12:49 Using internal plugin for ansible
- 2019/04/14 19:12:49 Using internal plugin for file
- 2019/04/14 19:12:49 Using internal plugin for powershell
- 2019/04/14 19:12:49 Using internal plugin for ansible-local
- 2019/04/14 19:12:49 Using internal plugin for inspec
- 2019/04/14 19:12:49 Using internal plugin for artifice
- 2019/04/14 19:12:49 Using internal plugin for compress
- 2019/04/14 19:12:49 Using internal plugin for docker-push
- 2019/04/14 19:12:49 Using internal plugin for manifest
- 2019/04/14 19:12:49 Using internal plugin for vagrant
- 2019/04/14 19:12:49 Using internal plugin for googlecompute-export
- 2019/04/14 19:12:49 Using internal plugin for shell-local
- 2019/04/14 19:12:49 Using internal plugin for vsphere-template
- 2019/04/14 19:12:49 Using internal plugin for checksum
- 2019/04/14 19:12:49 Using internal plugin for docker-import
- 2019/04/14 19:12:49 Using internal plugin for docker-tag
- 2019/04/14 19:12:49 Using internal plugin for vsphere
- 2019/04/14 19:12:49 Using internal plugin for vagrant-cloud
- 2019/04/14 19:12:49 Using internal plugin for alicloud-import
- 2019/04/14 19:12:49 Using internal plugin for amazon-import
- 2019/04/14 19:12:49 Using internal plugin for digitalocean-import
- 2019/04/14 19:12:49 Using internal plugin for docker-save
- 2019/04/14 19:12:49 Using internal plugin for googlecompute-import
- 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 Attempting to open config file: /Users/rad/.packerconfig
- 2019/04/14 19:12:49 [WARN] Config file doesn't exist: /Users/rad/.packerconfig
- 2019/04/14 19:12:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs 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 amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hcloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud hyperone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperone hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd ncloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack oracle-classic:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway tencentcloud-cvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-tencentcloud-cvm triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vagrant virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx] PostProcessors:map[alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress digitalocean-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-digitalocean-import docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export googlecompute-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local terraform-state:/Users/rad/.packer.d/plugins/packer-post-processor-terraform-state vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local breakpoint:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint 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 converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file inspec:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-inspec powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}
- 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 Setting cache directory: /Users/rad/dev/golang/src/github.com/radekg/packer-terraform-state-post-processor/testdata/packer_cache
- 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 Loading builder: amazon-ebs
- 2019/04/14 19:12:49 Plugin could not be found. Checking same directory as executable.
- 2019/04/14 19:12:49 Current exe path: /usr/local/bin/packer
- 2019/04/14 19:12:49 Creating plugin client for path: /usr/local/bin/packer
- 2019/04/14 19:12:49 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
- 2019/04/14 19:12:49 Waiting for RPC address for: /usr/local/bin/packer
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 [INFO] Packer version: 1.3.5
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Packer Target OS/Arch: darwin amd64
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Built with Go Version: go1.12
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Attempting to open config file: /Users/rad/.packerconfig
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 [WARN] Config file doesn't exist: /Users/rad/.packerconfig
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Setting cache directory: /Users/rad/dev/golang/src/github.com/radekg/packer-terraform-state-post-processor/testdata/packer_cache
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 args: []string{"packer-builder-amazon-ebs"}
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Plugin minimum port: 10000
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Plugin maximum port: 25000
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Plugin address: unix /var/folders/0l/6tkq9v1s35z1yksjwbfr9kz00000gn/T/packer-plugin245375083
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Waiting for connection...
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Serving a plugin connection...
- 2019/04/14 19:12:49 Loading provisioner: ansible
- 2019/04/14 19:12:49 Plugin could not be found. Checking same directory as executable.
- 2019/04/14 19:12:49 Current exe path: /usr/local/bin/packer
- 2019/04/14 19:12:49 Creating plugin client for path: /usr/local/bin/packer
- 2019/04/14 19:12:49 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-ansible"}
- 2019/04/14 19:12:49 Waiting for RPC address for: /usr/local/bin/packer
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 [INFO] Packer version: 1.3.5
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Packer Target OS/Arch: darwin amd64
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Built with Go Version: go1.12
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Attempting to open config file: /Users/rad/.packerconfig
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 [WARN] Config file doesn't exist: /Users/rad/.packerconfig
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Setting cache directory: /Users/rad/dev/golang/src/github.com/radekg/packer-terraform-state-post-processor/testdata/packer_cache
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Detected home directory from env var: /Users/rad
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 args: []string{"packer-provisioner-ansible"}
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Plugin minimum port: 10000
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Plugin maximum port: 25000
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Plugin address: unix /var/folders/0l/6tkq9v1s35z1yksjwbfr9kz00000gn/T/packer-plugin958346279
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Waiting for connection...
- 2019/04/14 19:12:49 packer: 2019/04/14 19:12:49 Serving a plugin connection...
- 2019/04/14 19:12:49 Loading post-processor: terraform-state
- 2019/04/14 19:12:49 Creating plugin client for path: /Users/rad/.packer.d/plugins/packer-post-processor-terraform-state
- 2019/04/14 19:12:49 Starting plugin: /Users/rad/.packer.d/plugins/packer-post-processor-terraform-state []string{"/Users/rad/.packer.d/plugins/packer-post-processor-terraform-state"}
- 2019/04/14 19:12:49 Waiting for RPC address for: /Users/rad/.packer.d/plugins/packer-post-processor-terraform-state
- Failed to initialize build 'amazon-ebs': error initializing post-processor 'terraform-state': plugin exited before we could connect
- amazon-ebs output will be in this color.
- ==> Builds finished but no artifacts were created.
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: panic: gob: registering duplicate names for map[string]interface {}: "*map[string]interface {}" != "map[string]interface {}"
- 2019/04/14 19:12:49 packer-post-processor-terraform-state:
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: goroutine 1 [running]:
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: encoding/gob.RegisterName(0x304ffc9, 0x17, 0x35c5d20, 0x0)
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: /usr/local/opt/go/libexec/src/encoding/gob/type.go:826 +0x4c3
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: encoding/gob.Register(0x35c5d20, 0x0)
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: /usr/local/opt/go/libexec/src/encoding/gob/type.go:874 +0x123
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: github.com/radekg/packer-terraform-state-post-processor/vendor/github.com/zclconf/go-cty/cty.init.3()
- 2019/04/14 19:12:49 packer-post-processor-terraform-state: /Users/rad/dev/golang/src/github.com/radekg/packer-terraform-state-post-processor/vendor/github.com/zclconf/go-cty/cty/types_to_register.go:54 +0x5ac
- 2019/04/14 19:12:49 /Users/rad/.packer.d/plugins/packer-post-processor-terraform-state: plugin process exited
- 2019/04/14 19:12:49 ui error: Failed to initialize build 'amazon-ebs': error initializing post-processor 'terraform-state': plugin exited before we could connect
- 2019/04/14 19:12:49 Build debug mode: false
- 2019/04/14 19:12:49 Force build: false
- 2019/04/14 19:12:49 On error:
- 2019/04/14 19:12:49 Waiting on builds to complete...
- 2019/04/14 19:12:49 Builds completed. Waiting on interrupt barrier...
- ==> Builds finished but no artifacts were created.
- 2019/04/14 19:12:49 [INFO] (telemetry) Finalizing.
- 2019/04/14 19:12:50 waiting for all plugin processes to complete...
- 2019/04/14 19:12:50 /usr/local/bin/packer: plugin process exited
- 2019/04/14 19:12:50 /usr/local/bin/packer: plugin process exited
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement