Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Version 1.1.1
- Running on Mac OSX
- System Version: macOS 10.13.3 (17D102)
- Kernel Version: Darwin 17.4.0
- Deploying RedHat 7.4 on AWS
- miams:packer miams$ cat crash.log
- 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Using internal plugin for alicloud-ecs
- 2018/03/20 15:04:15 Using internal plugin for cloudstack
- 2018/03/20 15:04:15 Using internal plugin for digitalocean
- 2018/03/20 15:04:15 Using internal plugin for profitbricks
- 2018/03/20 15:04:15 Using internal plugin for oracle-oci
- 2018/03/20 15:04:15 Using internal plugin for virtualbox-ovf
- 2018/03/20 15:04:15 Using internal plugin for amazon-instance
- 2018/03/20 15:04:15 Using internal plugin for hyperv-iso
- 2018/03/20 15:04:15 Using internal plugin for hyperv-vmcx
- 2018/03/20 15:04:15 Using internal plugin for lxd
- 2018/03/20 15:04:15 Using internal plugin for oneandone
- 2018/03/20 15:04:15 Using internal plugin for virtualbox-iso
- 2018/03/20 15:04:15 Using internal plugin for vmware-vmx
- 2018/03/20 15:04:15 Using internal plugin for amazon-ebs
- 2018/03/20 15:04:15 Using internal plugin for null
- 2018/03/20 15:04:15 Using internal plugin for amazon-chroot
- 2018/03/20 15:04:15 Using internal plugin for azure-arm
- 2018/03/20 15:04:15 Using internal plugin for googlecompute
- 2018/03/20 15:04:15 Using internal plugin for qemu
- 2018/03/20 15:04:15 Using internal plugin for docker
- 2018/03/20 15:04:15 Using internal plugin for openstack
- 2018/03/20 15:04:15 Using internal plugin for triton
- 2018/03/20 15:04:15 Using internal plugin for parallels-iso
- 2018/03/20 15:04:15 Using internal plugin for parallels-pvm
- 2018/03/20 15:04:15 Using internal plugin for vmware-iso
- 2018/03/20 15:04:15 Using internal plugin for amazon-ebssurrogate
- 2018/03/20 15:04:15 Using internal plugin for amazon-ebsvolume
- 2018/03/20 15:04:15 Using internal plugin for file
- 2018/03/20 15:04:15 Using internal plugin for lxc
- 2018/03/20 15:04:15 Using internal plugin for puppet-server
- 2018/03/20 15:04:15 Using internal plugin for windows-shell
- 2018/03/20 15:04:15 Using internal plugin for converge
- 2018/03/20 15:04:15 Using internal plugin for powershell
- 2018/03/20 15:04:15 Using internal plugin for shell
- 2018/03/20 15:04:15 Using internal plugin for windows-restart
- 2018/03/20 15:04:15 Using internal plugin for ansible
- 2018/03/20 15:04:15 Using internal plugin for chef-client
- 2018/03/20 15:04:15 Using internal plugin for puppet-masterless
- 2018/03/20 15:04:15 Using internal plugin for salt-masterless
- 2018/03/20 15:04:15 Using internal plugin for shell-local
- 2018/03/20 15:04:15 Using internal plugin for ansible-local
- 2018/03/20 15:04:15 Using internal plugin for file
- 2018/03/20 15:04:15 Using internal plugin for chef-solo
- 2018/03/20 15:04:15 Using internal plugin for artifice
- 2018/03/20 15:04:15 Using internal plugin for atlas
- 2018/03/20 15:04:15 Using internal plugin for checksum
- 2018/03/20 15:04:15 Using internal plugin for compress
- 2018/03/20 15:04:15 Using internal plugin for docker-tag
- 2018/03/20 15:04:15 Using internal plugin for manifest
- 2018/03/20 15:04:15 Using internal plugin for shell-local
- 2018/03/20 15:04:15 Using internal plugin for alicloud-import
- 2018/03/20 15:04:15 Using internal plugin for amazon-import
- 2018/03/20 15:04:15 Using internal plugin for docker-save
- 2018/03/20 15:04:15 Using internal plugin for googlecompute-export
- 2018/03/20 15:04:15 Using internal plugin for vagrant-cloud
- 2018/03/20 15:04:15 Using internal plugin for vsphere
- 2018/03/20 15:04:15 Using internal plugin for vagrant
- 2018/03/20 15:04:15 Using internal plugin for docker-import
- 2018/03/20 15:04:15 Using internal plugin for docker-push
- 2018/03/20 15:04:15 Using internal plugin for vsphere-template
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd] PostProcessors:map[vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-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 alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag] Provisioners:map[puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell 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 chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Loading builder: amazon-ebs
- 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
- 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
- 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-builder-amazon-ebs"}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin252076701
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
- 2018/03/20 15:04:15 Loading provisioner: file
- 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
- 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
- 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-file"}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin358251033
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
- 2018/03/20 15:04:15 Loading provisioner: shell
- 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
- 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
- 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-shell"}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin668130445
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
- 2018/03/20 15:04:15 ui: amazon-ebs output will be in this color.
- 2018/03/20 15:04:15 ui:
- 2018/03/20 15:04:15 Build debug mode: false
- 2018/03/20 15:04:15 Force build: false
- 2018/03/20 15:04:15 On error:
- 2018/03/20 15:04:15 Preparing build: amazon-ebs
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_secret_key: aws_access_key:]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-east-1 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:RHEL-7.4-cis(v2.1.1.1)-1521572655 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[Release:Latest Runner:EC2 Name:SBA - CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1 OS_Version:RedHat] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.medium RunTags:map[OS_Version:RedHat] SourceAmi: SourceAmiFilter:{Filters:map[0xc42046e4d0:0xc42046e4f0 0xc42046e510:0xc42046e530 0xc42046e550:0xc42046e570] Owners:[0xc42046e5f0] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId: TemporaryKeyPairName:packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8 UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1862a90] UserVariables:map[aws_secret_key: aws_access_key:] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/rhel74.json}}
- 2018/03/20 15:04:15 Waiting on builds to complete...
- 2018/03/20 15:04:15 Starting build run: amazon-ebs
- 2018/03/20 15:04:15 Running builder: amazon-ebs
- 2018/03/20 15:04:15 [INFO] (telemetry) Starting builder amazon-ebs
- 2018/03/20 15:04:15 ui: ==> amazon-ebs: Prevalidating AMI Name: RHEL-7.4-cis(v2.1.1.1)-1521572655
- 2018/03/20 15:04:19 packer: 2018/03/20 15:04:19 Using AMI Filters {
- 2018/03/20 15:04:19 packer: Filters: [{
- 2018/03/20 15:04:19 packer: Name: "name",
- 2018/03/20 15:04:19 packer: Values: ["CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1*"]
- 2018/03/20 15:04:19 packer: },{
- 2018/03/20 15:04:19 packer: Name: "root-device-type",
- 2018/03/20 15:04:19 packer: Values: ["ebs"]
- 2018/03/20 15:04:19 packer: },{
- 2018/03/20 15:04:19 packer: Name: "virtualization-type",
- 2018/03/20 15:04:19 packer: Values: ["hvm"]
- 2018/03/20 15:04:19 packer: }],
- 2018/03/20 15:04:19 packer: Owners: ["679593333241"]
- 2018/03/20 15:04:19 packer: }
- 2018/03/20 15:05:11 ui: amazon-ebs: Found Image ID: ami-15777e6f
- 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary keypair: packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8
- 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5ab15b67-0d55-c9c6-88ee-26597026b953
- 2018/03/20 15:05:12 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
- 2018/03/20 15:05:12 packer: 2018/03/20 15:05:12 [DEBUG] Waiting for temporary security group: sg-239fd955
- 2018/03/20 15:05:12 ui: ==> amazon-ebs: Deleting temporary keypair...
- 2018/03/20 15:05:12 packer: panic: runtime error: invalid memory address or nil pointer dereference
- 2018/03/20 15:05:12 packer: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16de51d]
- 2018/03/20 15:05:12 packer:
- 2018/03/20 15:05:12 packer: goroutine 7 [running]:
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/aws/aws-sdk-go/aws/request.Waiter.WaitWithContext(0x2c6ab55, 0x16, 0xc42024b320, 0x3, 0x3, 0x3cc4380, 0xc420156018, 0x28, 0x0, 0x0, ...)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/vendor/github.com/aws/aws-sdk-go/aws/request/waiter.go:195 +0x18d
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.waitUntilSecurityGroupExists(0xc420156098, 0xc4205ba1e0, 0xc4201076c8, 0x1)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:194 +0x262
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.(*StepSecurityGroup).Run(0xc4203ccd20, 0x3cd7a80, 0xc420438510, 0x0)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:109 +0xa37
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep.(*BasicRunner).Run(0xc420421440, 0x3cd7a80, 0xc420438510)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep/basic_runner.go:70 +0x1ee
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/ebs.(*Builder).Run(0xc4203a8000, 0x3cdaaa0, 0xc42000c120, 0x3cd1cc0, 0xc42014e030, 0x3cd9400, 0xc420156010, 0x80000000000, 0x28, 0x28, ...)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/ebs/builder.go:248 +0x153c
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc4202ec8e0, 0x1, 0xc42026aae0, 0x0, 0x0)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:93 +0x1dd
- 2018/03/20 15:05:12 packer: reflect.Value.call(0xc420169380, 0xc4201562e8, 0x13, 0x2c46412, 0x4, 0xc42040df20, 0x3, 0x3, 0x0, 0x0, ...)
- 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:434 +0x906
- 2018/03/20 15:05:12 packer: reflect.Value.Call(0xc420169380, 0xc4201562e8, 0x13, 0xc420035f20, 0x3, 0x3, 0x0, 0x0, 0x0)
- 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:302 +0xa4
- 2018/03/20 15:05:12 packer: net/rpc.(*service).call(0xc420151200, 0xc42014b1d0, 0xc4203a0260, 0xc42015f000, 0xc4202ecbe0, 0x26c5460, 0xc42026aabc, 0x18a, 0x266c720, 0xc42026aae0, ...)
- 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:381 +0x142
- 2018/03/20 15:05:12 packer: created by net/rpc.(*Server).ServeCodec
- 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:475 +0x36b
- 2018/03/20 15:05:12 [INFO] (telemetry) ending amazon-ebs
- 2018/03/20 15:05:12 [INFO] (telemetry) found error: unexpected EOF
- 2018/03/20 15:05:12 ui error: Build 'amazon-ebs' errored: unexpected EOF
- 2018/03/20 15:05:12 Builds completed. Waiting on interrupt barrier...
- 2018/03/20 15:05:12 machine readable: error-count []string{"1"}
- 2018/03/20 15:05:12 ui error:
- ==> Some builds didn't complete successfully and had errors:
- 2018/03/20 15:05:12 machine readable: amazon-ebs,error []string{"unexpected EOF"}
- 2018/03/20 15:05:12 ui error: --> amazon-ebs: unexpected EOF
- 2018/03/20 15:05:12 ui:
- ==> Builds finished but no artifacts were created.
- 2018/03/20 15:05:12 [INFO] (telemetry) Finalizing.
- 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
- 2018/03/20 15:05:12 waiting for all plugin processes to complete...
- 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
- 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
- miams:packer miams$ packer -v
- 1.1.1
- miams:packer miams$ system_profiler SPSoftwareDataType
- Software:
- System Software Overview:
- System Version: macOS 10.13.3 (17D102)
- Kernel Version: Darwin 17.4.0
- Boot Volume: Macintosh HD
- Boot Mode: Normal
- Computer Name: miams
- User Name: Michael Iams (miams)
- Secure Virtual Memory: Enabled
- System Integrity Protection: Disabled
- Time since boot: 6 days 1:45
- miams:packer miams$ cat crash.log
- 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Using internal plugin for alicloud-ecs
- 2018/03/20 15:04:15 Using internal plugin for cloudstack
- 2018/03/20 15:04:15 Using internal plugin for digitalocean
- 2018/03/20 15:04:15 Using internal plugin for profitbricks
- 2018/03/20 15:04:15 Using internal plugin for oracle-oci
- 2018/03/20 15:04:15 Using internal plugin for virtualbox-ovf
- 2018/03/20 15:04:15 Using internal plugin for amazon-instance
- 2018/03/20 15:04:15 Using internal plugin for hyperv-iso
- 2018/03/20 15:04:15 Using internal plugin for hyperv-vmcx
- 2018/03/20 15:04:15 Using internal plugin for lxd
- 2018/03/20 15:04:15 Using internal plugin for oneandone
- 2018/03/20 15:04:15 Using internal plugin for virtualbox-iso
- 2018/03/20 15:04:15 Using internal plugin for vmware-vmx
- 2018/03/20 15:04:15 Using internal plugin for amazon-ebs
- 2018/03/20 15:04:15 Using internal plugin for null
- 2018/03/20 15:04:15 Using internal plugin for amazon-chroot
- 2018/03/20 15:04:15 Using internal plugin for azure-arm
- 2018/03/20 15:04:15 Using internal plugin for googlecompute
- 2018/03/20 15:04:15 Using internal plugin for qemu
- 2018/03/20 15:04:15 Using internal plugin for docker
- 2018/03/20 15:04:15 Using internal plugin for openstack
- 2018/03/20 15:04:15 Using internal plugin for triton
- 2018/03/20 15:04:15 Using internal plugin for parallels-iso
- 2018/03/20 15:04:15 Using internal plugin for parallels-pvm
- 2018/03/20 15:04:15 Using internal plugin for vmware-iso
- 2018/03/20 15:04:15 Using internal plugin for amazon-ebssurrogate
- 2018/03/20 15:04:15 Using internal plugin for amazon-ebsvolume
- 2018/03/20 15:04:15 Using internal plugin for file
- 2018/03/20 15:04:15 Using internal plugin for lxc
- 2018/03/20 15:04:15 Using internal plugin for puppet-server
- 2018/03/20 15:04:15 Using internal plugin for windows-shell
- 2018/03/20 15:04:15 Using internal plugin for converge
- 2018/03/20 15:04:15 Using internal plugin for powershell
- 2018/03/20 15:04:15 Using internal plugin for shell
- 2018/03/20 15:04:15 Using internal plugin for windows-restart
- 2018/03/20 15:04:15 Using internal plugin for ansible
- 2018/03/20 15:04:15 Using internal plugin for chef-client
- 2018/03/20 15:04:15 Using internal plugin for puppet-masterless
- 2018/03/20 15:04:15 Using internal plugin for salt-masterless
- 2018/03/20 15:04:15 Using internal plugin for shell-local
- 2018/03/20 15:04:15 Using internal plugin for ansible-local
- 2018/03/20 15:04:15 Using internal plugin for file
- 2018/03/20 15:04:15 Using internal plugin for chef-solo
- 2018/03/20 15:04:15 Using internal plugin for artifice
- 2018/03/20 15:04:15 Using internal plugin for atlas
- 2018/03/20 15:04:15 Using internal plugin for checksum
- 2018/03/20 15:04:15 Using internal plugin for compress
- 2018/03/20 15:04:15 Using internal plugin for docker-tag
- 2018/03/20 15:04:15 Using internal plugin for manifest
- 2018/03/20 15:04:15 Using internal plugin for shell-local
- 2018/03/20 15:04:15 Using internal plugin for alicloud-import
- 2018/03/20 15:04:15 Using internal plugin for amazon-import
- 2018/03/20 15:04:15 Using internal plugin for docker-save
- 2018/03/20 15:04:15 Using internal plugin for googlecompute-export
- 2018/03/20 15:04:15 Using internal plugin for vagrant-cloud
- 2018/03/20 15:04:15 Using internal plugin for vsphere
- 2018/03/20 15:04:15 Using internal plugin for vagrant
- 2018/03/20 15:04:15 Using internal plugin for docker-import
- 2018/03/20 15:04:15 Using internal plugin for docker-push
- 2018/03/20 15:04:15 Using internal plugin for vsphere-template
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd] PostProcessors:map[vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-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 alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag] Provisioners:map[puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell 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 chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 Loading builder: amazon-ebs
- 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
- 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
- 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-builder-amazon-ebs"}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin252076701
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
- 2018/03/20 15:04:15 Loading provisioner: file
- 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
- 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
- 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-file"}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin358251033
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
- 2018/03/20 15:04:15 Loading provisioner: shell
- 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
- 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
- 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
- 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-shell"}
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin668130445
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
- 2018/03/20 15:04:15 ui: amazon-ebs output will be in this color.
- 2018/03/20 15:04:15 ui:
- 2018/03/20 15:04:15 Build debug mode: false
- 2018/03/20 15:04:15 Force build: false
- 2018/03/20 15:04:15 On error:
- 2018/03/20 15:04:15 Preparing build: amazon-ebs
- 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_secret_key: aws_access_key:]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-east-1 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:RHEL-7.4-cis(v2.1.1.1)-1521572655 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[Release:Latest Runner:EC2 Name:SBA - CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1 OS_Version:RedHat] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.medium RunTags:map[OS_Version:RedHat] SourceAmi: SourceAmiFilter:{Filters:map[0xc42046e4d0:0xc42046e4f0 0xc42046e510:0xc42046e530 0xc42046e550:0xc42046e570] Owners:[0xc42046e5f0] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId: TemporaryKeyPairName:packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8 UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1862a90] UserVariables:map[aws_secret_key: aws_access_key:] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/rhel74.json}}
- 2018/03/20 15:04:15 Waiting on builds to complete...
- 2018/03/20 15:04:15 Starting build run: amazon-ebs
- 2018/03/20 15:04:15 Running builder: amazon-ebs
- 2018/03/20 15:04:15 [INFO] (telemetry) Starting builder amazon-ebs
- 2018/03/20 15:04:15 ui: ==> amazon-ebs: Prevalidating AMI Name: RHEL-7.4-cis(v2.1.1.1)-1521572655
- 2018/03/20 15:04:19 packer: 2018/03/20 15:04:19 Using AMI Filters {
- 2018/03/20 15:04:19 packer: Filters: [{
- 2018/03/20 15:04:19 packer: Name: "name",
- 2018/03/20 15:04:19 packer: Values: ["CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1*"]
- 2018/03/20 15:04:19 packer: },{
- 2018/03/20 15:04:19 packer: Name: "root-device-type",
- 2018/03/20 15:04:19 packer: Values: ["ebs"]
- 2018/03/20 15:04:19 packer: },{
- 2018/03/20 15:04:19 packer: Name: "virtualization-type",
- 2018/03/20 15:04:19 packer: Values: ["hvm"]
- 2018/03/20 15:04:19 packer: }],
- 2018/03/20 15:04:19 packer: Owners: ["679593333241"]
- 2018/03/20 15:04:19 packer: }
- 2018/03/20 15:05:11 ui: amazon-ebs: Found Image ID: ami-15777e6f
- 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary keypair: packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8
- 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5ab15b67-0d55-c9c6-88ee-26597026b953
- 2018/03/20 15:05:12 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
- 2018/03/20 15:05:12 packer: 2018/03/20 15:05:12 [DEBUG] Waiting for temporary security group: sg-239fd955
- 2018/03/20 15:05:12 ui: ==> amazon-ebs: Deleting temporary keypair...
- 2018/03/20 15:05:12 packer: panic: runtime error: invalid memory address or nil pointer dereference
- 2018/03/20 15:05:12 packer: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16de51d]
- 2018/03/20 15:05:12 packer:
- 2018/03/20 15:05:12 packer: goroutine 7 [running]:
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/aws/aws-sdk-go/aws/request.Waiter.WaitWithContext(0x2c6ab55, 0x16, 0xc42024b320, 0x3, 0x3, 0x3cc4380, 0xc420156018, 0x28, 0x0, 0x0, ...)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/vendor/github.com/aws/aws-sdk-go/aws/request/waiter.go:195 +0x18d
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.waitUntilSecurityGroupExists(0xc420156098, 0xc4205ba1e0, 0xc4201076c8, 0x1)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:194 +0x262
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.(*StepSecurityGroup).Run(0xc4203ccd20, 0x3cd7a80, 0xc420438510, 0x0)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:109 +0xa37
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep.(*BasicRunner).Run(0xc420421440, 0x3cd7a80, 0xc420438510)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep/basic_runner.go:70 +0x1ee
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/ebs.(*Builder).Run(0xc4203a8000, 0x3cdaaa0, 0xc42000c120, 0x3cd1cc0, 0xc42014e030, 0x3cd9400, 0xc420156010, 0x80000000000, 0x28, 0x28, ...)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/ebs/builder.go:248 +0x153c
- 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc4202ec8e0, 0x1, 0xc42026aae0, 0x0, 0x0)
- 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:93 +0x1dd
- 2018/03/20 15:05:12 packer: reflect.Value.call(0xc420169380, 0xc4201562e8, 0x13, 0x2c46412, 0x4, 0xc42040df20, 0x3, 0x3, 0x0, 0x0, ...)
- 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:434 +0x906
- 2018/03/20 15:05:12 packer: reflect.Value.Call(0xc420169380, 0xc4201562e8, 0x13, 0xc420035f20, 0x3, 0x3, 0x0, 0x0, 0x0)
- 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:302 +0xa4
- 2018/03/20 15:05:12 packer: net/rpc.(*service).call(0xc420151200, 0xc42014b1d0, 0xc4203a0260, 0xc42015f000, 0xc4202ecbe0, 0x26c5460, 0xc42026aabc, 0x18a, 0x266c720, 0xc42026aae0, ...)
- 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:381 +0x142
- 2018/03/20 15:05:12 packer: created by net/rpc.(*Server).ServeCodec
- 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:475 +0x36b
- 2018/03/20 15:05:12 [INFO] (telemetry) ending amazon-ebs
- 2018/03/20 15:05:12 [INFO] (telemetry) found error: unexpected EOF
- 2018/03/20 15:05:12 ui error: Build 'amazon-ebs' errored: unexpected EOF
- 2018/03/20 15:05:12 Builds completed. Waiting on interrupt barrier...
- 2018/03/20 15:05:12 machine readable: error-count []string{"1"}
- 2018/03/20 15:05:12 ui error:
- ==> Some builds didn't complete successfully and had errors:
- 2018/03/20 15:05:12 machine readable: amazon-ebs,error []string{"unexpected EOF"}
- 2018/03/20 15:05:12 ui error: --> amazon-ebs: unexpected EOF
- 2018/03/20 15:05:12 ui:
- ==> Builds finished but no artifacts were created.
- 2018/03/20 15:05:12 [INFO] (telemetry) Finalizing.
- 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
- 2018/03/20 15:05:12 waiting for all plugin processes to complete...
- 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
- 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
Add Comment
Please, Sign In to add comment