travis: use LXD from 3.0 track
Metadata
Current evaluation
Merged Travis CI configuration update switching to the LXD 3.0 track and removing the obsolete testbr0 setup. This resolves build failures caused by recent LXD networking changes. Approved by reviewer and passed CI checks.
Suggested action: —
No scores available.
Issue body
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh unit`?
-----
An update to LXD was recently released that changes some of the networking stuff done by `init` such that Travis broke on us. Even though this breakage also effects 3.0, we should be using LXD 3.0 in CI so we don't get other random breakage. Also, stop setting up testbr0, which broke and doesn't seem to be necessary anymore.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged Travis CI configuration update switching to the LXD 3.0 track and removing the obsolete testbr0 setup. This resolves build failures caused by recent LXD networking changes. Approved by reviewer and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updated Travis CI to use the LXD 3.0 track, resolving breakage caused by recent LXD networking changes, and removed the obsolete testbr0 setup. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updated Travis CI to use the LXD 3.0 track and removed the testbr0 network setup, resolving CI failures caused by a recent LXD update and preventing future compatibility breakage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2148 travis: stop setting up testbr0 for lxd | snapcraft | closed | Closed and abandoned. The author proposed removing testbr0 setup for LXD 3.1 compatibility but later decided to maintain the LXD 3.0 track instead. | |
| #2557 ci: remove dependency on LXD from travis tests | snapcraft | merged | Merged into master, removing the LXD dependency from Travis CI tests to reduce networking errors. Approved, passed CI checks, and modified two files without impacting code coverage. | |
| #327 Clean up the lxc building in travis | snapcraft | merged | Merged after rebase and approval. The changes cleaned up the LXC build configuration in Travis CI, reducing dependencies. Originally an experiment, the commit was refined and integrated into the codebase. | |
| #1415 tests: run the tests in travis using LXD containers | snapcraft | merged | Merged changes to run Travis CI tests using LXD containers. The update modifies five files, adding 166 lines and removing 12, after receiving reviewer approval. | |
| #1807 tests: run test_cleanbuild in LXD on Travis | snapcraft | merged | Merged following CI errors and reviewer feedback. Adjusted to run test_cleanbuild in LXD on Travis, reverting a problematic commit to isolate the cleanbuild fix. | |
| #1644 lxd: fix the push in container builds | snapcraft | merged | Merged pull request fixing LXD container push builds. Approved by one reviewer, the change refactored test cases for better coverage and updated build logic. Review comments highlighted the need for Travis integration and broader testing beyond unit tests. | |
| #1729040 Travis test setup: address space conflict | snapcraft (launchpad) | closed | Closed without documented resolution. The report detailed a Go runtime address space conflict crashing Travis CI integration tests inside LXD containers. No fix or discussion was recorded, indicating the issue was abandoned or resolved by external infrastructure changes. | |
| #1677 ci: don't install lxd | craft-parts | merged | Merged a CI configuration update removing the unused LXD installation. Approved by three reviewers, the change was integrated despite unrelated test failures stemming from a Launchpad issue. | |
| #1411 tests: build the snapcraft snap in travis tests | snapcraft | merged | Merged after approval. Added Travis CI configuration to build the snapcraft snap, requiring dependency PR #1415. Reviewer recommended validating changes with spread using the lxd backend. |