Created
June 12, 2023 01:43
-
-
Save HariSekhon/d48fd89d5d1ce1bc957415e174a392f5 to your computer and use it in GitHub Desktop.
log - qemu-system-aarch64 fails to boot ubuntu iso
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
packer build --force ubuntu-arm64.qemu.pkr.hcl | |
2023/06/12 02:39:00 [INFO] Packer version: 1.9.1 [go1.20.4 darwin arm64] | |
2023/06/12 02:39:00 [TRACE] discovering plugins in /opt/homebrew/Cellar/packer/1.9.1/libexec/bin | |
2023/06/12 02:39:00 [TRACE] discovering plugins in /Users/hari/.config/packer/plugins | |
2023/06/12 02:39:00 [DEBUG] Discovered plugin: tart = /Users/hari/.config/packer/plugins/github.com/cirruslabs/tart/packer-plugin-tart_v1.3.1_x5.0_darwin_arm64 | |
2023/06/12 02:39:00 [DEBUG] Discovered plugin: virtualbox = /Users/hari/.config/packer/plugins/github.com/hashicorp/virtualbox/packer-plugin-virtualbox_v1.0.4_x5.0_darwin_arm64 | |
2023/06/12 02:39:00 [INFO] found external [cli] builders from tart plugin | |
2023/06/12 02:39:00 [INFO] found external [iso ovf vm] builders from virtualbox plugin | |
2023/06/12 02:39:00 [TRACE] discovering plugins in . | |
2023/06/12 02:39:00 [TRACE] discovering plugins in | |
2023/06/12 02:39:00 [TRACE] discovering plugins in /opt/homebrew/bin | |
2023/06/12 02:39:00 [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/06/12 02:39:00 [INFO] PACKER_CONFIG env var set; attempting to open config file: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 [WARN] Config file doesn't exist: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 [INFO] Setting cache directory: /Users/hari/.cache/packer | |
2023/06/12 02:39:00 [TRACE] validateValue: not active for iso, so skipping | |
2023/06/12 02:39:00 [TRACE] validateValue: not active for checksum, so skipping | |
2023/06/12 02:39:00 [TRACE] validateValue: not active for version, so skipping | |
2023/06/12 02:39:00 [TRACE] Starting internal plugin packer-builder-qemu | |
2023/06/12 02:39:00 Starting plugin: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer []string{"/opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer", "plugin", "packer-builder-qemu"} | |
2023/06/12 02:39:00 Waiting for RPC address for: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer | |
2023/06/12 02:39:00 packer-builder-qemu plugin: [INFO] Packer version: 1.9.1 [go1.20.4 darwin arm64] | |
2023/06/12 02:39:00 packer-builder-qemu plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/06/12 02:39:00 packer-builder-qemu plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-builder-qemu plugin: [WARN] Config file doesn't exist: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-builder-qemu plugin: [INFO] Setting cache directory: /Users/hari/.cache/packer | |
2023/06/12 02:39:00 packer-builder-qemu plugin: args: []string{"packer-builder-qemu"} | |
2023/06/12 02:39:00 packer-builder-qemu plugin: Plugin address: unix /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin856313135 | |
2023/06/12 02:39:00 packer-builder-qemu plugin: Waiting for connection... | |
2023/06/12 02:39:00 Received unix RPC address for /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: addr is /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin856313135 | |
2023/06/12 02:39:00 packer-builder-qemu plugin: Serving a plugin connection... | |
2023/06/12 02:39:00 packer-builder-qemu plugin: use detected accelerator: tcg | |
2023/06/12 02:39:00 [TRACE] Starting internal plugin packer-provisioner-file | |
2023/06/12 02:39:00 Starting plugin: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer []string{"/opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer", "plugin", "packer-provisioner-file"} | |
2023/06/12 02:39:00 Waiting for RPC address for: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer | |
2023/06/12 02:39:00 packer-provisioner-file plugin: [INFO] Packer version: 1.9.1 [go1.20.4 darwin arm64] | |
2023/06/12 02:39:00 packer-provisioner-file plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/06/12 02:39:00 packer-provisioner-file plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-provisioner-file plugin: [WARN] Config file doesn't exist: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-provisioner-file plugin: [INFO] Setting cache directory: /Users/hari/.cache/packer | |
2023/06/12 02:39:00 packer-provisioner-file plugin: args: []string{"packer-provisioner-file"} | |
2023/06/12 02:39:00 packer-provisioner-file plugin: Plugin address: unix /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin2339301302 | |
2023/06/12 02:39:00 Received unix RPC address for /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: addr is /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin2339301302 | |
2023/06/12 02:39:00 packer-provisioner-file plugin: Waiting for connection... | |
2023/06/12 02:39:00 packer-provisioner-file plugin: Serving a plugin connection... | |
2023/06/12 02:39:00 [TRACE] Starting internal plugin packer-provisioner-shell | |
2023/06/12 02:39:00 Starting plugin: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer []string{"/opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer", "plugin", "packer-provisioner-shell"} | |
2023/06/12 02:39:00 Waiting for RPC address for: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: [INFO] Packer version: 1.9.1 [go1.20.4 darwin arm64] | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: [INFO] Setting cache directory: /Users/hari/.cache/packer | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"} | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: Plugin address: unix /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin1765751931 | |
2023/06/12 02:39:00 Received unix RPC address for /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: addr is /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin1765751931 | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: Waiting for connection... | |
2023/06/12 02:39:00 packer-provisioner-shell plugin: Serving a plugin connection... | |
2023/06/12 02:39:00 [TRACE] Starting internal plugin packer-post-processor-checksum | |
2023/06/12 02:39:00 Starting plugin: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer []string{"/opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer", "plugin", "packer-post-processor-checksum"} | |
2023/06/12 02:39:00 Waiting for RPC address for: /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: [INFO] Packer version: 1.9.1 [go1.20.4 darwin arm64] | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: [WARN] Config file doesn't exist: /Users/hari/.packerconfig | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: [INFO] Setting cache directory: /Users/hari/.cache/packer | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: args: []string{"packer-post-processor-checksum"} | |
2023/06/12 02:39:00 Received unix RPC address for /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: addr is /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin1847616383 | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: Plugin address: unix /var/folders/18/zv7bm4b55cj500q22s15lygh0000gn/T/packer-plugin1847616383 | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: Waiting for connection... | |
2023/06/12 02:39:00 packer-post-processor-checksum plugin: Serving a plugin connection... | |
2023/06/12 02:39:00 Build debug mode: false | |
2023/06/12 02:39:00 Force build: true | |
2023/06/12 02:39:00 On error: | |
2023/06/12 02:39:00 Waiting on builds to complete... | |
2023/06/12 02:39:00 Starting build run: ubuntu.qemu.ubuntu | |
2023/06/12 02:39:00 Running builder: | |
2023/06/12 02:39:00 [INFO] (telemetry) Starting builder qemu.ubuntu | |
ubuntu.qemu.ubuntu: output will be in this color. | |
2023/06/12 02:39:00 packer-builder-qemu plugin: Qemu path: /opt/homebrew/bin/qemu-system-aarch64, Qemu Image path: /opt/homebrew/bin/qemu-img | |
==> ubuntu.qemu.ubuntu: Retrieving ISO | |
2023/06/12 02:39:00 packer-builder-qemu plugin: Acquiring lock for: https://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.2-live-server-arm64.iso?checksum=sha256%3A12eed04214d8492d22686b72610711882ddf6222b4dc029c24515a85c4874e95 (/Users/hari/.cache/packer/1bb131b162f10e50ac7d8671a71f4a0e13e36197.iso.lock) | |
==> ubuntu.qemu.ubuntu: Trying https://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.2-live-server-arm64.iso | |
==> ubuntu.qemu.ubuntu: Trying https://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.2-live-server-arm64.iso?checksum=sha256%3A12eed04214d8492d22686b72610711882ddf6222b4dc029c24515a85c4874e95 | |
2023/06/12 02:39:01 packer-builder-qemu plugin: Leaving retrieve loop for ISO | |
==> ubuntu.qemu.ubuntu: https://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.2-live-server-arm64.iso?checksum=sha256%3A12eed04214d8492d22686b72610711882ddf6222b4dc029c24515a85c4874e95 => /Users/hari/.cache/packer/1bb131b162f10e50ac7d8671a71f4a0e13e36197.iso | |
2023/06/12 02:39:01 packer-builder-qemu plugin: No floppy files specified. Floppy disk will not be made. | |
2023/06/12 02:39:01 packer-builder-qemu plugin: No CD files specified. CD disk will not be made. | |
==> ubuntu.qemu.ubuntu: Copying hard drive... | |
2023/06/12 02:39:01 packer-builder-qemu plugin: Executing qemu-img: []string{"convert", "-O", "qcow2", "/Users/hari/.cache/packer/1bb131b162f10e50ac7d8671a71f4a0e13e36197.iso", "output-ubuntu-22.04-arm64/ubuntu-22.04"} | |
==> ubuntu.qemu.ubuntu: Resizing hard drive... | |
2023/06/12 02:39:02 packer-builder-qemu plugin: stdout: | |
2023/06/12 02:39:02 packer-builder-qemu plugin: stderr: | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Executing qemu-img: []string{"resize", "-f", "qcow2", "output-ubuntu-22.04-arm64/ubuntu-22.04", "40960M"} | |
2023/06/12 02:39:02 packer-builder-qemu plugin: stdout: Image resized. | |
2023/06/12 02:39:02 packer-builder-qemu plugin: stderr: | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Found available port: 8013 on IP: 0.0.0.0 | |
==> ubuntu.qemu.ubuntu: Starting HTTP server on port 8013 | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Looking for available communicator (SSH, WinRM, etc) port between 2222 and 4444 | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Found available port: 2408 on IP: 127.0.0.1 | |
==> ubuntu.qemu.ubuntu: Found port for communicator (SSH, WinRM, etc): 2408. | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Looking for available port between 5900 and 6000 on 127.0.0.1 | |
==> ubuntu.qemu.ubuntu: Looking for available port between 5900 and 6000 on 127.0.0.1 | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Found available port: 5918 on IP: 127.0.0.1 | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Found available VNC port: 5918 on IP: 127.0.0.1 | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Qemu --version output: QEMU emulator version 8.0.2 | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Qemu version: 8.0.2 | |
==> ubuntu.qemu.ubuntu: Starting VM, booting disk image | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Qemu Builder has no floppy files, not attaching a floppy. | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Executing /opt/homebrew/bin/qemu-system-aarch64: []string{"-boot", "c", "-m", "3072M", "-vnc", "127.0.0.1:18", "-smp", "3", "-machine", "type=virt,accel=tcg", "-drive", "file=output-ubuntu-22.04-arm64/ubuntu-22.04,if=virtio,cache=writeback,discard=unmap,format=qcow2", "-device", "virtio-net,netdev=user.0", "-name", "ubuntu-22.04", "-netdev", "user,id=user.0,hostfwd=tcp::2408-:22"} | |
2023/06/12 02:39:02 packer-builder-qemu plugin: Started Qemu. Pid: 34759 | |
==> ubuntu.qemu.ubuntu: Waiting 5s for boot... | |
2023/06/12 02:39:06 packer-builder-qemu plugin: Qemu stderr: qemu-system-aarch64: terminating on signal 2 from pid 2696 (<unknown process>) | |
2023/06/12 02:39:06 packer-post-processor-checksum plugin: Received interrupt signal (count: 1). Ignoring. | |
Cancelling build after receiving interrupt | |
2023/06/12 02:39:06 packer-provisioner-shell plugin: Received interrupt signal (count: 1). Ignoring. | |
2023/06/12 02:39:06 packer-provisioner-file plugin: Received interrupt signal (count: 1). Ignoring. | |
2023/06/12 02:39:06 Cancelling builder after context cancellation context canceled | |
2023/06/12 02:39:06 packer-builder-qemu plugin: Received interrupt signal (count: 1). Ignoring. | |
2023/06/12 02:39:06 packer-builder-qemu plugin: failed to unlock port lockfile: close tcp 127.0.0.1:5918: use of closed network connection | |
2023/06/12 02:39:06 packer-builder-qemu plugin: failed to unlock port lockfile: close tcp 127.0.0.1:2408: use of closed network connection | |
==> ubuntu.qemu.ubuntu: Deleting output directory... | |
Build 'ubuntu.qemu.ubuntu' errored after 5 seconds 909 milliseconds: Build was cancelled. | |
==> Wait completed after 5 seconds 909 milliseconds | |
Cleanly cancelled builds after being interrupted. | |
2023/06/12 02:39:06 [INFO] (telemetry) ending qemu.ubuntu | |
==> Wait completed after 5 seconds 909 milliseconds | |
2023/06/12 02:39:06 [INFO] (telemetry) Finalizing. | |
2023/06/12 02:39:06 waiting for all plugin processes to complete... | |
2023/06/12 02:39:06 /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: plugin process exited | |
2023/06/12 02:39:06 /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: plugin process exited | |
2023/06/12 02:39:06 /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: plugin process exited | |
2023/06/12 02:39:06 /opt/homebrew/Cellar/packer/1.9.1/libexec/bin/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment