← Back to issue list

concurrent snapcraft builds with multipass provider

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1947914
Type
issue
State
open
Author
~geekorous
Labels
—
Created
Updated
Closed
—

Current evaluation

Snapcraft 5/Core 18 Multipass builds reportedly shared 10.30.202.6 and terminated silently; the old report has no maintainer assessment and needs triage against current versions.

Suggested action: needs triage

Reason: The report has no labels, comments, assignee, or maintainer response, so it has not been assessed. It provides affected OS versions and a concrete duplicate-IP listing, but lacks build commands and diagnostic logs; current Snapcraft delegates Multipass support to craft-providers, and no resolving commit or PR was identified.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 10 Complexity: 64 Confidence: 82 Actionability: 55

Issue body

When I try to build multiple snaps concurrently using the multipass provider, all the instances are assigned the same IPv4 address and hence all the builds are abruptly stopped without giving any useful information to debug. The output for the multipass list command looks like this: Name State IPv4 Image snapcraft-my-snap Running 10.30.202.6 Ubuntu Snapcraft builder for Core 18 snapcraft-testing Running 10.30.202.6 Ubuntu Snapcraft builder for Core 18 This behavior is unexpected and limits the capability of snapcraft for parallel builds on powerful machines. The issue is observed on both Ubuntu 18.04 and Ubuntu 20.04, with the snapcraft version 5.0 and multipass version 1.7.1.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 10
Complexity: 64
Confidence: 82
Actionability: 55
needs triage Snapcraft 5/Core 18 Multipass builds reportedly shared 10.30.202.6 and terminated silently; the old report has no maintainer assessment and needs triage against current versions.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 10
Complexity: 62
Confidence: 80
Actionability: 58
needs triage Snapcraft 5 Multipass builds on Ubuntu 18.04/20.04 share 10.30.202.6 and terminate without diagnostics; 1,799 days later the report remains uncommented and unassessed.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 14
Staleness: 95
Complexity: 55
Confidence: 60
Support Request: 10
close stale Concurrent snapcraft builds with the multipass provider assign all instances the same IPv4, aborting builds with no debug info. No labels, comments, or maintainer activity in ~4.8 years; targets snapcraft 5.0 on EOL Ubuntu 18.04/20.04.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Duplicate IPv4 addresses assigned to concurrent multipass instances during snapcraft builds, causing failures. Untriaged, inactive for over 4 years, and references obsolete software versions.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 10
close stale Concurrent snapcraft builds using the multipass provider assign duplicate IPv4 addresses to instances, causing build failures. Unlabelled, no maintainer interaction, inactive for ~4.7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 10
close stale Concurrent snapcraft builds using multipass assign duplicate IPv4 addresses to instances, causing failures. Issue is 4.7 years old, unlabelled, and has no maintainer interaction.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1996511 snapcraft try with multipass provider crashes snapcraft (launchpad) closed Snapcraft try with Multipass and core22 was fixed by snapcore/snapcraft#3981 (commit 2691262b8) and shipped in Snapcraft 7.3.
77%
#1975468 Snapcraft build fails, because multipass cannot download cloudimg snapcraft (launchpad) closed Snapcraft core20 builds were disrupted by Multipass cloud-image download failures; Launchpad closed the report without documenting a fix, resolving PR, commit, or follow-up.
75%
#5145 snapcraft fails to launch multipass instance when multipass isn't pre-installed snapcraft open Snapcraft emits cryptic 'Remote "snapcraft" is unknown or unreachable / exit code 2' when Multipass can't launch the build instance; maintainer traced it to image-server unavailability or non-amd64 hosts, fix tracked in craft-providers#211
74%
#4106 Error 2 on snapcraft on linux with multipass: snapcraft closed Multipass's Snapcraft image remote recovered; CI and the reporter succeeded again, and the reporter closed the report as solved without a Snapcraft code change.
74%
#2293 build providers: use the new snapcraft: remote for multipass snapcraft merged Merged PR #2293 as commit 66060e839, switching Multipass builds to the snapcraft: remote and delegating unsupported-base errors to Multipass.
73%
#1806083 snapcraft fails to locate multipass (inside a multipass session) snapcraft (launchpad) open Snapcraft 3.0.1 falsely reported Multipass missing inside a Multipass guest; Darwin-only detection in e9ae8d29f addressed the old path, but the Launchpad record remains open.
73%
#1807125 After snapcraft refresh, old multipass containers no longer work snapcraft (launchpad) open Snapcraft 3.0.1 could reuse incompatible Multipass VMs after a 3.0.0 refresh, causing a misleading missing-project error until snapcraft clean; the report is untriaged.
73%
#1810915 snapcraft can't tell when multipass is installed but disabled snapcraft (launchpad) open Snapcraft misclassified an installed but disabled Multipass snap as missing, prompting installation before failing. The 2018 report remains untriaged, and its behavior needs validation against the current provider architecture.
73%
#1866300 snapcraft fails to build core20 snap snapcraft (launchpad) closed Closed without a documented fix after core20 Multipass/LXD failures; core20 build-base support was unavailable and the workaround was destructive mode.
73%
#2258 build providers: snapcraft images for multipass snapcraft merged Merged PR #2258 as commit 5ffefbf96, adding Snapcraft build images for Multipass and a Darwin launch workaround for LP #1791821.
73%