Checkbox Test: Verify KVM VM boots Failed on arm64

Bug #1548539 reported by Michael Reed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Jeff Lane 

Bug Description

Executing KVM Test
WARNING:root:No config file found
DEBUG:root:Starting KVM Test
DEBUG:root:No image specified, downloading one now.
DEBUG:root:Downloading xenial-server-cloudimg-arm64.tar.gz, from http://cloud-images.ubuntu.com
DEBUG:root:Creating cloud user-data
DEBUG:root:Creating cloud meta-data
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 331
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
183 extents written (0 MB)
DEBUG:root:Attempting boot for:xenial-server-cloudimg-arm64.img
DEBUG:root:Attaching Cloud config disk
DEBUG:root:Using params:qemu-system-aarch64 -m 256 -display none -nographic -net nic -net user,net=10.0.0.0/8,host=10.0.0.1,hostfwd=tcp::2222-:22 -cpu host -enable-kvm -machine virt,gic_version=3 -kernel /boot/vmlinuz -initrd /boot/initrd.img -drive file=xenial-server-cloudimg-arm64.img,if=none,id=disk.0 -device virtio-blk-device,drive=disk.0 -drive file=seed.iso,if=none,id=disk.1 -device virtio-blk-device,drive=disk.1 -append "console=ttyAMA0 earlyprintk=serial ro rootfstype=ext4 root=LABEL=cloudimg-rootfs rootdelay=10"
INFO:root:Storing VM console output in /home/ubuntu/.cache/plainbox/sessions/pbox-hieq7q96.session/CHECKBOX_DATA/virt_debug
E: KVM instance failed to boot
=============================Console output=============================
WARNING: Image format was not specified for 'xenial-server-cloudimg-arm64.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
WARNING: Image format was not specified for 'seed.iso' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-aarch64: Initialization of device kvm-arm-gicv3 failed: error creating in-kernel VGIC: No such device

E: KVM instance failed to boot

Related branches

Revision history for this message
Michael Reed (mreed8855) wrote :

This is a testcase issue, as I have been able to boot a qemu instance using the following command:

qemu-system-aarch64 -m 256 -display none -nographic -netdev type=tap,id=net0 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:56 -cpu host -enable-kvm -machine virt -kernel /boot/vmlinuz -initrd /boot/initrd.img -drive file=xenial-server-cloudimg-arm64.img,if=none,id=disk.0 -device virtio-blk-device,drive=disk.0 -drive file=seed.iso,if=none,id=disk.1 -device virtio-blk-device,drive=disk.1 -append "console=ttyAMA0 earlyprintk=serial ro rootfstype=ext4 root=LABEL=cloudimg-rootfs rootdelay=10"

I removed the gic_version=3 option and generated a random mac address

Jeff Lane  (bladernr)
Changed in plainbox-provider-checkbox:
assignee: nobody → Jeff Lane (bladernr)
importance: Undecided → Medium
status: New → Confirmed
Jeff Lane  (bladernr)
Changed in plainbox-provider-checkbox:
status: Confirmed → In Progress
Jeff Lane  (bladernr)
tags: added: hwcert-server
Changed in plainbox-provider-checkbox:
milestone: none → 0.26
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Jeff Lane  (bladernr)
tags: removed: hwcert-server
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.