From c588357a9845bc41fc74ffa3d2db6ebf895a67bb Mon Sep 17 00:00:00 2001 From: Tomasz Gromadzki Date: Wed, 25 Feb 2026 14:19:51 +0100 Subject: [PATCH] SRE-3534 ci: Upgrate NLT based tests to el9.7 Enable NLT and Fault Injection tests on el9.7 Switch Functional VM tests to EL 9 by default. Signed-off-by: Tomasz Gromadzki Cancel-prev-build: false Skip-build-el8-gcc: false Skip-build-leap15-gcc: true Skip-build-leap15-icc: true Allow-unstable-test: true Skip-func-test-el8: true Skip-func-test-el9: true Skip-test-el-8.6-rpms: true Skip-test-leap-15-rpms: true Skip-func-hw-test: true Signed-off-by: Tomasz Gromadzki --- Jenkinsfile | 20 ++++++++++---------- ci/unit/required_packages.sh | 6 ++++-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4a039f83955..12b3172c02a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -343,10 +343,10 @@ pipeline { defaultValue: false, description: 'Run the Functional on EL 8 with Valgrind test stage') booleanParam(name: 'CI_FUNCTIONAL_el8_TEST', - defaultValue: true, + defaultValue: false, description: 'Run the Functional on EL 8 test stage') booleanParam(name: 'CI_FUNCTIONAL_el9_TEST', - defaultValue: false, + defaultValue: true, description: 'Run the Functional on EL 9 test stage') booleanParam(name: 'CI_FUNCTIONAL_leap15_TEST', defaultValue: false, @@ -774,7 +774,7 @@ pipeline { } } } - stage('NLT on EL 8.8') { + stage('NLT on EL 9.7') { when { beforeAgent true expression { params.CI_NLT_TEST && !skipStage() } @@ -839,7 +839,7 @@ pipeline { } } } // stage('Unit Test with memcheck on EL 8.8') - stage('Unit Test bdev with memcheck on EL 8.8') { + stage('Unit Test bdev with memcheck on EL 9.7') { when { beforeAgent true expression { !skipStage() } @@ -859,11 +859,11 @@ pipeline { always { unitTestPost artifacts: ['unit_test_memcheck_bdev_logs.tar.gz', 'unit_test_memcheck_bdev_logs/**/*.log'], - valgrind_stash: 'el8-gcc-unit-memcheck-bdev' + valgrind_stash: 'el9-gcc-unit-memcheck-bdev' job_status_update() } } - } // stage('Unit Test bdev with memcheck on EL 8') + } // stage('Unit Test bdev with memcheck on EL 9.7') } } stage('Test') { @@ -985,14 +985,14 @@ pipeline { } } // post } // stage('Functional on Ubuntu 20.04') - stage('Fault injection testing on EL 8.8') { + stage('Fault injection testing on EL 9.7') { when { beforeAgent true expression { !skipStage() } } agent { dockerfile { - filename 'utils/docker/Dockerfile.el.8' + filename 'utils/docker/Dockerfile.el.9' label 'docker_runner' additionalBuildArgs dockerBuildArgs(repo_type: 'stable', parallel_build: true, @@ -1035,12 +1035,12 @@ pipeline { stash name: 'fault-inject-valgrind', includes: '*.memcheck.xml', allowEmpty: true - archiveArtifacts artifacts: 'nlt_logs/el8.fault-injection/', + archiveArtifacts artifacts: 'nlt_logs/el9.fault-injection/', allowEmptyArchive: true job_status_update() } } - } // stage('Fault injection testing on EL 8.8') + } // stage('Fault injection testing on EL 9.7') stage('Test RPMs on EL 8.6') { when { beforeAgent true diff --git a/ci/unit/required_packages.sh b/ci/unit/required_packages.sh index 5a57b0cb054..3e569102768 100755 --- a/ci/unit/required_packages.sh +++ b/ci/unit/required_packages.sh @@ -7,14 +7,16 @@ # set -eu -# No longer used but provided by pipeline-lib +# Provided by pipeline-lib # distro="$1" # quick_build="${2:-false}" OPENMPI_VER="" PY_MINOR_VER="" -export DISTRO="el8" # should also work for el9 +DISTRO="${1:?ERROR: Missing distro argument. Usage: $0 }" +export DISTRO="${DISTRO%%.*}" + pkgs="$(utils/rpms/package_version.sh argobots lib) \ boost-python3$PY_MINOR_VER-devel \ capstone \