← Back to issue list

craft-providers error: Timed out waiting for networking to be ready.

View original Github issue

Metadata

Project
craft-providers
Number
#714
Type
issue
State
open
Author
nteodosio
Labels
Type: Bug
Created
Updated
Closed
—

Current evaluation

Open Type: Bug report: Snapcraft 8.5.1 LXD builds time out while getent checks DNS for snapcraft.io; host/network context and a part YAML are missing, leaving the root cause unknown.

Suggested action: needs triage

Reason: Although labeled Type: Bug, the report has no maintainer response or assignment and provides no part YAML, host/LXD network configuration, or diagnosis beyond the getent timeout. The current _setup_wait_for_network implementation still performs the same DNS-only check, but the evidence cannot distinguish a provider defect from host DNS, proxy, firewall, or outage conditions.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 8 Complexity: 64 Confidence: 82 Actionability: 45

Issue body

### Bug Description [Reported against Snapcraft too.](https://bugs.launchpad.net/snapcraft/+bug/2093417) Snapcraft 8.5.1, executed with 'snapcraft --debug --verbosity=trace --use-lxd', refuses to build snap. As per the [log]([snapcraft-20250110-124055.440505.log](https://github.com/user-attachments/files/18376384/snapcraft-20250110-124055.440505.log)), seems to try the same thing multiple times and then give up. ### To Reproduce snapcraft --debug --verbosity=trace --use-lxd ### part yaml _No response_ ### Relevant log output ```shell 2025-01-10 12:42:26.158 Set instance timer to '2025-01-10T11:42:26.036400+00:00' 2025-01-10 12:42:26.355 Executing in container: lxc --project snapcraft exec local:base-instance-snapcraft-buildd-base-v71--d799df4d4588b4abe861 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical getent hosts snapcraft.io 2025-01-10 12:42:26.384 craft-providers error: Timed out waiting for networking to be ready. ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 8
Complexity: 64
Confidence: 82
Actionability: 45
needs triage Open Type: Bug report: Snapcraft 8.5.1 LXD builds time out while getent checks DNS for snapcraft.io; host/network context and a part YAML are missing, leaving the root cause unknown.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 10
Complexity: 68
Confidence: 89
Actionability: 57
needs triage Open bug: Snapcraft 8.5.1 with --use-lxd times out while checking networking with getent hosts snapcraft.io; the report lacks host and network diagnostics.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 30
Staleness: 85
Complexity: 40
Confidence: 60
Support Request: 20
needs triage craft-providers times out waiting for networking in LXD container during snap builds. Open 602 days with no maintainer response, labels, or comments.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 70
Confidence: 85
Support Request: 10
needs triage Bug report: craft-providers times out waiting for networking in LXD container during snap build. Reported with log output, no maintainer response yet.
qwen3.6-35b-a3b-mtp-q6
Staleness: 88
Complexity: 45
Confidence: 80
Support Request: 25
needs triage Reports craft-providers timing out waiting for container networking during LXD-based snap builds. Open for over a year with no maintainer response or detailed reproduction steps.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#2093417 (confidence 100%)

    The report explicitly links this Launchpad bug as the same failure observed against Snapcraft.

Related issues

Issue Project State Summary Similarity
#2093417 craft-providers error: Timed out waiting for networking to be ready. snapcraft (launchpad) open Snapcraft 8.5.1 with --use-lxd fails with 'craft-providers error: Timed out waiting for networking to be ready' during the getent hosts readiness check. Same report filed upstream as craft-providers#714; untriaged here, no maintainer response.
91%
#4412 Network check runs forever snapcraft closed Infinite getent/LXD network retries were fixed by a timeout shipped in Snapcraft 7.5.4; #4443 documents the related ARM64 hang and craft-providers added troubleshooting.
70%