← Back to issue list

core22 build just hangs if lxd has no network connectivity

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1979269
Type
issue
State
open
Author
~peterpall
Labels
Created
Updated
Closed

Current evaluation

Snapcraft core22 build hangs indefinitely at 'launching instance' when LXD has no network connectivity; reporter asks for better error feedback. Open ~4.2 years with no labels, comments, or maintainer interaction.

Suggested action: close stale

Reason: The issue has had zero comments, no labels, and no maintainer interaction for 1533 days, and the same hang symptom (waiting on LXD container networking) was triaged in canonical/snapcraft#4443 where a maintainer identified the root cause and linked an infinite-loop fix in snapcraft 7.5.4, indicating the underlying hang behavior was addressed in later releases. The original core22-era report is therefore likely no longer reproducible on current versions, though I could not verify the code directly (repo pinned SHA unavailable), which limits confidence.

Impact: 30 Quick Win: 18.0 Staleness: 92 Complexity: 40 Confidence: 55 Support Request: 45

Issue body

My computer has no eth0 interface which is why lxd has no network connectivity. The result is that a snapcraft build hangs forever without giving the user a hint what has happened ("launching instance... 30042s"). Perhaps more feedback should be given in that case.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18.0
Staleness: 92
Complexity: 40
Confidence: 55
Support Request: 45
close stale Snapcraft core22 build hangs indefinitely at 'launching instance' when LXD has no network connectivity; reporter asks for better error feedback. Open ~4.2 years with no labels, comments, or maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 10
close stale Reports snapcraft builds hanging indefinitely when LXD lacks network connectivity, requesting better error feedback. Open for over four years with zero comments or maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 10
needs triage snapcraft build hangs indefinitely when LXD lacks network connectivity, with no user feedback. Unlabelled, inactive for ~4 years, awaiting maintainer triage.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 80
Support Request: 10
close stale Snapcraft build hangs indefinitely when LXD lacks network connectivity, requesting better user feedback. Unlabelled, zero comments, inactive for 4 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale Unaddressed report from 4 years ago requesting better error feedback when snapcraft builds hang due to LXD lacking network connectivity. No maintainer interaction or community discussion.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#4443 (confidence 70%)

    Same hang symptom (stuck waiting for LXD container networking); maintainer identified the cause and linked an infinite-loop fix in snapcraft 7.5.4, suggesting this issue's core complaint was addressed in a later release.

Related issues

Issue Project State Summary Similarity
#1996508 snapcraft try with core22 doesn't support lxd snapcraft (launchpad) closed Closed without resolution. The snapcraft try --use-lxd command fails with core22 bases due to an LXD provider limitation. No fix was implemented, and the report was abandoned after extended inactivity.
75%
#1984172 snapcraft and core22 with experimental extensions doesn't offer to configure lxd snapcraft (launchpad) closed Closed without comments or resolution, likely abandoned. The report detailed snapcraft hanging when using core22 with experimental extensions without LXD installed. No fix or merge details provided.
75%
#1866300 snapcraft fails to build core20 snap snapcraft (launchpad) closed Closed without comments or resolution after 74 days. The core20 build failure involving multipass hangs and LXD tracebacks was abandoned.
72%
#4960 Can't build Core20 snaps on non-snap distros snapcraft open Core20 snap builds fail on non-snap distros (NixOS) due to LXD snap detection. Triaged with a proposed backport fix, but core20 support and snapcraft_legacy have since been removed from the project, making the issue no longer applicable.
70%