Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 37 additions & 15 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/groovy
/* groovylint-disable DuplicateListLiteral */
/* groovylint-disable-next-line LineLength */
/* groovylint-disable DuplicateMapLiteral, DuplicateNumberLiteral */
/* groovylint-disable DuplicateStringLiteral, NestedBlockDepth */
Expand Down Expand Up @@ -452,7 +453,8 @@ pipeline {
stage('Python Bandit check') {
when {
beforeAgent true
expression { !skipStage() }
// TESTING: disable for forced-failure diagnostics - REMOVE AFTER TEST
expression { false }
}
agent {
dockerfile {
Expand Down Expand Up @@ -492,7 +494,8 @@ pipeline {
stage('Build on EL 8') {
when {
beforeAgent true
expression { !skip_build_stage('el8') }
// TESTING: disable for forced-failure diagnostics - REMOVE AFTER TEST
expression { false }
}
agent {
dockerfile {
Expand Down Expand Up @@ -600,7 +603,8 @@ pipeline {
stage('Build on Leap 15') {
when {
beforeAgent true
expression { !skip_build_stage('leap15') }
// TESTING: disable for forced-failure diagnostics - REMOVE AFTER TEST
expression { false }
}
agent {
dockerfile {
Expand All @@ -611,7 +615,7 @@ pipeline {
deps_build: false) +
' --build-arg DAOS_PACKAGES_BUILD=no ' +
' --build-arg DAOS_KEEP_SRC=yes ' +
" -t ${sanitized_JOB_NAME()}-leap15-gcc" +
" -t ${sanitized_JOB_NAME()}-leap15-gcc" +
" -t ${sanitized_JOB_NAME()}-leap15" +
' --build-arg POINT_RELEASE=.6' +
" --build-arg PYTHON_VERSION=${env.PYTHON_VERSION}"
Expand Down Expand Up @@ -656,7 +660,8 @@ pipeline {
stage('Unit Tests') {
when {
beforeAgent true
expression { !skipStage() }
// DEBUG: Skip Unit Tests to reach post-provision mail diagnostics
expression { false }
}
parallel {
stage('Unit Test') {
Expand Down Expand Up @@ -825,7 +830,8 @@ pipeline {
stage('Functional on EL 8.8 with Valgrind') {
when {
beforeAgent true
expression { !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label vm9_label('EL8')
Expand All @@ -848,7 +854,8 @@ pipeline {
stage('Functional on EL 8') {
when {
beforeAgent true
expression { !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label vm9_label('EL8')
Expand All @@ -875,11 +882,15 @@ pipeline {
expression { !skipStage() }
}
agent {
label vm9_label('EL9')
label 'ci_opa-113-test' //vm9_label('EL9')
}
steps {
job_step_update(
functionalTest(
// DEBUG: keep cluster-size requirements minimal for mail-path testing
node_count: 1,
test_tag: 'test_daos_management',
ftest_arg: '--yaml_extension single_host',
inst_repos: daosRepos(),
inst_rpms: functionalPackages(1, next_version(), 'tests-internal') +
' mercury-libfabric',
Expand All @@ -896,7 +907,8 @@ pipeline {
stage('Functional on Leap 15') {
when {
beforeAgent true
expression { !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label vm9_label('Leap15')
Expand All @@ -920,7 +932,8 @@ pipeline {
stage('Functional on SLES 15') {
when {
beforeAgent true
expression { !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label vm9_label('Leap15')
Expand All @@ -944,7 +957,8 @@ pipeline {
stage('Functional on Ubuntu 20.04') {
when {
beforeAgent true
expression { !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label vm9_label('Ubuntu')
Expand All @@ -967,7 +981,8 @@ pipeline {
stage('Fault injection testing') {
when {
beforeAgent true
expression { !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label params.CI_FI_1_LABEL
Expand Down Expand Up @@ -1008,7 +1023,8 @@ pipeline {
stage('Test RPMs on EL 9.6') {
when {
beforeAgent true
expression { params.CI_TEST_EL_RPMs && !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label params.CI_UNIT_VM1_LABEL
Expand All @@ -1029,7 +1045,8 @@ pipeline {
stage('Test RPMs on Leap 15.5') {
when {
beforeAgent true
expression { params.CI_TEST_LEAP_RPMs && !skipStage() }
// DEBUG: Skip VM-based branch for targeted opa-113 testing
expression { false }
}
agent {
label params.CI_UNIT_VM1_LABEL
Expand Down Expand Up @@ -1081,7 +1098,7 @@ pipeline {
} // stage('Test RPMs on Leap 15.5')
} // parallel
} // stage('Test')
stage('Test Storage Prep on EL 8.8') {
stage('Test Storage Prep on EL 9') {
when {
beforeAgent true
expression { params.CI_STORAGE_PREP_LABEL != '' }
Expand Down Expand Up @@ -1232,5 +1249,10 @@ pipeline {
unsuccessful {
notifyBrokenBranch branches: target_branch
}
cleanup {
// Need to clean the workspace to reduce disk space usage on
// Jenkins build agents
cleanWs()
}
} // post
}
6 changes: 6 additions & 0 deletions ci/gha_functions.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash

#
# Copyright 2026 Hewlett Packard Enterprise Development LP
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#

# TODO: this should produce a JUnit result
error_exit() {
echo "$1"
Expand Down
Loading
Loading