← Back to issue list

test(spread): add Ubuntu 26.04/26.10 support to spread backends

View original Github issue

Metadata

Project
craft-application
Number
#1155
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

## Summary Adds Ubuntu 26.04 and 26.10 support across the spread test infrastructure, and removes the disabled `lxd` backend. ## Changes - Bump `distro-support` to `>=2026.8.10`, which includes Ubuntu 26.10 in its bundled offline distro-info data (fixes `UnknownVersionError` for 26.10 in `grammar:onto` and elsewhere). - Add `ubuntu-26.04-64` and `ubuntu-26.10-64` to the `multipass`, local `craft`, and `openstack` spread backends in `spread.yaml`. - 26.10 isn't released yet, so the multipass `allocate:` script maps it to the `daily:26.10` image. - **Note:** the openstack image names (`snapd-spread/ubuntu-26.04-64`, `snapd-spread/ubuntu-26.10-64`) follow the existing naming convention but are unverified — I don't have access to confirm these images exist in the `snapd-spread` OpenStack project. - Remove the disabled `lxd` spread backend. - Add `ubuntu-26.10`/`ubuntu-26.04` to the nested `tests/spread/testcraft/test-cmd/spread.yaml` fixture's own `craft` backend (read internally by `testcraft test`). - Skip the 1994 clock-rollback check in `witchcraft/pack-eol` on systems whose systemd refuses to set the clock earlier than its own build time (observed on the 26.10 daily image, systemd 259.5); only runs on 20.04/22.04/24.04 now, other systems proceed directly to the EOL/future-date checks. ## Testing Ran the full spread suite (27 tasks) on `multipass:ubuntu-26.10-64` via a snap built with `snapcraft_edge`: **27 successful, 0 aborted.** Also verified individually on `ubuntu-24.04-64` and `ubuntu-26.04-64`.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen/qwen3.6-35b-a3b
Staleness: 15
Complexity: 20
Confidence: 85
needs review Adds Ubuntu 26.04/26.10 support to spread backends, bumps distro-support, removes disabled lxd backend, and updates test fixtures. Approved by 2 reviewers with 1 unresolved comment; CI mostly passes except openstack snap-tests.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 35
Confidence: 85
needs review Adds Ubuntu 26.04/26.10 support to spread backends, bumps distro-support, removes disabled lxd backend, and updates test fixtures. Approved by one reviewer with one unresolved comment; CI mostly passing with pending flaky/slow tests.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 85
needs review Adds Ubuntu 26.04/26.10 support to spread backends, updates distro-support, removes disabled lxd backend, and adjusts test fixtures. Currently approved with one unresolved comment and all CI checks passing.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 90
needs review Adds Ubuntu 26.04/26.10 support to spread backends, bumps distro-support, removes disabled lxd backend, and skips a clock-rollback test on newer systemd. Currently approved by one reviewer with one unresolved comment, all CI checks passing.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 20
Confidence: 90
needs review Adds Ubuntu 26.04/26.10 support to spread test backends, bumps distro-support, removes disabled lxd backend, and adjusts test fixtures. Currently pending maintainer review with all CI checks passing.
qwen/qwen3.6-35b-a3b
Staleness: 0
Complexity: 15
Confidence: 90
needs review Adds Ubuntu 26.04/26.10 support to spread test backends, bumps distro-support, removes disabled lxd backend, and updates test fixtures. Currently pending maintainer review with passing CI.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 90
needs review Adds Ubuntu 26.04/26.10 support to spread test backends, bumps distro-support, removes disabled lxd backend, and updates test fixtures. Currently pending maintainer review with one failing lint check.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 90
needs review Adds Ubuntu 26.04/26.10 support to spread backends, bumps distro-support, removes disabled lxd backend, and updates test fixtures. Currently pending review with one unresolved comment and a failing lint check.

Update history

Date Change
updated
updated
updated
updated
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#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.
80%
#269 tests: add initial spread testing fetch-service merged Merged following approval by three reviewers. Adds initial spread testing infrastructure across 13 files, resolving issue #226. Validation confirms all 10 test tasks passed successfully on Ubuntu 20.04 and 22.04 LXD environments.
79%
#694 tests(spread): use LXD from `5.21/candidate` rockcraft merged Updated spread tests to use LXD from 5.21/candidate, resolving main branch breakage from overlay filesystem mounting regressions. Establishes a stable testing baseline against LTS regressions. Merged after approval and passing CI.
78%
#2983 tests: add LXD spread test snapcraft merged Merged after reviewer approval and passing CI checks. Added LXD spread test to verify LXD builds and installs. Modified two files with 29 added lines.
76%
#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.
75%
#5856 fix(spread): pack with lxd for core20 base tests snapcraft merged Merged after two approvals. Updates spread tests to pack with LXD for core20 base tests. CI passed with one non-blocking schema diff failure. Related core20 and snapd test failures were resolved in separate PRs.
75%
#202 tests: bump lxd to 5.11 in spread tests rockcraft merged Merged update bumping LXD in spread tests to 5.11, resolving installation failures from the unlisted 5.9 snap channel. Approved by two reviewers and passed CI.
74%
#302 test(spread): switch to testing in destructive mode imagecraft merged Switched spread tests to destructive mode and merged. This addresses an upcoming losetup requirement that temporarily breaks the LXD backend. Approved by two reviewers with passing CI checks.
74%
#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.
73%
#6171 test(spread): update python tests snapcraft merged Merged update aligning core26 spread tests and documentation Python package ordering for consistency. Approved by reviewers and passed CI checks.
72%