Skip to contentSkip to conversation

Update openSUSE to version 16 in our CI

PATCH In review Thomas Huth 3 participants 11 messages Mar 16 – Mar 20

lore
Share & tools
lore
#0 lore raw

cover Update openSUSE to version 16 in our CI

Since openSUSE 16 is available since a while already, and openSUSE 15 is older than 5 years, it's time to update to the new major version now.

The first patch is required since we are going to remove the "python3-sqlite3" entry from our mappings.yml and lcitool complains about it otherwise.

Thomas Huth (3):
tests/lcitool: Remove python3-sqlite3 from the list of needed packages tests/lcitool: Update openSUSE to version 16
tests/docker: Update the opensuse-leap container file to version 16

 configure                                     |  1 -
 tests/docker/dockerfiles/opensuse-leap.docker | 35 ++++++-----
 tests/lcitool/mappings.yml                    | 58 -------------------
 tests/lcitool/projects/qemu.yml               |  1 -
 tests/lcitool/refresh                         |  2 +-
 5 files changed, 18 insertions(+), 79 deletions(-)
Signature · 1 line
2.53.0
#1 lore raw

PATCH 1/3 tests/lcitool: Remove python3-sqlite3 from the list of needed packages

From: Thomas Huth <[email protected]>

According to commit 7485508341f4 ("tests/docker: Add sqlite3 module to openSUSE Leap container") that introduced this line, the sqlite3 package was only required for Avocado. We don't use Avocado in QEMU anymore since a while, so we can drop this package now from our list again.

---
 tests/lcitool/projects/qemu.yml | 1 -
 1 file changed, 1 deletion(-)
tests/lcitool/projects/qemu.yml +0 -1
index 5e34e953514..b78a1d7f2e0 100644
@@ -101,7 +101,6 @@ packages:
  - python3-setuptools
  - python3-sphinx
  - python3-sphinx-rtd-theme
- - python3-sqlite3
  - python3-tomli
  - python3-venv
  - python3-wheel
Signature · 1 line
2.53.0
Reviewed-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] tests/lcitool: Remove python3-sqlite3 from the list of needed packages

Quoted 8 lines · Thomas Huth

From: Thomas Huth <[email protected]>

According to commit 7485508341f4 ("tests/docker: Add sqlite3 module to openSUSE Leap container") that introduced this line, the sqlite3 package was only required for Avocado. We don't use Avocado in QEMU anymore since a while, so we can drop this package now from our list again.

Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#3 lore raw

PATCH 2/3 tests/lcitool: Update openSUSE to version 16

In reply to Thomas Huth

From: Thomas Huth <[email protected]>

The first version of openSUSE 15 has been released in 2018, and according to our support policy, we "support the most recent major version at all times for up to five years after its initial release."

Since openSUSE 16 has been released a while ago, and openSUSE is clearly older than 5 years already, it's time to update to version 16 now.

---
 configure                  |  1 -
 tests/lcitool/mappings.yml | 58 --------------------------------------
 tests/lcitool/refresh      |  2 +-
 3 files changed, 1 insertion(+), 60 deletions(-)
configure +0 -1
index cd1dadd8bb2..f3603fd9160 100755
@@ -929,7 +929,6 @@ if ! check_py_version "$python"; then
   error_exit "Cannot use '$python', Python >= 3.9 is required." \
              "Use --python=/path/to/python to specify a supported Python." \
              "Maybe try:" \
-             "  openSUSE Leap 15.3+: zypper install python39" \
              "  CentOS: dnf install python3.12"
 fi
 
tests/lcitool/mappings.yml +0 -58

82 lines not on this page · raw message

tests/lcitool/refresh +1 -1
index 259e6ea0729..79e0b6776c7 100755
@@ -226,7 +226,7 @@ try:
     generate_dockerfile("debian", "debian-13",
                         trailer="".join(debian13_extras))
     generate_dockerfile("fedora", "fedora-43")
-    generate_dockerfile("opensuse-leap", "opensuse-leap-15")
+    generate_dockerfile("opensuse-leap", "opensuse-leap-16")
     generate_dockerfile("ubuntu2204", "ubuntu-2204",
                         trailer="".join(ubuntu2204_rust_extras),
                         # https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2120318
Signature · 1 line
2.53.0
Reviewed-by on v1 2/3
#4 lore raw

Re: [PATCH 2/3] tests/lcitool: Update openSUSE to version 16

Quoted 107 lines · Thomas Huth

From: Thomas Huth <[email protected]>

The first version of openSUSE 15 has been released in 2018, and according to our support policy, we "support the most recent major version at all times for up to five years after its initial release."

Since openSUSE 16 has been released a while ago, and openSUSE is clearly older than 5 years already, it's time to update to version 16 now.

---
 configure                  |  1 -
 tests/lcitool/mappings.yml | 58 --------------------------------------
 tests/lcitool/refresh      |  2 +-
 3 files changed, 1 insertion(+), 60 deletions(-)
configure +0 -1
index cd1dadd8bb2..f3603fd9160 100755
@@ -929,7 +929,6 @@ if ! check_py_version "$python"; then
   error_exit "Cannot use '$python', Python >= 3.9 is required." \
              "Use --python=/path/to/python to specify a supported Python." \
              "Maybe try:" \
-             "  openSUSE Leap 15.3+: zypper install python39" \
              "  CentOS: dnf install python3.12"
 fi
 
tests/lcitool/mappings.yml +0 -53
index 60618971584..62fe60d047f 100644
@@ -3,70 +3,17 @@ mappings:
   bindgen:
     Ubuntu2204:
 
-  flake8:
-    OpenSUSELeap15:
-
   meson:
-    OpenSUSELeap15:
     # Use Meson from PyPI wherever Rust is enabled
     Debian:
     Fedora:
     Ubuntu:
 
-  python3:
-    OpenSUSELeap15: python311-base
-
-  python3-PyYAML:
-    OpenSUSELeap15:
-
-  python3-devel:
-    OpenSUSELeap15: python311-devel
-
-  python3-docutils:
-    OpenSUSELeap15:
-
-  python3-numpy:
-    OpenSUSELeap15:
-
-  python3-opencv:
-    OpenSUSELeap15:
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-pip:
-    OpenSUSELeap15: python311-pip
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-selinux:
-    OpenSUSELeap15:
-
-  python3-setuptools:
-    OpenSUSELeap15: python311-setuptools
-
-  python3-sphinx:
-    OpenSUSELeap15:
-
-  python3-sphinx-rtd-theme:
-    OpenSUSELeap15:
-
-  python3-sqlite3:
-    OpenSUSELeap15: python311
-
   python3-tomli:
     # test using tomllib
     apk:
     Fedora:
     Debian12:
-    OpenSUSELeap15:
-
-  python3-venv:
-    OpenSUSELeap15: python311-base
-
-  python3-wheel:
-    OpenSUSELeap15: python311-wheel
 
   rust:
     Debian12: rustc-web
@@ -79,12 +26,7 @@ pypi_mappings:
     default: meson==1.8.1
 

tests/lcitool/mappings.yml pypi_mappings: · line 90

Quoted 10 lines
tests/lcitool/mappings.yml +0 -5
   # Drop packages that need devel headers
-  python3-numpy:
-    OpenSUSELeap15:
-
-  # see above
   python3-tomli:
     apk:
     Fedora:
     Debian12:
-    OpenSUSELeap15:

I'm unsure about the mappings stuff just because I'm not sure what it is for. Does it supplement the mappings in libvirt-ci itself?

Anyway:

Quoted 13 lines
tests/lcitool/refresh +1 -1
index 259e6ea0729..79e0b6776c7 100755
@@ -226,7 +226,7 @@ try:
     generate_dockerfile("debian", "debian-13",
                         trailer="".join(debian13_extras))
     generate_dockerfile("fedora", "fedora-43")
-    generate_dockerfile("opensuse-leap", "opensuse-leap-15")
+    generate_dockerfile("opensuse-leap", "opensuse-leap-16")
     generate_dockerfile("ubuntu2204", "ubuntu-2204",
                         trailer="".join(ubuntu2204_rust_extras),
                         # https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2120318
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#5 lore raw

Re: [PATCH 2/3] tests/lcitool: Update openSUSE to version 16

Quoted 109 lines · Alex Bennée
Quoted 107 lines · Thomas Huth

From: Thomas Huth <[email protected]>

The first version of openSUSE 15 has been released in 2018, and according to our support policy, we "support the most recent major version at all times for up to five years after its initial release."

Since openSUSE 16 has been released a while ago, and openSUSE is clearly older than 5 years already, it's time to update to version 16 now.

---
  configure                  |  1 -
  tests/lcitool/mappings.yml | 58 --------------------------------------
  tests/lcitool/refresh      |  2 +-
  3 files changed, 1 insertion(+), 60 deletions(-)
configure +0 -1
index cd1dadd8bb2..f3603fd9160 100755
@@ -929,7 +929,6 @@ if ! check_py_version "$python"; then
    error_exit "Cannot use '$python', Python >= 3.9 is required." \
               "Use --python=/path/to/python to specify a supported Python." \
               "Maybe try:" \
-             "  openSUSE Leap 15.3+: zypper install python39" \
               "  CentOS: dnf install python3.12"
  fi
 
tests/lcitool/mappings.yml +0 -53
index 60618971584..62fe60d047f 100644
@@ -3,70 +3,17 @@ mappings:
    bindgen:
      Ubuntu2204:
 
-  flake8:
-    OpenSUSELeap15:
-
    meson:
-    OpenSUSELeap15:
      # Use Meson from PyPI wherever Rust is enabled
      Debian:
      Fedora:
      Ubuntu:
 
-  python3:
-    OpenSUSELeap15: python311-base
-
-  python3-PyYAML:
-    OpenSUSELeap15:
-
-  python3-devel:
-    OpenSUSELeap15: python311-devel
-
-  python3-docutils:
-    OpenSUSELeap15:
-
-  python3-numpy:
-    OpenSUSELeap15:
-
-  python3-opencv:
-    OpenSUSELeap15:
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-pip:
-    OpenSUSELeap15: python311-pip
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-selinux:
-    OpenSUSELeap15:
-
-  python3-setuptools:
-    OpenSUSELeap15: python311-setuptools
-
-  python3-sphinx:
-    OpenSUSELeap15:
-
-  python3-sphinx-rtd-theme:
-    OpenSUSELeap15:
-
-  python3-sqlite3:
-    OpenSUSELeap15: python311
-
    python3-tomli:
      # test using tomllib
      apk:
      Fedora:
      Debian12:
-    OpenSUSELeap15:
-
-  python3-venv:
-    OpenSUSELeap15: python311-base
-
-  python3-wheel:
-    OpenSUSELeap15: python311-wheel
 
    rust:
      Debian12: rustc-web
@@ -79,12 +26,7 @@ pypi_mappings:
      default: meson==1.8.1
 
Quoted 13 lines

tests/lcitool/mappings.yml pypi_mappings: · line 90

Quoted 10 lines
tests/lcitool/mappings.yml +0 -5
    # Drop packages that need devel headers
-  python3-numpy:
-    OpenSUSELeap15:
-
-  # see above
    python3-tomli:
      apk:
      Fedora:
      Debian12:
-    OpenSUSELeap15:

I'm unsure about the mappings stuff just because I'm not sure what it is for. Does it supplement the mappings in libvirt-ci itself?

Yes, that's how I understood it. Since this is just an extension to the mappings from libvirt-ci, I think we can safely remove those mappings on the QEMU side now.

Thomas

#6 lore raw

Re: [PATCH 2/3] tests/lcitool: Update openSUSE to version 16

Quoted 120 lines · Thomas Huth
Quoted 110 lines · Alex Bennée
Quoted 108 lines · Thomas Huth

From: Thomas Huth <[email protected]>

The first version of openSUSE 15 has been released in 2018, and according to our support policy, we "support the most recent major version at all times for up to five years after its initial release."

Since openSUSE 16 has been released a while ago, and openSUSE is clearly older than 5 years already, it's time to update to version 16 now.

---
  configure                  |  1 -
  tests/lcitool/mappings.yml | 58 --------------------------------------
  tests/lcitool/refresh      |  2 +-
  3 files changed, 1 insertion(+), 60 deletions(-)
configure +0 -1
index cd1dadd8bb2..f3603fd9160 100755
@@ -929,7 +929,6 @@ if ! check_py_version "$python"; then
    error_exit "Cannot use '$python', Python >= 3.9 is required." \
               "Use --python=/path/to/python to specify a supported Python." \
               "Maybe try:" \
-             "  openSUSE Leap 15.3+: zypper install python39" \
               "  CentOS: dnf install python3.12"
  fi
  diff --git a/tests/lcitool/mappings.yml

b/tests/lcitool/mappings.yml
index 60618971584..62fe60d047f 100644

tests/lcitool/mappings.yml +0 -55
@@ -3,70 +3,17 @@ mappings:
    bindgen:
      Ubuntu2204:
  -  flake8:
-    OpenSUSELeap15:
-
    meson:
-    OpenSUSELeap15:
      # Use Meson from PyPI wherever Rust is enabled
      Debian:
      Fedora:
      Ubuntu:
  -  python3:
-    OpenSUSELeap15: python311-base
-
-  python3-PyYAML:
-    OpenSUSELeap15:
-
-  python3-devel:
-    OpenSUSELeap15: python311-devel
-
-  python3-docutils:
-    OpenSUSELeap15:
-
-  python3-numpy:
-    OpenSUSELeap15:
-
-  python3-opencv:
-    OpenSUSELeap15:
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-pip:
-    OpenSUSELeap15: python311-pip
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-selinux:
-    OpenSUSELeap15:
-
-  python3-setuptools:
-    OpenSUSELeap15: python311-setuptools
-
-  python3-sphinx:
-    OpenSUSELeap15:
-
-  python3-sphinx-rtd-theme:
-    OpenSUSELeap15:
-
-  python3-sqlite3:
-    OpenSUSELeap15: python311
-
    python3-tomli:
      # test using tomllib
      apk:
      Fedora:
      Debian12:
-    OpenSUSELeap15:
-
-  python3-venv:
-    OpenSUSELeap15: python311-base
-
-  python3-wheel:
-    OpenSUSELeap15: python311-wheel
      rust:
      Debian12: rustc-web
@@ -79,12 +26,7 @@ pypi_mappings:
      default: meson==1.8.1
      # Drop packages that need devel headers
-  python3-numpy:
-    OpenSUSELeap15:
-
-  # see above
Quoted 8 lines

tests/lcitool/mappings.yml mappings: · line 63

Quoted 5 lines
tests/lcitool/mappings.yml +0 -1
    python3-tomli:
      apk:
      Fedora:
      Debian12:
-    OpenSUSELeap15:

I'm unsure about the mappings stuff just because I'm not sure what it is
for. Does it supplement the mappings in libvirt-ci itself?

Quoted 3 lines

Yes, that's how I understood it. Since this is just an extension to the mappings from libvirt-ci, I think we can safely remove those mappings on the QEMU side now.

Ahh ok - I've always been waiting for the libvirt-ci MRs to go through.

Quoted 2 lines

Thomas

Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#7 lore raw

Re: [PATCH 2/3] tests/lcitool: Update openSUSE to version 16

Quoted 122 lines · Alex Bennée
Quoted 120 lines · Thomas Huth
Quoted 118 lines · Alex Bennée
Quoted 103 lines · Thomas Huth

From: Thomas Huth <[email protected]>

The first version of openSUSE 15 has been released in 2018, and according to our support policy, we "support the most recent major version at all times for up to five years after its initial release."

Since openSUSE 16 has been released a while ago, and openSUSE is clearly older than 5 years already, it's time to update to version 16 now.

---
  configure                  |  1 -
  tests/lcitool/mappings.yml | 58 --------------------------------------
  tests/lcitool/refresh      |  2 +-
  3 files changed, 1 insertion(+), 60 deletions(-)
configure +0 -1
index cd1dadd8bb2..f3603fd9160 100755
@@ -929,7 +929,6 @@ if ! check_py_version "$python"; then
    error_exit "Cannot use '$python', Python >= 3.9 is required." \
               "Use --python=/path/to/python to specify a supported Python." \
               "Maybe try:" \
-             "  openSUSE Leap 15.3+: zypper install python39" \
               "  CentOS: dnf install python3.12"
  fi
  diff --git a/tests/lcitool/mappings.yml

b/tests/lcitool/mappings.yml
index 60618971584..62fe60d047f 100644

tests/lcitool/mappings.yml +0 -51
@@ -3,70 +3,17 @@ mappings:
    bindgen:
      Ubuntu2204:
  -  flake8:
-    OpenSUSELeap15:
-
    meson:
-    OpenSUSELeap15:
      # Use Meson from PyPI wherever Rust is enabled
      Debian:
      Fedora:
      Ubuntu:
  -  python3:
-    OpenSUSELeap15: python311-base
-
-  python3-PyYAML:
-    OpenSUSELeap15:
-
-  python3-devel:
-    OpenSUSELeap15: python311-devel
-
-  python3-docutils:
-    OpenSUSELeap15:
-
-  python3-numpy:
-    OpenSUSELeap15:
-
-  python3-opencv:
-    OpenSUSELeap15:
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-pip:
-    OpenSUSELeap15: python311-pip
-
-  python3-pillow:
-    OpenSUSELeap15:
-
-  python3-selinux:
-    OpenSUSELeap15:
-
-  python3-setuptools:
-    OpenSUSELeap15: python311-setuptools
-
-  python3-sphinx:
-    OpenSUSELeap15:
-
-  python3-sphinx-rtd-theme:
-    OpenSUSELeap15:
-
-  python3-sqlite3:
-    OpenSUSELeap15: python311
-
    python3-tomli:
      # test using tomllib
      apk:
      Fedora:
      Debian12:
-    OpenSUSELeap15:
-
-  python3-venv:
-    OpenSUSELeap15: python311-base
-
-  python3-wheel:
-    OpenSUSELeap15: python311-wheel
      rust:
      Debian12: rustc-web
@@ -79,12 +26,7 @@ pypi_mappings:
      default: meson==1.8.1

tests/lcitool/mappings.yml pypi_mappings: · line 89

Quoted 10 lines
tests/lcitool/mappings.yml +0 -5
      # Drop packages that need devel headers
-  python3-numpy:
-    OpenSUSELeap15:
-
-  # see above
    python3-tomli:
      apk:
      Fedora:
      Debian12:
-    OpenSUSELeap15:

I'm unsure about the mappings stuff just because I'm not sure what it is
for. Does it supplement the mappings in libvirt-ci itself?

Quoted 5 lines
Quoted 3 lines

Yes, that's how I understood it. Since this is just an extension to the mappings from libvirt-ci, I think we can safely remove those mappings on the QEMU side now.

Ahh ok - I've always been waiting for the libvirt-ci MRs to go through.

That's the right approach in general. This qemu local mappings.yml file was just for some QEMU specific overrides that are not appropriate for upstream libvirt-ci.git mappings. Ideally we should rarely, or even never, use the local mappings as that tends to defeat the benefit of sharing the info across many projects.

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
#8 lore raw

PATCH 3/3 tests/docker: Update the opensuse-leap container file to version 16

In reply to Thomas Huth

From: Thomas Huth <[email protected]>

Run "make lcitool-refresh" to update the container file to the latest version of openSUSE.

---
 tests/docker/dockerfiles/opensuse-leap.docker | 35 +++++++++----------
 1 file changed, 17 insertions(+), 18 deletions(-)
tests/docker/dockerfiles/opensuse-leap.docker +17 -18
index d693f2c6f85..66e90fa3634 100644
@@ -1,13 +1,12 @@
 # THIS FILE WAS AUTO-GENERATED
 #
-#  $ lcitool dockerfile --layers all opensuse-leap-15 qemu
+#  $ lcitool dockerfile --layers all opensuse-leap-16 qemu
 #
 # https://gitlab.com/libvirt/libvirt-ci
 
-FROM registry.opensuse.org/opensuse/leap:15.6
+FROM registry.opensuse.org/opensuse/leap:16.0
 
 RUN zypper update -y && \
-    zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE-15-SP6:Update.repo && \
     zypper install -y \
            Mesa-devel \
            alsa-lib-devel \
@@ -80,13 +79,14 @@ RUN zypper update -y && \
            libudev-devel \
            liburing-devel \
            libusb-1_0-devel \
+           libxdp-devel \
            libzstd-devel \
            llvm \
            lttng-ust-devel \
            lzo-devel \
            make \
+           meson \
            mtools \
-           ncat \
            ncurses-devel \
            ninja \
            openssh \
@@ -94,11 +94,17 @@ RUN zypper update -y && \
            pcre2-devel-static \
            pipewire-devel \
            pkgconfig \
-           python311 \
-           python311-base \
-           python311-pip \
-           python311-setuptools \
-           python311-wheel \
+           python3-Pillow \
+           python3-PyYAML \
+           python3-Sphinx \
+           python3-base \
+           python3-numpy \
+           python3-opencv \
+           python3-pip \
+           python3-setuptools \
+           python3-sphinx_rtd_theme \
+           python3-tomli \
+           python3-wheel \
            rdma-core-devel \
            rust \
            rust-bindgen \
@@ -110,7 +116,7 @@ RUN zypper update -y && \
            spice-protocol-devel \
            swtpm \
            systemd-devel \
-           systemtap-sdt-devel \
+           systemtap-dtrace \
            tar \
            tesseract-ocr \
            tesseract-ocr-traineddata-english \
@@ -133,18 +139,11 @@ RUN zypper update -y && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
-RUN /usr/bin/pip3.11 install \
-                     PyYAML \
-                     meson==1.8.1 \
-                     pillow \
-                     sphinx \
-                     sphinx-rtd-theme
-
 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
 ENV LANG="en_US.UTF-8"
 ENV MAKE="/usr/bin/make"
 ENV NINJA="/usr/bin/ninja"
-ENV PYTHON="/usr/bin/python3.11"
+ENV PYTHON="/usr/bin/python3"
 # As a final step configure the user (if env is defined)
 ARG USER
 ARG UID
Signature · 1 line
2.53.0
Reviewed-by on v1 3/3
#9 lore raw

Re: [PATCH 3/3] tests/docker: Update the opensuse-leap container file to version 16

Quoted 6 lines · Thomas Huth

From: Thomas Huth <[email protected]>

Run "make lcitool-refresh" to update the container file to the latest version of openSUSE.

Personally I'd merge this with the refresh update in the previous commit. Anyway:

Quoted 92 lines
---
 tests/docker/dockerfiles/opensuse-leap.docker | 35 +++++++++----------
 1 file changed, 17 insertions(+), 18 deletions(-)
tests/docker/dockerfiles/opensuse-leap.docker +17 -18
index d693f2c6f85..66e90fa3634 100644
@@ -1,13 +1,12 @@
 # THIS FILE WAS AUTO-GENERATED
 #
-#  $ lcitool dockerfile --layers all opensuse-leap-15 qemu
+#  $ lcitool dockerfile --layers all opensuse-leap-16 qemu
 #
 # https://gitlab.com/libvirt/libvirt-ci
 
-FROM registry.opensuse.org/opensuse/leap:15.6
+FROM registry.opensuse.org/opensuse/leap:16.0
 
 RUN zypper update -y && \
-    zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE-15-SP6:Update.repo && \
     zypper install -y \
            Mesa-devel \
            alsa-lib-devel \
@@ -80,13 +79,14 @@ RUN zypper update -y && \
            libudev-devel \
            liburing-devel \
            libusb-1_0-devel \
+           libxdp-devel \
            libzstd-devel \
            llvm \
            lttng-ust-devel \
            lzo-devel \
            make \
+           meson \
            mtools \
-           ncat \
            ncurses-devel \
            ninja \
            openssh \
@@ -94,11 +94,17 @@ RUN zypper update -y && \
            pcre2-devel-static \
            pipewire-devel \
            pkgconfig \
-           python311 \
-           python311-base \
-           python311-pip \
-           python311-setuptools \
-           python311-wheel \
+           python3-Pillow \
+           python3-PyYAML \
+           python3-Sphinx \
+           python3-base \
+           python3-numpy \
+           python3-opencv \
+           python3-pip \
+           python3-setuptools \
+           python3-sphinx_rtd_theme \
+           python3-tomli \
+           python3-wheel \
            rdma-core-devel \
            rust \
            rust-bindgen \
@@ -110,7 +116,7 @@ RUN zypper update -y && \
            spice-protocol-devel \
            swtpm \
            systemd-devel \
-           systemtap-sdt-devel \
+           systemtap-dtrace \
            tar \
            tesseract-ocr \
            tesseract-ocr-traineddata-english \
@@ -133,18 +139,11 @@ RUN zypper update -y && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
     ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
 
-RUN /usr/bin/pip3.11 install \
-                     PyYAML \
-                     meson==1.8.1 \
-                     pillow \
-                     sphinx \
-                     sphinx-rtd-theme
-
 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
 ENV LANG="en_US.UTF-8"
 ENV MAKE="/usr/bin/make"
 ENV NINJA="/usr/bin/ninja"
-ENV PYTHON="/usr/bin/python3.11"
+ENV PYTHON="/usr/bin/python3"
 # As a final step configure the user (if env is defined)
 ARG USER
 ARG UID
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#10 lore raw
In reply to Thomas Huth
Quoted 11 lines · Thomas Huth

Since openSUSE 16 is available since a while already, and openSUSE 15 is older than 5 years, it's time to update to the new major version now.

The first patch is required since we are going to remove the "python3-sqlite3" entry from our mappings.yml and lcitool complains about it otherwise.

Thomas Huth (3):
tests/lcitool: Remove python3-sqlite3 from the list of needed packages tests/lcitool: Update openSUSE to version 16
tests/docker: Update the opensuse-leap container file to version 16

Quoted 6 lines
 configure                                     |  1 -
 tests/docker/dockerfiles/opensuse-leap.docker | 35 ++++++-----
 tests/lcitool/mappings.yml                    | 58 -------------------
 tests/lcitool/projects/qemu.yml               |  1 -
 tests/lcitool/refresh                         |  2 +-
 5 files changed, 18 insertions(+), 79 deletions(-)

Queued to testing/next, thanks.

Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro