← Back to issue list

test: fix spread.yaml multipass backend

View original Github issue

Metadata

Project
snapcraft
Number
#5280
Type
pull request
State
merged
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #5280 (commit 02433aa1b), fixing Spread's Multipass backend to use the image requested by task.yaml instead of pulling a newer image.

Resolution: closed resolved

Reason: The change was merged as commit 02433aa1b. It removes the Multipass backend's image-updating switch and was validated with Ubuntu 22.04 and 24.04 images.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- The multipass backend had a switch that would cause it to pull a newer image than desired. This PR forces it to only use the image explicitly requested by task.yaml files. Tested locally, works for selecting both 22.04 and 24.04 images with spread.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #5280 (commit 02433aa1b), fixing Spread's Multipass backend to use the image requested by task.yaml instead of pulling a newer image.
stealth/space-bunny-alpha — closed resolved Merged PR #5280 (commit 02433aa1b), preventing the Spread multipass backend from pulling a newer image and using only the task.yaml-requested image.
stealth/space-bunny-alpha — closed resolved Fixed the Spread Multipass backend to use only images explicitly requested by task.yaml files, preventing unintended image upgrades. Merged in #5280 (commit 02433aa1b).
qwen/qwen3.6-35b-a3b — — Merged fix for the spread.yaml multipass backend that prevented automatic image upgrades, forcing it to use only explicitly requested task.yaml images. Approved by reviewers and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix for the spread.yaml multipass backend that incorrectly pulled newer images. The change forces the backend to use only explicitly requested images from task.yaml files, verified for 22.04 and 24.04.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2979 tests: add multipass adhoc spread backend snapcraft merged Merged PR #2979 (commit d5097a505) adds an adhoc multipass backend to spread.yaml, enabling local spread tests needing containers/snap installs. Backend still present in spread.yaml.
77%
#4571 test: fix spread multipass backend snapcraft merged Merged #4571 as af14c71da, updating Spread’s Multipass backend to use SSH passwords with newer sshd and support multiple workers.
77%
#1225 tests: improve multipass spread backend charmcraft merged Merged as 6d68140c, adding concurrent Multipass Spread workers with LXD-style naming; defaults use 2 workers for Ubuntu 22.04 and 1 for other series.
70%