fix(craft-test): enable spread tests with 26.04 backends
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix enabling spread tests with Ubuntu 26.04 backends by routing requests to the ubuntu-daily remote. This temporary workaround resolves CRAFT-4996, with a permanent solution 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 | open | Adds temporary workaround to enable spread tests on ubuntu-26.04 backends by using ubuntu-daily:26.04 images. PR is 207 days old with no review activity; the 26.04 backend support was later added via PR #1155 and test infrastructure was restructured in #1168. | |
| #16 tests: add spread support | rockcraft | merged | Merged after approval and passing CI, adding spread support to tests per CRAFT-865. | |
| #1114 test: enable pro spread tests | craft-application | merged | Merged. Updates the craft-providers dependency to >=3.7.1 and re-enables Ubuntu Pro spread tests. Approved by two reviewers and integrated after passing CI checks. | |
| #1381 fix: fix most spread tests on craft-application | charmcraft | merged | Merged updates fixing most spread tests for craft-application. Two smoketests remain broken. Approved despite minor linting and unit test failures. Resolves CRAFT-2239. | |
| #386 tests: update testing to use craft-test | fetch-service | merged | Merged. Replaced direct spread calls with snapcraft test in workflows and spread.yaml, requiring a core24 base update. Approved by two reviewers and modified 10 files (+56/-125 lines). | |
| #1325 test(spread): consolidate basic init/build tests | charmcraft | merged | Merged after approval by two reviewers. Consolidates basic init and build spread tests across four files, reducing 80 lines and adding 28. Resolves CRAFT-2127. | |
| #2793 tests: enable SNAPCRAFT_BUILD_INFO for spread | snapcraft | merged | Merged following approval and passing CI. Enabled SNAPCRAFT_BUILD_INFO for spread tests to cover manifest changes. Included a fix for the nil-basic spread test. Minimal diff across three files. | |
| #3540 spread tests: remove 16.04 and core (CRAFT-210) | snapcraft | merged | Merged cleanup removing legacy 16.04 and core references from spread tests. Approved with passing CI. Author noted necessary legacy tests will be reintroduced in future iterations. | |
| #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. | |
| #1155 test(spread): add Ubuntu 26.04/26.10 support to spread backends | craft-application | merged | Merged. Adds Ubuntu 26.04/26.10 to spread backends, updates distro-support, removes disabled lxd backend, adjusts fixtures, and skips a clock-rollback check on newer systemd. Approved and passed CI. |