← Back to issue list

.travis.yml needs to catch up with lxd's latest output

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1549880
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Updated Travis CI's LXC readiness check to match newer LXD output, searching for “inet” instead of “IPV4”; fixed by merged PR #340.

Resolution: closed resolved

Reason: PR ubuntu-core/snapcraft#340 changed .travis.yml to wait for eth0 lines containing “inet” rather than “IPV4”. The fix landed as commit 1a5550fe3 and was merged in 3ce4fdd8e.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Instead of while ! sudo lxc info xenial | grep -q eth0.*IPV4; do sleep 5s; done we need while ! sudo lxc info xenial | grep -q eth0.*inet; do sleep 5s; done

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Updated Travis CI's LXC readiness check to match newer LXD output, searching for “inet” instead of “IPV4”; fixed by merged PR #340.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #340 (commit 1a5550fe3, merge 3ce4fdd8e) updating .travis.yml's lxc network wait to grep for 'inet' instead of 'IPV4', fixing LP #1549880.
stealth/space-bunny-alpha — closed resolved Fixed in snapcraft#340: commit 1a5550fe3 updated the Travis LXD readiness check from IPV4 to inet, matching newer LXD output.
qwen/qwen3.6-35b-a3b — — Closed after fixing the Travis CI configuration to align with LXD's updated output format by updating the grep pattern from IPV4 to inet.
qwen/qwen3.6-35b-a3b — — Fixed by updating .travis.yml to grep for inet instead of IPV4 when checking LXD container readiness.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The suggested CI grep pattern update was abandoned or superseded by infrastructure changes, given the issue's age and lack of maintainer action.
qwen/qwen3.6-35b-a3b — — Closed without a direct fix or merge noted. The Travis CI grep pattern update for LXD compatibility was likely abandoned or resolved upstream.
qwen3.6-35b-a3b-mtp-q6 — — Resolved by updating .travis.yml to match LXD's output format change, replacing the IPV4 grep pattern with inet.

Update history

Date Change
created

Related work

Related issues

Issue Project State Summary Similarity
#2149 travis: use LXD from 3.0 track snapcraft merged Merged PR #2149 via commit 0b84e215c, moving Travis to LXD's 3.0 track and removing obsolete testbr0 setup after LXD networking changes broke CI.
75%
#340 travis: update the command to wait for the network snapcraft merged Merged in canonical/snapcraft#340 via commit 1a5550fe3 (merge 3ce4fdd8e), updating Travis network detection from IPV4 to inet and resolving LP #1549880.
71%