[LTP] [PATCH v3 1/2] CI: Replace CentOS 7 with openSUSE Leap 42.2

Petr Vorel pvorel@suse.cz
Mon Nov 6 11:54:16 CET 2023


CentOS 7 (kernel 3.10, glibc 2.17, gcc 4.8.5) is not yet EOL,
but IMHO nobody test it (or other distro with similarly old)
with the latest LTP (older LTP release is used). It's not worth of
effort to keep LTP compilable with that old kernel/glibc headers.

Therefore replace CentOS 7 with a distro with similar age:
openSUSE Leap 42.2 (kernel 4.4, glibc 2.22, gcc 4.8.5).

Although it has EOL in 2018-01, it's still available in docker Hub (thus
working in GitHub CI).

These will become the oldest distros in LTP CI.

The same kernel release 4.4 is also used in SLE 12-SP2, which is still
being tested with the latest LTP release. Also CIP project uses kernel
4.4, people might test it recent LTP.

NOTE: we considered to add also Ubuntu 16.04 LTS xenial (kernel 4.4,
glibc 2.23, gcc 5.3.1, EOL 2021-04). But we need to keep number jobs in
CI reasonable, thus adding just Leap 42.2 which has slightly older
software.

Acked-by: Jan Stancek <jstancek@redhat.com>
Reviewed-by: Li Wang <liwang@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 .github/workflows/ci.yml | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 24876b564..9a8a66b6d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -58,14 +58,12 @@ jobs:
               TREE: out
               VARIANT: minimal
 
-          # other builds
-          - container: "fedora:latest"
+          # oldest distros
+          - container: "opensuse/archive:42.2"
             env:
-              CC: clang
-              MAKE_INSTALL: 1
-              METADATA: asciidoctor-pdf
+              CC: gcc
 
-          - container: "centos:7"
+          - container: "ubuntu:xenial"
             env:
               CC: gcc
               METADATA: asciidoc-pdf
@@ -80,6 +78,13 @@ jobs:
             env:
               CC: clang
 
+          # other builds
+          - container: "fedora:latest"
+            env:
+              CC: clang
+              MAKE_INSTALL: 1
+              METADATA: asciidoctor-pdf
+
           - container: "opensuse/leap:latest"
             env:
               CC: gcc
-- 
2.42.0



More information about the ltp mailing list