Skip to content
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

DAOS-16153 test: Do not run NLT fi tests for release builds. #15171

Merged
merged 5 commits into from
Sep 26, 2024
Merged
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
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
Loading