Skip to content

Instantly share code, notes, and snippets.

@SwampDragons
Last active August 29, 2017 00:32
Show Gist options
  • Save SwampDragons/8f705f6d53567c6f1cb81bdd4fc70937 to your computer and use it in GitHub Desktop.
Save SwampDragons/8f705f6d53567c6f1cb81bdd4fc70937 to your computer and use it in GitHub Desktop.
test 4555
2017/08/28 17:24:23 packer: 2017/08/28 17:24:23 Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 [INFO] 13 bytes written for 'uploadData'
2017/08/28 17:24:28 [INFO] 13 bytes written for 'uploadData'
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 opening new ssh session
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Starting remote scp process: scp -vt /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Started SCP session, beginning transfers...
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Copying input data into temporary file so we can read the length
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 [DEBUG] scp: Uploading packer-shell501563101: perms=C0644 size=13
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory
2017/08/28 17:24:28 [INFO] (telemetry) ending posix-restart
2017/08/28 17:24:28 [INFO] (telemetry) found error: Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory
2017/08/28 17:24:28 ui: ==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Terminating the source AWS instance...
2017/08/28 17:24:29 packer: 2017/08/28 17:24:29 Waiting for state to become: terminated
2017/08/28 17:24:29 packer: 2017/08/28 17:24:29 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
2017/08/28 17:24:29 packer: 2017/08/28 17:24:29 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2017/08/28 17:25:10 ui: ==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: Cleaning up any extra volumes...
2017/08/28 17:25:10 ui: ==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: No volumes to clean up, skipping
2017/08/28 17:25:10 ui: ==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary security group...
2017/08/28 17:25:11 ui: ==> amazon-ebs: Deleting temporary keypair...
==> amazon-ebs: Deleting temporary keypair...
2017/08/28 17:25:11 [INFO] (telemetry) ending amazon-ebs
2017/08/28 17:25:11 [INFO] (telemetry) found error: Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory
2017/08/28 17:25:11 ui error: Build 'amazon-ebs' errored: Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory
2017/08/28 17:25:11 Builds completed. Waiting on interrupt barrier...
2017/08/28 17:25:11 machine readable: error-count []string{"1"}
2017/08/28 17:25:11 ui error:
==> Some builds didn't complete successfully and had errors:
2017/08/28 17:25:11 machine readable: amazon-ebs,error []string{"Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory"}
2017/08/28 17:25:11 ui error: --> amazon-ebs: Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory
2017/08/28 17:25:11 ui:
==> Builds finished but no artifacts were created.
2017/08/28 17:25:11 waiting for all plugin processes to complete...
Build 'amazon-ebs' errored: Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory
{
"variables": {
"aws_access_key": "{{env `AWS_ACCESS_KEY_ID`}}",
"aws_secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}",
"region": "{{env `AWS_DEFAULT_REGION`}}"
},
"builders": [
{
"access_key": "{{user `aws_access_key`}}",
"ami_name": "test-4555-{{timestamp}}",
"instance_type": "t2.micro",
"region": "us-east-1",
"secret_key": "{{user `aws_secret_key`}}",
"source_ami": "ami-fce3c696",
"ssh_username": "ubuntu",
"type": "amazon-ebs"
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"sudo apt-get install cowsay",
"cowsay whatever"]
},
{
"type": "posix-restart"
},
{
"type": "shell",
"inline": [
"cowsay whatever"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment