← Back to issue list

tests: add LXD spread test

View original Github issue

Metadata

Project
snapcraft
Number
#2983
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Test that LXD builds fine and installs. Instrumenting the installation comes later. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] 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/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? ----- 2020-03-17 18:00:05 Restoring multipass:ubuntu-18.04-64:tests/spread/snaps/lxd:destructive... 2020-03-17 18:00:55 Discarding multipass:ubuntu-18.04-64... 2020-03-17 18:01:31 Successful tasks: 2 2020-03-17 18:01:31 Aborted tasks: 0

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged to add an LXD spread test verifying LXD builds and installs. Continuous integration passed with two successful tasks and zero aborts.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds an LXD spread test to verify LXD builds and installs. CI validation passed with two successful tasks and zero aborted tasks.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
84%
#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%.
83%
#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.
81%
#202 tests: bump lxd to 5.11 in spread tests rockcraft merged 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.
81%
#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.
81%
#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.
79%
#2682 tests: change default spread provider to lxd outside of travis snapcraft merged Merged after approval and CI. Refactored runtests script for clarity and updated Travis config to use google spread provider, removing legacy code and simplifying non-Travis test execution.
79%
#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.
77%
#2978 tests: add microk8s spread test snapcraft merged Merged after single reviewer approval and passing CI. Adds a spread test to verify microk8s builds and installs correctly, deferring instrumentation to a future update. Changes affect 2 files (+35/-0 lines).
77%
#1133 test(spread): make LXD refresh in prepare more reliable craft-application open Retry only the known LXD auto-refresh transient error in spread prepare to avoid hard failures. Has 1 unresolved review comment, 49 days of inactivity, and failing CI checks.
77%