All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Cc: Ulrich Hecht <uli@kernel.org>,
	Richard Palethorpe <rpalethorpe@suse.com>,
	Martin Doucha <martin.doucha@suse.com>,
	automated-testing@lists.yoctoproject.org
Subject: [LTP] [PATCH 1/2] CI: ReAplace CentOS 7 with openSUSE Leap 42.2, Ubuntu xenial
Date: Wed, 25 Oct 2023 16:01:08 +0200	[thread overview]
Message-ID: <20231025140109.340441-2-pvorel@suse.cz> (raw)
In-Reply-To: <20231025140109.340441-1-pvorel@suse.cz>

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 two distros with similar age:
* openSUSE Leap 42.2 (kernel 4.4, glibc 2.22, gcc 4.8.5)
* Ubuntu 16.04 LTS xenial (kernel 4.4, glibc 2.23, gcc 5.3.1)

These will become the oldest distros in LTP CI.

Although both has EOL (Leap 42.2 in 2018-01, xenial in 2021-04), they
still available in docker Hub (thus working in GitHub 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.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi,

Li, Jan, do you want to introduce another CentOS version? As there will
be none.

Tested on: https://github.com/pevik/ltp/actions/runs/6641429013

Kind regards,
Petr

 .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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2023-10-25 14:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-25 14:01 [LTP] [PATCH 0/2] Remove CentOS 7 support Petr Vorel
2023-10-25 14:01 ` Petr Vorel [this message]
2023-10-25 14:01 ` [LTP] [PATCH 2/2] doc/support: Update the latest tested distros Petr Vorel
2023-10-26  8:12 ` [LTP] [PATCH 0/2] Remove CentOS 7 support Jan Stancek
2023-10-26  8:21   ` Petr Vorel
2023-11-01 11:17   ` Petr Vorel
2023-11-01 12:28     ` Jan Stancek
2023-11-02  2:49       ` Li Wang
2023-11-02  3:01         ` Chao Ye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231025140109.340441-2-pvorel@suse.cz \
    --to=pvorel@suse.cz \
    --cc=automated-testing@lists.yoctoproject.org \
    --cc=ltp@lists.linux.it \
    --cc=martin.doucha@suse.com \
    --cc=rpalethorpe@suse.com \
    --cc=uli@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.