tests: bootstrap spread
Metadata
Current evaluation
Merged PR #862, adding a minimal Google-backed Spread setup for local testing; its four-task demonstration completed with no aborts (commit 80f1ec31).
Resolution: closed resolved
Reason: PR #862 was merged into main as commit 80f1ec31 via merge commit 7790c044, adding 78 lines across four files to bootstrap Spread locally.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #862, adding a minimal Google-backed Spread setup for local testing; its four-task demonstration completed with no aborts (commit 80f1ec31). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged the approved bootstrap for Spread tests, adding 78 lines across four files to support local Google-backed runs; the recorded run completed four tasks with no aborts. | |
| 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. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1325 test(spread): consolidate basic init/build tests | charmcraft | merged | Merged PR #1325 as commit 90e25caf, consolidating basic Spread init/build tests for CRAFT-2127 and reducing duplicated setup across four files. | |
| #16 tests: add spread support | rockcraft | merged | Merged PR #16 added Spread support for CRAFT-865 via commit 3aeba2b3 (merge commit 5bf2680a). | |
| #1287 tests: minor cleanups on the spread tests | snapcraft | merged | Merged into master as commit 1cf0f8c9f "tests: minor cleanups on the spread tests (#1287)" — a test-only tidy-up touching 4 spread test files (+16/-6), reviewed and approved by fgimenez, with coverage unchanged at 95.27%. | |
| #2126 ci(docs): spread test documentation | charmcraft | merged | Merged PR #2126 in commit f1b73a6e, adding CI for documentation spread tests and adapting spread tasks for Google-hosted runners. | |
| #613 Execute spread testing | craft-application | closed | Spread testing delivered: TestingService and an opt-in 'test' command merged via PR #694 (commit 4910b2d8), building on #565 and #592. Maintainer mr-cal closed the issue citing that PR. | |
| #665 Start using `spread` for integration tests | charmcraft | closed | Adopted spread for integration tests via merged PR canonical/charmcraft#862 (merge commit 7790c044, branch spread-bootstrap). Issue closed by maintainer sergiusens on 2023-03-16 noting the work was done in that PR. | |
| #1366 tests(spread): make release test less flaky | charmcraft | merged | Merged #1366 at commit 05b18a03, reducing flakiness in the Spread release test and resolving #1362. | |
| #4433 tests(spread): add remote-build spread test | snapcraft | merged | Merged #4433 (commit 4a0a91117), adding weekly spread coverage for new and legacy remote-build implementations and resolving #4398. | |
| #2173 tests: create basic integration test spread infrastructure | snapcraft | merged | Merged PR #2173 in commit ad7260ced, adding Spread integration-test infrastructure and porting the Go plugin integration test; it resolved LP #1779419. | |
| #944 test(spread): speed up the skip-retest spread test | craft-application | closed | PR #944 was closed unmerged and superseded by craft-application#964, which carried the spread-test speedup changes forward and merged the adjusted repack-test setup. |