gnome-boxes occasionally fails to start live CD
Submitted by vladimir benes
Link to original bug (#752955)
Description
Not sure if it's Boxes' bug but from time to time I see failing test in automation. It's caused by turning off live cd just after creation. This leads to machine removal and test failure.
I am on latest jhbuild version (3.17.4.2-01b1c) but I see this for ages (since 3.14 version). I am in nested KVM environment so the bug may be there or in libvirt. Really, not sure if Boxes are the root cause.
There is an error in libvirt logs: Jul 28 10:07:02 localhost.localdomain libvirtd[20101]: internal error: End of file from monitor
logs from Boxes: [test@localhost tests]$ grep 55 /tmp/boxes.txt (gnome-boxes:8324): Boxes-DEBUG: vm-creator.vala:277: Creating volume 'boxes-unknown-55'.. (gnome-boxes:8324): Boxes-DEBUG: vm-creator.vala:279: Created volume 'boxes-unknown-55'. (gnome-boxes:8324): Boxes-DEBUG: libvirt-machine.vala:153: new libvirt machine: boxes-unknown-55 (gnome-boxes:8324): Boxes-DEBUG: machine.vala:100: State of 'Core-5 55' changed to BOXES_MACHINE_MACHINE_STATE_STOPPED (gnome-boxes:8324): Boxes-DEBUG: libvirt-broker.vala:134: New domain 'boxes-unknown-55' (gnome-boxes:8324): Boxes-DEBUG: machine.vala:100: State of 'Core-5 55' changed to BOXES_MACHINE_MACHINE_STATE_RUNNING (gnome-boxes:8324): Boxes-DEBUG: libvirt-machine.vala:345: enable statistics for Core-5 55 (gnome-boxes:8324): Boxes-DEBUG: machine.vala:313: Scheduling autosave for 'Core-5 55' (gnome-boxes:8324): Boxes-DEBUG: machine.vala:326: Unscheduling autosave for 'Core-5 55' (gnome-boxes:8324): Boxes-DEBUG: machine.vala:313: Scheduling autosave for 'Core-5 55' [test@localhost tests]$ grep 60 /tmp/boxes.txt (gnome-boxes:8324): Boxes-DEBUG: vm-creator.vala:277: Creating volume 'boxes-unknown-60'.. (gnome-boxes:8324): Boxes-DEBUG: vm-creator.vala:279: Created volume 'boxes-unknown-60'. (gnome-boxes:8324): Boxes-DEBUG: libvirt-machine.vala:153: new libvirt machine: boxes-unknown-60 (gnome-boxes:8324): Boxes-DEBUG: machine.vala:100: State of 'Core-5 60' changed to BOXES_MACHINE_MACHINE_STATE_STOPPED (gnome-boxes:8324): Boxes-DEBUG: libvirt-broker.vala:134: New domain 'boxes-unknown-60' (gnome-boxes:8324): Boxes-DEBUG: machine.vala:100: State of 'Core-5 60' changed to BOXES_MACHINE_MACHINE_STATE_RUNNING (gnome-boxes:8324): Boxes-DEBUG: libvirt-machine.vala:345: enable statistics for Core-5 60 (gnome-boxes:8324): Boxes-DEBUG: machine.vala:313: Scheduling autosave for 'Core-5 60' (gnome-boxes:8324): Boxes-DEBUG: machine.vala:326: Unscheduling autosave for 'Core-5 60' (gnome-boxes:8324): Boxes-DEBUG: machine.vala:313: Scheduling autosave for 'Core-5 60' (gnome-boxes:8324): Boxes-DEBUG: machine.vala:100: State of 'Core-5 60' changed to BOXES_MACHINE_MACHINE_STATE_STOPPED (gnome-boxes:8324): Boxes-DEBUG: libvirt-machine.vala:364: disable statistics for Core-5 60
full log attached in boxes.txt