Snapcraft tutorial errors out on OSX with multipass error, "returned exit code 2"
Metadata
Current evaluation
Dec 2019 report: snapcraft 3.9 on macOS fails via multipass (apt 404s, mount exit code 2) and crashes with AttributeError on os.sched_getaffinity. No maintainer activity; that code path no longer exists in current snapcraft, and macOS support was dropped.
Suggested action: close stale
Reason: The issue is 6.7 years old with 0 comments, no labels, and no maintainer engagement, and it is no longer applicable: the traceback's os.sched_getaffinity call in _project_options.py no longer appears anywhere in the current codebase (only parallel_build_count/SNAPCRAFT_PARALLEL_BUILD_COUNT remain), and the current snapcraft 8.x layout is Linux-only, so the macOS/multipass scenario cannot be reproduced. The apt 404s were an EOL/transient mirror issue and the mount failure was a multipass environment problem, not a snapcraft defect.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
25
Quick Win:
16.25
Staleness:
95
Complexity:
35
Confidence:
70
Support Request:
45
|
close stale | Dec 2019 report: snapcraft 3.9 on macOS fails via multipass (apt 404s, mount exit code 2) and crashes with AttributeError on os.sched_getaffinity. No maintainer activity; that code path no longer exists in current snapcraft, and macOS support was dropped. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
25
Confidence:
92
Support Request:
65
|
close stale | Snapcraft tutorial fails on macOS due to multipass errors, EOL Ubuntu Bionic repos, and a Python 3.7 macOS compatibility issue. Issue is over 6 years old with no maintainer interaction. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
25
Confidence:
95
Support Request:
30
|
close stale | Snapcraft tutorial fails on macOS due to Multipass VM errors, outdated Ubuntu Bionic repositories, and Python 3.7 compatibility issues. No activity for over 6 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
15
Confidence:
95
Support Request:
30
|
close stale | Reported snapcraft and multipass failures on macOS with Ubuntu 18.04 (bionic) repositories and Python compatibility errors. Issue is over 6 years old with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
20
Confidence:
90
Support Request:
85
|
close stale | Snapcraft tutorial fails on macOS with multipass returning exit code 2, triggering apt update and mount errors. Open issue with zero comments and no labels, awaiting triage and assignment. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1904774
(confidence 55%)
Similar closed Launchpad bug about snapcraft failing during multipass setup; same multipass-on-macOS failure family, but a distinct incident.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #1996511 snapcraft try with multipass provider crashes | snapcraft (launchpad) | closed | Closed without resolution. The multipass provider crashed on core22 due to missing base mappings in the legacy codebase. Superseded by newer snapcraft releases that added core22 support. | |
| #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. | |
| #1866251 snapcraft clean on macOS failing, python os.sched_getaffinity does not exist | snapcraft (launchpad) | closed | Closed without discussion. The macOS snapcraft clean failure caused by missing os.sched_getaffinity was likely abandoned or resolved in a later release. | |
| #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. | |
| #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. |