Snapcraft is stuck on "launching instance..." indefinitely
Bug #1999321 reported by
Matthew Jakeman
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I run the "snapcraft" command, it gets stuck on "Launching instance..." indefinitely. I waited upwards of an hour before terminating the command.
If relevant (possibly due to the hardware I'm using - M1 Macbook), I am running this on the arm64 architecture. I can reproduce this on:
- Fedora Workstation 37 (arm64)
- Asahi Linux (arm64)
This means I am unable to build or test any snap file.
description: | updated |
To post a comment you must log in.
Interesting. We have some outstanding work to time out early and provide logs when snapcraft gets stuck launching an instance (https:/ /github. com/canonical/ craft-providers /issues/ 146).
The hardware part is interesting. This could be a LXD or Multipass issue on this hardware. If you're building a core22 snap, I'd like to see the output of `snapcraft --verbosity=trace`.
I also wonder if you have the same behavior with Multipass and LXD. You can change between the two with `snap set snapcraft provider=lxd` (or multipass).