fix(craft-test): enable spread tests with 26.04 backends
Metadata
Current evaluation
Merged #6018 as commit 3ac850650, documenting a temporary craft-test workaround that uses ubuntu-daily for Ubuntu 26.04 spread-test backends.
Resolution: closed resolved
Reason: PR #6018 was approved and merged as commit 3ac850650. It addresses 26.04 spread-test backend selection while noting CRAFT-5002 for the long-term fix.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Uses the `ubuntu-daily` remote when a 26.04 image is requested. This is only a temporary workaround, with a long-term fix to be researched in [CRAFT-5002](https://warthogs.atlassian.net/browse/CRAFT-5002).
Tested by hand by running `snapcraft init --profile=test` an existing spread test snap, updating it to run on 26.04, and running it. Since this should be temporary, I'm not adding any tests right now, but I can create a spread test here if that's wanted.
CRAFT-4996.
---
- [ ] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] I've updated the relevant release notes.
[CRAFT-5002]: https://warthogs.atlassian.net/browse/CRAFT-5002?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #6018 as commit 3ac850650, documenting a temporary craft-test workaround that uses ubuntu-daily for Ubuntu 26.04 spread-test backends. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #6018 in commit 3ac850650, adding guidance for using the ubuntu-daily LXD remote with 26.04 Spread test backends. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #6018 merged a 3-line template change in snapcraft/templates/test/spread/.extension so 26.04 spread-test backends allocate from the ubuntu-daily remote instead of the stable ubuntu remote (commit 3ac850650, CRAFT-4996). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged a temporary fix routing 26.04 spread-test backends to ubuntu-daily for CRAFT-4996; long-term work was tracked in CRAFT-5002. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix enabling spread tests for Ubuntu 26.04 backends by routing to the ubuntu-daily remote. This temporary workaround resolves CRAFT-4996, with a permanent fix tracked in CRAFT-5002. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a temporary workaround enabling spread tests for Ubuntu 26.04 backends by routing requests to the ubuntu-daily remote. Resolves CRAFT-4996. A permanent solution is tracked in CRAFT-5002. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1007 fix(craft-test): enable spread tests with 26.04 backends | craft-application | closed | Merged via canonical/snapcraft#6018, adding a temporary ubuntu-daily fallback so Spread tests could use 26.04 backends before ubuntu:26.04 images existed. | |
| #1155 test(spread): add Ubuntu 26.04/26.10 support to spread backends | craft-application | merged | Merged in canonical/craft-application#1155 via commit c8a68947, adding Ubuntu 26.04/26.10 to Spread backends, updating distro-support, and removing the disabled LXD backend. | |
| #386 tests: update testing to use craft-test | fetch-service | merged | Merged #386 as commit 323b0e1, replacing direct Spread calls with snapcraft test and updating the test base to core24. | |
| #1114 test: enable pro spread tests | craft-application | merged | Merged canonical/craft-application#1114, raising craft-providers to >=3.7.1 and re-enabling Ubuntu Pro spread tests. | |
| #1381 fix: fix most spread tests on craft-application | charmcraft | merged | Merged #1381 fixed most CRAFT-2239 craft-application Spread failures; follow-up #1386 fixed the remaining different-dir and full-lifecycle tests. | |
| #16 tests: add spread support | rockcraft | merged | Merged PR #16 added Spread support for CRAFT-865 via commit 3aeba2b3 (merge commit 5bf2680a). | |
| #2764 build: update craft-providers to >=3.7.1 for 25.10 spread tests | charmcraft | merged | Merged canonical/charmcraft#2764 in commit eeca3f79, raising craft-providers to >=3.7.1; Ubuntu 25.10 spread tests then passed. | |
| #109 tests: add testcraft fake application and spread tests | craft-application | closed | Closed as a duplicate of canonical/craft-application#97; the fake testcraft app and spread tests were delivered by merged PR #666 (commit 621d1a32). | |
| #102 test: update craftctl test | snapcraft-rocks | merged | Merged #102 added spread coverage confirming the craftctl failure in #33 was fixed. Fixes for core22-7 and core24-8 merged in #45 and #67; all CI checks passed. | |
| #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. |