tests: change default spread provider to lxd outside of travis
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Minor refactoring and cleanup for runtests script to make it easier
to follow and remove some of the cruft.
Modify travis config to specify google: for spread.
Signed-off-by: Chris Patterson <chris.patterson@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`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged refactoring of the runtests script and updated Travis config to set google as the default spread provider outside Travis. Code coverage upload failed, but changes were successfully integrated. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Refactored runtests script and updated Travis config to use google spread provider. Default spread provider outside Travis changed to lxd. Codecov noted a missing base commit warning, but changes were integrated. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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%. | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #2301 tests: move most tests to spread and reorder travis.yaml | snapcraft | merged | Merged changes migrating most Python tests to spread instances while retaining store tests. Optimized Travis CI ordering for faster execution. Approved, passed checks, and merged with no coverage impact. | |
| #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. | |
| #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. | |
| #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. | |
| #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. |