Advertisement
jerrac

packerqemu

Sep 16th, 2022
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.15 KB | None | 0 0
  1. $ PACKER_LOG=1 packer build qemu-ubuntu2004.pkr.hcl
  2. 2022/09/16 14:48:04 [INFO] Packer version: 1.8.3 [go1.17.11 linux amd64]
  3. 2022/09/16 14:48:04 [TRACE] discovering plugins in /usr/bin
  4. 2022/09/16 14:48:04 [TRACE] discovering plugins in /home/username/.config/packer/plugins
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 2022/09/16 14:48:04 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
  11. 2022/09/16 14:48:04 [TRACE] discovering plugins in .
  12. 2022/09/16 14:48:04 [INFO] PACKER_CONFIG env var not set; checking the default config file path
  13. 2022/09/16 14:48:04 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/username/.packerconfig
  14. 2022/09/16 14:48:04 [WARN] Config file doesn't exist: /home/username/.packerconfig
  15. 2022/09/16 14:48:04 [INFO] Setting cache directory: /home/username/.cache/packer
  16. 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)}}}}
  17. 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"
  18. 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"
  19. 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"
  20. 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"
  21. 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}]
  22. 2022/09/16 14:48:04 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
  23. 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-
  24. 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-"}
  25. 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
  26. 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
  27. 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
  28. 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...
  29. 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...
  30. 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-
  31. 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
  32. 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
  33. 2022/09/16 14:48:04 Build debug mode: false
  34. 2022/09/16 14:48:04 Force build: false
  35. 2022/09/16 14:48:04 On error:
  36. 2022/09/16 14:48:04 Waiting on builds to complete...
  37. 2022/09/16 14:48:04 Starting build run: ubuntu2004.qemu.ubuntu2004
  38. 2022/09/16 14:48:04 Running builder:
  39. 2022/09/16 14:48:04 [INFO] (telemetry) Starting builder qemu.ubuntu2004
  40. ubuntu2004.qemu.ubuntu2004: output will be in this color.
  41.  
  42. 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
  43. ==> ubuntu2004.qemu.ubuntu2004: Retrieving ISO
  44. ==> ubuntu2004.qemu.ubuntu2004: Trying https://releases.ubuntu.com/20.04.5/ubuntu-20.04.5-live-server-amd64.iso
  45. 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)
  46. ==> ubuntu2004.qemu.ubuntu2004: Trying https://releases.ubuntu.com/20.04.5/ubuntu-20.04.5-live-server-amd64.iso?checksum=sha256%3A5035be37a7e9abbdc09f0d257f3e33416c1a0fb322ba860d42d74aa75c3468d4
  47. ==> 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
  48. 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
  49. 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.
  50. 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.
  51. 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
  52. 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"}
  53. 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
  54. 2022/09/16 14:48:09 packer-plugin-qemu_v1.0.5_x5.0_linux_amd64 plugin: 2022/09/16 14:48:09 stderr:
  55. 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
  56. ==> ubuntu2004.qemu.ubuntu2004: Starting HTTP server on port 8474
  57. 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
  58. 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
  59. ==> ubuntu2004.qemu.ubuntu2004: Found port for communicator (SSH, WinRM, etc): 3301.
  60. 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
  61. 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
  62. 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
  63. ==> ubuntu2004.qemu.ubuntu2004: Looking for available port between 5900 and 6000 on 127.0.0.1
  64. 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)
  65. 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
  66. 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
  67. ==> ubuntu2004.qemu.ubuntu2004: Starting VM, booting from CD-ROM
  68. 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.
  69. 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"}
  70. 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
  71. ==> ubuntu2004.qemu.ubuntu2004: Waiting 2s for boot...
  72. ==> ubuntu2004.qemu.ubuntu2004: Connecting to VM via VNC (127.0.0.1:5926)
  73. 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)
  74. ==> ubuntu2004.qemu.ubuntu2004: Typing the boot command over VNC...
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. Cancelling build after receiving interrupt
  160. 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.
  161. 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
  162. 2022/09/16 14:50:29 Cancelling builder after context cancellation context canceled
  163. ==> ubuntu2004.qemu.ubuntu2004: Error running boot command: context canceled
  164. 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
  165. 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
  166. ==> ubuntu2004.qemu.ubuntu2004: Deleting output directory...
  167. 2022/09/16 14:50:29 [INFO] (telemetry) ending qemu.ubuntu2004
  168. ==> Wait completed after 2 minutes 24 seconds
  169. 2022/09/16 14:50:29 [INFO] (telemetry) Finalizing.
  170. Build 'ubuntu2004.qemu.ubuntu2004' errored after 2 minutes 24 seconds: Error running boot command: context canceled
  171.  
  172. ==> Wait completed after 2 minutes 24 seconds
  173. Cleanly cancelled builds after being interrupted.
  174. 2022/09/16 14:50:29 waiting for all plugin processes to complete...
  175. 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