tests: bump lxd to 5.11 in spread tests
Metadata
Current evaluation
Merged #202 (32368d64), keeping LXD 5.9 in spread tests by installing latest/stable first, then refreshing to the now-unlisted 5.9 channel.
Resolution: closed resolved
Reason: The merged change adopted the successful workaround from the PR: install LXD from latest/stable, then refresh it to 5.9/stable. Commit 32368d64 records the resolution from PR #202.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
The spread tests are failing to install lxd 5.9.
The snap channel for lxd 5.9 is now unlisted and can't be directly installed. I filed a bug report https://bugs.launchpad.net/snapstore-server/+bug/2008114
#### Option 1
Follow latest.
```bash
snap install lxd --channel=latest/stable
```
:x: fails
#### Option 2
Pin to another release.
```bash
snap install lxd --channel=5.10/stable # or 5.11/candidate
```
:x: [Error from 5.10/stable](https://github.com/canonical/rockcraft/actions/runs/4245088818/jobs/7380328437).
:x: [Error from 5.11/candidate](https://github.com/canonical/rockcraft/actions/runs/4245574447/jobs/7381414281).
#### Option 3
Workaround to stay on 5.9
```bash
snap install lxd --channel=latest/stable
snap refresh lxd --channel=5.9/stable
```
:heavy_check_mark: succeeds
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #202 (32368d64), keeping LXD 5.9 in spread tests by installing latest/stable first, then refreshing to the now-unlisted 5.9 channel. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #202 (commit 32368d64) updated spread tests from the unlisted LXD 5.9 snap channel to LXD 5.11. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #202 (32368d64), updating spread tests from LXD 5.9 to 5.11 after the 5.9 snap channel became unlisted. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged a maintainer-authored test update to use LXD 5.11 in spread tests after the unlisted 5.9 release prevented direct installation. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged update bumping LXD in spread tests to 5.11, resolving installation failures from the unlisted 5.9 snap channel. Approved by two reviewers and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged PR bumping spread tests to LXD 5.11, resolving installation failures caused by the unlisted 5.9 snap channel and fixing the test environment setup. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #694 tests(spread): use LXD from `5.21/candidate` | rockcraft | merged | Merged PR #694 in commit 90bc9b34, pinning spread tests to LXD 5.21/candidate to restore main and strengthen LTS regression coverage. | |
| #2983 tests: add LXD spread test | snapcraft | merged | Merged PR #2983 as 4b8522a14, adding spread coverage that builds the LXD package with LXD and destructive/host providers; installation checks were deferred. | |
| #467 test(spread): use LXD provider for spread tests | imagecraft | closed | PR closed without merge; spread LXD provider changes were implemented across follow-up PRs (#483, #485, #486, #487, #488, #495) | |
| #5856 fix(spread): pack with lxd for core20 base tests | snapcraft | merged | Merged PR #5856 (commit 66b9ae9f4) updated Spread core20-base tests to pack with LXD. | |
| #2631 spread tests: enable LXD build provider tests | snapcraft | merged | Merged PR #2631 enabled LXD build-provider spread tests and reused early-prepared LXD setup, reducing repeated setup and image-download overhead. | |
| #269 tests: add initial spread testing | fetch-service | merged | Merged PR #269 (commit 8fe0091) added initial Spread integration tests to fetch-service: spread.yaml plus snap-config, basic-inspection, update-config and upgrade-revert suites; all 10 lxd-vm tasks passed, resolving #226. | |
| #302 test(spread): switch to testing in destructive mode | imagecraft | merged | Merged PR #302 as commit f6aae5e, switching spread tests to destructive mode while LXD lacks required loop-device support. | |
| #1133 test(spread): make LXD refresh in prepare more reliable | craft-application | closed | Closed unmerged; its LXD auto-refresh race fix was superseded by merged PR #1170 (commit fea3e835), which waits for active snap refreshes during spread prepare. | |
| #262 tests: install docker after lxd | rockcraft | merged | Merged PR #262 as 64c5c01b, changing spread-test setup to install Docker after LXD and avoid order-dependent failures. | |
| #2682 tests: change default spread provider to lxd outside of travis | snapcraft | merged | Merged PR #2682 (commit 8b41444a3) refactored runtests.sh, defaulted Spread to LXD outside Travis, and configured Travis to use google:. |