-
-
Save rilla0308/53bacba7e3983dc7b47758117cfc069b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023/04/19 11:59:03 [INFO] Packer version: 1.7.2 [go1.16.3 linux amd64] | |
2023/04/19 11:59:03 [TRACE] discovering plugins in /usr/local/bin | |
2023/04/19 11:59:03 [TRACE] discovering plugins in /home/build/.packer.d/plugins | |
2023/04/19 11:59:03 [TRACE] discovering plugins in . | |
2023/04/19 11:59:03 [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/04/19 11:59:03 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/build/.packerconfig | |
2023/04/19 11:59:03 [WARN] Config file doesn't exist: /home/build/.packerconfig | |
2023/04/19 11:59:03 [INFO] Setting cache directory: /home/build/packer-workspace/packer_cache | |
2023/04/19 11:59:03 [TRACE] Starting internal plugin packer-builder-googlecompute | |
2023/04/19 11:59:03 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-googlecompute"} | |
2023/04/19 11:59:03 Waiting for RPC address for: /usr/local/bin/packer | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] Packer version: 1.7.2 [go1.16.3 linux amd64] | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/build/.packerconfig | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [WARN] Config file doesn't exist: /home/build/.packerconfig | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] Setting cache directory: /home/build/packer-workspace/packer_cache | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: args: []string{"packer-builder-googlecompute"} | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: Plugin address: unix /tmp/packer-plugin114908795 | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: Waiting for connection... | |
2023/04/19 11:59:03 Received unix RPC address for /usr/local/bin/packer: addr is /tmp/packer-plugin114908795 | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: Serving a plugin connection... | |
2023/04/19 11:59:03 [TRACE] Starting internal plugin packer-provisioner-shell | |
2023/04/19 11:59:03 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"} | |
2023/04/19 11:59:03 Waiting for RPC address for: /usr/local/bin/packer | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: [INFO] Packer version: 1.7.2 [go1.16.3 linux amd64] | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/build/.packerconfig | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /home/build/.packerconfig | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: [INFO] Setting cache directory: /home/build/packer-workspace/packer_cache | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"} | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin906621074 | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: Waiting for connection... | |
2023/04/19 11:59:03 Received unix RPC address for /usr/local/bin/packer: addr is /tmp/packer-plugin906621074 | |
2023/04/19 11:59:03 packer-provisioner-shell plugin: Serving a plugin connection... | |
2023/04/19 11:59:03 Preparing build: googlecompute | |
2023/04/19 11:59:03 Build debug mode: false | |
2023/04/19 11:59:03 Force build: false | |
2023/04/19 11:59:03 On error: abort | |
googlecompute: output will be in this color. | |
2023/04/19 11:59:03 Waiting on builds to complete... | |
2023/04/19 11:59:03 Starting build run: googlecompute | |
2023/04/19 11:59:03 Running builder: googlecompute | |
2023/04/19 11:59:03 [INFO] (telemetry) Starting builder googlecompute | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] Requesting Google token via account_file... | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] -- Email: operations@core-autobuilds-production.iam.gserviceaccount.com | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.full_control] | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] -- Private Key Length: 1704 | |
==> googlecompute: Checking image does not exist... | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] Instantiating GCE client... | |
2023/04/19 11:59:03 packer-builder-googlecompute plugin: [INFO] Instantiating OS Login client... | |
==> googlecompute: Using existing SSH private key | |
==> googlecompute: Using image: rhel-20230119-03-secure | |
==> googlecompute: Creating instance... | |
2023/04/19 11:59:04 packer-builder-googlecompute plugin: [DEBUG] Adding metadata during instance creation... | |
googlecompute: Loading zone: us-central1-a | |
googlecompute: Loading machine type: n1-standard-1 | |
googlecompute: Requesting instance creation... | |
googlecompute: Waiting for creation operation to complete... | |
2023/04/19 11:59:05 packer-builder-googlecompute plugin: Retryable error: retrying for state DONE, got RUNNING | |
2023/04/19 11:59:06 [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=6bd11b18-bbeb-5976-a1d1-89e7402384ce&version=1.7.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) | |
2023/04/19 11:59:06 packer-builder-googlecompute plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=6bd11b18-bbeb-5976-a1d1-89e7402384ce&version=1.7.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) | |
2023/04/19 11:59:06 packer-provisioner-shell plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=6bd11b18-bbeb-5976-a1d1-89e7402384ce&version=1.7.2": context deadline exceeded (Client.Timeout exceeded while awaiting headers) | |
2023/04/19 11:59:07 packer-builder-googlecompute plugin: Retryable error: retrying for state DONE, got RUNNING | |
2023/04/19 11:59:09 packer-builder-googlecompute plugin: Retryable error: retrying for state DONE, got RUNNING | |
2023/04/19 11:59:11 packer-builder-googlecompute plugin: Retryable error: retrying for state DONE, got RUNNING | |
googlecompute: Instance has been created! | |
==> googlecompute: Waiting for the instance to become running... | |
googlecompute: IP: 10.168.24.10 | |
2023/04/19 11:59:14 packer-builder-googlecompute plugin: Skipping step launch IAP tunnel; "iap" is false. | |
==> googlecompute: Using ssh communicator to connect: 10.168.24.10 | |
2023/04/19 11:59:14 packer-builder-googlecompute plugin: [INFO] Waiting for SSH, up to timeout: 5m0s | |
==> googlecompute: Waiting for SSH to become available... | |
2023/04/19 11:59:29 packer-builder-googlecompute plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.168.24.10:22: i/o timeout | |
2023/04/19 11:59:49 packer-builder-googlecompute plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.168.24.10:22: i/o timeout | |
2023/04/19 11:59:54 packer-builder-googlecompute plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.168.24.10:22: connect: connection refused | |
2023/04/19 11:59:59 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 11:59:59 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 11:59:59 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 11:59:59 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 11:59:59 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:06 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:06 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:06 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:06 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:06 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:13 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:13 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:13 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:13 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:13 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:20 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:20 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:20 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:20 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:20 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:27 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:27 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:27 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:27 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:27 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:34 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:34 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:34 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:34 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:34 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:41 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:41 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:41 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:41 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:41 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:48 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:48 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:48 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:48 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:48 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:00:55 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:00:55 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:00:55 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:00:55 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:00:55 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2023/04/19 12:01:02 packer-builder-googlecompute plugin: [INFO] Attempting SSH connection to 10.168.24.10:22... | |
2023/04/19 12:01:02 packer-builder-googlecompute plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2023/04/19 12:01:02 packer-builder-googlecompute plugin: [DEBUG] handshaking with SSH | |
2023/04/19 12:01:02 packer-builder-googlecompute plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
2023/04/19 12:01:02 packer-builder-googlecompute plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
==> googlecompute: Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
==> googlecompute: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
==> googlecompute: Step "StepConnect" failed, aborting... | |
==> googlecompute: aborted: skipping cleanup of step "StepStartTunnel" | |
==> googlecompute: aborted: skipping cleanup of step "StepInstanceInfo" | |
==> googlecompute: aborted: skipping cleanup of step "StepCreateWindowsPassword" | |
==> googlecompute: aborted: skipping cleanup of step "StepCreateInstance" | |
==> googlecompute: aborted: skipping cleanup of step "StepImportOSLoginSSHKey" | |
==> googlecompute: aborted: skipping cleanup of step "nullStep" | |
==> googlecompute: aborted: skipping cleanup of step "StepSSHKeyGen" | |
2023/04/19 12:01:02 [INFO] (telemetry) ending googlecompute | |
==> Wait completed after 1 minute 58 seconds | |
==> googlecompute: aborted: skipping cleanup of step "StepCheckExistingImage" | |
2023/04/19 12:01:02 machine readable: error-count []string{"1"} | |
==> Some builds didn't complete successfully and had errors: | |
2023/04/19 12:01:02 machine readable: googlecompute,error []string{"Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain"} | |
==> Builds finished but no artifacts were created. | |
Build 'googlecompute' errored after 1 minute 58 seconds: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain | |
==> Wait completed after 1 minute 58 seconds | |
==> Some builds didn't complete successfully and had errors: | |
--> googlecompute: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment