Skip to content

Commit

Permalink
DAOS-16153 test: Do not run NLT fi tests for release builds. (#15171)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Pittman <ashley.m.pittman@intel.com>
  • Loading branch information
ashleypittman committed Sep 26, 2024
1 parent 0dfe144 commit 590bb3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,8 @@ pipeline {
stash name: 'fault-inject-valgrind',
includes: '*.memcheck.xml',
allowEmpty: true
archiveArtifacts artifacts: 'nlt_logs/el8.fault-injection/'
archiveArtifacts artifacts: 'nlt_logs/el8.fault-injection/',
allowEmptyArchive: true
job_status_update()
}
}
Expand Down
10 changes: 10 additions & 0 deletions utils/node_local_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6395,7 +6395,17 @@ def run(wf, args):
# If the perf-check option is given then re-start everything without much
# debugging enabled and run some micro-benchmarks to give numbers for use
# as a comparison against other builds.
run_fi = False

if args.perf_check or fi_test or fi_test_dfuse:
fs = subprocess.run([os.path.join(conf['PREFIX'], 'bin', 'fault_status')], check=False)
print(fs)
if fs.returncode == 0:
run_fi = True
else:
print("Unable to detect fault injection feature, skipping testing")

if run_fi:
args.server_debug = 'INFO'
args.memcheck = 'no'
args.dfuse_debug = 'WARN'
Expand Down

0 comments on commit 590bb3f

Please sign in to comment.