Parallel installation of snapcraft not passed to LXD instance
Metadata
Current evaluation
Parallel-installed (signed) snapcraft was not passed to the LXD build instance. Fixed by merged PR #5085 and backported via #5087 to hotfix/7.5, shipped in 7.5.7; also tracks upstream craft-application#411.
Resolution: closed resolved
Reason: Maintainer @mr-cal closed the issue on 2024-10-04 stating "Fixed via #5085 and #5087"; PR #5085 ("fix: allow parallel installations of signed snapcraft snaps") was merged and #5087 backported it to hotfix/7.5, resolving both #4927 and the related #4683.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Parallel-installed (signed) snapcraft was not passed to the LXD build instance. Fixed by merged PR #5085 and backported via #5087 to hotfix/7.5, shipped in 7.5.7; also tracks upstream craft-application#411. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by PR #5085 and its 7.5 backport #5087, allowing parallel Snapcraft installs to be passed into managed LXD instances instead of using stable Snapcraft. | |
| qwen/qwen3.6-35b-a3b | — | — | Parallel snapcraft installations were not passed to LXD instances, causing version mismatches. Resolved via pull requests #5085 and #5087, addressing upstream craft-application bug #411. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed via PRs #5085 and #5087. Parallel snapcraft installations are now correctly passed to LXD managed instances, resolving the extension loading failure. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed via PRs #5085 and #5087. Parallel snapcraft installations are now correctly passed to LXD instances, resolving the reported build failure. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed via PRs #5085 and #5087. Parallel snapcraft installations are now correctly passed to LXD managed instances, resolving the version mismatch during builds. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#5085
(confidence 95%)
Merged PR that fixes parallel installation of signed snapcraft snaps; cited by the closing comment.
-
Likely Fixed By:
canonical/snapcraft#5087
(confidence 90%)
Backport of the same fix to hotfix/7.5, released in 7.5.7.
-
Duplicate Of:
canonical/snapcraft#4683
(confidence 80%)
Issue #4927 was described as related to #4683, which was closed by the same PRs.
-
Blocked By:
canonical/craft-application#411
(confidence 60%)
Upstream bug reported by the maintainer where the LXD instance launch used the wrong snapcraft channel/version.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1985409 snapcraft-managed lxd containers do not respect parallel installs | snapcraft (launchpad) | closed | Reported 2022 that parallel-installed snapcraft instances (e.g. snapcraft_7) launch the unsuffixed host snapcraft inside their managed LXD build container, causing '--build-for' build failures. Closed in 2026 after PR #5085 and 7.5 backport #5087. | |
| #4683 Cannot use parallel installations of snapcraft if a non-aliased version is not installed | snapcraft | closed | Fixed by merged PR #5085 (main) and backported via #5087 to hotfix/7.5 (7.5.7); craft-providers now inject the aliased snapcraft snap correctly. Upstream bug tracked in craft-application#411. | |
| #1997874 SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT doesn't seem to be passed through to lxd container | snapcraft (launchpad) | closed | SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT was not forwarded into the LXD/Multipass build instance. Fixed by merged PR snapcore/snapcraft#3997 (commit 31a3990c8, 'providers: pass SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT to instance'), released in snapcraft 7.3. | |
| #5085 fix: allow parallel installations of signed snapcraft snaps | snapcraft | merged | Merged PR #5085 fixed parallel installation of signed Snapcraft snaps, resolving #4683 and #4927; #5087 backported the fix to hotfix/7.5. | |
| #5087 fix: allow parallel installations of signed snapcraft snaps (7.5) | snapcraft | merged | Merged into hotfix/7.5 and released in 7.5.7, fixing parallel installs of signed or store-installed Snapcraft; resolves #4683 and #4927. | |
| #411 Support snap parallel installs | craft-application | closed | Parallel-installed snap injection was fixed by PR #467 (commit 77a3582b); #411 was closed as fixed, with a separate craft-providers gap noted. | |
| #5420 Snapcraft 7 fails to launch a LXD container based on host apt sources entries | snapcraft | closed | Closed as a duplicate of canonical/snapcraft#4408; no separate fix was made for this report. |