← 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

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.

Suggested action:

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
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 issues

Issue Project State Summary Similarity
#1113 fix(test/multipass): set up Ubuntu 20.04 runners with HWE kernel craft-application merged Merged. Configured Ubuntu 20.04 GitHub runners to install the HWE kernel during multipass backend setup, allowing testcraft to run newer distro containers. Resolves #1112 and CRAFT-5247 following approval and CI checks.
74%
#1521 tests(spread): fix multipass provider for 22.04 charmcraft merged Merged a fix for the multipass provider in spread tests targeting Ubuntu 22.04. The one-file change (+15/-7) was approved by two reviewers and successfully resolves test compatibility issues for the release.
72%