-
Notifications
You must be signed in to change notification settings - Fork 3
SRE-3704 ci: adapt NLT pipeline to cover Fault Injection testing procedure. #516
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
Changes from 26 commits
321ef8f
29edd4a
e797b06
280fe8e
503106f
7267d71
be5702c
f3c8243
633efd8
bb73e99
8e3296c
2cf4488
6fe3ebe
62ad221
f4942bf
9ceceff
c64934d
4a52cb2
a068dc8
4d4107e
4a4efea
fc92b8b
b172622
a2889d3
336fbca
5ee695d
3125dc9
fd71e70
6594ef7
cc22635
f5cc551
b4df18e
5f451b4
129f2d1
f96665d
0c5e426
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 |
|---|---|---|
|
|
@@ -23,8 +23,6 @@ | |
| * Required if more than one stage is | ||
| * creating Valgrind reports. | ||
| */ | ||
|
|
||
| // groovylint-disable DuplicateStringLiteral, VariableName | ||
|
janekmi marked this conversation as resolved.
|
||
| /* groovylint-disable-next-line MethodSize */ | ||
| void call(Map config = [:]) { | ||
| Map stage_info = parseStageInfo(config) | ||
|
|
@@ -66,7 +64,7 @@ void call(Map config = [:]) { | |
| junit testResults: testResults, | ||
| healthScaleFactor: health_scale | ||
| } | ||
| if (stage_info['with_valgrind'] || stage_info['NLT']) { | ||
| if (stage_info['with_valgrind']) { | ||
| String suite = sanitizedStageName() | ||
| int vgfail = 0 | ||
| String testdata | ||
|
|
@@ -112,6 +110,14 @@ void call(Map config = [:]) { | |
| 'daos-stack/daos/master'), | ||
| scm: 'daos-stack/daos', | ||
| requiredResult: 'UNSTABLE') | ||
| List nltTools = [issues(pattern: 'vm_test/nlt-errors.json', | ||
| name: stage_info['FI'] ? 'Fault injection' : 'NLT errors', | ||
| id: sanitizedStageName() + '_VM_test')] | ||
| if (stage_info['FI']) { | ||
| nltTools << issues(pattern: 'nlt-client-leaks.json', | ||
| name: 'Fault injection leaks', | ||
| id: 'NLT_client') | ||
| } | ||
|
janekmi marked this conversation as resolved.
Comment on lines
+116
to
+131
Contributor
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. Maybe I'm missing something, but when would we have both
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. See line 117 (
Contributor
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. If NLT is a special type of fault injection, then why have If NLT is always FI, then why do we need the
Contributor
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. NLT can be run w/o fault injection. In fact, I need to run it this way in daos-stack/daos#17269 with the #487 changes.
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. FI is a special type of NLT. |
||
| recordIssues enabledForFailure: true, | ||
| /* ignore warning/errors from PMDK logging system */ | ||
| filters: [excludeFile('pmdk/.+')], | ||
|
|
@@ -125,10 +131,8 @@ void call(Map config = [:]) { | |
| [threshold: 1, type: 'TOTAL_HIGH'], | ||
| [threshold: 1, type: 'NEW_NORMAL', unstable: true], | ||
| [threshold: 1, type: 'NEW_LOW', unstable: true]], | ||
| name: 'Node local testing', | ||
| tool: issues(pattern: 'vm_test/nlt-errors.json', | ||
| name: 'NLT results', | ||
| id: 'VM_test'), | ||
| name: stage_info['FI']?'Fault injection':'NLT', | ||
| tools: nltTools, | ||
| scm: 'daos-stack/daos' | ||
|
|
||
| if (cb_result != currentBuild.result) { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.