Advertisement
Guest User

Untitled

a guest
Jan 24th, 2016
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.46 KB | None | 0 0
  1. jenkins@ip-10-35-176-32:~/jobs/datablaize-infrastructure/workspace/datablaize-infrastructure/src/main/resources/devops-automation-specification/lab$ PACKER_LOG=1 packer build target/debugging.json
  2. 2016/01/24 09:39:21 [INFO] Packer version: 0.8.6 f8f7b7a34c1be06058f5aca23a51247db12cdbc5+CHANGES
  3. 2016/01/24 09:39:21 Packer Target OS/Arch: linux amd64
  4. 2016/01/24 09:39:21 Built with Go Version: go1.5
  5. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: amazon-chroot = /opt/packer/packer-builder-amazon-chroot
  6. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: amazon-ebs = /opt/packer/packer-builder-amazon-ebs
  7. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: amazon-instance = /opt/packer/packer-builder-amazon-instance
  8. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: digitalocean = /opt/packer/packer-builder-digitalocean
  9. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: docker = /opt/packer/packer-builder-docker
  10. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: file = /opt/packer/packer-builder-file
  11. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: googlecompute = /opt/packer/packer-builder-googlecompute
  12. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: null = /opt/packer/packer-builder-null
  13. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: openstack = /opt/packer/packer-builder-openstack
  14. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: parallels-iso = /opt/packer/packer-builder-parallels-iso
  15. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: parallels-pvm = /opt/packer/packer-builder-parallels-pvm
  16. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: qemu = /opt/packer/packer-builder-qemu
  17. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: virtualbox-iso = /opt/packer/packer-builder-virtualbox-iso
  18. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: virtualbox-ovf = /opt/packer/packer-builder-virtualbox-ovf
  19. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: vmware-iso = /opt/packer/packer-builder-vmware-iso
  20. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: vmware-vmx = /opt/packer/packer-builder-vmware-vmx
  21. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: artifice = /opt/packer/packer-post-processor-artifice
  22. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: atlas = /opt/packer/packer-post-processor-atlas
  23. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: compress = /opt/packer/packer-post-processor-compress
  24. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: docker-import = /opt/packer/packer-post-processor-docker-import
  25. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: docker-push = /opt/packer/packer-post-processor-docker-push
  26. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: docker-save = /opt/packer/packer-post-processor-docker-save
  27. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: docker-tag = /opt/packer/packer-post-processor-docker-tag
  28. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: vagrant = /opt/packer/packer-post-processor-vagrant
  29. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: vagrant-cloud = /opt/packer/packer-post-processor-vagrant-cloud
  30. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: vsphere = /opt/packer/packer-post-processor-vsphere
  31. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: ansible-local = /opt/packer/packer-provisioner-ansible-local
  32. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: chef-client = /opt/packer/packer-provisioner-chef-client
  33. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: chef-solo = /opt/packer/packer-provisioner-chef-solo
  34. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: file = /opt/packer/packer-provisioner-file
  35. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: powershell = /opt/packer/packer-provisioner-powershell
  36. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: puppet-masterless = /opt/packer/packer-provisioner-puppet-masterless
  37. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: puppet-server = /opt/packer/packer-provisioner-puppet-server
  38. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: salt-masterless = /opt/packer/packer-provisioner-salt-masterless
  39. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: shell = /opt/packer/packer-provisioner-shell
  40. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: shell-local = /opt/packer/packer-provisioner-shell-local
  41. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: windows-restart = /opt/packer/packer-provisioner-windows-restart
  42. 2016/01/24 09:39:21 [DEBUG] Discovered plugin: windows-shell = /opt/packer/packer-provisioner-windows-shell
  43. 2016/01/24 09:39:21 Detected home directory from env var: /var/lib/jenkins
  44. 2016/01/24 09:39:21 Detected home directory from env var: /var/lib/jenkins
  45. 2016/01/24 09:39:21 Attempting to open config file: /var/lib/jenkins/.packerconfig
  46. 2016/01/24 09:39:21 [WARN] Config file doesn't exist: /var/lib/jenkins/.packerconfig
  47. 2016/01/24 09:39:21 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-instance:/opt/packer/packer-builder-amazon-instance digitalocean:/opt/packer/packer-builder-digitalocean docker:/opt/packer/packer-builder-docker openstack:/opt/packer/packer-builder-openstack parallels-iso:/opt/packer/packer-builder-parallels-iso parallels-pvm:/opt/packer/packer-builder-parallels-pvm virtualbox-ovf:/opt/packer/packer-builder-virtualbox-ovf amazon-ebs:/opt/packer/packer-builder-amazon-ebs googlecompute:/opt/packer/packer-builder-googlecompute vmware-vmx:/opt/packer/packer-builder-vmware-vmx file:/opt/packer/packer-builder-file null:/opt/packer/packer-builder-null qemu:/opt/packer/packer-builder-qemu virtualbox-iso:/opt/packer/packer-builder-virtualbox-iso vmware-iso:/opt/packer/packer-builder-vmware-iso amazon-chroot:/opt/packer/packer-builder-amazon-chroot] PostProcessors:map[vsphere:/opt/packer/packer-post-processor-vsphere artifice:/opt/packer/packer-post-processor-artifice docker-import:/opt/packer/packer-post-processor-docker-import docker-push:/opt/packer/packer-post-processor-docker-push vagrant:/opt/packer/packer-post-processor-vagrant vagrant-cloud:/opt/packer/packer-post-processor-vagrant-cloud atlas:/opt/packer/packer-post-processor-atlas compress:/opt/packer/packer-post-processor-compress docker-save:/opt/packer/packer-post-processor-docker-save docker-tag:/opt/packer/packer-post-processor-docker-tag] Provisioners:map[ansible-local:/opt/packer/packer-provisioner-ansible-local chef-client:/opt/packer/packer-provisioner-chef-client chef-solo:/opt/packer/packer-provisioner-chef-solo salt-masterless:/opt/packer/packer-provisioner-salt-masterless windows-shell:/opt/packer/packer-provisioner-windows-shell file:/opt/packer/packer-provisioner-file powershell:/opt/packer/packer-provisioner-powershell puppet-masterless:/opt/packer/packer-provisioner-puppet-masterless puppet-server:/opt/packer/packer-provisioner-puppet-server shell:/opt/packer/packer-provisioner-shell shell-local:/opt/packer/packer-provisioner-shell-local windows-restart:/opt/packer/packer-provisioner-windows-restart]}
  48. 2016/01/24 09:39:21 Setting cache directory: /var/lib/jenkins/jobs/datablaize-infrastructure/workspace/datablaize-infrastructure/src/main/resources/devops-automation-specification/lab/packer_cache
  49. 2016/01/24 09:39:21 Loading builder: amazon-ebs
  50. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-builder-amazon-ebs
  51. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-builder-amazon-ebs []string{"/opt/packer/packer-builder-amazon-ebs"}
  52. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-builder-amazon-ebs
  53. 2016/01/24 09:39:21 Detected home directory from env var: /var/lib/jenkins
  54. 2016/01/24 09:39:21 packer-builder-amazon-ebs: 2016/01/24 09:39:21 Plugin minimum port: 10000
  55. 2016/01/24 09:39:21 packer-builder-amazon-ebs: 2016/01/24 09:39:21 Plugin maximum port: 25000
  56. 2016/01/24 09:39:21 packer-builder-amazon-ebs: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin834898473
  57. 2016/01/24 09:39:21 packer-builder-amazon-ebs: 2016/01/24 09:39:21 Waiting for connection...
  58. 2016/01/24 09:39:21 packer-builder-amazon-ebs: 2016/01/24 09:39:21 Serving a plugin connection...
  59. 2016/01/24 09:39:21 Loading provisioner: shell-local
  60. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-shell-local
  61. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-shell-local []string{"/opt/packer/packer-provisioner-shell-local"}
  62. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-shell-local
  63. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin minimum port: 10000
  64. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin maximum port: 25000
  65. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin971804777
  66. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Waiting for connection...
  67. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Serving a plugin connection...
  68. 2016/01/24 09:39:21 Loading provisioner: shell-local
  69. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-shell-local
  70. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-shell-local []string{"/opt/packer/packer-provisioner-shell-local"}
  71. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-shell-local
  72. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin minimum port: 10000
  73. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin maximum port: 25000
  74. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin329472644
  75. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Waiting for connection...
  76. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Serving a plugin connection...
  77. 2016/01/24 09:39:21 Loading provisioner: shell-local
  78. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-shell-local
  79. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-shell-local []string{"/opt/packer/packer-provisioner-shell-local"}
  80. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-shell-local
  81. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin minimum port: 10000
  82. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin maximum port: 25000
  83. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin124451281
  84. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Waiting for connection...
  85. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Serving a plugin connection...
  86. 2016/01/24 09:39:21 Loading provisioner: shell-local
  87. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-shell-local
  88. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-shell-local []string{"/opt/packer/packer-provisioner-shell-local"}
  89. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-shell-local
  90. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin minimum port: 10000
  91. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin maximum port: 25000
  92. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin890723771
  93. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Waiting for connection...
  94. 2016/01/24 09:39:21 packer-provisioner-shell-local: 2016/01/24 09:39:21 Serving a plugin connection...
  95. 2016/01/24 09:39:21 Loading provisioner: file
  96. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-file
  97. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-file []string{"/opt/packer/packer-provisioner-file"}
  98. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-file
  99. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin minimum port: 10000
  100. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin maximum port: 25000
  101. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin552246547
  102. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Waiting for connection...
  103. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Serving a plugin connection...
  104. 2016/01/24 09:39:21 Loading provisioner: file
  105. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-file
  106. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-file []string{"/opt/packer/packer-provisioner-file"}
  107. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-file
  108. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin minimum port: 10000
  109. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin maximum port: 25000
  110. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin672887433
  111. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Waiting for connection...
  112. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Serving a plugin connection...
  113. 2016/01/24 09:39:21 Loading provisioner: file
  114. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-file
  115. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-file []string{"/opt/packer/packer-provisioner-file"}
  116. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-file
  117. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin minimum port: 10000
  118. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin maximum port: 25000
  119. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin931237466
  120. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Waiting for connection...
  121. 2016/01/24 09:39:21 packer-provisioner-file: 2016/01/24 09:39:21 Serving a plugin connection...
  122. 2016/01/24 09:39:21 Loading provisioner: shell
  123. 2016/01/24 09:39:21 Creating plugin client for path: /opt/packer/packer-provisioner-shell
  124. 2016/01/24 09:39:21 Starting plugin: /opt/packer/packer-provisioner-shell []string{"/opt/packer/packer-provisioner-shell"}
  125. 2016/01/24 09:39:21 Waiting for RPC address for: /opt/packer/packer-provisioner-shell
  126. 2016/01/24 09:39:21 packer-provisioner-shell: 2016/01/24 09:39:21 Plugin minimum port: 10000
  127. 2016/01/24 09:39:21 packer-provisioner-shell: 2016/01/24 09:39:21 Plugin maximum port: 25000
  128. 2016/01/24 09:39:21 packer-provisioner-shell: 2016/01/24 09:39:21 Plugin address: unix /tmp/packer-plugin778748123
  129. 2016/01/24 09:39:21 packer-provisioner-shell: 2016/01/24 09:39:21 Waiting for connection...
  130. 2016/01/24 09:39:21 packer-provisioner-shell: 2016/01/24 09:39:21 Serving a plugin connection...
  131. 2016/01/24 09:39:21 ui: amazon-ebs output will be in this color.
  132. 2016/01/24 09:39:21 ui:
  133. 2016/01/24 09:39:21 Build debug mode: false
  134. 2016/01/24 09:39:21 Force build: false
  135. 2016/01/24 09:39:21 Preparing build: amazon-ebs
  136. amazon-ebs output will be in this color.
  137. 2016/01/24 09:39:21 packer-builder-amazon-ebs: 2016/01/24 09:39:21 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerUserVars:map[ami_source: ami_target: ami_version: aws_access_key: aws_secret_key:]} AccessConfig:{AccessKey: SecretKey: RawRegion:ap-southeast-2 Token:} AMIConfig:{AMIName:datablaize_app-1.0.1 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false} BlockDevices:{AMIMappings:[] LaunchMappings:[]} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: IamInstanceProfile: InstanceType:t2.micro RunTags:map[Name:datablaize_app Version:1.0.1] SourceAmi:ami-69631053 SpotPrice: SpotPriceAutoProduct: SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName: UserData: UserDataFile: WindowsPasswordTimeout:10m0s VpcId: Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ubuntu SSHPassword: SSHPrivateKey:/var/lib/jenkins/.ssh/datablaize-dev.pem SSHPty:false SSHTimeout:5m0s SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0} SSHKeyPairName:datablaize-dev SSHPrivateIp:false} ctx:{Data:<nil> Funcs:map[clean_ami_name:0x51ee50] UserVariables:map[ami_source: ami_target: ami_version: aws_access_key: aws_secret_key:] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/var/lib/jenkins/jobs/datablaize-infrastructure/workspace/datablaize-infrastructure/src/main/resources/devops-automation-specification/lab/target/debugging.json}}
  138.  
  139. 2016/01/24 09:39:21 Waiting on builds to complete...
  140. 2016/01/24 09:39:21 Starting build run: amazon-ebs
  141. 2016/01/24 09:39:21 Running builder: amazon-ebs
  142. ==> amazon-ebs: Prevalidating AMI Name...
  143. 2016/01/24 09:39:21 ui: ==> amazon-ebs: Prevalidating AMI Name...
  144. 2016/01/24 09:39:23 ui: ==> amazon-ebs: Inspecting the source AMI...
  145. ==> amazon-ebs: Inspecting the source AMI...
  146. 2016/01/24 09:39:23 ui: ==> amazon-ebs: Creating temporary security group for this instance...
  147. 2016/01/24 09:39:23 packer-builder-amazon-ebs: 2016/01/24 09:39:23 Temporary group name: packer 56a49bcb-e701-302f-961f-5ba0a9ed66c9
  148. ==> amazon-ebs: Creating temporary security group for this instance...
  149. 2016/01/24 09:39:24 ui: ==> amazon-ebs: Authorizing access to port 22 the temporary security group...
  150. ==> amazon-ebs: Authorizing access to port 22 the temporary security group...
  151. 2016/01/24 09:39:24 ui: ==> amazon-ebs: Launching a source AWS instance...
  152. ==> amazon-ebs: Launching a source AWS instance...
  153. 2016/01/24 09:39:26 ui: amazon-ebs: Instance ID: i-3b2e7ee4
  154. amazon-ebs: Instance ID: i-3b2e7ee4
  155. 2016/01/24 09:39:26 ui: ==> amazon-ebs: Waiting for instance (i-3b2e7ee4) to become ready...
  156. ==> amazon-ebs: Waiting for instance (i-3b2e7ee4) to become ready...
  157. 2016/01/24 09:39:26 packer-builder-amazon-ebs: 2016/01/24 09:39:26 Waiting for state to become: running
  158. 2016/01/24 09:39:26 packer-builder-amazon-ebs: 2016/01/24 09:39:26 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
  159. 2016/01/24 09:39:58 packer-builder-amazon-ebs: 2016/01/24 09:39:58 [INFO] Not using winrm communicator, skipping get password...
  160. 2016/01/24 09:39:58 packer-builder-amazon-ebs: 2016/01/24 09:39:58 [INFO] Waiting for SSH, up to timeout: 5m0s
  161. ==> amazon-ebs: Waiting for SSH to become available...
  162. 2016/01/24 09:39:58 ui: ==> amazon-ebs: Waiting for SSH to become available...
  163. 2016/01/24 09:40:13 packer-builder-amazon-ebs: 2016/01/24 09:40:13 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.206.73.97:22: i/o timeout
  164. 2016/01/24 09:40:33 packer-builder-amazon-ebs: 2016/01/24 09:40:33 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.206.73.97:22: i/o timeout
  165. 2016/01/24 09:40:38 packer-builder-amazon-ebs: 2016/01/24 09:40:38 [INFO] Attempting SSH connection...
  166. 2016/01/24 09:40:38 packer-builder-amazon-ebs: 2016/01/24 09:40:38 reconnecting to TCP connection for SSH
  167. 2016/01/24 09:40:38 packer-builder-amazon-ebs: 2016/01/24 09:40:38 handshaking with SSH
  168. 2016/01/24 09:40:40 packer-builder-amazon-ebs: 2016/01/24 09:40:40 handshake complete!
  169. 2016/01/24 09:40:40 packer-builder-amazon-ebs: 2016/01/24 09:40:40 [INFO] no local agent socket, will not connect agent
  170. 2016/01/24 09:40:40 ui: ==> amazon-ebs: Connected to SSH!
  171. ==> amazon-ebs: Connected to SSH!
  172. 2016/01/24 09:40:40 packer-builder-amazon-ebs: 2016/01/24 09:40:40 Running the provision hook
  173. 2016/01/24 09:40:40 ui: ==> amazon-ebs: Executing local command: ls -hal
  174. ==> amazon-ebs: Executing local command: ls -hal
  175. 2016/01/24 09:40:40 ui: amazon-ebs: total 88K
  176. amazon-ebs: total 88K
  177. 2016/01/24 09:40:40 ui: amazon-ebs: drwxr-xr-x 7 jenkins nogroup 4.0K Jan 24 06:06 .
  178. amazon-ebs: drwxr-xr-x 7 jenkins nogroup 4.0K Jan 24 06:06 .
  179. 2016/01/24 09:40:40 ui: amazon-ebs: drwxr-xr-x 7 jenkins nogroup 4.0K Jan 21 04:07 ..
  180. amazon-ebs: drwxr-xr-x 7 jenkins nogroup 4.0K Jan 21 04:07 ..
  181. 2016/01/24 09:40:40 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 210 Jan 21 04:07 configure.yml
  182. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 210 Jan 21 04:07 configure.yml
  183. 2016/01/24 09:40:40 ui: amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 22 08:12 definitions
  184. amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 22 08:12 definitions
  185. 2016/01/24 09:40:40 ui: amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 21 04:07 inventory
  186. amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 21 04:07 inventory
  187. 2016/01/24 09:40:40 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 8 Jan 22 07:10 name
  188. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 8 Jan 22 07:10 name
  189. 2016/01/24 09:40:40 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 35K Jan 22 02:33 output.txt
  190. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 35K Jan 22 02:33 output.txt
  191. 2016/01/24 09:40:40 ui: amazon-ebs: -rwxr-xr-x 1 jenkins nogroup 1.1K Jan 21 04:07 packer.sh
  192. amazon-ebs: -rwxr-xr-x 1 jenkins nogroup 1.1K Jan 21 04:07 packer.sh
  193. 2016/01/24 09:40:40 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 653 Jan 21 04:07 packer-template.yml
  194. 2016/01/24 09:40:40 ui: amazon-ebs: drwxr-xr-x 3 jenkins nogroup 4.0K Jan 23 08:11 sources
  195. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 653 Jan 21 04:07 packer-template.yml
  196. amazon-ebs: drwxr-xr-x 3 jenkins nogroup 4.0K Jan 23 08:11 sources
  197. 2016/01/24 09:40:40 ui: amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 24 07:24 target
  198. amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 24 07:24 target
  199. 2016/01/24 09:40:40 ui: amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 24 05:59 templates
  200. 2016/01/24 09:40:40 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 659 Jan 22 11:27 write-app-template.yml
  201. amazon-ebs: drwxr-xr-x 2 jenkins nogroup 4.0K Jan 24 05:59 templates
  202. 2016/01/24 09:40:40 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 663 Jan 22 11:27 write-haproxy-template.yml
  203. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 659 Jan 22 11:27 write-app-template.yml
  204. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 663 Jan 22 11:27 write-haproxy-template.yml
  205. 2016/01/24 09:40:40 ui: ==> amazon-ebs: Executing local command: id
  206. ==> amazon-ebs: Executing local command: id
  207. 2016/01/24 09:40:41 ui: amazon-ebs: uid=106(jenkins) gid=65534(nogroup) groups=65534(nogroup)
  208. amazon-ebs: uid=106(jenkins) gid=65534(nogroup) groups=65534(nogroup)
  209. 2016/01/24 09:40:41 ui: ==> amazon-ebs: Executing local command: find . -name *.pem
  210. ==> amazon-ebs: Executing local command: find . -name *.pem
  211. 2016/01/24 09:40:41 ui: ==> amazon-ebs: Executing local command: ls -l sources/server
  212. ==> amazon-ebs: Executing local command: ls -l sources/server
  213. 2016/01/24 09:40:41 ui: amazon-ebs: total 65224
  214. amazon-ebs: total 65224
  215. 2016/01/24 09:40:41 ui: amazon-ebs: drwxr-xr-x 4 jenkins nogroup 4096 Jan 23 08:11 mappings
  216. amazon-ebs: drwxr-xr-x 4 jenkins nogroup 4096 Jan 23 08:11 mappings
  217. 2016/01/24 09:40:41 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 59921106 Jan 23 08:11 server-core-1.0.0-SNAPSHOT.jar
  218. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 59921106 Jan 23 08:11 server-core-1.0.0-SNAPSHOT.jar
  219. 2016/01/24 09:40:41 ui: amazon-ebs: -rw-r--r-- 1 jenkins nogroup 6854875 Jan 23 08:11 wiremock-server-1.0.0-SNAPSHOT-jar-with-dependencies.jar
  220. amazon-ebs: -rw-r--r-- 1 jenkins nogroup 6854875 Jan 23 08:11 wiremock-server-1.0.0-SNAPSHOT-jar-with-dependencies.jar
  221. 2016/01/24 09:40:41 ui: ==> amazon-ebs: Uploading sources/server/server-core-1.0.0-SNAPSHOT.jar => /tmp
  222. ==> amazon-ebs: Uploading sources/server/server-core-1.0.0-SNAPSHOT.jar => /tmp
  223. 2016/01/24 09:40:41 packer-builder-amazon-ebs: 2016/01/24 09:40:41 opening new ssh session
  224. 2016/01/24 09:40:46 packer-builder-amazon-ebs: 2016/01/24 09:40:46 Starting remote scp process: scp -vt /
  225. 2016/01/24 09:40:46 packer-builder-amazon-ebs: 2016/01/24 09:40:46 Started SCP session, beginning transfers...
  226. 2016/01/24 09:40:46 packer-builder-amazon-ebs: 2016/01/24 09:40:46 Copying input data into temporary file so we can read the length
  227. 2016/01/24 09:40:46 packer-provisioner-file: 2016/01/24 09:40:46 [INFO] 59921106 bytes written for 'uploadData'
  228. 2016/01/24 09:40:46 [INFO] 59921106 bytes written for 'uploadData'
  229. 2016/01/24 09:40:47 packer-builder-amazon-ebs: 2016/01/24 09:40:47 [DEBUG] Uploading tmp: perms=C0644 size=59921106
  230. 2016/01/24 09:40:54 packer-builder-amazon-ebs: 2016/01/24 09:40:54 SCP session complete, closing stdin pipe.
  231. 2016/01/24 09:40:54 packer-builder-amazon-ebs: 2016/01/24 09:40:54 Waiting for SSH session to complete.
  232. 2016/01/24 09:40:54 packer-builder-amazon-ebs: 2016/01/24 09:40:54 non-zero exit status: 1
  233. 2016/01/24 09:40:54 ui error: ==> amazon-ebs: Upload failed: Process exited with: 1. Reason was: ()
  234. ==> amazon-ebs: Upload failed: Process exited with: 1. Reason was: ()
  235. 2016/01/24 09:40:54 ui: ==> amazon-ebs: Terminating the source AWS instance...
  236. ==> amazon-ebs: Terminating the source AWS instance...
  237. 2016/01/24 09:40:55 packer-builder-amazon-ebs: 2016/01/24 09:40:55 Waiting for state to become: terminated
  238. 2016/01/24 09:40:55 packer-builder-amazon-ebs: 2016/01/24 09:40:55 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
  239. 2016/01/24 09:41:38 ui: ==> amazon-ebs: No AMIs to cleanup
  240. ==> amazon-ebs: No AMIs to cleanup
  241. 2016/01/24 09:41:38 ui: ==> amazon-ebs: Deleting temporary security group...
  242. ==> amazon-ebs: Deleting temporary security group...
  243. 2016/01/24 09:41:38 ui error: Build 'amazon-ebs' errored: Process exited with: 1. Reason was: ()
  244. 2016/01/24 09:41:38 Builds completed. Waiting on interrupt barrier...
  245. 2016/01/24 09:41:38 machine readable: error-count []string{"1"}
  246. 2016/01/24 09:41:38 ui error:
  247. ==> Some builds didn't complete successfully and had errors:
  248. 2016/01/24 09:41:38 machine readable: amazon-ebs,error []string{"Process exited with: 1. Reason was: ()"}
  249. 2016/01/24 09:41:38 ui error: --> amazon-ebs: Process exited with: 1. Reason was: ()
  250. 2016/01/24 09:41:38 ui:
  251. ==> Builds finished but no artifacts were created.
  252. 2016/01/24 09:41:38 waiting for all plugin processes to complete...
  253. Build 'amazon-ebs' errored: Process exited with: 1. Reason was: ()
  254. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-shell: plugin process exited
  255. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-file: plugin process exited
  256. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-file: plugin process exited
  257. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-shell-local: plugin process exited
  258. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-shell-local: plugin process exited
  259. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-shell-local: plugin process exited
  260. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-shell-local: plugin process exited
  261. 2016/01/24 09:41:38 /opt/packer/packer-provisioner-file: plugin process exited
  262.  
  263. ==> Some builds didn't complete successfully and had errors:
  264. --> amazon-ebs: Process exited with: 1. Reason was: ()
  265.  
  266. ==> Builds finished but no artifacts were created.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement