← Back to issue list

tests: bump lxd to 5.11 in spread tests

View original Github issue

Metadata

Project
rockcraft
Number
#202
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged update to bump LXD in spread tests to 5.11, resolving installation failures caused by the unlisted 5.9 snap channel.

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 Updated spread tests to use LXD from 5.21/candidate, resolving main branch breakage from overlay filesystem mounting regressions. Establishes a stable testing baseline against LTS regressions. Merged after approval and passing CI.
84%
#2983 tests: add LXD spread test snapcraft merged Merged after reviewer approval and passing CI checks. Added LXD spread test to verify LXD builds and installs. Modified two files with 29 added lines.
81%
#302 test(spread): switch to testing in destructive mode imagecraft merged Switched spread tests to destructive mode and merged. This addresses an upcoming losetup requirement that temporarily breaks the LXD backend. Approved by two reviewers with passing CI checks.
75%
#5856 fix(spread): pack with lxd for core20 base tests snapcraft merged Merged after two approvals. Updates spread tests to pack with LXD for core20 base tests. CI passed with one non-blocking schema diff failure. Related core20 and snapd test failures were resolved in separate PRs.
75%
#1155 test(spread): add Ubuntu 26.04/26.10 support to spread backends craft-application merged Merged. Adds Ubuntu 26.04/26.10 to spread backends, updates distro-support, removes disabled lxd backend, adjusts fixtures, and skips a clock-rollback check on newer systemd. Approved and passed CI.
74%
#2631 spread tests: enable LXD build provider tests snapcraft merged Merged into master. Enabled LXD build provider tests by relocating setup to the early prepare phase to reduce overhead and consolidating declarations from task.yaml to spread.yaml. Approved, passed CI, and increased coverage by 0.01%.
74%
#269 tests: add initial spread testing fetch-service merged Merged following approval by three reviewers. Adds initial spread testing infrastructure across 13 files, resolving issue #226. Validation confirms all 10 test tasks passed successfully on Ubuntu 20.04 and 22.04 LXD environments.
74%
#2937 spread tests: do not attempt to remove snapd snap snapcraft merged Merged a one-line fix to prevent spread tests from removing the snapd snap in LXD environments, resolving test failures caused by snapd's protected status. Approved by one reviewer with passing CI checks.
74%
#3120 spread: only run in LXD with the google/multipass provider for repo snapcraft merged Merged changes restricting spread tests to LXD with the google/multipass provider for the repo. Switched autopkgtest to destructive mode to bypass dirmngr failures until the environment is verified. Approved and passed CI.
73%
#3957 tests: retry installing lxd snap snapcraft merged Merged into main. Introduces retry logic for LXD snap installation in tests via snapd-testing-tools to workaround an intermittent snapd bug. Approved, passed CI, and caused no coverage changes.
73%