Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ PACKER_LOG=1 packer build qemu-ubuntu2004.pkr.hcl
- 2022/09/16 14:48:04 [INFO] Packer version: 1.8.3 [go1.17.11 linux amd64]
- 2022/09/16 14:48:04 [TRACE] discovering plugins in /usr/bin
- 2022/09/16 14:48:04 [TRACE] discovering plugins in /home/username/.config/packer/plugins
- 2022/09/16 14:48:04 [DEBUG] Discovered plugin: qemu = /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.1_x5.0_linux_amd64
- 2022/09/16 14:48:04 [DEBUG] Discovered plugin: qemu = /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.2_x5.0_linux_amd64
- 2022/09/16 14:48:04 [DEBUG] Discovered plugin: qemu = /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.3_x5.0_linux_amd64
- 2022/09/16 14:48:04 [DEBUG] Discovered plugin: qemu = /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.4_x5.0_linux_amd64
- 2022/09/16 14:48:04 [DEBUG] Discovered plugin: qemu = /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64
- 2022/09/16 14:48:04 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
- 2022/09/16 14:48:04 [TRACE] discovering plugins in .
- 2022/09/16 14:48:04 [INFO] PACKER_CONFIG env var not set; checking the default config file path
- 2022/09/16 14:48:04 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/username/.packerconfig
- 2022/09/16 14:48:04 [WARN] Config file doesn't exist: /home/username/.packerconfig
- 2022/09/16 14:48:04 [INFO] Setting cache directory: /home/username/.cache/packer
- 2022/09/16 14:48:04 [TRACE] listing potential installations for "github.com/hashicorp/qemu" that match ">= 1.0.5". plugingetter.ListInstallationsOptions{FromFolders:[]string{"/usr/bin/packer", ".", "/home/username/.config/packer/plugins"}, BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc000772100)}}}}
- 2022/09/16 14:48:04 [TRACE] version "v1.0.1" of file "/home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.1_x5.0_linux_amd64" does not match constraint ">= 1.0.5"
- 2022/09/16 14:48:04 [TRACE] version "v1.0.2" of file "/home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.2_x5.0_linux_amd64" does not match constraint ">= 1.0.5"
- 2022/09/16 14:48:04 [TRACE] version "v1.0.3" of file "/home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.3_x5.0_linux_amd64" does not match constraint ">= 1.0.5"
- 2022/09/16 14:48:04 [TRACE] version "v1.0.4" of file "/home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.4_x5.0_linux_amd64" does not match constraint ">= 1.0.5"
- 2022/09/16 14:48:04 [TRACE] Found the following "github.com/hashicorp/qemu" installations: [{/home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 v1.0.5}]
- 2022/09/16 14:48:04 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
- 2022/09/16 14:48:04 [TRACE] Starting external plugin /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 start builder -packer-default-plugin-name-
- 2022/09/16 14:48:04 Starting plugin: /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 []string{"/home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64", "start", "builder", "-packer-default-plugin-name-"}
- 2022/09/16 14:48:04 Waiting for RPC address for: /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64
- 2022/09/16 14:48:04 Received unix RPC address for /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64: addr is /tmp/packer-plugin2419473139
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 Plugin address: unix /tmp/packer-plugin2419473139
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 Waiting for connection...
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 Serving a plugin connection...
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 [TRACE] starting builder -packer-default-plugin-name-
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 use specified accelerator: kvm
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 CpuCount 0 too small, using default: 1
- 2022/09/16 14:48:04 Build debug mode: false
- 2022/09/16 14:48:04 Force build: false
- 2022/09/16 14:48:04 On error:
- 2022/09/16 14:48:04 Waiting on builds to complete...
- 2022/09/16 14:48:04 Starting build run: ubuntu2004.qemu.ubuntu2004
- 2022/09/16 14:48:04 Running builder:
- 2022/09/16 14:48:04 [INFO] (telemetry) Starting builder qemu.ubuntu2004
- ubuntu2004.qemu.ubuntu2004: output will be in this color.
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 Qemu path: /usr/bin/qemu-system-x86_64, Qemu Image path: /usr/bin/qemu-img
- ==> ubuntu2004.qemu.ubuntu2004: Retrieving ISO
- ==> ubuntu2004.qemu.ubuntu2004: Trying https://releases.ubuntu.com/20.04.5/ubuntu-20.04.5-live-server-amd64.iso
- 2022/09/16 14:48:04 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:04 Acquiring lock for: https://releases.ubuntu.com/20.04.5/ubuntu-20.04.5-live-server-amd64.iso?checksum=sha256%3A5035be37a7e9abbdc09f0d257f3e33416c1a0fb322ba860d42d74aa75c3468d4 (/home/username/.cache/packer/a97e8a246c5e747f3ddafef5ff27ba9d640a92f4.iso.lock)
- ==> ubuntu2004.qemu.ubuntu2004: Trying https://releases.ubuntu.com/20.04.5/ubuntu-20.04.5-live-server-amd64.iso?checksum=sha256%3A5035be37a7e9abbdc09f0d257f3e33416c1a0fb322ba860d42d74aa75c3468d4
- ==> ubuntu2004.qemu.ubuntu2004: https://releases.ubuntu.com/20.04.5/ubuntu-20.04.5-live-server-amd64.iso?checksum=sha256%3A5035be37a7e9abbdc09f0d257f3e33416c1a0fb322ba860d42d74aa75c3468d4 => /home/username/.cache/packer/a97e8a246c5e747f3ddafef5ff27ba9d640a92f4.iso
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Leaving retrieve loop for ISO
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 No floppy files specified. Floppy disk will not be made.
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 No CD files specified. CD disk will not be made.
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 [INFO] Creating disk with Path: images/ubuntu2004 and Size: 88064M
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Executing qemu-img: []string{"create", "-f", "qcow2", "images/ubuntu2004", "88064M"}
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 stdout: Formatting 'images/ubuntu2004', fmt=qcow2 size=92341796864 cluster_size=65536 lazy_refcounts=off refcount_bits=16
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 stderr:
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Found available port: 8474 on IP: 0.0.0.0
- ==> ubuntu2004.qemu.ubuntu2004: Starting HTTP server on port 8474
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Looking for available communicator (SSH, WinRM, etc) port between 2222 and 4444
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Found available port: 3301 on IP: 127.0.0.1
- ==> ubuntu2004.qemu.ubuntu2004: Found port for communicator (SSH, WinRM, etc): 3301.
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Looking for available port between 5900 and 6000 on 127.0.0.1
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Found available port: 5926 on IP: 127.0.0.1
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Found available VNC port: 5926 on IP: 127.0.0.1
- ==> ubuntu2004.qemu.ubuntu2004: Looking for available port between 5900 and 6000 on 127.0.0.1
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Qemu --version output: QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.23)
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Qemu version: 4.2.1
- ==> ubuntu2004.qemu.ubuntu2004: Starting VM, booting from CD-ROM
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Qemu Builder has no floppy files, not attaching a floppy.
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Executing /usr/bin/qemu-system-x86_64: []string{"-vnc", "127.0.0.1:26", "-device", "virtio-net,netdev=user.0", "-drive", "file=images/ubuntu2004,if=virtio,cache=writeback,discard=ignore,format=qcow2", "-drive", "file=/home/username/.cache/packer/a97e8a246c5e747f3ddafef5ff27ba9d640a92f4.iso,media=cdrom", "-boot", "once=d", "-machine", "type=pc,accel=kvm", "-display", "gtk", "-name", "ubuntu2004", "-netdev", "user,id=user.0,hostfwd=tcp::3301-:22", "-m", "2048M"}
- 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 Started Qemu. Pid: 3007788
- ==> ubuntu2004.qemu.ubuntu2004: Waiting 2s for boot...
- ==> ubuntu2004.qemu.ubuntu2004: Connecting to VM via VNC (127.0.0.1:5926)
- 2022/09/16 14:48:13 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:13 Connected to VNC desktop: QEMU (ubuntu2004)
- ==> ubuntu2004.qemu.ubuntu2004: Typing the boot command over VNC...
- 2022/09/16 14:48:13 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:13 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:14 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:14 [INFO] Waiting 1s
- 2022/09/16 14:48:15 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:15 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:15 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:15 [INFO] Waiting 1s
- 2022/09/16 14:48:16 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:16 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:16 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:16 [INFO] Waiting 1s
- 2022/09/16 14:48:17 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:17 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:17 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:17 [INFO] Waiting 1s
- 2022/09/16 14:48:18 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:18 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:19 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:19 [INFO] Waiting 1s
- 2022/09/16 14:48:20 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:20 Special code '<esc>' found, replacing with: 0xFF1B
- 2022/09/16 14:48:20 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:20 [INFO] Waiting 1s
- 2022/09/16 14:48:21 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:21 Special code '<f6>' found, replacing with: 0xFFC3
- 2022/09/16 14:48:21 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:21 [INFO] Waiting 1s
- 2022/09/16 14:48:22 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:22 Special code '<esc>' found, replacing with: 0xFF1B
- 2022/09/16 14:48:22 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:22 [INFO] Waiting 1s
- 2022/09/16 14:48:23 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:23 Special code '<bs>' found, replacing with: 0xFF08
- 2022/09/16 14:48:23 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:23 Special code '<bs>' found, replacing with: 0xFF08
- 2022/09/16 14:48:24 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:24 Special code '<bs>' found, replacing with: 0xFF08
- 2022/09/16 14:48:24 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:24 Special code '<bs>' found, replacing with: 0xFF08
- 2022/09/16 14:48:24 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:24 [INFO] Waiting 1s
- 2022/09/16 14:48:25 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:25 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:25 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:25 Sending char 'a', code 0x61, shift false
- 2022/09/16 14:48:25 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:25 Sending char 'u', code 0x75, shift false
- 2022/09/16 14:48:26 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:26 Sending char 't', code 0x74, shift false
- 2022/09/16 14:48:26 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:26 Sending char 'o', code 0x6F, shift false
- 2022/09/16 14:48:26 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:26 Sending char 'i', code 0x69, shift false
- 2022/09/16 14:48:26 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:26 Sending char 'n', code 0x6E, shift false
- 2022/09/16 14:48:26 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:26 Sending char 's', code 0x73, shift false
- 2022/09/16 14:48:27 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:27 Sending char 't', code 0x74, shift false
- 2022/09/16 14:48:27 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:27 Sending char 'a', code 0x61, shift false
- 2022/09/16 14:48:27 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:27 Sending char 'l', code 0x6C, shift false
- 2022/09/16 14:48:27 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:27 Sending char 'l', code 0x6C, shift false
- 2022/09/16 14:48:27 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:27 [INFO] Waiting 1s
- 2022/09/16 14:48:28 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:28 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:29 Sending char 'd', code 0x64, shift false
- 2022/09/16 14:48:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:29 Sending char 's', code 0x73, shift false
- 2022/09/16 14:48:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:29 Sending char '=', code 0x3D, shift false
- 2022/09/16 14:48:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:29 Sending char 'n', code 0x6E, shift false
- 2022/09/16 14:48:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:29 Sending char 'o', code 0x6F, shift false
- 2022/09/16 14:48:30 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:30 Sending char 'c', code 0x63, shift false
- 2022/09/16 14:48:30 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:30 Sending char 'l', code 0x6C, shift false
- 2022/09/16 14:48:30 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:30 Sending char 'o', code 0x6F, shift false
- 2022/09/16 14:48:30 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:30 Sending char 'u', code 0x75, shift false
- 2022/09/16 14:48:30 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:30 Sending char 'd', code 0x64, shift false
- 2022/09/16 14:48:31 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:31 Sending char '-', code 0x2D, shift false
- 2022/09/16 14:48:31 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:31 Sending char 'n', code 0x6E, shift false
- 2022/09/16 14:48:31 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:31 Sending char 'e', code 0x65, shift false
- 2022/09/16 14:48:31 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:31 Sending char 't', code 0x74, shift false
- 2022/09/16 14:48:31 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:31 [INFO] Waiting 1s
- 2022/09/16 14:48:32 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:32 Sending char ';', code 0x3B, shift false
- 2022/09/16 14:48:33 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:33 Sending char 's', code 0x73, shift false
- 2022/09/16 14:48:33 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:33 Sending char '=', code 0x3D, shift false
- 2022/09/16 14:48:33 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:33 Sending char 'h', code 0x68, shift false
- 2022/09/16 14:48:33 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:33 Sending char 't', code 0x74, shift false
- 2022/09/16 14:48:33 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:33 Sending char 't', code 0x74, shift false
- 2022/09/16 14:48:34 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:34 Sending char 'p', code 0x70, shift false
- 2022/09/16 14:48:34 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:34 Sending char ':', code 0x3A, shift true
- 2022/09/16 14:48:34 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:34 Sending char '/', code 0x2F, shift false
- 2022/09/16 14:48:34 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:34 Sending char '/', code 0x2F, shift false
- 2022/09/16 14:48:35 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:35 [INFO] Waiting 1s
- 2022/09/16 14:48:36 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:36 Sending char '1', code 0x31, shift false
- 2022/09/16 14:48:36 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:36 Sending char '0', code 0x30, shift false
- 2022/09/16 14:48:36 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:36 Sending char '.', code 0x2E, shift false
- 2022/09/16 14:48:36 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:36 Sending char '0', code 0x30, shift false
- 2022/09/16 14:48:36 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:36 Sending char '.', code 0x2E, shift false
- 2022/09/16 14:48:37 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:37 Sending char '2', code 0x32, shift false
- 2022/09/16 14:48:37 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:37 Sending char '.', code 0x2E, shift false
- 2022/09/16 14:48:37 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:37 Sending char '2', code 0x32, shift false
- 2022/09/16 14:48:37 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:37 [INFO] Waiting 1s
- 2022/09/16 14:48:38 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:38 Sending char ':', code 0x3A, shift true
- 2022/09/16 14:48:39 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:39 Sending char '8', code 0x38, shift false
- 2022/09/16 14:48:39 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:39 Sending char '4', code 0x34, shift false
- 2022/09/16 14:48:39 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:39 Sending char '7', code 0x37, shift false
- 2022/09/16 14:48:39 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:39 Sending char '4', code 0x34, shift false
- 2022/09/16 14:48:39 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:39 Sending char '/', code 0x2F, shift false
- 2022/09/16 14:48:40 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:40 [INFO] Waiting 1s
- 2022/09/16 14:48:41 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:41 Sending char ' ', code 0x20, shift false
- 2022/09/16 14:48:41 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:41 Sending char '-', code 0x2D, shift false
- 2022/09/16 14:48:41 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:41 Sending char '-', code 0x2D, shift false
- 2022/09/16 14:48:41 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:41 Sending char '-', code 0x2D, shift false
- 2022/09/16 14:48:41 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:41 [INFO] Waiting 1s
- 2022/09/16 14:48:42 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:42 Special code '<enter>' found, replacing with: 0xFF0D
- 2022/09/16 14:48:43 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:43 [INFO] Waiting 2m0s
- Cancelling build after receiving interrupt
- 2022/09/16 14:50:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:50:29 Received interrupt signal (count: 1). Ignoring.
- 2022/09/16 14:50:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:50:29 Qemu stderr: qemu-system-x86_64: terminating on signal 2
- 2022/09/16 14:50:29 Cancelling builder after context cancellation context canceled
- ==> ubuntu2004.qemu.ubuntu2004: Error running boot command: context canceled
- 2022/09/16 14:50:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:50:29 failed to unlock port lockfile: close tcp 127.0.0.1:5926: use of closed network connection
- 2022/09/16 14:50:29 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:50:29 failed to unlock port lockfile: close tcp 127.0.0.1:3301: use of closed network connection
- ==> ubuntu2004.qemu.ubuntu2004: Deleting output directory...
- 2022/09/16 14:50:29 [INFO] (telemetry) ending qemu.ubuntu2004
- ==> Wait completed after 2 minutes 24 seconds
- 2022/09/16 14:50:29 [INFO] (telemetry) Finalizing.
- Build 'ubuntu2004.qemu.ubuntu2004' errored after 2 minutes 24 seconds: Error running boot command: context canceled
- ==> Wait completed after 2 minutes 24 seconds
- Cleanly cancelled builds after being interrupted.
- 2022/09/16 14:50:29 waiting for all plugin processes to complete...
- 2022/09/16 14:50:29 /home/username/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.5_x5.0_linux_amd64: plugin process exited
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement