-
Notifications
You must be signed in to change notification settings - Fork 1
SRE-3534 ci: update to el9.7 #489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
10e01b2
176f5bc
401066c
4d2bb37
9253da6
6baf46a
02e1082
ac66f9f
1e655f8
e992e42
f0b7788
b4feca7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ | |
| * @param config Map of parameters passed. | ||
| * | ||
| * config['arch'] Architecture to use. Default 'x86_64' | ||
| * config['distro'] Distribution to use. Default 'el7' | ||
| * config['distro'] Distribution to use. Default 'el9' | ||
| * config['NODELIST'] Comma separated list of nodes available. | ||
| * config['node_count'] Optional lower number of nodes to provision. | ||
| * config['pool'] Optional pool from which to get image (i.e. test) | ||
|
|
@@ -93,7 +93,7 @@ Map call(Map config = [:]) { | |
| } | ||
|
|
||
| String distro_type | ||
| String distro = config.get('distro', 'el7') | ||
| String distro = config.get('distro', 'el9') | ||
| if (distro.startsWith('centos') || distro.startsWith('el') || | ||
| distro.startsWith('rocky') || distro.startsWith('almalinux') || | ||
| distro.startsWith('rhel')) { | ||
|
|
@@ -142,9 +142,11 @@ Map call(Map config = [:]) { | |
| provision_script += 'EL_7' | ||
| break | ||
| case 'el8': | ||
| case 'el9': | ||
| provision_script += 'EL_8' | ||
| break | ||
| case 'el9': | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Future enhancement is to just be "EL", as EL-[8-10] do not appear to have much differences, so that this can simplify the number of scripts. |
||
| provision_script += 'EL_9' | ||
| break | ||
| case 'suse': | ||
| provision_script += 'LEAP_15' | ||
| break | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -134,8 +134,7 @@ boolean skip_if_unstable() { | |
| } | ||
|
|
||
| boolean skip_build_on_el_gcc(String target_branch, String version) { | ||
| return paramsValue('CI_BUILD_PACKAGES_ONLY', false) || | ||
| skip_stage_pragma('build-el' + version + '-gcc') || | ||
| return skip_stage_pragma('build-el' + version + '-gcc') || | ||
| (docOnlyChange(target_branch) && | ||
| prRepos('el' + version) == '') || | ||
| quickFunctional() | ||
|
|
@@ -228,10 +227,6 @@ boolean call(Map config = [:]) { | |
| prRepos('ubuntu20') == '') || | ||
| prReposContains('ubuntu20', jobName()) || | ||
| skip_stage_pragma('build-ubuntu20-rpm') | ||
| case 'Build on CentOS 8': | ||
| case 'Build on EL 8': | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Apparently these removals are not affecting Release 2.6?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is redundant code. |
||
| case 'Build on EL 8.8': | ||
| return skip_build_on_el_gcc(target_branch, '8') | ||
| case 'Build on CentOS 7 Bullseye': | ||
| return skip_build_bullseye(target_branch, 'centos7') | ||
| case 'Build on CentOS 8 Bullseye': | ||
|
|
@@ -312,11 +307,17 @@ boolean call(Map config = [:]) { | |
| /* groovylint-disable-next-line DuplicateCaseStatement */ | ||
| case 'Build on CentOS 8': | ||
| case 'Build on EL 8': | ||
| return paramsValue('CI_BUILD_PACKAGES_ONLY', false) || | ||
| skip_stage_pragma('build-el8-gcc-dev') || | ||
| case 'Build on EL 8.8': | ||
| return skip_build_on_el_gcc(target_branch, '8') || | ||
| (docOnlyChange(target_branch) && | ||
| prRepos('el8') == '') || | ||
| quickBuild() | ||
| case 'Build on EL 9': | ||
| case 'Build on EL 9.7': | ||
| return skip_build_on_el_gcc(target_branch, '9') || | ||
| (docOnlyChange(target_branch) && | ||
| prRepos('el9') == '') || | ||
| quickBuild() | ||
| case 'Build on Ubuntu 20.04 with Clang': | ||
| return paramsValue('CI_BUILD_PACKAGES_ONLY', false) || | ||
| target_branch =~ branchTypeRE('weekly') || | ||
|
|
@@ -328,8 +329,7 @@ boolean call(Map config = [:]) { | |
| case 'Build on Leap 15.4': | ||
| case 'Build on Leap 15.5': | ||
| case 'Build on Leap 15.6': | ||
| return paramsValue('CI_BUILD_PACKAGES_ONLY', false) || | ||
| skip_stage_pragma('build-leap15-gcc') || | ||
| return skip_stage_pragma('build-leap15-gcc') || | ||
| (docOnlyChange(target_branch) && | ||
| prRepos('leap15') == '') || | ||
| quickBuild() | ||
|
|
@@ -355,6 +355,8 @@ boolean call(Map config = [:]) { | |
| case 'NLT on CentOS 8': | ||
| case 'NLT on EL 8': | ||
| case 'NLT on EL 8.8': | ||
| case 'NLT on EL 9': | ||
| case 'NLT on EL 9.7': | ||
| return skip_stage_pragma('nlt') || | ||
| quickBuild() || | ||
| stageAlreadyPassed() | ||
|
|
@@ -369,6 +371,10 @@ boolean call(Map config = [:]) { | |
| case 'Unit Test with memcheck on CentOS 8': | ||
| case 'Unit Test with memcheck on EL 8': | ||
| case 'Unit Test with memcheck on EL 8.8': | ||
| case 'Unit Test with memcheck on EL 9': | ||
| case 'Unit Test with memcheck on EL 9.7': | ||
| case 'Unit Test bdev with memcheck on EL 9': | ||
| case 'Unit Test bdev with memcheck on EL 9.7': | ||
| case 'Unit Test with memcheck': | ||
| return !paramsValue('CI_UNIT_TEST_MEMCHECK', true) || | ||
| skip_stage_pragma('unit-test-memcheck') || | ||
|
|
@@ -379,6 +385,10 @@ boolean call(Map config = [:]) { | |
| case 'Unit Test on EL 8.8': | ||
| case 'Unit Test bdev on EL 8': | ||
| case 'Unit Test bdev on EL 8.8': | ||
| case 'Unit Test on EL 9': | ||
| case 'Unit Test on EL 9.7': | ||
| case 'Unit Test bdev on EL 9': | ||
| case 'Unit Test bdev on EL 9.7': | ||
| return !paramsValue('CI_UNIT_TEST', true) || | ||
| skip_stage_pragma('unit-test') || | ||
| skip_stage_pragma('run_test') || | ||
|
|
@@ -417,11 +427,15 @@ boolean call(Map config = [:]) { | |
| case 'Functional on EL 8 with Valgrind': | ||
| case 'Functional on EL 8.8 with Valgrind': | ||
| return skip_ftest_valgrind('el8', target_branch, tags) | ||
| case 'Functional on EL 9 with Valgrind': | ||
| case 'Functional on EL 9.7 with Valgrind': | ||
| return skip_ftest_valgrind('el9', target_branch, tags) | ||
| case 'Functional on CentOS 8': | ||
| case 'Functional on EL 8': | ||
| case 'Functional on EL 8.8': | ||
| return skip_ftest('el8', target_branch, tags) | ||
| case 'Functional on EL 9': | ||
| case 'Functional on EL 9.7': | ||
| return skip_ftest('el9', target_branch, tags) | ||
| case 'Functional on Leap 15': | ||
| case 'Functional on Leap 15.4': | ||
|
|
@@ -443,6 +457,15 @@ boolean call(Map config = [:]) { | |
| skip_stage_pragma('func-test') || | ||
| skip_stage_pragma('func-test-vm') || | ||
| stageAlreadyPassed() | ||
| case 'Fault injection testing on EL 9': | ||
| case 'Fault injection testing on EL 9.7': | ||
| return skip_stage_pragma('fault-injection-test') || | ||
| !paramsValue('CI_FI_el9_TEST', true) || | ||
| quickFunctional() || | ||
| docOnlyChange(target_branch) || | ||
| skip_stage_pragma('func-test') || | ||
| skip_stage_pragma('func-test-vm') || | ||
| stageAlreadyPassed() | ||
| case 'Test CentOS 7 RPMs': | ||
| return !paramsValue('CI_RPMS_el7_TEST', true) || | ||
| target_branch =~ branchTypeRE('weekly') || | ||
|
|
@@ -518,6 +541,20 @@ boolean call(Map config = [:]) { | |
| !run_default_skipped_stage('test-el-8.8-rpms')) || | ||
| (rpmTestVersion() != '') || | ||
| stageAlreadyPassed() | ||
| case 'Test RPMs on EL 9': | ||
| case 'Test RPMs on EL 9.6': | ||
| return !paramsValue('CI_RPMS_el9.7_TEST', true) || | ||
| target_branch =~ branchTypeRE('weekly') || | ||
| skip_stage_pragma('build-el9-rpm') || | ||
| skip_stage_pragma('test') || | ||
| skip_stage_pragma('test-rpms') || | ||
| skip_stage_pragma('test-el-9-rpms') || | ||
| docOnlyChange(target_branch) || | ||
| (quickFunctional() && | ||
| !paramsValue('CI_RPMS_el9_7_TEST', true) && | ||
| !run_default_skipped_stage('test-el-9.7-rpms')) || | ||
| (rpmTestVersion() != '') || | ||
| stageAlreadyPassed() | ||
| case 'Test Leap 15 RPMs': | ||
| case 'Test Leap 15.2 RPMs': | ||
| // Skip by default as it doesn't pass with Leap15.3 due to | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should get this bumped to 9.7 also. We can not support older el-9 in hardware CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't, as we can not build 2.6 on 9.7
But we do not need as we do not test 2.6 against el9 at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do test release/2.6 against EL9. In https://jenkins.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/release%252F2.6/226/pipeline-overview/ we build DAOS RPMs against EL9. Also, the daily-2.6-testing and weekly-2.6.-testing branches run a Functional VM stage on EL9. In https://jenkins.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/daily-2.6-testing/179/ it ran on 9.7.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but the problem is with RPM build which does not work on 9.7 (but works on 9.4).
Upgrade VM tests to use EL9.7 is configured directly in the
restore_vm_partition.shscript where 9.7 is used as default.