← Back to issue list

Does not handle multipass instance being deleted

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1806470
Type
issue
State
closed
Author
~ev
Labels
18.10-build-vm
Created
Updated
Closed

Current evaluation

Closed without resolution. Snapcraft stalls when an externally deleted Multipass instance is not purged. No fix was implemented, indicating the issue was abandoned.

Suggested action:

No scores available.

Issue body

Snapcraft gets stuck if the multipass instance has been deleted outside of snapcraft, but not purged: ❯ SNAPCRAFT_BUILD_ENVIRONMENT_CHANNEL_SNAPCRAFT=latest/candidate snapcraft Launching a VM. start failed: instance "snapcraft-surl" is deleted Use 'recover' to recover the deleted instance or 'purge' to permanently delete the instance. stop failed: The following errors occurred: instance "snapcraft-surl" is deleted stop failed: The following errors occurred: instance "snapcraft-surl" is deleted An error occurred when trying to stop the instance with 'multipass': returned exit code 2. Ensure that 'multipass' is setup correctly and try again.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. Snapcraft stalls when an externally deleted Multipass instance is not purged. No fix was implemented, indicating the issue was abandoned.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 85
Support Request: 5
close stale Snapcraft fails to gracefully handle deleted Multipass VM instances, causing build loops and errors. Open for over 7 years with no maintainer interaction or updates.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 85
Support Request: 10
close stale Snapcraft fails to handle deleted Multipass VM instances, causing build hangs with unhandled errors. Issue remains open with no maintainer response or activity for over 7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 85
Support Request: 10
close stale Snapcraft fails to gracefully handle externally deleted Multipass VM instances, causing build hangs. The report is over 7 years old with no maintainer interaction or updates.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale Snapcraft stalls when a Multipass VM is externally deleted but not purged, lacking graceful error handling or recovery. Status remains open with zero comments and over seven years of inactivity, requiring triage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1904774 Snapcraft runs multipass setup but fails snapcraft (launchpad) closed Abandoned. Snapcraft failed during multipass VM cleanup after reporting a missing instance. Closed without comments or fixes.
79%
#1813979 snapcraft cleanbuild wants to install multipass but it's already installed snapcraft (launchpad) closed Closed without resolution. Likely abandoned or superseded by newer snapcraft and multipass versions that resolved the detection and launch failures.
76%
#1791821 multipass should use snapcraft defined environments snapcraft (launchpad) closed Closed without discussion or resolution, indicating the feature request was likely abandoned or superseded. The proposal to align multipass with snapcraft-defined build images received no further action.
74%
#1794955 snapcraft erroneously errors when deleting non-existent multipass container snapcraft (launchpad) open snapcraft clean fails with 'instance does not exist' when the multipass container is already gone; reporter suggests treating it as a no-op. Open since 2018, unlabeled, no maintainer activity for ~7.9 years.
73%
#1803708 Snapcraft should detect being run inside multipass and error snapcraft (launchpad) closed Rejected. Maintainers disagreed, noting users may legitimately run snapcraft inside multipass VMs. The issue was closed without implementation.
73%
#4106 Error 2 on snapcraft on linux with multipass: snapcraft closed Resolved as fixed after a temporary Multipass remote image unavailability cleared. The reporter closed the issue.
72%
#1810915 snapcraft can't tell when multipass is installed but disabled snapcraft (launchpad) open Snapcraft fails to detect a disabled multipass snap, prompting to install it and then erroring out. Reported against multipass 2018.12.1 / ~2019 snapcraft; untriaged, 0 comments, no labels, inactive for ~7.6 years.
72%
#1806083 snapcraft fails to locate multipass (inside a multipass session) snapcraft (launchpad) open snapcraft 3.0.1 fails to detect an installed multipass when run inside a multipass VM, prompting to install and dropping the user into a shell. No maintainer activity for ~7 years; affected version is long obsolete.
72%
#5145 snapcraft fails to launch multipass instance when multipass isn't pre-installed snapcraft open Snapcraft fails to launch a multipass VM with 'Remote snapcraft is unknown or unreachable' when multipass is installed on-demand. Maintainer triaged it as an image-server availability issue and linked craft-providers#211 for better error messaging; still open.
72%
#3381 multipass build provider: check if instance exists before deleting snapcraft merged Merged a Snapcraft fix adding an existence check before deleting Multipass instances, preventing errors when missing. Addresses LP #1904774. Reviewers suggested extra features and warnings, but the core fix was approved and merged.
72%