Guest User

Untitled

a guest
Mar 30th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.38 KB | None | 0 0
  1. Version 1.1.1
  2. Running on Mac OSX
  3. System Version: macOS 10.13.3 (17D102)
  4. Kernel Version: Darwin 17.4.0
  5. Deploying RedHat 7.4 on AWS
  6.  
  7. miams:packer miams$ cat crash.log
  8. 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  9. 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  10. 2018/03/20 15:04:15 Built with Go Version: go1.9
  11. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  12. 2018/03/20 15:04:15 Using internal plugin for alicloud-ecs
  13. 2018/03/20 15:04:15 Using internal plugin for cloudstack
  14. 2018/03/20 15:04:15 Using internal plugin for digitalocean
  15. 2018/03/20 15:04:15 Using internal plugin for profitbricks
  16. 2018/03/20 15:04:15 Using internal plugin for oracle-oci
  17. 2018/03/20 15:04:15 Using internal plugin for virtualbox-ovf
  18. 2018/03/20 15:04:15 Using internal plugin for amazon-instance
  19. 2018/03/20 15:04:15 Using internal plugin for hyperv-iso
  20. 2018/03/20 15:04:15 Using internal plugin for hyperv-vmcx
  21. 2018/03/20 15:04:15 Using internal plugin for lxd
  22. 2018/03/20 15:04:15 Using internal plugin for oneandone
  23. 2018/03/20 15:04:15 Using internal plugin for virtualbox-iso
  24. 2018/03/20 15:04:15 Using internal plugin for vmware-vmx
  25. 2018/03/20 15:04:15 Using internal plugin for amazon-ebs
  26. 2018/03/20 15:04:15 Using internal plugin for null
  27. 2018/03/20 15:04:15 Using internal plugin for amazon-chroot
  28. 2018/03/20 15:04:15 Using internal plugin for azure-arm
  29. 2018/03/20 15:04:15 Using internal plugin for googlecompute
  30. 2018/03/20 15:04:15 Using internal plugin for qemu
  31. 2018/03/20 15:04:15 Using internal plugin for docker
  32. 2018/03/20 15:04:15 Using internal plugin for openstack
  33. 2018/03/20 15:04:15 Using internal plugin for triton
  34. 2018/03/20 15:04:15 Using internal plugin for parallels-iso
  35. 2018/03/20 15:04:15 Using internal plugin for parallels-pvm
  36. 2018/03/20 15:04:15 Using internal plugin for vmware-iso
  37. 2018/03/20 15:04:15 Using internal plugin for amazon-ebssurrogate
  38. 2018/03/20 15:04:15 Using internal plugin for amazon-ebsvolume
  39. 2018/03/20 15:04:15 Using internal plugin for file
  40. 2018/03/20 15:04:15 Using internal plugin for lxc
  41. 2018/03/20 15:04:15 Using internal plugin for puppet-server
  42. 2018/03/20 15:04:15 Using internal plugin for windows-shell
  43. 2018/03/20 15:04:15 Using internal plugin for converge
  44. 2018/03/20 15:04:15 Using internal plugin for powershell
  45. 2018/03/20 15:04:15 Using internal plugin for shell
  46. 2018/03/20 15:04:15 Using internal plugin for windows-restart
  47. 2018/03/20 15:04:15 Using internal plugin for ansible
  48. 2018/03/20 15:04:15 Using internal plugin for chef-client
  49. 2018/03/20 15:04:15 Using internal plugin for puppet-masterless
  50. 2018/03/20 15:04:15 Using internal plugin for salt-masterless
  51. 2018/03/20 15:04:15 Using internal plugin for shell-local
  52. 2018/03/20 15:04:15 Using internal plugin for ansible-local
  53. 2018/03/20 15:04:15 Using internal plugin for file
  54. 2018/03/20 15:04:15 Using internal plugin for chef-solo
  55. 2018/03/20 15:04:15 Using internal plugin for artifice
  56. 2018/03/20 15:04:15 Using internal plugin for atlas
  57. 2018/03/20 15:04:15 Using internal plugin for checksum
  58. 2018/03/20 15:04:15 Using internal plugin for compress
  59. 2018/03/20 15:04:15 Using internal plugin for docker-tag
  60. 2018/03/20 15:04:15 Using internal plugin for manifest
  61. 2018/03/20 15:04:15 Using internal plugin for shell-local
  62. 2018/03/20 15:04:15 Using internal plugin for alicloud-import
  63. 2018/03/20 15:04:15 Using internal plugin for amazon-import
  64. 2018/03/20 15:04:15 Using internal plugin for docker-save
  65. 2018/03/20 15:04:15 Using internal plugin for googlecompute-export
  66. 2018/03/20 15:04:15 Using internal plugin for vagrant-cloud
  67. 2018/03/20 15:04:15 Using internal plugin for vsphere
  68. 2018/03/20 15:04:15 Using internal plugin for vagrant
  69. 2018/03/20 15:04:15 Using internal plugin for docker-import
  70. 2018/03/20 15:04:15 Using internal plugin for docker-push
  71. 2018/03/20 15:04:15 Using internal plugin for vsphere-template
  72. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  73. 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  74. 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  75. 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]}
  76. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  77. 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
  78. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  79. 2018/03/20 15:04:15 Loading builder: amazon-ebs
  80. 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
  81. 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
  82. 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
  83. 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
  84. 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
  85. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  86. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  87. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
  88. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  89. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  90. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  91. 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[]}
  92. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  93. 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
  94. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-builder-amazon-ebs"}
  95. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  96. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
  97. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
  98. 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
  99. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
  100. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
  101. 2018/03/20 15:04:15 Loading provisioner: file
  102. 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
  103. 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
  104. 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
  105. 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
  106. 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
  107. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  108. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  109. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
  110. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  111. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  112. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  113. 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[]}
  114. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  115. 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
  116. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  117. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-file"}
  118. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
  119. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
  120. 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
  121. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
  122. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
  123. 2018/03/20 15:04:15 Loading provisioner: shell
  124. 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
  125. 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
  126. 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
  127. 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
  128. 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
  129. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  130. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  131. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
  132. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  133. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  134. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  135. 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[]}
  136. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  137. 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
  138. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-shell"}
  139. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  140. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
  141. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
  142. 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
  143. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
  144. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
  145. 2018/03/20 15:04:15 ui: amazon-ebs output will be in this color.
  146. 2018/03/20 15:04:15 ui:
  147. 2018/03/20 15:04:15 Build debug mode: false
  148. 2018/03/20 15:04:15 Force build: false
  149. 2018/03/20 15:04:15 On error:
  150. 2018/03/20 15:04:15 Preparing build: amazon-ebs
  151. 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}}
  152. 2018/03/20 15:04:15 Waiting on builds to complete...
  153. 2018/03/20 15:04:15 Starting build run: amazon-ebs
  154. 2018/03/20 15:04:15 Running builder: amazon-ebs
  155. 2018/03/20 15:04:15 [INFO] (telemetry) Starting builder amazon-ebs
  156. 2018/03/20 15:04:15 ui: ==> amazon-ebs: Prevalidating AMI Name: RHEL-7.4-cis(v2.1.1.1)-1521572655
  157. 2018/03/20 15:04:19 packer: 2018/03/20 15:04:19 Using AMI Filters {
  158. 2018/03/20 15:04:19 packer: Filters: [{
  159. 2018/03/20 15:04:19 packer: Name: "name",
  160. 2018/03/20 15:04:19 packer: Values: ["CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1*"]
  161. 2018/03/20 15:04:19 packer: },{
  162. 2018/03/20 15:04:19 packer: Name: "root-device-type",
  163. 2018/03/20 15:04:19 packer: Values: ["ebs"]
  164. 2018/03/20 15:04:19 packer: },{
  165. 2018/03/20 15:04:19 packer: Name: "virtualization-type",
  166. 2018/03/20 15:04:19 packer: Values: ["hvm"]
  167. 2018/03/20 15:04:19 packer: }],
  168. 2018/03/20 15:04:19 packer: Owners: ["679593333241"]
  169. 2018/03/20 15:04:19 packer: }
  170. 2018/03/20 15:05:11 ui: amazon-ebs: Found Image ID: ami-15777e6f
  171. 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary keypair: packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8
  172. 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5ab15b67-0d55-c9c6-88ee-26597026b953
  173. 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...
  174. 2018/03/20 15:05:12 packer: 2018/03/20 15:05:12 [DEBUG] Waiting for temporary security group: sg-239fd955
  175. 2018/03/20 15:05:12 ui: ==> amazon-ebs: Deleting temporary keypair...
  176. 2018/03/20 15:05:12 packer: panic: runtime error: invalid memory address or nil pointer dereference
  177. 2018/03/20 15:05:12 packer: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16de51d]
  178. 2018/03/20 15:05:12 packer:
  179. 2018/03/20 15:05:12 packer: goroutine 7 [running]:
  180. 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, ...)
  181. 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
  182. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.waitUntilSecurityGroupExists(0xc420156098, 0xc4205ba1e0, 0xc4201076c8, 0x1)
  183. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:194 +0x262
  184. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.(*StepSecurityGroup).Run(0xc4203ccd20, 0x3cd7a80, 0xc420438510, 0x0)
  185. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:109 +0xa37
  186. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep.(*BasicRunner).Run(0xc420421440, 0x3cd7a80, 0xc420438510)
  187. 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
  188. 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, ...)
  189. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/ebs/builder.go:248 +0x153c
  190. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc4202ec8e0, 0x1, 0xc42026aae0, 0x0, 0x0)
  191. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:93 +0x1dd
  192. 2018/03/20 15:05:12 packer: reflect.Value.call(0xc420169380, 0xc4201562e8, 0x13, 0x2c46412, 0x4, 0xc42040df20, 0x3, 0x3, 0x0, 0x0, ...)
  193. 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:434 +0x906
  194. 2018/03/20 15:05:12 packer: reflect.Value.Call(0xc420169380, 0xc4201562e8, 0x13, 0xc420035f20, 0x3, 0x3, 0x0, 0x0, 0x0)
  195. 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:302 +0xa4
  196. 2018/03/20 15:05:12 packer: net/rpc.(*service).call(0xc420151200, 0xc42014b1d0, 0xc4203a0260, 0xc42015f000, 0xc4202ecbe0, 0x26c5460, 0xc42026aabc, 0x18a, 0x266c720, 0xc42026aae0, ...)
  197. 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:381 +0x142
  198. 2018/03/20 15:05:12 packer: created by net/rpc.(*Server).ServeCodec
  199. 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:475 +0x36b
  200. 2018/03/20 15:05:12 [INFO] (telemetry) ending amazon-ebs
  201. 2018/03/20 15:05:12 [INFO] (telemetry) found error: unexpected EOF
  202. 2018/03/20 15:05:12 ui error: Build 'amazon-ebs' errored: unexpected EOF
  203. 2018/03/20 15:05:12 Builds completed. Waiting on interrupt barrier...
  204. 2018/03/20 15:05:12 machine readable: error-count []string{"1"}
  205. 2018/03/20 15:05:12 ui error:
  206. ==> Some builds didn't complete successfully and had errors:
  207. 2018/03/20 15:05:12 machine readable: amazon-ebs,error []string{"unexpected EOF"}
  208. 2018/03/20 15:05:12 ui error: --> amazon-ebs: unexpected EOF
  209. 2018/03/20 15:05:12 ui:
  210. ==> Builds finished but no artifacts were created.
  211. 2018/03/20 15:05:12 [INFO] (telemetry) Finalizing.
  212. 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
  213. 2018/03/20 15:05:12 waiting for all plugin processes to complete...
  214. 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
  215. 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
  216. miams:packer miams$ packer -v
  217. 1.1.1
  218. miams:packer miams$ system_profiler SPSoftwareDataType
  219. Software:
  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.  
  233. miams:packer miams$ cat crash.log
  234. 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  235. 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  236. 2018/03/20 15:04:15 Built with Go Version: go1.9
  237. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  238. 2018/03/20 15:04:15 Using internal plugin for alicloud-ecs
  239. 2018/03/20 15:04:15 Using internal plugin for cloudstack
  240. 2018/03/20 15:04:15 Using internal plugin for digitalocean
  241. 2018/03/20 15:04:15 Using internal plugin for profitbricks
  242. 2018/03/20 15:04:15 Using internal plugin for oracle-oci
  243. 2018/03/20 15:04:15 Using internal plugin for virtualbox-ovf
  244. 2018/03/20 15:04:15 Using internal plugin for amazon-instance
  245. 2018/03/20 15:04:15 Using internal plugin for hyperv-iso
  246. 2018/03/20 15:04:15 Using internal plugin for hyperv-vmcx
  247. 2018/03/20 15:04:15 Using internal plugin for lxd
  248. 2018/03/20 15:04:15 Using internal plugin for oneandone
  249. 2018/03/20 15:04:15 Using internal plugin for virtualbox-iso
  250. 2018/03/20 15:04:15 Using internal plugin for vmware-vmx
  251. 2018/03/20 15:04:15 Using internal plugin for amazon-ebs
  252. 2018/03/20 15:04:15 Using internal plugin for null
  253. 2018/03/20 15:04:15 Using internal plugin for amazon-chroot
  254. 2018/03/20 15:04:15 Using internal plugin for azure-arm
  255. 2018/03/20 15:04:15 Using internal plugin for googlecompute
  256. 2018/03/20 15:04:15 Using internal plugin for qemu
  257. 2018/03/20 15:04:15 Using internal plugin for docker
  258. 2018/03/20 15:04:15 Using internal plugin for openstack
  259. 2018/03/20 15:04:15 Using internal plugin for triton
  260. 2018/03/20 15:04:15 Using internal plugin for parallels-iso
  261. 2018/03/20 15:04:15 Using internal plugin for parallels-pvm
  262. 2018/03/20 15:04:15 Using internal plugin for vmware-iso
  263. 2018/03/20 15:04:15 Using internal plugin for amazon-ebssurrogate
  264. 2018/03/20 15:04:15 Using internal plugin for amazon-ebsvolume
  265. 2018/03/20 15:04:15 Using internal plugin for file
  266. 2018/03/20 15:04:15 Using internal plugin for lxc
  267. 2018/03/20 15:04:15 Using internal plugin for puppet-server
  268. 2018/03/20 15:04:15 Using internal plugin for windows-shell
  269. 2018/03/20 15:04:15 Using internal plugin for converge
  270. 2018/03/20 15:04:15 Using internal plugin for powershell
  271. 2018/03/20 15:04:15 Using internal plugin for shell
  272. 2018/03/20 15:04:15 Using internal plugin for windows-restart
  273. 2018/03/20 15:04:15 Using internal plugin for ansible
  274. 2018/03/20 15:04:15 Using internal plugin for chef-client
  275. 2018/03/20 15:04:15 Using internal plugin for puppet-masterless
  276. 2018/03/20 15:04:15 Using internal plugin for salt-masterless
  277. 2018/03/20 15:04:15 Using internal plugin for shell-local
  278. 2018/03/20 15:04:15 Using internal plugin for ansible-local
  279. 2018/03/20 15:04:15 Using internal plugin for file
  280. 2018/03/20 15:04:15 Using internal plugin for chef-solo
  281. 2018/03/20 15:04:15 Using internal plugin for artifice
  282. 2018/03/20 15:04:15 Using internal plugin for atlas
  283. 2018/03/20 15:04:15 Using internal plugin for checksum
  284. 2018/03/20 15:04:15 Using internal plugin for compress
  285. 2018/03/20 15:04:15 Using internal plugin for docker-tag
  286. 2018/03/20 15:04:15 Using internal plugin for manifest
  287. 2018/03/20 15:04:15 Using internal plugin for shell-local
  288. 2018/03/20 15:04:15 Using internal plugin for alicloud-import
  289. 2018/03/20 15:04:15 Using internal plugin for amazon-import
  290. 2018/03/20 15:04:15 Using internal plugin for docker-save
  291. 2018/03/20 15:04:15 Using internal plugin for googlecompute-export
  292. 2018/03/20 15:04:15 Using internal plugin for vagrant-cloud
  293. 2018/03/20 15:04:15 Using internal plugin for vsphere
  294. 2018/03/20 15:04:15 Using internal plugin for vagrant
  295. 2018/03/20 15:04:15 Using internal plugin for docker-import
  296. 2018/03/20 15:04:15 Using internal plugin for docker-push
  297. 2018/03/20 15:04:15 Using internal plugin for vsphere-template
  298. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  299. 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  300. 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  301. 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]}
  302. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  303. 2018/03/20 15:04:15 Setting cache directory: /Users/miams/Repositories/SBA-SBIR/sbir-gov-infrastructure/packer/packer_cache
  304. 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  305. 2018/03/20 15:04:15 Loading builder: amazon-ebs
  306. 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
  307. 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
  308. 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
  309. 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
  310. 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
  311. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  312. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  313. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
  314. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  315. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  316. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  317. 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[]}
  318. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  319. 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
  320. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-builder-amazon-ebs"}
  321. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  322. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
  323. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
  324. 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
  325. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
  326. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
  327. 2018/03/20 15:04:15 Loading provisioner: file
  328. 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
  329. 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
  330. 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
  331. 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
  332. 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
  333. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  334. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  335. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
  336. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  337. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  338. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  339. 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[]}
  340. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  341. 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
  342. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  343. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-file"}
  344. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
  345. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
  346. 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
  347. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
  348. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
  349. 2018/03/20 15:04:15 Loading provisioner: shell
  350. 2018/03/20 15:04:15 Plugin could not be found. Checking same directory as executable.
  351. 2018/03/20 15:04:15 Current exe path: /usr/local/bin/packer
  352. 2018/03/20 15:04:15 Creating plugin client for path: /usr/local/bin/packer
  353. 2018/03/20 15:04:15 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
  354. 2018/03/20 15:04:15 Waiting for RPC address for: /usr/local/bin/packer
  355. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [INFO] Packer version: 1.1.1
  356. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Packer Target OS/Arch: darwin amd64
  357. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Built with Go Version: go1.9
  358. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  359. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Attempting to open config file: /Users/miams/.packerconfig
  360. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 [WARN] Config file doesn't exist: /Users/miams/.packerconfig
  361. 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[]}
  362. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  363. 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
  364. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 args: []string{"packer-provisioner-shell"}
  365. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Detected home directory from env var: /Users/miams
  366. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin minimum port: 10000
  367. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Plugin maximum port: 25000
  368. 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
  369. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Waiting for connection...
  370. 2018/03/20 15:04:15 packer: 2018/03/20 15:04:15 Serving a plugin connection...
  371. 2018/03/20 15:04:15 ui: amazon-ebs output will be in this color.
  372. 2018/03/20 15:04:15 ui:
  373. 2018/03/20 15:04:15 Build debug mode: false
  374. 2018/03/20 15:04:15 Force build: false
  375. 2018/03/20 15:04:15 On error:
  376. 2018/03/20 15:04:15 Preparing build: amazon-ebs
  377. 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}}
  378. 2018/03/20 15:04:15 Waiting on builds to complete...
  379. 2018/03/20 15:04:15 Starting build run: amazon-ebs
  380. 2018/03/20 15:04:15 Running builder: amazon-ebs
  381. 2018/03/20 15:04:15 [INFO] (telemetry) Starting builder amazon-ebs
  382. 2018/03/20 15:04:15 ui: ==> amazon-ebs: Prevalidating AMI Name: RHEL-7.4-cis(v2.1.1.1)-1521572655
  383. 2018/03/20 15:04:19 packer: 2018/03/20 15:04:19 Using AMI Filters {
  384. 2018/03/20 15:04:19 packer: Filters: [{
  385. 2018/03/20 15:04:19 packer: Name: "name",
  386. 2018/03/20 15:04:19 packer: Values: ["CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1.1*"]
  387. 2018/03/20 15:04:19 packer: },{
  388. 2018/03/20 15:04:19 packer: Name: "root-device-type",
  389. 2018/03/20 15:04:19 packer: Values: ["ebs"]
  390. 2018/03/20 15:04:19 packer: },{
  391. 2018/03/20 15:04:19 packer: Name: "virtualization-type",
  392. 2018/03/20 15:04:19 packer: Values: ["hvm"]
  393. 2018/03/20 15:04:19 packer: }],
  394. 2018/03/20 15:04:19 packer: Owners: ["679593333241"]
  395. 2018/03/20 15:04:19 packer: }
  396. 2018/03/20 15:05:11 ui: amazon-ebs: Found Image ID: ami-15777e6f
  397. 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary keypair: packer_5ab15b2f-61ed-310a-cc69-f9eb081ff7d8
  398. 2018/03/20 15:05:11 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5ab15b67-0d55-c9c6-88ee-26597026b953
  399. 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...
  400. 2018/03/20 15:05:12 packer: 2018/03/20 15:05:12 [DEBUG] Waiting for temporary security group: sg-239fd955
  401. 2018/03/20 15:05:12 ui: ==> amazon-ebs: Deleting temporary keypair...
  402. 2018/03/20 15:05:12 packer: panic: runtime error: invalid memory address or nil pointer dereference
  403. 2018/03/20 15:05:12 packer: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16de51d]
  404. 2018/03/20 15:05:12 packer:
  405. 2018/03/20 15:05:12 packer: goroutine 7 [running]:
  406. 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, ...)
  407. 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
  408. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.waitUntilSecurityGroupExists(0xc420156098, 0xc4205ba1e0, 0xc4201076c8, 0x1)
  409. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:194 +0x262
  410. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/builder/amazon/common.(*StepSecurityGroup).Run(0xc4203ccd20, 0x3cd7a80, 0xc420438510, 0x0)
  411. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/common/step_security_group.go:109 +0xa37
  412. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/vendor/github.com/mitchellh/multistep.(*BasicRunner).Run(0xc420421440, 0x3cd7a80, 0xc420438510)
  413. 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
  414. 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, ...)
  415. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/builder/amazon/ebs/builder.go:248 +0x153c
  416. 2018/03/20 15:05:12 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc4202ec8e0, 0x1, 0xc42026aae0, 0x0, 0x0)
  417. 2018/03/20 15:05:12 packer: /Users/mwhooker/go/src/github.com/hashicorp/packer/packer/rpc/builder.go:93 +0x1dd
  418. 2018/03/20 15:05:12 packer: reflect.Value.call(0xc420169380, 0xc4201562e8, 0x13, 0x2c46412, 0x4, 0xc42040df20, 0x3, 0x3, 0x0, 0x0, ...)
  419. 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:434 +0x906
  420. 2018/03/20 15:05:12 packer: reflect.Value.Call(0xc420169380, 0xc4201562e8, 0x13, 0xc420035f20, 0x3, 0x3, 0x0, 0x0, 0x0)
  421. 2018/03/20 15:05:12 packer: /usr/local/go/src/reflect/value.go:302 +0xa4
  422. 2018/03/20 15:05:12 packer: net/rpc.(*service).call(0xc420151200, 0xc42014b1d0, 0xc4203a0260, 0xc42015f000, 0xc4202ecbe0, 0x26c5460, 0xc42026aabc, 0x18a, 0x266c720, 0xc42026aae0, ...)
  423. 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:381 +0x142
  424. 2018/03/20 15:05:12 packer: created by net/rpc.(*Server).ServeCodec
  425. 2018/03/20 15:05:12 packer: /usr/local/go/src/net/rpc/server.go:475 +0x36b
  426. 2018/03/20 15:05:12 [INFO] (telemetry) ending amazon-ebs
  427. 2018/03/20 15:05:12 [INFO] (telemetry) found error: unexpected EOF
  428. 2018/03/20 15:05:12 ui error: Build 'amazon-ebs' errored: unexpected EOF
  429. 2018/03/20 15:05:12 Builds completed. Waiting on interrupt barrier...
  430. 2018/03/20 15:05:12 machine readable: error-count []string{"1"}
  431. 2018/03/20 15:05:12 ui error:
  432. ==> Some builds didn't complete successfully and had errors:
  433. 2018/03/20 15:05:12 machine readable: amazon-ebs,error []string{"unexpected EOF"}
  434. 2018/03/20 15:05:12 ui error: --> amazon-ebs: unexpected EOF
  435. 2018/03/20 15:05:12 ui:
  436. ==> Builds finished but no artifacts were created.
  437. 2018/03/20 15:05:12 [INFO] (telemetry) Finalizing.
  438. 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
  439. 2018/03/20 15:05:12 waiting for all plugin processes to complete...
  440. 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
  441. 2018/03/20 15:05:12 /usr/local/bin/packer: plugin process exited
Add Comment
Please, Sign In to add comment