← Back to issue list

Multipass spread tests failing on 20.04

View original Github issue

Metadata

Project
craft-application
Number
#1112
Type
issue
State
closed
Author
smethnani
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

Fixed by merged PR #1113 (commit 0156d53c), installing the HWE kernel on Ubuntu 20.04 Multipass Spread runners so newer containers can run.

Resolution: closed resolved

Reason: PR #1113 was merged as commit 0156d53c and explicitly fixes #1112 by configuring Ubuntu 20.04 Multipass runners with an HWE kernel.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description The 20.04 spread testcraft tests fail when using the Multipass backend due to issues with regular 24.04 containers running on 20.04 hosts. This same [issue](https://github.com/canonical/craft-application/pull/1091#discussion_r3443418878) affected tests with the openstack backend and was fixed by using an hwe image. ### To Reproduce `spread multipass:ubuntu-20.04-64` ### Relevant log output ```shell 2026-07-02 13:35:30 Error executing multipass:ubuntu-20.04-64:tests/spread/testcraft/pack-multi (multipass:ubuntu-20.04-64) : ----- + testcraft pack Launching managed ubuntu 24.04 instance... Creating new instance from remote Creating new base instance from remote Failed to setup systemd-resolved. * Command that failed: 'lxc --project testcraft exec local:base-instance-testcraft-buildd-base-v71--729cbdbcf5f5dd399dba -- env CRAFT_MANAGED_MODE=1 TESTCRAFT_DEBUG=True TESTCRAFT_LXD_REMOTE=local TESTCRAFT_LAUNCHPAD_INSTANCE=production DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl restart systemd-resolved' * Command exit code: 1 * Command standard error output: b'Job for systemd-resolved.service failed because the control process exited with error code.\nSee "systemctl status systemd-resolved.service" and "journalctl -xeu systemd-resolved.service" for details.\n' Full execution log: '/root/.local/state/testcraft/log/testcraft-20260702-133339.533606.log' ----- . 2026-07-02 13:35:30 Restoring multipass:ubuntu-20.04-64:tests/spread/testcraft/pack-multi (multipass:ubuntu-20.04-64)... 2026-07-02 13:35:32 Discarding multipass:ubuntu-20.04-64... 2026-07-02 13:35:32 Successful tasks: 15 2026-07-02 13:35:32 Aborted tasks: 0 2026-07-02 13:35:32 Failed tasks: 4 - multipass:ubuntu-20.04-64:tests/spread/testcraft/ignore-test-files - multipass:ubuntu-20.04-64:tests/spread/testcraft/lint - multipass:ubuntu-20.04-64:tests/spread/testcraft/pack-multi - multipass:ubuntu-20.04-64:tests/spread/testcraft/state error: unsuccessful run ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #1113 (commit 0156d53c), installing the HWE kernel on Ubuntu 20.04 Multipass Spread runners so newer containers can run.
stealth/space-bunny-alpha — closed resolved Triaged as CRAFT-5247 and closed after changing Multipass spread runs to use an HWE image, matching the fix applied for OpenStack.
qwen/qwen3.6-35b-a3b — — Closed after triaging and creating internal Jira ticket CRAFT-5247. The failing Multipass spread tests on Ubuntu 20.04 were resolved by switching to an hwe image, mirroring a previously applied fix for the OpenStack backend.
qwen3.6-35b-a3b-mtp-q6
Staleness: 10
Complexity: 30
Confidence: 90
Support Request: 5
keep open Spread tests using Multipass on Ubuntu 20.04 hosts fail due to systemd-resolved errors in managed 24.04 containers. Triaged and awaiting fix.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 30
Confidence: 90
Support Request: 5
keep open Spread tests using the Multipass backend fail on Ubuntu 20.04 hosts due to systemd-resolved errors in managed 24.04 containers. Currently triaged and awaiting a fix.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#1113 fix(test/multipass): set up Ubuntu 20.04 runners with HWE kernel craft-application merged Merged PR #1113 as commit 0156d53c, installing the HWE kernel for Ubuntu 20.04 Multipass spread runs so testcraft supports newer distro containers; fixes #1112.
84%
#1521 tests(spread): fix multipass provider for 22.04 charmcraft merged Merged PR #1521 fixed the Spread Multipass provider for Ubuntu 22.04 in commit d41216ca.
72%
#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.
72%
#97 fix(test): fix spread tests on Fedora snapcraft-rocks merged Merged PR #97 switched Spread tests from the closed core18 Docker branch to the default branch, fixing them on Fedora 39.
71%
#2525 test(spread): enable Ubuntu 25.10 and 26.04 spread runners charmcraft merged Merged PR #2525 as commit 8beb372d, adding Ubuntu 25.10 and 26.04 Spread runners and resolving #2480.
70%