Last active
February 26, 2020 19:26
-
-
Save rhanneken/f2ec70f75885890a40215b3e5283c367 to your computer and use it in GitHub Desktop.
Packer build log
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
2020/02/26 11:21:32 [INFO] Packer version: 1.5.4 [go1.13.8 darwin amd64] | |
2020/02/26 11:21:32 Checking 'PACKER_CONFIG' for a config file path | |
2020/02/26 11:21:32 'PACKER_CONFIG' not set; checking the default config file path | |
2020/02/26 11:21:32 Attempting to open config file: /Users/example_user/.packerconfig | |
2020/02/26 11:21:32 [WARN] Config file doesn't exist: /Users/example_user/.packerconfig | |
2020/02/26 11:21:32 Setting cache directory: /Users/example_user/Projects/example_project/packer_cache | |
2020/02/26 11:21:32 Creating plugin client for path: /usr/local/bin/packer | |
2020/02/26 11:21:32 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-vagrant"} | |
2020/02/26 11:21:32 Waiting for RPC address for: /usr/local/bin/packer | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: [INFO] Packer version: 1.5.4 [go1.13.8 darwin amd64] | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Checking 'PACKER_CONFIG' for a config file path | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: 'PACKER_CONFIG' not set; checking the default config file path | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Attempting to open config file: /Users/example_user/.packerconfig | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: [WARN] Config file doesn't exist: /Users/example_user/.packerconfig | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Setting cache directory: /Users/example_user/Projects/example_project/packer_cache | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: args: []string{"packer-builder-vagrant"} | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Plugin address: unix /var/folders/lk/m550hl_d3rd6yf82f7_ql4ymf_hmm2/T/packer-plugin412890090 | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Waiting for connection... | |
2020/02/26 11:21:32 Received unix RPC address for /usr/local/bin/packer: addr is /var/folders/lk/m550hl_d3rd6yf82f7_ql4ymf_hmm2/T/packer-plugin412890090 | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Serving a plugin connection... | |
2020/02/26 11:21:32 Creating plugin client for path: /usr/local/bin/packer | |
2020/02/26 11:21:32 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"} | |
2020/02/26 11:21:32 Waiting for RPC address for: /usr/local/bin/packer | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: [INFO] Packer version: 1.5.4 [go1.13.8 darwin amd64] | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: Checking 'PACKER_CONFIG' for a config file path | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: 'PACKER_CONFIG' not set; checking the default config file path | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: Attempting to open config file: /Users/example_user/.packerconfig | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /Users/example_user/.packerconfig | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: Setting cache directory: /Users/example_user/Projects/example_project/packer_cache | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"} | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: Plugin address: unix /var/folders/lk/m550hl_d3rd6yf82f7_ql4ymf_hmm2/T/packer-plugin874872632 | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: Waiting for connection... | |
2020/02/26 11:21:32 Received unix RPC address for /usr/local/bin/packer: addr is /var/folders/lk/m550hl_d3rd6yf82f7_ql4ymf_hmm2/T/packer-plugin874872632 | |
2020/02/26 11:21:32 packer-provisioner-shell plugin: Serving a plugin connection... | |
2020/02/26 11:21:32 Build debug mode: true | |
2020/02/26 11:21:32 Force build: false | |
2020/02/26 11:21:32 On error: | |
2020/02/26 11:21:32 Preparing build: vagrant | |
2020/02/26 11:21:32 Debug enabled, so waiting for build to finish: vagrant | |
2020/02/26 11:21:32 Starting build run: vagrant | |
2020/02/26 11:21:32 Running builder: | |
2020/02/26 11:21:32 [INFO] (telemetry) Starting builder | |
Debug mode enabled. Builds will not be parallelized. | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Calling Vagrant CLI: []string{"--version"} | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: [vagrant driver] stdout: Vagrant 2.2.7 | |
==> vagrant: Creating a Vagrantfile in the build directory... | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Created vagrantfile at /Users/example_user/Projects/example_project/output-/Vagrantfile | |
==> vagrant: Adding box using vagrant box add ... | |
vagrant: (this can take some time if we need to download the box) | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: [vagrant] Calling box add with following args freebsd/FreeBSD-12.1-STABLE --provider virtualbox | |
2020/02/26 11:21:32 packer-builder-vagrant plugin: Calling Vagrant CLI: []string{"box", "add", "freebsd/FreeBSD-12.1-STABLE", "--provider", "virtualbox"} | |
2020/02/26 11:21:35 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> box: Loading metadata for box 'freebsd/FreeBSD-12.1-STABLE' | |
2020/02/26 11:21:35 packer-builder-vagrant plugin: [vagrant driver] stdout: box: URL: https://vagrantcloud.com/freebsd/FreeBSD-12.1-STABLE | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> box: Adding box 'freebsd/FreeBSD-12.1-STABLE' (v2020.02.20) for provider: virtualbox | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: [vagrant driver] stderr: The box you're attempting to add already exists. Remove it before | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: [vagrant driver] stderr: adding it again or add it with the `--force` flag. | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: [vagrant driver] stderr: | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: [vagrant driver] stderr: Name: freebsd/FreeBSD-12.1-STABLE | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: [vagrant driver] stderr: Provider: virtualbox | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: [vagrant driver] stderr: Version: 2020.02.20 | |
==> vagrant: Calling Vagrant Up (this can take some time)... | |
2020/02/26 11:21:36 packer-builder-vagrant plugin: Calling Vagrant CLI: []string{"up", "source", "--provider=virtualbox"} | |
2020/02/26 11:21:37 packer-builder-vagrant plugin: [vagrant driver] stdout: Bringing machine 'source' up with 'virtualbox' provider... | |
2020/02/26 11:21:38 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Importing base box 'freebsd/FreeBSD-12.1-STABLE'... | |
2020/02/26 11:21:38 packer-builder-vagrant plugin: [vagrant driver] stdout: | |
2020/02/26 11:21:40 packer-builder-vagrant plugin: [vagrant driver] stdout: Progress: 20% | |
2020/02/26 11:21:41 packer-builder-vagrant plugin: [vagrant driver] stdout: Progress: 30% | |
2020/02/26 11:21:42 packer-builder-vagrant plugin: [vagrant driver] stdout: Progress: 40% | |
2020/02/26 11:21:46 packer-builder-vagrant plugin: [vagrant driver] stdout: Progress: 50% | |
2020/02/26 11:21:46 packer-builder-vagrant plugin: [vagrant driver] stdout: Progress: 80% | |
2020/02/26 11:21:49 packer-builder-vagrant plugin: [vagrant driver] stdout: Progress: 90% | |
2020/02/26 11:21:50 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Generating MAC address for NAT networking... | |
2020/02/26 11:21:50 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Checking if box 'freebsd/FreeBSD-12.1-STABLE' version '2020.02.20' is up to date... | |
2020/02/26 11:21:51 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Setting the name of the VM: output-_source_1582744911610_10508 | |
2020/02/26 11:21:52 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Clearing any previously set network interfaces... | |
2020/02/26 11:21:52 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Preparing network interfaces based on configuration... | |
2020/02/26 11:21:52 packer-builder-vagrant plugin: [vagrant driver] stdout: source: Adapter 1: nat | |
2020/02/26 11:21:52 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Forwarding ports... | |
2020/02/26 11:21:52 packer-builder-vagrant plugin: [vagrant driver] stdout: source: 22 (guest) => 2222 (host) (adapter 1) | |
2020/02/26 11:21:52 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Booting VM... | |
2020/02/26 11:21:53 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Waiting for machine to boot. This may take a few minutes... | |
2020/02/26 11:21:53 packer-builder-vagrant plugin: [vagrant driver] stdout: source: SSH address: 127.0.0.1:2222 | |
2020/02/26 11:21:53 packer-builder-vagrant plugin: [vagrant driver] stdout: source: SSH username: vagrant | |
2020/02/26 11:21:53 packer-builder-vagrant plugin: [vagrant driver] stdout: source: SSH auth method: private key | |
2020/02/26 11:22:15 packer-builder-vagrant plugin: [vagrant driver] stdout: source: Warning: Connection reset. Retrying... | |
2020/02/26 11:22:16 packer-builder-vagrant plugin: [vagrant driver] stdout: source: Warning: Remote connection disconnect. Retrying... | |
2020/02/26 11:22:25 packer-builder-vagrant plugin: [vagrant driver] stdout: source: Warning: Connection reset. Retrying... | |
2020/02/26 11:22:26 packer-builder-vagrant plugin: [vagrant driver] stdout: source: Warning: Remote connection disconnect. Retrying... | |
2020/02/26 11:22:54 packer-builder-vagrant plugin: [vagrant driver] stderr: The configured shell (config.ssh.shell) is invalid and unable | |
2020/02/26 11:22:54 packer-builder-vagrant plugin: [vagrant driver] stderr: to properly execute commands. The most common cause for this is | |
2020/02/26 11:22:54 packer-builder-vagrant plugin: [vagrant driver] stderr: using a shell that is unavailable on the system. Please verify | |
2020/02/26 11:22:54 packer-builder-vagrant plugin: [vagrant driver] stderr: you're using the full path to the shell and that the shell is | |
2020/02/26 11:22:54 packer-builder-vagrant plugin: [vagrant driver] stderr: executable by the SSH user. | |
2020/02/26 11:22:54 packer-builder-vagrant plugin: Calling Vagrant CLI: []string{"ssh-config", "source"} | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: Host source | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: HostName 127.0.0.1 | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: User vagrant | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: Port 2222 | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: UserKnownHostsFile /dev/null | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: StrictHostKeyChecking no | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: PasswordAuthentication no | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: IdentityFile /Users/example_user/.vagrant.d/insecure_private_key | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: IdentitiesOnly yes | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: LogLevel FATAL | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [vagrant driver] stdout: | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: identity file is /Users/example_user/.vagrant.d/insecure_private_key | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: Removing quotes from identity file | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: Error unquoting identity file: invalid syntax | |
==> vagrant: Using ssh communicator to connect: 127.0.0.1 | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [INFO] Waiting for SSH, up to timeout: 10m0s | |
==> vagrant: Waiting for SSH to become available... | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [INFO] Attempting SSH connection to 127.0.0.1:2222... | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [DEBUG] reconnecting to TCP connection for SSH | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [DEBUG] handshaking with SSH | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. | |
2020/02/26 11:22:57 packer-builder-vagrant plugin: Calling Vagrant CLI: []string{"destroy", "-f", "source"} | |
==> vagrant: 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], no supported methods remain | |
==> vagrant: destroying Vagrant box... | |
2020/02/26 11:23:00 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Forcing shutdown of VM... | |
2020/02/26 11:23:01 packer-builder-vagrant plugin: [vagrant driver] stdout: ==> source: Destroying VM and associated drives... | |
==> vagrant: Deleting output directory... | |
2020/02/26 11:23:02 [INFO] (telemetry) ending | |
2020/02/26 11:23:02 Waiting on builds to complete... | |
2020/02/26 11:23:02 machine readable: error-count []string{"1"} | |
==> Some builds didn't complete successfully and had errors: | |
2020/02/26 11:23:02 machine readable: vagrant,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], no supported methods remain"} | |
==> Builds finished but no artifacts were created. | |
2020/02/26 11:23:02 [INFO] (telemetry) Finalizing. | |
Build 'vagrant' errored: 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], no supported methods remain | |
==> Some builds didn't complete successfully and had errors: | |
--> vagrant: 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], no supported methods remain | |
==> Builds finished but no artifacts were created. | |
2020/02/26 11:23:03 waiting for all plugin processes to complete... | |
2020/02/26 11:23:03 /usr/local/bin/packer: plugin process exited | |
2020/02/26 11:23:03 /usr/local/bin/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment