tests: bootstrap spread
Metadata
Current evaluation
Merged changes adding spread test bootstrap configuration. Enables local execution of spread tests on Google Cloud VMs. Approved by one reviewer, passed CI, and introduced 78 lines across four files.
Suggested action: —
No scores available.
Issue body
This is "just enough" spread to run locally considering one has google credentials to run with.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
---
CRAFT-1367
```
$ spread google:
2022-09-13 19:22:51 Project content is packed for delivery (100.22MB).
2022-09-13 19:22:51 If killed, discard servers with: spread -reuse-pid=662378 -discard
2022-09-13 19:22:51 Allocating google:fedora-35-64...
2022-09-13 19:22:51 Allocating google:ubuntu-22.04-64...
2022-09-13 19:22:51 Allocating google:ubuntu-20.04-64...
2022-09-13 19:22:51 Allocating google:ubuntu-18.04-64...
2022-09-13 19:23:00 Waiting for google:fedora-35-64 (sep132222-895658) to boot at 34.139.76.162...
2022-09-13 19:23:01 Waiting for google:ubuntu-22.04-64 (sep132222-895807) to boot at 34.148.61.82...
2022-09-13 19:23:02 Waiting for google:ubuntu-20.04-64 (sep132222-895898) to boot at 35.237.46.168...
2022-09-13 19:23:04 Waiting for google:ubuntu-18.04-64 (sep132222-895914) to boot at 35.227.120.168...
2022-09-13 19:23:38 Allocated google:fedora-35-64 (sep132222-895658).
2022-09-13 19:23:38 Connecting to google:fedora-35-64 (sep132222-895658)...
2022-09-13 19:23:39 Connected to google:fedora-35-64 (sep132222-895658) at 34.139.76.162.
2022-09-13 19:23:39 Sending project content to google:fedora-35-64 (sep132222-895658)...
2022-09-13 19:23:43 Allocated google:ubuntu-22.04-64 (sep132222-895807).
2022-09-13 19:23:43 Connecting to google:ubuntu-22.04-64 (sep132222-895807)...
2022-09-13 19:23:45 Connected to google:ubuntu-22.04-64 (sep132222-895807) at 34.148.61.82.
2022-09-13 19:23:45 Sending project content to google:ubuntu-22.04-64 (sep132222-895807)...
2022-09-13 19:23:50 Preparing google:fedora-35-64 (sep132222-895658)...
2022-09-13 19:23:50 Allocated google:ubuntu-20.04-64 (sep132222-895898).
2022-09-13 19:23:50 Connecting to google:ubuntu-20.04-64 (sep132222-895898)...
2022-09-13 19:23:51 Allocated google:ubuntu-18.04-64 (sep132222-895914).
2022-09-13 19:23:51 Connecting to google:ubuntu-18.04-64 (sep132222-895914)...
2022-09-13 19:23:51 Connected to google:ubuntu-20.04-64 (sep132222-895898) at 35.237.46.168.
2022-09-13 19:23:51 Sending project content to google:ubuntu-20.04-64 (sep132222-895898)...
2022-09-13 19:23:52 Connected to google:ubuntu-18.04-64 (sep132222-895914) at 35.227.120.168.
2022-09-13 19:23:52 Sending project content to google:ubuntu-18.04-64 (sep132222-895914)...
2022-09-13 19:24:03 Preparing google:ubuntu-20.04-64 (sep132222-895898)...
2022-09-13 19:24:05 Preparing google:ubuntu-18.04-64 (sep132222-895914)...
2022-09-13 19:24:47 Executing google:ubuntu-20.04-64:tests/spread/commands/version (sep132222-895898) (1/4)...
2022-09-13 19:24:50 Executing google:ubuntu-18.04-64:tests/spread/commands/version (sep132222-895914) (2/4)...
2022-09-13 19:24:50 Discarding google:ubuntu-20.04-64 (sep132222-895898)...
2022-09-13 19:24:52 Discarding google:ubuntu-18.04-64 (sep132222-895914)...
2022-09-13 19:25:52 Preparing google:ubuntu-22.04-64 (sep132222-895807)...
2022-09-13 19:25:57 Executing google:fedora-35-64:tests/spread/commands/version (sep132222-895658) (3/4)...
2022-09-13 19:26:00 Discarding google:fedora-35-64 (sep132222-895658)...
2022-09-13 19:26:33 Executing google:ubuntu-22.04-64:tests/spread/commands/version (sep132222-895807) (4/4)...
2022-09-13 19:26:36 Discarding google:ubuntu-22.04-64 (sep132222-895807)...
2022-09-13 19:26:37 Successful tasks: 4
2022-09-13 19:26:37 Aborted tasks: 0
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes adding spread test bootstrap configuration. Enables local execution of spread tests on Google Cloud VMs. Approved by one reviewer, passed CI, and introduced 78 lines across four files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged minimal spread configuration enabling local test execution on Google Cloud. The update provisions and runs spread tests across Ubuntu 18.04, 20.04, 22.04, and Fedora 35 instances, validating the bootstrap setup for development workflows. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged minimal spread test configuration enabling local execution on Google Cloud. Successfully bootstrapped and validated tests across Fedora 35 and multiple Ubuntu versions. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1279 test(spread): migrate from google to openstack | rockcraft | merged | Merged migration of spread tests from Google to OpenStack. Approved by two reviewers. CI checks for source-spread-tests and docs-spread-tests failed due to offline runners, with remaining proxy-related failures deferred for piecemeal fixes. | |
| #3020 spread tests: default base for local plugin tests | snapcraft | merged | Merged updates to spread tests establishing a default base for local plugin tests. The change follows a prior commit pattern, adding two lines across two files. Approved by one reviewer and passed CI checks. | |
| #1287 tests: minor cleanups on the spread tests | snapcraft | merged | Merged minor spread test cleanups into master. Modified four files with 16 additions and 6 deletions. Approved by one reviewer with zero unresolved comments, maintaining 95.27% coverage upon integration. | |
| #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). | |
| #2367 tests: add spread test exercising multipass build VMs | snapcraft | merged | Merged. Implemented spread tests for multipass build VMs and migrated amd64 Xenial and Bionic tests to GCE with nested KVM, resolving LP: #1798682. Approved by one reviewer with passing CI checks across seven files. | |
| #4433 tests(spread): add remote-build spread test | snapcraft | merged | Merged changes adding spread tests for new and legacy remote-build, resolving issue #4398. Approved by two reviewers with passing CI checks. | |
| #62 spread: add a "big" spread test | rockcraft | merged | Merged a reusable spread test framework to house multiple checks without repeated setup. The initial test validates bug #44 regarding directory permissions. Approved by one reviewer and passed CI checks. | |
| #16 tests: add spread support | rockcraft | merged | Merged after approval and passing CI, adding spread support to tests per CRAFT-865. | |
| #3090 ci: move staging store tests to spread | snapcraft | merged | Merged into master. The change migrated staging store tests to the spread testing framework, removing 1434 lines across 27 files. Approved by two reviewers, passed CI, and achieved 100% diff coverage prior to integration. | |
| #2525 test(spread): enable Ubuntu 25.10 and 26.04 spread runners | charmcraft | merged | Merged after two approvals. Enables Ubuntu 25.10 and 26.04 spread runners, fixing issue #2480. Updates one file (+10/-9 lines). CI passed for relevant targets; legacy test failures and type-check warnings were non-blocking. |