On 17/01/2024 00.09, Fabiano Rosas wrote:
Avocado needs sqlite3:

   Failed to load plugin from module "avocado.plugins.journal":
   ImportError("Module 'sqlite3' is not installed.
   Use: sudo zypper install python311 to install it")

Include the appropriate package in the dockerfile.

 From 'zypper info python311':
   "This package supplies rich command line features provided by
   readline, and sqlite3 support for the interpreter core, thus forming
   a so called "extended" runtime."

Signed-off-by: Fabiano Rosas <faro...@suse.de>
---
  tests/docker/dockerfiles/opensuse-leap.docker | 1 +
  1 file changed, 1 insertion(+)

diff --git a/tests/docker/dockerfiles/opensuse-leap.docker 
b/tests/docker/dockerfiles/opensuse-leap.docker
index dc0e36ce48..cf753383a4 100644
--- a/tests/docker/dockerfiles/opensuse-leap.docker
+++ b/tests/docker/dockerfiles/opensuse-leap.docker
@@ -90,6 +90,7 @@ RUN zypper update -y && \
             pcre-devel-static \
             pipewire-devel \
             pkgconfig \
+           python311 \
             python311-base \
             python311-pip \
             python311-setuptools \

AFAIK tests/docker/dockerfiles/opensuse-leap.docker is auto-generated, so this will be lost once somebody else runs lcitool again...

I don't really have a clue, but I guess this has to be fixed in the upstream lcitool first ( https://gitlab.com/libvirt/libvirt-ci ), and then we need to update our lcitool status in QEMU afterwards. Maybe Daniel can advise for the right stteps here...?

 Thomas


Reply via email to