← Back to issue list

Multipass spread tests fail in hosted Openstack

View original Github issue

Metadata

Project
imagecraft
Number
#480
Type
issue
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Multipass spread tests fail on hosted Openstack due to proxy configuration issues with multipassd. Issue closed with no comments or resolving PR.

Resolution: closed stale

Reason: The issue was closed with no comments or linked PR/commit, indicating closure due to inactivity or lack of a clear resolution path for the environment-specific proxy limitation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Check existing issues - [x] I've verified that this bug isn't described by any existing issues. ### Bug description Our Openstack configuration causes failures with multipass because it requires proxies and I can't figure out how to configure the proxy for multipassd. ### Steps to reproduce Run the multipass spread test on the openstack backend ### Environment n/a ### imagecraft.yaml ```yaml n/a ``` ### Log output ```shell 2026-10-07 16:58:36.434 Launching managed ubuntu 24.04 instance... 2026-10-07 16:58:36.434 Converted name 'imagecraft-simple-project-amd64-786883' to instance name 'imagecraft-simple-project-amd64-786883' 2026-10-07 16:58:36.434 Executing on host: multipass list --format json 2026-10-07 16:58:36.573 Executing on host: multipass launch snapcraft:24.04 --name imagecraft-simple-project-amd64-786883 --cpus 2 --memory 2G --disk 64G 2026-10-07 16:58:44.244 Failed to launch VM 'imagecraft-simple-project-amd64-786883'. 2026-10-07 16:58:44.244 Detailed information: * Command that failed: 'multipass launch snapcraft:24.04 --name imagecraft-simple-project-amd64-786883 --cpus 2 --memory 2G --disk 64G' * Command exit code: 2 * Command standard error output: b'[2026-10-07T16:58:44.215] [error] [url downloader] Failed to get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: Error opening https://cloud-images.ubuntu.com/releases/streams/v1/index.json\n[2026-10-07T16:58:44.216] [error] [url downloader] Failed to get https://cloud-images.ubuntu.com/buildd/daily/streams/v1/index.json: Error opening https://cloud-images.ubuntu.com/buildd/daily/streams/v1/index.json\n[2026-10-07T16:58:44.218] [error] [url downloader] Failed to get https://cdimage.ubuntu.com/ubuntu-core/streams/v1/index.json: Error opening https://cdimage.ubuntu.com/ubuntu-core/streams/v1/index.json\n[2026-10-07T16:58:44.218] [error] [url downloader] Failed to get https://raw.githubusercontent.com/canonical/multipass/refs/heads/main/data/distributions/distribution-info.json: Error opening https://raw.githubusercontent.com/canonical/multipass/refs/heads/main/data/distributions/distribution-info.json\n[2026-10-07T16:58:44.218] [error] [url downloader] Failed t 2026-10-07 16:58:44.251 Traceback (most recent call last): 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_providers/multipass/multipass.py", line 224, in launch 2026-10-07 16:58:44.251 self._run(command) 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_providers/multipass/multipass.py", line 78, in _run 2026-10-07 16:58:44.251 return subprocess.run( # pyright: ignore[reportUnknownVariableType] 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/current/usr/lib/python3.12/subprocess.py", line 571, in run 2026-10-07 16:58:44.251 raise CalledProcessError(retcode, process.args, 2026-10-07 16:58:44.251 subprocess.CalledProcessError: Command '['multipass', 'launch', 'snapcraft:24.04', '--name', 'imagecraft-simple-project-amd64-786883', '--cpus', '2', '--memory', '2G', '--disk', '64G']' returned non-zero exit status 2. 2026-10-07 16:58:44.251 2026-10-07 16:58:44.251 The above exception was the direct cause of the following exception: 2026-10-07 16:58:44.251 Traceback (most recent call last): 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/application.py", line 575, in run 2026-10-07 16:58:44.251 return_code = self._run_inner() 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/application.py", line 560, in _run_inner 2026-10-07 16:58:44.251 dispatcher_return = dispatcher.run() 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_cli/dispatcher.py", line 576, in run 2026-10-07 16:58:44.251 return self._loaded_command.run(self._parsed_command_args) 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/commands/base.py", line 180, in run 2026-10-07 16:58:44.251 result = self._run(parsed_args, **kwargs) or result 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/commands/lifecycle.py", line 645, in _run 2026-10-07 16:58:44.251 return super()._run(parsed_args=parsed_args, step_name=step_name) 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/commands/lifecycle.py", line 265, in _run 2026-10-07 16:58:44.251 self._run_manager_for_build_plan(fetch_service_policy) 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/commands/lifecycle.py", line 114, in _run_manager_for_build_plan 2026-10-07 16:58:44.251 provider.run_managed(build, bool(fetch_service_policy)) 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/services/provider.py", line 586, in run_managed 2026-10-07 16:58:44.251 with self.instance( 2026-10-07 16:58:44.251 File "/snap/imagecraft/current/usr/lib/python3.12/contextlib.py", line 137, in __enter__ 2026-10-07 16:58:44.251 return next(self.gen) 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_application/services/provider.py", line 275, in instance 2026-10-07 16:58:44.251 with provider.launched_environment( 2026-10-07 16:58:44.251 File "/snap/imagecraft/current/usr/lib/python3.12/contextlib.py", line 137, in __enter__ 2026-10-07 16:58:44.251 return next(self.gen) 2026-10-07 16:58:44.251 ^^^^^^^^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_providers/multipass/multipass_provider.py", line 296, in launched_environment 2026-10-07 16:58:44.251 instance = launch( 2026-10-07 16:58:44.251 ^^^^^^^ 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_providers/multipass/_launch.py", line 88, in launch 2026-10-07 16:58:44.251 instance.launch( 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_providers/multipass/multipass_instance.py", line 379, in launch 2026-10-07 16:58:44.251 self._multipass.launch( 2026-10-07 16:58:44.251 File "/snap/imagecraft/x1/lib/python3.12/site-packages/craft_providers/multipass/multipass.py", line 226, in launch 2026-10-07 16:58:44.251 raise MultipassError( 2026-10-07 16:58:44.251 craft_providers.multipass.errors.MultipassError: Failed to launch VM 'imagecraft-simple-project-amd64-786883'. 2026-10-07 16:58:44.251 * Command that failed: 'multipass launch snapcraft:24.04 --name imagecraft-simple-project-amd64-786883 --cpus 2 --memory 2G --disk 64G' 2026-10-07 16:58:44.251 * Command exit code: 2 2026-10-07 16:58:44.251 * Command standard error output: b'[2026-10-07T16:58:44.215] [error] [url downloader] Failed to get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: Error opening https://cloud-images.ubuntu.com/releases/streams/v1/index.json\n[2026-10-07T16:58:44.216] [error] [url downloader] Failed to get https://cloud-images.ubuntu.com/buildd/daily/streams/v1/index.json: Error opening https://cloud-images.ubuntu.com/buildd/daily/streams/v1/index.json\n[2026-10-07T16:58:44.218] [error] [url downloader] Failed to get https://cdimage.ubuntu.com/ubuntu-core/streams/v1/index.json: Error opening https://cdimage.ubuntu.com/ubuntu-core/streams/v1/index.json\n[2026-10-07T16:58:44.218] [error] [url downloader] Failed to get https://raw.githubusercontent.com/canonical/multipass/refs/heads/main/data/distributions/distribution-info.json: Error opening https://raw.githubusercontent.com/canonical/multipass/refs/heads/main/data/distributions/distribution-info.json\n[2026-10-07T16:58:44.218] [error] [ 2026-10-07 16:58:44.251 Full execution log: '/root/.local/state/imagecraft/log/imagecraft-20261007-165836.044346.log' + echo ---------------------------- ---------------------------- ----- . 2026-10-07 16:58:44 Restoring openstack:ubuntu-24.04-64:tests/spread/pack/simple-multipass (oct071649-538790)... ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed stale Multipass spread tests fail on hosted Openstack due to proxy configuration issues with multipassd. Issue closed with no comments or resolving PR.
~deepseek/deepseek-pro-latest
Impact: 35
Quick Win: 11
Complexity: 50
Confidence: 65
Actionability: 65
needs triage Multipass spread tests fail on Openstack because multipassd cannot reach image URLs through the required proxy; reporter needs a way to configure proxy settings for multipassd.

Update history

Date Change
closed
created

Related work

  • Related To: imagecraft#487 (confidence 80%)

    PR #487 expanded spread tests to all providers, including multipass, which is the context of this issue.

  • Related To: imagecraft#495 (confidence 80%)

    PR #495 updated CI to run spread on all systems, relevant to the test infrastructure.

Related issues

No related issues found above the similarity threshold.