· 7 years ago · Mar 30, 2018, 05:12 AM
1Version 1.1.1
2Running on Mac OSX
3 System Version: macOS 10.13.3 (17D102)
4 Kernel Version: Darwin 17.4.0
5Deploying RedHat 7.4 on AWS
6
7miams:packer miams$ cat crash.log
82018/03/20 15:04:15 [INFO] Packer version: 1.1.1
92018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
102018/03/20 15:04:15 Built with Go Version: go1.9
112018/03/20 15:04:15 Detected home directory from env var: /Users/miams
122018/03/20 15:04:15 Using internal plugin for alicloud-ecs
132018/03/20 15:04:15 Using internal plugin for cloudstack
142018/03/20 15:04:15 Using internal plugin for digitalocean
152018/03/20 15:04:15 Using internal plugin for profitbricks
162018/03/20 15:04:15 Using internal plugin for oracle-oci
172018/03/20 15:04:15 Using internal plugin for virtualbox-ovf
182018/03/20 15:04:15 Using internal plugin for amazon-instance
192018/03/20 15:04:15 Using internal plugin for hyperv-iso
202018/03/20 15:04:15 Using internal plugin for hyperv-vmcx
212018/03/20 15:04:15 Using internal plugin for lxd
222018/03/20 15:04:15 Using internal plugin for oneandone
232018/03/20 15:04:15 Using internal plugin for virtualbox-iso
242018/03/20 15:04:15 Using internal plugin for vmware-vmx
252018/03/20 15:04:15 Using internal plugin for amazon-ebs
262018/03/20 15:04:15 Using internal plugin for null
272018/03/20 15:04:15 Using internal plugin for amazon-chroot
282018/03/20 15:04:15 Using internal plugin for azure-arm
292018/03/20 15:04:15 Using internal plugin for googlecompute
302018/03/20 15:04:15 Using internal plugin for qemu
312018/03/20 15:04:15 Using internal plugin for docker
322018/03/20 15:04:15 Using internal plugin for openstack
332018/03/20 15:04:15 Using internal plugin for triton
342018/03/20 15:04:15 Using internal plugin for parallels-iso
352018/03/20 15:04:15 Using internal plugin for parallels-pvm
362018/03/20 15:04:15 Using internal plugin for vmware-iso
372018/03/20 15:04:15 Using internal plugin for amazon-ebssurrogate
382018/03/20 15:04:15 Using internal plugin for amazon-ebsvolume
392018/03/20 15:04:15 Using internal plugin for file
402018/03/20 15:04:15 Using internal plugin for lxc
412018/03/20 15:04:15 Using internal plugin for puppet-server
422018/03/20 15:04:15 Using internal plugin for windows-shell
432018/03/20 15:04:15 Using internal plugin for converge
442018/03/20 15:04:15 Using internal plugin for powershell
452018/03/20 15:04:15 Using internal plugin for shell
462018/03/20 15:04:15 Using internal plugin for windows-restart
472018/03/20 15:04:15 Using internal plugin for ansible
482018/03/20 15:04:15 Using internal plugin for chef-client
492018/03/20 15:04:15 Using internal plugin for puppet-masterless
502018/03/20 15:04:15 Using internal plugin for salt-masterless
512018/03/20 15:04:15 Using internal plugin for shell-local
522018/03/20 15:04:15 Using internal plugin for ansible-local
532018/03/20 15:04:15 Using internal plugin for file
542018/03/20 15:04:15 Using internal plugin for chef-solo
552018/03/20 15:04:15 Using internal plugin for artifice
562018/03/20 15:04:15 Using internal plugin for atlas
572018/03/20 15:04:15 Using internal plugin for checksum
582018/03/20 15:04:15 Using internal plugin for compress
592018/03/20 15:04:15 Using internal plugin for docker-tag
602018/03/20 15:04:15 Using internal plugin for manifest
612018/03/20 15:04:15 Using internal plugin for shell-local
622018/03/20 15:04:15 Using internal plugin for alicloud-import
632018/03/20 15:04:15 Using internal plugin for amazon-import
642018/03/20 15:04:15 Using internal plugin for docker-save
652018/03/20 15:04:15 Using internal plugin for googlecompute-export
662018/03/20 15:04:15 Using internal plugin for vagrant-cloud
672018/03/20 15:04:15 Using internal plugin for vsphere
682018/03/20 15:04:15 Using internal plugin for vagrant
692018/03/20 15:04:15 Using internal plugin for docker-import
702018/03/20 15:04:15 Using internal plugin for docker-push
712018/03/20 15:04:15 Using internal plugin for vsphere-template
722018/03/20 15:04:15 Detected home directory from env var: /Users/miams
732018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
742018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
752018/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]}
762018/03/20 15:04:15 Detected home directory from env var: /Users/miams
772018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
782018/03/20 15:04:15 Detected home directory from env var: /Users/miams
792018/03/20 15:04:15 Loading builder: amazon-ebs
802018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
812018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
822018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
832018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
842018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
852018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
862018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
872018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
882018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
892018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
902018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
912018/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[]}
922018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
932018/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
942018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-builder-amazon-ebs"}
952018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
962018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
972018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
982018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin252076701
992018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
1002018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
1012018/03/20 15:04:15 Loading provisioner: file
1022018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
1032018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
1042018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
1052018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
1062018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
1072018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
1082018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
1092018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
1102018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
1112018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
1122018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
1132018/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[]}
1142018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
1152018/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
1162018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
1172018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-file"}
1182018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
1192018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
1202018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin358251033
1212018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
1222018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
1232018/03/20 15:04:15 Loading provisioner: shell
1242018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
1252018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
1262018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
1272018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
1282018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
1292018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
1302018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
1312018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
1322018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
1332018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
1342018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
1352018/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[]}
1362018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
1372018/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
1382018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-shell"}
1392018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
1402018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
1412018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
1422018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin668130445
1432018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
1442018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
1452018/03/20 15:04:15 ui: amazon-ebs output will be in this color.
1462018/03/20 15:04:15 ui:
1472018/03/20 15:04:15 Build debug mode: false
1482018/03/20 15:04:15 Force build: false
1492018/03/20 15:04:15 On error:
1502018/03/20 15:04:15 Preparing build: amazon-ebs
1512018/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}}
1522018/03/20 15:04:15 Waiting on builds to complete...
1532018/03/20 15:04:15 Starting build run: amazon-ebs
1542018/03/20 15:04:15 Running builder: amazon-ebs
1552018/03/20 15:04:15 [INFO] (telemetry) Starting builder amazon-ebs
1562018/03/20 15:04:15 ui: ==> amazon-ebs: Prevalidating AMI Name: RHEL-7.4-cis(v2.1.1.1)-1521572655
1572018/03/20 15:04:19 packer: 2018/03/20 15:04:19 Using AMI Filters {
1582018/03/20 15:04:19 packer: Filters: [{
1592018/03/20 15:04:19 packer: Name: "name",
1602018/03/20 15:04:19 packer: Values: ["CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1*"]
1612018/03/20 15:04:19 packer: },{
1622018/03/20 15:04:19 packer: Name: "root-device-type",
1632018/03/20 15:04:19 packer: Values: ["ebs"]
1642018/03/20 15:04:19 packer: },{
1652018/03/20 15:04:19 packer: Name: "virtualization-type",
1662018/03/20 15:04:19 packer: Values: ["hvm"]
1672018/03/20 15:04:19 packer: }],
1682018/03/20 15:04:19 packer: Owners: ["679593333241"]
1692018/03/20 15:04:19 packer: }
1702018/03/20 15:05:11 ui: amazon-ebs: Found Image ID: ami-15777e6f
1712018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary keypair: packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8
1722018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5ab15b67-0d55-c9c6-88ee-26597026b953
1732018/03/20 15:05:12 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
1742018/03/20 15:05:12 packer: 2018/03/20 15:05:12 [DEBUG] Waiting for temporary security group: sg-239fd955
1752018/03/20 15:05:12 ui: ==> amazon-ebs: Deleting temporary keypair...
1762018/03/20 15:05:12 packer: panic: runtime error: invalid memory address or nil pointer dereference
1772018/03/20 15:05:12 packer: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16de51d]
1782018/03/20 15:05:12 packer:
1792018/03/20 15:05:12 packer: goroutine 7 [running]:
1802018/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, ...)
1812018/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
1822018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.waitUntilSecurityGroupExists(0xc420156098, 0xc4205ba1e0, 0xc4201076c8, 0x1)
1832018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:194 +0x262
1842018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.(*StepSecurityGroup).Run(0xc4203ccd20, 0x3cd7a80, 0xc420438510, 0x0)
1852018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:109 +0xa37
1862018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep.(*BasicRunner).Run(0xc420421440, 0x3cd7a80, 0xc420438510)
1872018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep/basic_runner.go:70 +0x1ee
1882018/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, ...)
1892018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/ebs/builder.go:248 +0x153c
1902018/03/20 15:05:12 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc4202ec8e0, 0x1, 0xc42026aae0, 0x0, 0x0)
1912018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:93 +0x1dd
1922018/03/20 15:05:12 packer: reflect.Value.call(0xc420169380, 0xc4201562e8, 0x13, 0x2c46412, 0x4, 0xc42040df20, 0x3, 0x3, 0x0, 0x0, ...)
1932018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:434 +0x906
1942018/03/20 15:05:12 packer: reflect.Value.Call(0xc420169380, 0xc4201562e8, 0x13, 0xc420035f20, 0x3, 0x3, 0x0, 0x0, 0x0)
1952018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:302 +0xa4
1962018/03/20 15:05:12 packer: net/rpc.(*service).call(0xc420151200, 0xc42014b1d0, 0xc4203a0260, 0xc42015f000, 0xc4202ecbe0, 0x26c5460, 0xc42026aabc, 0x18a, 0x266c720, 0xc42026aae0, ...)
1972018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:381 +0x142
1982018/03/20 15:05:12 packer: created by net/rpc.(*Server).ServeCodec
1992018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:475 +0x36b
2002018/03/20 15:05:12 [INFO] (telemetry) ending amazon-ebs
2012018/03/20 15:05:12 [INFO] (telemetry) found error: unexpected EOF
2022018/03/20 15:05:12 ui error: Build 'amazon-ebs' errored: unexpected EOF
2032018/03/20 15:05:12 Builds completed. Waiting on interrupt barrier...
2042018/03/20 15:05:12 machine readable: error-count []string{"1"}
2052018/03/20 15:05:12 ui error:
206==> Some builds didn't complete successfully and had errors:
2072018/03/20 15:05:12 machine readable: amazon-ebs,error []string{"unexpected EOF"}
2082018/03/20 15:05:12 ui error: --> amazon-ebs: unexpected EOF
2092018/03/20 15:05:12 ui:
210==> Builds finished but no artifacts were created.
2112018/03/20 15:05:12 [INFO] (telemetry) Finalizing.
2122018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
2132018/03/20 15:05:12 waiting for all plugin processes to complete...
2142018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
2152018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
216miams:packer miams$ packer -v
2171.1.1
218miams:packer miams$ system_profiler SPSoftwareDataType
219Software:
220
221 System Software Overview:
222
223 System Version: macOS 10.13.3 (17D102)
224 Kernel Version: Darwin 17.4.0
225 Boot Volume: Macintosh HD
226 Boot Mode: Normal
227 Computer Name: miams
228 User Name: Michael Iams (miams)
229 Secure Virtual Memory: Enabled
230 System Integrity Protection: Disabled
231 Time since boot: 6 days 1:45
232
233miams:packer miams$ cat crash.log
2342018/03/20 15:04:15 [INFO] Packer version: 1.1.1
2352018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
2362018/03/20 15:04:15 Built with Go Version: go1.9
2372018/03/20 15:04:15 Detected home directory from env var: /Users/miams
2382018/03/20 15:04:15 Using internal plugin for alicloud-ecs
2392018/03/20 15:04:15 Using internal plugin for cloudstack
2402018/03/20 15:04:15 Using internal plugin for digitalocean
2412018/03/20 15:04:15 Using internal plugin for profitbricks
2422018/03/20 15:04:15 Using internal plugin for oracle-oci
2432018/03/20 15:04:15 Using internal plugin for virtualbox-ovf
2442018/03/20 15:04:15 Using internal plugin for amazon-instance
2452018/03/20 15:04:15 Using internal plugin for hyperv-iso
2462018/03/20 15:04:15 Using internal plugin for hyperv-vmcx
2472018/03/20 15:04:15 Using internal plugin for lxd
2482018/03/20 15:04:15 Using internal plugin for oneandone
2492018/03/20 15:04:15 Using internal plugin for virtualbox-iso
2502018/03/20 15:04:15 Using internal plugin for vmware-vmx
2512018/03/20 15:04:15 Using internal plugin for amazon-ebs
2522018/03/20 15:04:15 Using internal plugin for null
2532018/03/20 15:04:15 Using internal plugin for amazon-chroot
2542018/03/20 15:04:15 Using internal plugin for azure-arm
2552018/03/20 15:04:15 Using internal plugin for googlecompute
2562018/03/20 15:04:15 Using internal plugin for qemu
2572018/03/20 15:04:15 Using internal plugin for docker
2582018/03/20 15:04:15 Using internal plugin for openstack
2592018/03/20 15:04:15 Using internal plugin for triton
2602018/03/20 15:04:15 Using internal plugin for parallels-iso
2612018/03/20 15:04:15 Using internal plugin for parallels-pvm
2622018/03/20 15:04:15 Using internal plugin for vmware-iso
2632018/03/20 15:04:15 Using internal plugin for amazon-ebssurrogate
2642018/03/20 15:04:15 Using internal plugin for amazon-ebsvolume
2652018/03/20 15:04:15 Using internal plugin for file
2662018/03/20 15:04:15 Using internal plugin for lxc
2672018/03/20 15:04:15 Using internal plugin for puppet-server
2682018/03/20 15:04:15 Using internal plugin for windows-shell
2692018/03/20 15:04:15 Using internal plugin for converge
2702018/03/20 15:04:15 Using internal plugin for powershell
2712018/03/20 15:04:15 Using internal plugin for shell
2722018/03/20 15:04:15 Using internal plugin for windows-restart
2732018/03/20 15:04:15 Using internal plugin for ansible
2742018/03/20 15:04:15 Using internal plugin for chef-client
2752018/03/20 15:04:15 Using internal plugin for puppet-masterless
2762018/03/20 15:04:15 Using internal plugin for salt-masterless
2772018/03/20 15:04:15 Using internal plugin for shell-local
2782018/03/20 15:04:15 Using internal plugin for ansible-local
2792018/03/20 15:04:15 Using internal plugin for file
2802018/03/20 15:04:15 Using internal plugin for chef-solo
2812018/03/20 15:04:15 Using internal plugin for artifice
2822018/03/20 15:04:15 Using internal plugin for atlas
2832018/03/20 15:04:15 Using internal plugin for checksum
2842018/03/20 15:04:15 Using internal plugin for compress
2852018/03/20 15:04:15 Using internal plugin for docker-tag
2862018/03/20 15:04:15 Using internal plugin for manifest
2872018/03/20 15:04:15 Using internal plugin for shell-local
2882018/03/20 15:04:15 Using internal plugin for alicloud-import
2892018/03/20 15:04:15 Using internal plugin for amazon-import
2902018/03/20 15:04:15 Using internal plugin for docker-save
2912018/03/20 15:04:15 Using internal plugin for googlecompute-export
2922018/03/20 15:04:15 Using internal plugin for vagrant-cloud
2932018/03/20 15:04:15 Using internal plugin for vsphere
2942018/03/20 15:04:15 Using internal plugin for vagrant
2952018/03/20 15:04:15 Using internal plugin for docker-import
2962018/03/20 15:04:15 Using internal plugin for docker-push
2972018/03/20 15:04:15 Using internal plugin for vsphere-template
2982018/03/20 15:04:15 Detected home directory from env var: /Users/miams
2992018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
3002018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
3012018/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]}
3022018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3032018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
3042018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3052018/03/20 15:04:15 Loading builder: amazon-ebs
3062018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
3072018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
3082018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
3092018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
3102018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
3112018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
3122018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
3132018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
3142018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3152018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
3162018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
3172018/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[]}
3182018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3192018/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
3202018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-builder-amazon-ebs"}
3212018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3222018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
3232018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
3242018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin252076701
3252018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
3262018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
3272018/03/20 15:04:15 Loading provisioner: file
3282018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
3292018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
3302018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
3312018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
3322018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
3332018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
3342018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
3352018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
3362018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3372018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
3382018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
3392018/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[]}
3402018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3412018/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
3422018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3432018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-file"}
3442018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
3452018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
3462018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin358251033
3472018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
3482018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
3492018/03/20 15:04:15 Loading provisioner: shell
3502018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
3512018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
3522018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
3532018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
3542018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
3552018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
3562018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
3572018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
3582018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3592018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
3602018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
3612018/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[]}
3622018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3632018/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
3642018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-shell"}
3652018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
3662018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
3672018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
3682018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin address: unix /var/folders/gv/5_tqf0tn0sd4z70np98wqv7dzcnb_x/T/packer-plugin668130445
3692018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
3702018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
3712018/03/20 15:04:15 ui: amazon-ebs output will be in this color.
3722018/03/20 15:04:15 ui:
3732018/03/20 15:04:15 Build debug mode: false
3742018/03/20 15:04:15 Force build: false
3752018/03/20 15:04:15 On error:
3762018/03/20 15:04:15 Preparing build: amazon-ebs
3772018/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}}
3782018/03/20 15:04:15 Waiting on builds to complete...
3792018/03/20 15:04:15 Starting build run: amazon-ebs
3802018/03/20 15:04:15 Running builder: amazon-ebs
3812018/03/20 15:04:15 [INFO] (telemetry) Starting builder amazon-ebs
3822018/03/20 15:04:15 ui: ==> amazon-ebs: Prevalidating AMI Name: RHEL-7.4-cis(v2.1.1.1)-1521572655
3832018/03/20 15:04:19 packer: 2018/03/20 15:04:19 Using AMI Filters {
3842018/03/20 15:04:19 packer: Filters: [{
3852018/03/20 15:04:19 packer: Name: "name",
3862018/03/20 15:04:19 packer: Values: ["CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1*"]
3872018/03/20 15:04:19 packer: },{
3882018/03/20 15:04:19 packer: Name: "root-device-type",
3892018/03/20 15:04:19 packer: Values: ["ebs"]
3902018/03/20 15:04:19 packer: },{
3912018/03/20 15:04:19 packer: Name: "virtualization-type",
3922018/03/20 15:04:19 packer: Values: ["hvm"]
3932018/03/20 15:04:19 packer: }],
3942018/03/20 15:04:19 packer: Owners: ["679593333241"]
3952018/03/20 15:04:19 packer: }
3962018/03/20 15:05:11 ui: amazon-ebs: Found Image ID: ami-15777e6f
3972018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary keypair: packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8
3982018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5ab15b67-0d55-c9c6-88ee-26597026b953
3992018/03/20 15:05:12 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
4002018/03/20 15:05:12 packer: 2018/03/20 15:05:12 [DEBUG] Waiting for temporary security group: sg-239fd955
4012018/03/20 15:05:12 ui: ==> amazon-ebs: Deleting temporary keypair...
4022018/03/20 15:05:12 packer: panic: runtime error: invalid memory address or nil pointer dereference
4032018/03/20 15:05:12 packer: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16de51d]
4042018/03/20 15:05:12 packer:
4052018/03/20 15:05:12 packer: goroutine 7 [running]:
4062018/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, ...)
4072018/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
4082018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.waitUntilSecurityGroupExists(0xc420156098, 0xc4205ba1e0, 0xc4201076c8, 0x1)
4092018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:194 +0x262
4102018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.(*StepSecurityGroup).Run(0xc4203ccd20, 0x3cd7a80, 0xc420438510, 0x0)
4112018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:109 +0xa37
4122018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep.(*BasicRunner).Run(0xc420421440, 0x3cd7a80, 0xc420438510)
4132018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep/basic_runner.go:70 +0x1ee
4142018/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, ...)
4152018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/ebs/builder.go:248 +0x153c
4162018/03/20 15:05:12 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc4202ec8e0, 0x1, 0xc42026aae0, 0x0, 0x0)
4172018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:93 +0x1dd
4182018/03/20 15:05:12 packer: reflect.Value.call(0xc420169380, 0xc4201562e8, 0x13, 0x2c46412, 0x4, 0xc42040df20, 0x3, 0x3, 0x0, 0x0, ...)
4192018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:434 +0x906
4202018/03/20 15:05:12 packer: reflect.Value.Call(0xc420169380, 0xc4201562e8, 0x13, 0xc420035f20, 0x3, 0x3, 0x0, 0x0, 0x0)
4212018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:302 +0xa4
4222018/03/20 15:05:12 packer: net/rpc.(*service).call(0xc420151200, 0xc42014b1d0, 0xc4203a0260, 0xc42015f000, 0xc4202ecbe0, 0x26c5460, 0xc42026aabc, 0x18a, 0x266c720, 0xc42026aae0, ...)
4232018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:381 +0x142
4242018/03/20 15:05:12 packer: created by net/rpc.(*Server).ServeCodec
4252018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:475 +0x36b
4262018/03/20 15:05:12 [INFO] (telemetry) ending amazon-ebs
4272018/03/20 15:05:12 [INFO] (telemetry) found error: unexpected EOF
4282018/03/20 15:05:12 ui error: Build 'amazon-ebs' errored: unexpected EOF
4292018/03/20 15:05:12 Builds completed. Waiting on interrupt barrier...
4302018/03/20 15:05:12 machine readable: error-count []string{"1"}
4312018/03/20 15:05:12 ui error:
432==> Some builds didn't complete successfully and had errors:
4332018/03/20 15:05:12 machine readable: amazon-ebs,error []string{"unexpected EOF"}
4342018/03/20 15:05:12 ui error: --> amazon-ebs: unexpected EOF
4352018/03/20 15:05:12 ui:
436==> Builds finished but no artifacts were created.
4372018/03/20 15:05:12 [INFO] (telemetry) Finalizing.
4382018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
4392018/03/20 15:05:12 waiting for all plugin processes to complete...
4402018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
4412018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited