Project

General

Profile

Actions

Task #5181

closed

Jenkins: replace CentOS 8 with CentOS Stream 9

Added by Davide Pesavento about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

With CentOS 8 essentially a dead man walking, we should discuss replacing the CentOS agents in jenkins with something else (or drop them without replacement).

The "spiritual successors" of CentOS are AlmaLinux and Rocky Linux. Another popular choice for an RPM-based distro would be Fedora.

Actions #1

Updated by Davide Pesavento almost 3 years ago

CentOS Stream is another option.

Actions #2

Updated by Davide Pesavento over 2 years ago

  • Tags deleted (needs-discussion)
  • Subject changed from Jenkins: replace CentOS 8 with ? to Jenkins: replace CentOS 8 with CentOS Stream
  • Assignee set to Md Ashiqur Rahman
  • Target version set to 22.12

@Ashiq, I would proceed with CentOS Stream, unless there are objections.

Bento has a box: https://app.vagrantup.com/bento/boxes/centos-stream-8
Please keep (copy over) the existing labels for the new agents.

Actions #3

Updated by Junxiao Shi over 2 years ago

I would proceed with CentOS Stream, unless there are objections.

Can you say something about the versions of main dependencies?

  • kernel
  • compiler
  • Boost
  • libpcap
  • libssl

If it's at least as new as Ubuntu 20.04, I have no objection.

Actions #4

Updated by Davide Pesavento over 2 years ago

Junxiao Shi wrote in #note-3:

Can you say something about the versions of main dependencies?

By definition, CentOS Stream 8 doesn't have anything older than what CentOS 8 had. I'm saying "by definition" because the whole point of CentOS Stream X is to be slightly ahead of RHEL X (which CentOS X tracks/used to track). And in any case all the other "successors" (Alma, Rocky, etc.) have the exact same versions, so "version of dependencies" is not a valid criterion to decide anything here.

Actions #5

Updated by Junxiao Shi over 2 years ago

I just checked.
CentOS Stream 8 has Boost 1.66.
This is not good because after dropping Ubuntu 18 next month, this would become the oldest Boost version among supported OS list.
Essentially, it would drag back the usage of new features.

Actions #6

Updated by Davide Pesavento over 2 years ago

Junxiao Shi wrote in #note-5:

CentOS Stream 8 has Boost 1.66.

Isn't that the same version that CentOS 8 had? and AlmaLinux? and everything else?

This is not good because after dropping Ubuntu 18 next month, this would become the oldest Boost version among supported OS list.
Essentially, it would drag back the usage of new features.

Maybe. But how is that relevant here? We're not discussing dropping CentOS 8 (or its replacement) in this issue. As decided at a call a while ago, there is no question that CentOS 8 (or one of its replacements) is staying for now. This issue is simply about swapping it with one of its successor because of the sudden and unexpected change in strategy at RedHat. So, we can discuss whether the replacement distro is Stream or Alma or whatever, the rest is off-topic.

Actions #7

Updated by Davide Pesavento over 2 years ago

And FWIW, I think we can consider dropping Stream 8 only after RHEL 9 is released (currently in beta).

Actions #8

Updated by Md Ashiqur Rahman over 2 years ago

Sorry, forgot about this one. My hands are quite full now. will take a look some time next week.

Actions #9

Updated by Davide Pesavento over 2 years ago

  • Status changed from New to In Progress
  • Assignee changed from Md Ashiqur Rahman to Davide Pesavento
Actions #10

Updated by Davide Pesavento over 2 years ago

  • Subject changed from Jenkins: replace CentOS 8 with CentOS Stream to Jenkins: replace CentOS 8 with CentOS Stream 9

Davide Pesavento wrote in #note-7:

And FWIW, I think we can consider dropping Stream 8 only after RHEL 9 is released (currently in beta).

RHEL 9 has been released in the meantime, so I think we can jump directly to CentOS Stream 9.

Actions #11

Updated by Davide Pesavento over 2 years ago

  • % Done changed from 0 to 50

Two CentOS-9 agents are now online and connected to jenkins. I've used the generic/centos9s box because at this time bento does not have a box for CentOS Stream 9.

The CI scripts require some minor adjustments for the new OS version.

Actions #12

Updated by Davide Pesavento over 2 years ago

  • % Done changed from 50 to 60
Actions #13

Updated by Davide Pesavento over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 60 to 100

Patches for ndn-cxx, NFD, ndn-tools, ndncert, and NAC have been merged. CI on CentOS-9 is enabled for them. Other projects can be adapted and enabled as needed in the future.

Actions

Also available in: Atom PDF