← 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 PR #2983 as 4b8522a14, adding spread coverage that builds the LXD package with LXD and destructive/host providers; installation checks were deferred.

Resolution: closed resolved

Reason: PR #2983 was merged as commit 4b8522a14. The change verifies successful LXD package builds under both --use-lxd and destructive/host modes.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #2983 as 4b8522a14, adding spread coverage that builds the LXD package with LXD and destructive/host providers; installation checks were deferred.
stealth/space-bunny-alpha — closed resolved Merged #2983 in commit 4b8522a14, adding spread coverage for LXD package builds with LXD and destructive/host providers; installation instrumentation remains deferred.
stealth/space-bunny-alpha — closed resolved Merged PR #2983 in commit 4b8522a14, adding a spread test to verify that LXD builds and installs successfully.
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.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#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)
85%
#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.
84%
#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.
83%
#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.
82%
#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.
82%
#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.
81%
#202 tests: bump lxd to 5.11 in spread tests rockcraft merged Merged #202 (32368d64), keeping LXD 5.9 in spread tests by installing latest/stable first, then refreshing to the now-unlisted 5.9 channel.
80%
#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.
80%
#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:.
79%
#487 test(spread): run the simple pack test in all providers imagecraft merged Merged PR #487 adds variants of the simple pack test to run across LXD, multipass, and host/destructive providers, fixing #480.
78%