Skip to content

avocado.utils.vmimage.Image.from_parameters() hangs on network even if base image is in cache #6167

Description

@lukasstraub2

Describe the bug
vmimage.Image.from_parameters() takes a long time for me, sometimes more than a minute, because network requests get ratelimited. Even if the image is in cache already. It also does not work offline for this reason.

Steps to reproduce
Disable your internet connection and call vmimage.Image.from_parameters() to request an image that is in cache already.

Expected behavior
It should finish instantly.

Current behavior
It hangs.

System information (please complete the following information):

  • OS: Ubuntu 22.04LTS
  • Avocado version: Avocado 111.0
  • Avocado installation method: pip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions