Skip to content

Instantly share code, notes, and snippets.

@ankon
Created September 10, 2014 09:57
Show Gist options
  • Save ankon/d6609db716f6722208f9 to your computer and use it in GitHub Desktop.
Save ankon/d6609db716f6722208f9 to your computer and use it in GitHub Desktop.
Packer #1473 crash
2014/09/10 11:47:07 Packer Version: 0.7.0
2014/09/10 11:47:07 Packer Target OS/Arch: linux amd64
2014/09/10 11:47:07 Built with Go Version: go1.3.1
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: amazon-chroot = /home/andreas/modules/packer-0.7.0/packer-builder-amazon-chroot
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: amazon-ebs = /home/andreas/modules/packer-0.7.0/packer-builder-amazon-ebs
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: amazon-instance = /home/andreas/modules/packer-0.7.0/packer-builder-amazon-instance
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: digitalocean = /home/andreas/modules/packer-0.7.0/packer-builder-digitalocean
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: docker = /home/andreas/modules/packer-0.7.0/packer-builder-docker
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: googlecompute = /home/andreas/modules/packer-0.7.0/packer-builder-googlecompute
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: null = /home/andreas/modules/packer-0.7.0/packer-builder-null
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: openstack = /home/andreas/modules/packer-0.7.0/packer-builder-openstack
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: parallels-iso = /home/andreas/modules/packer-0.7.0/packer-builder-parallels-iso
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: parallels-pvm = /home/andreas/modules/packer-0.7.0/packer-builder-parallels-pvm
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: qemu = /home/andreas/modules/packer-0.7.0/packer-builder-qemu
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: virtualbox-iso = /home/andreas/modules/packer-0.7.0/packer-builder-virtualbox-iso
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: virtualbox-ovf = /home/andreas/modules/packer-0.7.0/packer-builder-virtualbox-ovf
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: vmware-iso = /home/andreas/modules/packer-0.7.0/packer-builder-vmware-iso
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: vmware-vmx = /home/andreas/modules/packer-0.7.0/packer-builder-vmware-vmx
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: build = /home/andreas/modules/packer-0.7.0/packer-command-build
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: fix = /home/andreas/modules/packer-0.7.0/packer-command-fix
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: inspect = /home/andreas/modules/packer-0.7.0/packer-command-inspect
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: validate = /home/andreas/modules/packer-0.7.0/packer-command-validate
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: compress = /home/andreas/modules/packer-0.7.0/packer-post-processor-compress
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: docker-import = /home/andreas/modules/packer-0.7.0/packer-post-processor-docker-import
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: docker-push = /home/andreas/modules/packer-0.7.0/packer-post-processor-docker-push
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: docker-save = /home/andreas/modules/packer-0.7.0/packer-post-processor-docker-save
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: docker-tag = /home/andreas/modules/packer-0.7.0/packer-post-processor-docker-tag
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: vagrant = /home/andreas/modules/packer-0.7.0/packer-post-processor-vagrant
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: vagrant-cloud = /home/andreas/modules/packer-0.7.0/packer-post-processor-vagrant-cloud
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: vsphere = /home/andreas/modules/packer-0.7.0/packer-post-processor-vsphere
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: ansible-local = /home/andreas/modules/packer-0.7.0/packer-provisioner-ansible-local
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: chef-client = /home/andreas/modules/packer-0.7.0/packer-provisioner-chef-client
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: chef-solo = /home/andreas/modules/packer-0.7.0/packer-provisioner-chef-solo
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: file = /home/andreas/modules/packer-0.7.0/packer-provisioner-file
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: puppet-masterless = /home/andreas/modules/packer-0.7.0/packer-provisioner-puppet-masterless
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: puppet-server = /home/andreas/modules/packer-0.7.0/packer-provisioner-puppet-server
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: salt-masterless = /home/andreas/modules/packer-0.7.0/packer-provisioner-salt-masterless
2014/09/10 11:47:07 [DEBUG] Discoverd plugin: shell = /home/andreas/modules/packer-0.7.0/packer-provisioner-shell
2014/09/10 11:47:07 Detected home directory from env var: /home/andreas
2014/09/10 11:47:07 Detected home directory from env var: /home/andreas
2014/09/10 11:47:07 Attempting to open config file: /home/andreas/.packerconfig
2014/09/10 11:47:07 File doesn't exist, but doesn't need to. Ignoring.
2014/09/10 11:47:07 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[qemu:/home/andreas/modules/packer-0.7.0/packer-builder-qemu amazon-chroot:/home/andreas/modules/packer-0.7.0/packer-builder-amazon-chroot digitalocean:/home/andreas/modules/packer-0.7.0/packer-builder-digitalocean null:/home/andreas/modules/packer-0.7.0/packer-builder-null parallels-pvm:/home/andreas/modules/packer-0.7.0/packer-builder-parallels-pvm amazon-ebs:/home/andreas/modules/packer-0.7.0/packer-builder-amazon-ebs googlecompute:/home/andreas/modules/packer-0.7.0/packer-builder-googlecompute openstack:/home/andreas/modules/packer-0.7.0/packer-builder-openstack virtualbox-ovf:/home/andreas/modules/packer-0.7.0/packer-builder-virtualbox-ovf vmware-iso:/home/andreas/modules/packer-0.7.0/packer-builder-vmware-iso vmware-vmx:/home/andreas/modules/packer-0.7.0/packer-builder-vmware-vmx amazon-instance:/home/andreas/modules/packer-0.7.0/packer-builder-amazon-instance docker:/home/andreas/modules/packer-0.7.0/packer-builder-docker parallels-iso:/home/andreas/modules/packer-0.7.0/packer-builder-parallels-iso virtualbox-iso:/home/andreas/modules/packer-0.7.0/packer-builder-virtualbox-iso] Commands:map[build:/home/andreas/modules/packer-0.7.0/packer-command-build fix:/home/andreas/modules/packer-0.7.0/packer-command-fix inspect:/home/andreas/modules/packer-0.7.0/packer-command-inspect validate:/home/andreas/modules/packer-0.7.0/packer-command-validate] PostProcessors:map[docker-import:/home/andreas/modules/packer-0.7.0/packer-post-processor-docker-import docker-push:/home/andreas/modules/packer-0.7.0/packer-post-processor-docker-push docker-save:/home/andreas/modules/packer-0.7.0/packer-post-processor-docker-save docker-tag:/home/andreas/modules/packer-0.7.0/packer-post-processor-docker-tag vagrant:/home/andreas/modules/packer-0.7.0/packer-post-processor-vagrant vagrant-cloud:/home/andreas/modules/packer-0.7.0/packer-post-processor-vagrant-cloud vsphere:/home/andreas/modules/packer-0.7.0/packer-post-processor-vsphere compress:/home/andreas/modules/packer-0.7.0/packer-post-processor-compress] Provisioners:map[chef-solo:/home/andreas/modules/packer-0.7.0/packer-provisioner-chef-solo file:/home/andreas/modules/packer-0.7.0/packer-provisioner-file puppet-masterless:/home/andreas/modules/packer-0.7.0/packer-provisioner-puppet-masterless puppet-server:/home/andreas/modules/packer-0.7.0/packer-provisioner-puppet-server salt-masterless:/home/andreas/modules/packer-0.7.0/packer-provisioner-salt-masterless shell:/home/andreas/modules/packer-0.7.0/packer-provisioner-shell ansible-local:/home/andreas/modules/packer-0.7.0/packer-provisioner-ansible-local chef-client:/home/andreas/modules/packer-0.7.0/packer-provisioner-chef-client]}
2014/09/10 11:47:07 Setting cache directory: <...>/build/packer_cache
2014/09/10 11:47:07 Detected home directory from env var: /home/andreas
2014/09/10 11:47:07 Environment.Cli: []string{"build", "-var", "project.version=1.0.5-SNAPSHOT", "-var", "project.basedir=<...>/build", "-var", "project.build.directory=<...>/build/target", "-var", "java.7.version=1.7.0_60", "-var", "java.8.version=1.8.0_20", "-var", "version=50361a6b1c36+", "src/main/packer/build.json"}
2014/09/10 11:47:07 command + args: []string{"build", "-var", "project.version=1.0.5-SNAPSHOT", "-var", "project.basedir=<...>/build", "-var", "project.build.directory=<...>/build/target", "-var", "java.7.version=1.7.0_60", "-var", "java.8.version=1.8.0_20", "-var", "version=50361a6b1c36+", "src/main/packer/build.json"}
2014/09/10 11:47:07 Loading command: build
2014/09/10 11:47:07 Creating plugin client for path: /home/andreas/modules/packer-0.7.0/packer-command-build
2014/09/10 11:47:07 Starting plugin: /home/andreas/modules/packer-0.7.0/packer-command-build []string{"/home/andreas/modules/packer-0.7.0/packer-command-build"}
2014/09/10 11:47:07 Waiting for RPC address for: /home/andreas/modules/packer-0.7.0/packer-command-build
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Plugin build against Packer ''
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Plugin minimum port: 10000
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Plugin maximum port: 25000
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Plugin address: unix /tmp/packer-plugin168277685
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Waiting for connection...
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Serving a plugin connection...
2014/09/10 11:47:07 Executing command: build
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Reading template: src/main/packer/build.json
2014/09/10 11:47:07 packer-command-build: 2014/09/10 11:47:07 Creating build: amazon-ebs
2014/09/10 11:47:07 Loading builder: amazon-ebs
2014/09/10 11:47:07 Creating plugin client for path: /home/andreas/modules/packer-0.7.0/packer-builder-amazon-ebs
2014/09/10 11:47:07 Starting plugin: /home/andreas/modules/packer-0.7.0/packer-builder-amazon-ebs []string{"/home/andreas/modules/packer-0.7.0/packer-builder-amazon-ebs"}
2014/09/10 11:47:07 Waiting for RPC address for: /home/andreas/modules/packer-0.7.0/packer-builder-amazon-ebs
2014/09/10 11:47:07 packer-builder-amazon-ebs: 2014/09/10 11:47:07 Plugin build against Packer ''
2014/09/10 11:47:07 packer-builder-amazon-ebs: 2014/09/10 11:47:07 Plugin minimum port: 10000
2014/09/10 11:47:07 packer-builder-amazon-ebs: 2014/09/10 11:47:07 Plugin maximum port: 25000
2014/09/10 11:47:07 packer-builder-amazon-ebs: 2014/09/10 11:47:07 Plugin address: unix /tmp/packer-plugin546994070
2014/09/10 11:47:07 packer-builder-amazon-ebs: 2014/09/10 11:47:07 Waiting for connection...
2014/09/10 11:47:07 packer-builder-amazon-ebs: 2014/09/10 11:47:07 Serving a plugin connection...
2014/09/10 11:47:07 Loading provisioner: file
2014/09/10 11:47:07 Creating plugin client for path: /home/andreas/modules/packer-0.7.0/packer-provisioner-file
2014/09/10 11:47:07 Starting plugin: /home/andreas/modules/packer-0.7.0/packer-provisioner-file []string{"/home/andreas/modules/packer-0.7.0/packer-provisioner-file"}
2014/09/10 11:47:07 Waiting for RPC address for: /home/andreas/modules/packer-0.7.0/packer-provisioner-file
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin build against Packer ''
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin minimum port: 10000
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin maximum port: 25000
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin address: unix /tmp/packer-plugin065364279
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Waiting for connection...
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Serving a plugin connection...
2014/09/10 11:47:07 Loading provisioner: file
2014/09/10 11:47:07 Creating plugin client for path: /home/andreas/modules/packer-0.7.0/packer-provisioner-file
2014/09/10 11:47:07 Starting plugin: /home/andreas/modules/packer-0.7.0/packer-provisioner-file []string{"/home/andreas/modules/packer-0.7.0/packer-provisioner-file"}
2014/09/10 11:47:07 Waiting for RPC address for: /home/andreas/modules/packer-0.7.0/packer-provisioner-file
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin build against Packer ''
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin minimum port: 10000
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin maximum port: 25000
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Plugin address: unix /tmp/packer-plugin833736073
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Waiting for connection...
2014/09/10 11:47:07 packer-provisioner-file: 2014/09/10 11:47:07 Serving a plugin connection...
2014/09/10 11:47:07 Loading provisioner: file
2014/09/10 11:47:07 Creating plugin client for path: /home/andreas/modules/packer-0.7.0/packer-provisioner-file
2014/09/10 11:47:07 Starting plugin: /home/andreas/modules/packer-0.7.0/packer-provisioner-file []string{"/home/andreas/modules/packer-0.7.0/packer-provisioner-file"}
2014/09/10 11:47:07 Waiting for RPC address for: /home/andreas/modules/packer-0.7.0/packer-provisioner-file
2014/09/10 11:47:08 packer-provisioner-file: 2014/09/10 11:47:07 Plugin build against Packer ''
2014/09/10 11:47:08 packer-provisioner-file: 2014/09/10 11:47:07 Plugin minimum port: 10000
2014/09/10 11:47:08 packer-provisioner-file: 2014/09/10 11:47:07 Plugin maximum port: 25000
2014/09/10 11:47:08 packer-provisioner-file: 2014/09/10 11:47:07 Plugin address: unix /tmp/packer-plugin314758697
2014/09/10 11:47:08 packer-provisioner-file: 2014/09/10 11:47:07 Waiting for connection...
2014/09/10 11:47:08 packer-provisioner-file: 2014/09/10 11:47:08 Serving a plugin connection...
2014/09/10 11:47:08 Loading provisioner: shell
2014/09/10 11:47:08 Creating plugin client for path: /home/andreas/modules/packer-0.7.0/packer-provisioner-shell
2014/09/10 11:47:08 Starting plugin: /home/andreas/modules/packer-0.7.0/packer-provisioner-shell []string{"/home/andreas/modules/packer-0.7.0/packer-provisioner-shell"}
2014/09/10 11:47:08 Waiting for RPC address for: /home/andreas/modules/packer-0.7.0/packer-provisioner-shell
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin build against Packer ''
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin minimum port: 10000
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin maximum port: 25000
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin address: unix /tmp/packer-plugin575539675
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Waiting for connection...
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Serving a plugin connection...
2014/09/10 11:47:08 Loading provisioner: shell
2014/09/10 11:47:08 Creating plugin client for path: /home/andreas/modules/packer-0.7.0/packer-provisioner-shell
2014/09/10 11:47:08 Starting plugin: /home/andreas/modules/packer-0.7.0/packer-provisioner-shell []string{"/home/andreas/modules/packer-0.7.0/packer-provisioner-shell"}
2014/09/10 11:47:08 Waiting for RPC address for: /home/andreas/modules/packer-0.7.0/packer-provisioner-shell
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin build against Packer ''
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin minimum port: 10000
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin maximum port: 25000
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Plugin address: unix /tmp/packer-plugin966033567
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Waiting for connection...
2014/09/10 11:47:08 packer-provisioner-shell: 2014/09/10 11:47:08 Serving a plugin connection...
2014/09/10 11:47:08 ui: amazon-ebs output will be in this color.
2014/09/10 11:47:08 ui:
2014/09/10 11:47:08 packer-command-build: 2014/09/10 11:47:08 Build debug mode: false
2014/09/10 11:47:08 packer-command-build: 2014/09/10 11:47:08 Force build: false
2014/09/10 11:47:08 packer-command-build: 2014/09/10 11:47:08 Preparing build: amazon-ebs
2014/09/10 11:47:08 packer-builder-amazon-ebs: 2014/09/10 11:47:08 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerUserVars:map[packer.version:0.7.0 root_device:/dev/sda1 aws_instance_type:c3.large bamboo.agent.version:3.3 project.version:1.0.5-SNAPSHOT java.7.version:1.7.0_60 newrelic.licenseKey:4a2ec326b5651c823ba2ba6f5bfa2d4b3fe2a349 project.basedir:<...>/build aws_region:eu-west-1 maven.version:3.2.3 aws_source_ami:ami-2918e35e java.8.version:1.8.0_20 aws_access_key:<Filtered> project.build.directory:<...>/build/target aws_secret_key:<Filtered> version:50361a6b1c36+]} AccessConfig:{AccessKey:<Filtered> SecretKey:<Filtered> RawRegion:eu-west-1 Token:} AMIConfig:{AMIName:build-50361a6b1c36+ AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMITags:map[] AMIEnhancedNetworking:false} BlockDevices:{AMIMappings:[{DeleteOnTermination:false DeviceName:/dev/sda1 Encrypted:false IOPS:0 NoDevice:false SnapshotId: VirtualName: VolumeType: VolumeSize:8}] LaunchMappings:[{DeleteOnTermination:false DeviceName:/dev/sda1 Encrypted:false IOPS:0 NoDevice:false SnapshotId: VirtualName: VolumeType: VolumeSize:8}]} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: IamInstanceProfile: InstanceType:c3.large RunTags:map[] SourceAmi:ami-2918e35e SpotPrice: SpotPriceAutoProduct: RawSSHTimeout:5m SSHUsername:ec2-user SSHPrivateKeyFile: SSHPrivateIp:false SSHPort:22 SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer 54101e1c-ef87-b226-1269-b9d6b9d77575 UserData: UserDataFile: VpcId: sshTimeout:300000000000} tpl:0xc20814c760}
2014/09/10 11:47:08 packer-command-build: 2014/09/10 11:47:08 Waiting on builds to complete...
2014/09/10 11:47:08 packer-command-build: 2014/09/10 11:47:08 Starting build run: amazon-ebs
2014/09/10 11:47:08 packer-command-build: 2014/09/10 11:47:08 Running builder: amazon-ebs
2014/09/10 11:47:08 ui: ==> amazon-ebs: Inspecting the source AMI...
2014/09/10 11:47:08 ui: ==> amazon-ebs: Creating temporary keypair: packer 54101e1c-ef87-b226-1269-b9d6b9d77575
2014/09/10 11:47:09 ui: ==> amazon-ebs: Creating temporary security group for this instance...
2014/09/10 11:47:09 packer-builder-amazon-ebs: 2014/09/10 11:47:09 Temporary group name: packer 54101e1d-966d-5713-e7ba-32beba3a7874
2014/09/10 11:47:10 ui: ==> amazon-ebs: Authorizing SSH access on the temporary security group...
2014/09/10 11:47:10 ui: ==> amazon-ebs: Launching a source AWS instance...
2014/09/10 11:47:12 ui: amazon-ebs: Instance ID: i-e585d6a7
2014/09/10 11:47:12 ui: ==> amazon-ebs: Waiting for instance (i-e585d6a7) to become ready...
2014/09/10 11:47:12 packer-builder-amazon-ebs: 2014/09/10 11:47:12 Waiting for state to become: running
2014/09/10 11:47:34 packer-builder-amazon-ebs: 2014/09/10 11:47:34 Waiting for SSH, up to timeout: 5m0s
2014/09/10 11:47:34 ui: ==> amazon-ebs: Waiting for SSH to become available...
2014/09/10 11:47:55 packer-builder-amazon-ebs: 2014/09/10 11:47:55 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: i/o timeout
2014/09/10 11:48:00 packer-builder-amazon-ebs: 2014/09/10 11:48:00 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:05 packer-builder-amazon-ebs: 2014/09/10 11:48:05 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:10 packer-builder-amazon-ebs: 2014/09/10 11:48:10 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:15 packer-builder-amazon-ebs: 2014/09/10 11:48:15 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:21 packer-builder-amazon-ebs: 2014/09/10 11:48:21 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:26 packer-builder-amazon-ebs: 2014/09/10 11:48:26 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:31 packer-builder-amazon-ebs: 2014/09/10 11:48:31 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:36 packer-builder-amazon-ebs: 2014/09/10 11:48:36 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:41 packer-builder-amazon-ebs: 2014/09/10 11:48:41 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:46 packer-builder-amazon-ebs: 2014/09/10 11:48:46 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:52 packer-builder-amazon-ebs: 2014/09/10 11:48:52 TCP connection to SSH ip/port failed: dial tcp 54.217.134.237:22: connection refused
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 Attempting SSH connection...
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 reconnecting to TCP connection for SSH
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 handshaking with SSH
2014/09/10 11:48:57 ui: ==> amazon-ebs: Connected to SSH!
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 Running the provision hook
2014/09/10 11:48:57 ui: ==> amazon-ebs: Uploading <...>/build/target/jdk/jdk-1.7.0_60-linux-x64.tar.gz => /tmp/jdk7.tar.gz
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 opening new ssh session
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 Starting remote scp process: scp -vt /tmp
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 Started SCP session, beginning transfers...
2014/09/10 11:48:57 packer-builder-amazon-ebs: 2014/09/10 11:48:57 Copying input data into temporary file so we can read the length
2014/09/10 11:48:57 [ERR] yamux: receive window exceeded
2014/09/10 11:48:57 packer-command-build: 2014/09/10 11:48:57 [ERR] yamux: Failed to write header: write unix @: broken pipe
2014/09/10 11:48:57 [INFO] 5341184 bytes written for 'uploadData'
2014/09/10 11:48:57 [ERR] 'uploadData' copy error: session shutdown
2014/09/10 11:48:57 unexpected EOF
2014/09/10 11:48:57 waiting for all plugin processes to complete...
2014/09/10 11:48:57 [INFO] 5177344 bytes written for 'uploadData'
2014/09/10 11:48:57 /home/andreas/modules/packer-0.7.0/packer-command-build: plugin process exited
2014/09/10 11:48:57 /home/andreas/modules/packer-0.7.0/packer-provisioner-file: plugin process exited
2014/09/10 11:48:57 /home/andreas/modules/packer-0.7.0/packer-provisioner-shell: plugin process exited
2014/09/10 11:48:57 /home/andreas/modules/packer-0.7.0/packer-provisioner-file: plugin process exited
2014/09/10 11:48:57 /home/andreas/modules/packer-0.7.0/packer-provisioner-shell: plugin process exited
2014/09/10 11:48:57 [ERR] yamux: Failed to write header: use of closed network connection
2014/09/10 11:48:57 /home/andreas/modules/packer-0.7.0/packer-provisioner-file: plugin process exited
2014/09/10 11:48:57 /home/andreas/modules/packer-0.7.0/packer-builder-amazon-ebs: plugin process exited
panic: unexpected EOF [recovered]
panic: unexpected EOF
goroutine 16 [running]:
runtime.panic(0x727820, 0xc2081b2790)
/opt/go/src/pkg/runtime/panic.c:279 +0xf5
log.Panic(0x7f71a4368f18, 0x1, 0x1)
/opt/go/src/pkg/log/log.go:307 +0xb6
github.com/mitchellh/packer/packer/plugin.(*cmdCommand).checkExit(0xc208186080, 0x7afd00, 0xc208000070, 0x7f71a4368f90)
/opt/gopath/src/github.com/mitchellh/packer/packer/plugin/command.go:49 +0xac
github.com/mitchellh/packer/packer/plugin.func·013()
/opt/gopath/src/github.com/mitchellh/packer/packer/plugin/command.go:26 +0x86
runtime.panic(0x7afd00, 0xc208000070)
/opt/go/src/pkg/runtime/panic.c:248 +0x18d
github.com/mitchellh/packer/packer/rpc.(*command).Run(0xc208176010, 0x7f71a581dd00, 0xc2080c61e0, 0xc20800e020, 0xd, 0xd, 0x0)
/opt/gopath/src/github.com/mitchellh/packer/packer/rpc/command.go:50 +0x190
github.com/mitchellh/packer/packer/plugin.(*cmdCommand).Run(0xc208186080, 0x7f71a581dd00, 0xc2080c61e0, 0xc20800e020, 0xd, 0xd, 0x0)
/opt/gopath/src/github.com/mitchellh/packer/packer/plugin/command.go:29 +0xe3
github.com/mitchellh/packer/packer.(*coreEnvironment).Cli(0xc2080c61e0, 0xc20800e010, 0xe, 0xe, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/mitchellh/packer/packer/environment.go:270 +0x99f
main.wrappedMain(0x0)
/opt/gopath/src/github.com/mitchellh/packer/packer.go:150 +0x1097
main.realMain(0x0)
/opt/gopath/src/github.com/mitchellh/packer/packer.go:73 +0x71d
main.main()
/opt/gopath/src/github.com/mitchellh/packer/packer.go:22 +0x1e
goroutine 19 [finalizer wait, 1 minutes]:
runtime.park(0x41a600, 0xa8cf58, 0xa8b1a9)
/opt/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xa8cf58, 0xa8b1a9)
/opt/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/opt/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/opt/go/src/pkg/runtime/proc.c:1445
goroutine 20 [syscall, 1 minutes]:
os/signal.loop()
/opt/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/opt/go/src/pkg/os/signal/signal_unix.go:27 +0x32
goroutine 22 [syscall, 1 minutes]:
syscall.Syscall(0x0, 0x0, 0xc2080b6000, 0x8000, 0x7f71a580ed00, 0xa8e700, 0x42a45e)
/opt/go/src/pkg/syscall/asm_linux_amd64.s:21 +0x5
syscall.read(0x0, 0xc2080b6000, 0x8000, 0x8000, 0x7f71a5809898, 0x0, 0x0)
/opt/go/src/pkg/syscall/zsyscall_linux_amd64.go:838 +0x75
syscall.Read(0x0, 0xc2080b6000, 0x8000, 0x8000, 0x1, 0x0, 0x0)
/opt/go/src/pkg/syscall/syscall_unix.go:136 +0x5c
os.(*File).read(0xc208034000, 0xc2080b6000, 0x8000, 0x8000, 0x42e913, 0x0, 0x0)
/opt/go/src/pkg/os/file_unix.go:190 +0x62
os.(*File).Read(0xc208034000, 0xc2080b6000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/opt/go/src/pkg/os/file.go:95 +0x98
io.Copy(0x7f71a5819440, 0xc2080340a8, 0x7f71a5819290, 0xc208034000, 0x0, 0x0, 0x0)
/opt/go/src/pkg/io/io.go:353 +0x1f3
main.func·003()
/opt/gopath/src/github.com/mitchellh/packer/stdin.go:23 +0xc2
created by main.setupStdin
/opt/gopath/src/github.com/mitchellh/packer/stdin.go:24 +0xae
goroutine 23 [chan receive, 1 minutes]:
main.func·004()
/opt/gopath/src/github.com/mitchellh/packer/stdin.go:34 +0x91
created by main.setupStdin
/opt/gopath/src/github.com/mitchellh/packer/stdin.go:36 +0x187
goroutine 25 [chan receive, 1 minutes]:
main.func·002()
/opt/gopath/src/github.com/mitchellh/packer/signal.go:20 +0x51
created by main.setupSignalHandlers
/opt/gopath/src/github.com/mitchellh/packer/signal.go:35 +0x113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment