· 8 years ago · Oct 27, 2017, 11:06 PM
1$ packer build -debug -var-file=vars/development.json xxx-sharedsvcs-ami.json
22017/10/26 13:45:04 [INFO] Packer version: 1.1.1
32017/10/26 13:45:04 Packer Target OS/Arch: darwin amd64
42017/10/26 13:45:04 Built with Go Version: go1.9
52017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
62017/10/26 13:45:04 Using internal plugin for parallels-pvm
72017/10/26 13:45:04 Using internal plugin for vmware-vmx
82017/10/26 13:45:04 Using internal plugin for amazon-ebssurrogate
92017/10/26 13:45:04 Using internal plugin for hyperv-vmcx
102017/10/26 13:45:04 Using internal plugin for amazon-ebs
112017/10/26 13:45:04 Using internal plugin for oneandone
122017/10/26 13:45:04 Using internal plugin for lxd
132017/10/26 13:45:04 Using internal plugin for oracle-oci
142017/10/26 13:45:04 Using internal plugin for alicloud-ecs
152017/10/26 13:45:04 Using internal plugin for docker
162017/10/26 13:45:04 Using internal plugin for qemu
172017/10/26 13:45:04 Using internal plugin for virtualbox-ovf
182017/10/26 13:45:04 Using internal plugin for lxc
192017/10/26 13:45:04 Using internal plugin for openstack
202017/10/26 13:45:04 Using internal plugin for file
212017/10/26 13:45:04 Using internal plugin for hyperv-iso
222017/10/26 13:45:04 Using internal plugin for triton
232017/10/26 13:45:04 Using internal plugin for azure-arm
242017/10/26 13:45:04 Using internal plugin for digitalocean
252017/10/26 13:45:04 Using internal plugin for cloudstack
262017/10/26 13:45:04 Using internal plugin for profitbricks
272017/10/26 13:45:04 Using internal plugin for virtualbox-iso
282017/10/26 13:45:04 Using internal plugin for vmware-iso
292017/10/26 13:45:04 Using internal plugin for amazon-ebsvolume
302017/10/26 13:45:04 Using internal plugin for amazon-instance
312017/10/26 13:45:04 Using internal plugin for amazon-chroot
322017/10/26 13:45:04 Using internal plugin for null
332017/10/26 13:45:04 Using internal plugin for googlecompute
342017/10/26 13:45:04 Using internal plugin for parallels-iso
352017/10/26 13:45:04 Using internal plugin for windows-restart
362017/10/26 13:45:04 Using internal plugin for chef-client
372017/10/26 13:45:04 Using internal plugin for powershell
382017/10/26 13:45:04 Using internal plugin for shell-local
392017/10/26 13:45:04 Using internal plugin for shell
402017/10/26 13:45:04 Using internal plugin for windows-shell
412017/10/26 13:45:04 Using internal plugin for ansible
422017/10/26 13:45:04 Using internal plugin for converge
432017/10/26 13:45:04 Using internal plugin for puppet-server
442017/10/26 13:45:04 Using internal plugin for file
452017/10/26 13:45:04 Using internal plugin for salt-masterless
462017/10/26 13:45:04 Using internal plugin for ansible-local
472017/10/26 13:45:04 Using internal plugin for chef-solo
482017/10/26 13:45:04 Using internal plugin for puppet-masterless
492017/10/26 13:45:04 Using internal plugin for vagrant
502017/10/26 13:45:04 Using internal plugin for vagrant-cloud
512017/10/26 13:45:04 Using internal plugin for vsphere
522017/10/26 13:45:04 Using internal plugin for checksum
532017/10/26 13:45:04 Using internal plugin for docker-tag
542017/10/26 13:45:04 Using internal plugin for googlecompute-export
552017/10/26 13:45:04 Using internal plugin for manifest
562017/10/26 13:45:04 Using internal plugin for alicloud-import
572017/10/26 13:45:04 Using internal plugin for docker-import
582017/10/26 13:45:04 Using internal plugin for docker-push
592017/10/26 13:45:04 Using internal plugin for shell-local
602017/10/26 13:45:04 Using internal plugin for amazon-import
612017/10/26 13:45:04 Using internal plugin for compress
622017/10/26 13:45:04 Using internal plugin for vsphere-template
632017/10/26 13:45:04 Using internal plugin for artifice
642017/10/26 13:45:04 Using internal plugin for atlas
652017/10/26 13:45:04 Using internal plugin for docker-save
662017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
672017/10/26 13:45:04 Attempting to open config file: /Users/<user>/.packerconfig
682017/10/26 13:45:04 [WARN] Config file doesn't exist: /Users/<user>/.packerconfig
692017/10/26 13:45:04 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack 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 qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm 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 parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack] PostProcessors:map[compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest] Provisioners:map[converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-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 salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible]}
702017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
712017/10/26 13:45:04 Setting cache directory: /Users/<user>/Projects/xxx-sharedsvcs-ami/packer_cache
722017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
732017/10/26 13:45:04 Loading builder: amazon-ebs
742017/10/26 13:45:04 Plugin could not be found. Checking same directory as executable.
752017/10/26 13:45:04 Current exe path: /usr/local/bin/packer
762017/10/26 13:45:04 Creating plugin client for path: /usr/local/bin/packer
772017/10/26 13:45:04 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
782017/10/26 13:45:04 Waiting for RPC address for: /usr/local/bin/packer
792017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] Packer version: 1.1.1
802017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Packer Target OS/Arch: darwin amd64
812017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Built with Go Version: go1.9
822017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
832017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Attempting to open config file: /Users/<user>/.packerconfig
842017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [WARN] Config file doesn't exist: /Users/<user>/.packerconfig
852017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
862017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
872017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Setting cache directory: /Users/<user>/Projects/xxx-sharedsvcs-ami/packer_cache
882017/10/26 13:45:05 packer: 2017/10/26 13:45:05 args: []string{"packer-builder-amazon-ebs"}
892017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin minimum port: 10000
902017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin maximum port: 25000
912017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
922017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin address: unix /var/folders/7k/59p35jy90h9gl9k1j3dr43z8y8n6rc/T/packer-plugin188448425
932017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Waiting for connection...
942017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Serving a plugin connection...
952017/10/26 13:45:05 ui: Debug mode enabled. Builds will not be parallelized.
962017/10/26 13:45:05 ui: amazon-ebs output will be in this color.
972017/10/26 13:45:05 ui:
982017/10/26 13:45:05 Build debug mode: true
992017/10/26 13:45:05 Force build: false
1002017/10/26 13:45:05 On error:
1012017/10/26 13:45:05 Preparing build: amazon-ebs
102Debug mode enabled. Builds will not be parallelized.
103amazon-ebs output will be in this color.
104
1052017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:true PackerForce:false PackerOnError: PackerUserVars:map[release_year:2017 release_month:09 ami_name:xxx-sharedsvcs-ami-1509043504]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-west-2 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:xxx-sharedsvcs-ami-1509043504 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:true AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4204aaba0:0xc4204aabc0 0xc4204aaaa0:0xc4204aaac0 0xc4204aaae0:0xc4204aab00 0xc4204aab20:0xc4204aab40 0xc4204aab60:0xc4204aab80] Owners:[] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-aafbdff1 TemporaryKeyPairName: UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-84367ce2 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey:/Users/<user>/.ssh/keys/xxx-sharedsvc-deploy.pem SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHamiHost: SSHamiPort:0 SSHamiAgentAuth:false SSHamiUsername: SSHamiPassword: SSHamiPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName:xxx-sharedsvc-deploy SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1862a90] UserVariables:map[release_month:09 ami_name:xxx-sharedsvcs-ami-1509043504 release_year:2017] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/<user>/Projects/xxx-sharedsvcs-ami/xxx-sharedsvcs-ami.json}}
1062017/10/26 13:45:05 Debug enabled, so waiting for build to finish: amazon-ebs
1072017/10/26 13:45:05 Starting build run: amazon-ebs
1082017/10/26 13:45:05 Running builder: amazon-ebs
1092017/10/26 13:45:05 [INFO] (telemetry) Starting builder amazon-ebs
1102017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] Finding AZ and VpcId for the given subnet 'subnet-aafbdff1'
1112017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] AvailabilityZone found: 'us-west-2c'
1122017/10/26 13:45:05 ui: ==> amazon-ebs: Prevalidating AMI Name: xxx-sharedsvcs-ami-1509043504
113==> amazon-ebs: Prevalidating AMI Name: xxx-sharedsvcs-ami-1509043504
1142017/10/26 13:45:06 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue.
115==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue.
1162017/10/26 13:45:07 packer: 2017/10/26 13:45:07 Using AMI Filters {
1172017/10/26 13:45:07 packer: Filters: [
1182017/10/26 13:45:07 packer: {
1192017/10/26 13:45:07 packer: Name: "architecture",
1202017/10/26 13:45:07 packer: Values: ["x86_64"]
1212017/10/26 13:45:07 packer: },
1222017/10/26 13:45:07 packer: {
1232017/10/26 13:45:07 packer: Name: "root-device-type",
1242017/10/26 13:45:07 packer: Values: ["ebs"]
1252017/10/26 13:45:07 packer: },
1262017/10/26 13:45:07 packer: {
1272017/10/26 13:45:07 packer: Name: "owner-alias",
1282017/10/26 13:45:07 packer: Values: ["amazon"]
1292017/10/26 13:45:07 packer: },
1302017/10/26 13:45:07 packer: {
1312017/10/26 13:45:07 packer: Name: "name",
1322017/10/26 13:45:07 packer: Values: ["amzn-ami-hvm-2017.09*-gp2"]
1332017/10/26 13:45:07 packer: },
1342017/10/26 13:45:07 packer: {
1352017/10/26 13:45:07 packer: Name: "virtualization-type",
1362017/10/26 13:45:07 packer: Values: ["hvm"]
1372017/10/26 13:45:07 packer: }
1382017/10/26 13:45:07 packer: ]
1392017/10/26 13:45:07 packer: }
1402017/10/26 13:45:08 ui: amazon-ebs: Found Image ID: ami-e689729e
141 amazon-ebs: Found Image ID: ami-e689729e
1422017/10/26 13:45:08 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue.
143==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue.
1442017/10/26 13:45:09 ui: ==> amazon-ebs: Using existing SSH private key
145==> amazon-ebs: Using existing SSH private key
1462017/10/26 13:45:09 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue.
147==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue.
1482017/10/26 13:45:13 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_59f22d39-9ca4-7cba-e3b8-cd21796ce5d2
149==> amazon-ebs: Creating temporary security group for this instance: packer_59f22d39-9ca4-7cba-e3b8-cd21796ce5d2
1502017/10/26 13:45:13 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
151==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
1522017/10/26 13:45:13 packer: 2017/10/26 13:45:13 [DEBUG] Waiting for temporary security group: sg-9d85c1e0
1532017/10/26 13:45:13 packer: 2017/10/26 13:45:13 [DEBUG] Found security group sg-9d85c1e0
1542017/10/26 13:45:13 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue.
155==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue.
1562017/10/26 13:45:16 ui: ask: ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue.
157==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue.
1582017/10/26 13:45:17 ui: ==> amazon-ebs: Launching a source AWS instance...
159==> amazon-ebs: Launching a source AWS instance...
1602017/10/26 13:45:17 ui: ==> amazon-ebs: Adding tags to source instance
161==> amazon-ebs: Adding tags to source instance
1622017/10/26 13:45:17 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
163 amazon-ebs: Adding tag: "Name": "Packer Builder"
1642017/10/26 13:45:18 ui: amazon-ebs: Instance ID: i-0ce321c282b45f381
165 amazon-ebs: Instance ID: i-0ce321c282b45f381
1662017/10/26 13:45:18 ui: ==> amazon-ebs: Waiting for instance (i-0ce321c282b45f381) to become ready...
1672017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Waiting for state to become: running
1682017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
1692017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
170==> amazon-ebs: Waiting for instance (i-0ce321c282b45f381) to become ready...
1712017/10/26 13:45:46 ui: amazon-ebs: Public DNS: ec2-52-43-167-102.us-west-2.compute.amazonaws.com
172 amazon-ebs: Public DNS: ec2-52-43-167-102.us-west-2.compute.amazonaws.com
1732017/10/26 13:45:46 ui: amazon-ebs: Public IP: 52.43.167.102
174 amazon-ebs: Public IP: 52.43.167.102
1752017/10/26 13:45:46 ui: amazon-ebs: Private IP: 172.22.10.109
176 amazon-ebs: Private IP: 172.22.10.109
1772017/10/26 13:45:46 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue.
178==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue.
1792017/10/26 13:45:50 packer: 2017/10/26 13:45:50 [INFO] Not using winrm communicator, skipping get password...
1802017/10/26 13:45:50 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue.
181==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue.
1822017/10/26 13:45:51 packer: 2017/10/26 13:45:51 [INFO] Waiting for SSH, up to timeout: 5m0s
1832017/10/26 13:45:51 ui: ==> amazon-ebs: Waiting for SSH to become available...
184==> amazon-ebs: Waiting for SSH to become available...
1852017/10/26 13:46:06 packer: 2017/10/26 13:46:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1862017/10/26 13:46:26 packer: 2017/10/26 13:46:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1872017/10/26 13:46:46 packer: 2017/10/26 13:46:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1882017/10/26 13:47:06 packer: 2017/10/26 13:47:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1892017/10/26 13:47:26 packer: 2017/10/26 13:47:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1902017/10/26 13:47:46 packer: 2017/10/26 13:47:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1912017/10/26 13:48:06 packer: 2017/10/26 13:48:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1922017/10/26 13:48:26 packer: 2017/10/26 13:48:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1932017/10/26 13:48:46 packer: 2017/10/26 13:48:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1942017/10/26 13:49:06 packer: 2017/10/26 13:49:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1952017/10/26 13:49:26 packer: 2017/10/26 13:49:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1962017/10/26 13:49:46 packer: 2017/10/26 13:49:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1972017/10/26 13:50:06 packer: 2017/10/26 13:50:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1982017/10/26 13:50:26 packer: 2017/10/26 13:50:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
1992017/10/26 13:50:46 packer: 2017/10/26 13:50:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
2002017/10/26 13:50:51 ui error: ==> amazon-ebs: Timeout waiting for SSH.
201==> amazon-ebs: Timeout waiting for SSH.
2022017/10/26 13:50:51 packer: 2017/10/26 13:50:51 [DEBUG] SSH wait cancelled. Exiting loop.
2032017/10/26 13:50:51 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue.
204==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue.
2052017/10/26 13:51:03 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue.
206==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue.
2072017/10/26 13:51:04 ui: ==> amazon-ebs: Terminating the source AWS instance...
208==> amazon-ebs: Terminating the source AWS instance...
2092017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Waiting for state to become: terminated
2102017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
2112017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2122017/10/26 13:52:09 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue.
213==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue.
214==> amazon-ebs: Cleaning up any extra volumes...
2152017/10/26 13:54:22 ui: ==> amazon-ebs: Cleaning up any extra volumes...
2162017/10/26 13:54:22 ui: ==> amazon-ebs: No volumes to clean up, skipping
217==> amazon-ebs: No volumes to clean up, skipping
2182017/10/26 13:54:22 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue.
219==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue.
2202017/10/26 13:54:23 ui: ==> amazon-ebs: Deleting temporary security group...
221==> amazon-ebs: Deleting temporary security group...
2222017/10/26 13:54:23 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue.
223==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue.
2242017/10/26 13:54:24 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue.
225==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue.
2262017/10/26 13:54:24 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue.
227==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue.
2282017/10/26 13:54:25 [INFO] (telemetry) ending amazon-ebs
2292017/10/26 13:54:25 [INFO] (telemetry) found error: Timeout waiting for SSH.
2302017/10/26 13:54:25 ui error: Build 'amazon-ebs' errored: Timeout waiting for SSH.
2312017/10/26 13:54:25 Waiting on builds to complete...
2322017/10/26 13:54:25 Builds completed. Waiting on interrupt barrier...
2332017/10/26 13:54:25 machine readable: error-count []string{"1"}
2342017/10/26 13:54:25 ui error:
235==> Some builds didn't complete successfully and had errors:
2362017/10/26 13:54:25 machine readable: amazon-ebs,error []string{"Timeout waiting for SSH."}
2372017/10/26 13:54:25 ui error: --> amazon-ebs: Timeout waiting for SSH.
2382017/10/26 13:54:25 ui:
239==> Builds finished but no artifacts were created.
240Build 'amazon-ebs' errored: Timeout waiting for SSH.
2412017/10/26 13:54:25 [INFO] (telemetry) Finalizing.
242
243==> Some builds didn't complete successfully and had errors:
244--> amazon-ebs: Timeout waiting for SSH.
245
246==> Builds finished but no artifacts were created.
2472017/10/26 13:54:26 waiting for all plugin processes to complete...
2482017/10/26 13:54:26 /usr/local/bin/packer: plugin process exited