Closed mr-cal closed 6 months ago
Hi @mr-cal!
Looks to be something in the noble
buildd
image is broken causing the instance to not boot. With this, you are then hitting a few bugs in Multipass such as the lack of asynchronicity (which will mostly be addressed this cycle) and then snapd
waiting on qemu processes to die when trying to remove the snap.
I will have to dig a little into the exact symptom of the instance not booting and report this back to CPC.
That makes sense, thanks for the quick response!
We're currently using the daily noble image so this isn't a blocker, but Snapcraft using Multipass + buildd noble images will become critical as we get closer to the 24.04 beta.
Sure, I'm making a test Multipass build where I can watch the qemu console and try to figure out where the boot process is failing and then report that to the CPC folks.
For posterity's sake, I've made CPC aware of this issue and provided the following screenshot of what is happening when qemu tries booting the image.
QEMU stays stuck on that screen.
The cause of this issue appears to be https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2048953.
Scratch that, CPC is now saying something else is likely the cause.
Hi @mr-cal!
CPC has said they have fixed this and I have confirmed this by successfully launching a snapcraft:devel
image.
Describe the bug
multipass launch snapcraft:devel
downloads the image but fails to launch after 6 minutes. It leaves the VM process running in the background. It then causes commands likemultipass list
to hang for 2 minutes and then fail.It also causes
snap remove multipass --purge
to hang while waiting for those VMs in the background to stop.To Reproduce
Myself and @cmatsuoka have both been able to reproduce this.
Expected behavior Multipass to launch the image (or at least fail more cleanly).
Logs
The output of
can be found here: https://paste.ubuntu.com/p/TzRfwThKC3/
The output of
can be found here: https://paste.ubuntu.com/p/D74v8sHQbs/
Additional info
Additional context Add any other context about the problem here.