File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,9 @@ void call(Map config = [:]) {
110
110
sh label : ' Send build data' ,
111
111
/* groovylint-disable-next-line GStringExpressionWithinString */
112
112
script : ''' export PATH=$PATH:$HOME/.local/bin
113
- launchable record build --name ${BUILD_TAG//%2F/-} --source src=.'''
113
+ launchable record build --name ${BUILD_TAG//%2F/-} --source src=.
114
+ launchable subset --time 60m --build ${BUILD_TAG//%2F/-} ''' +
115
+ ' --get-tests-from-previous-sessions --rest=rest.txt raw > subset.txt'
114
116
}
115
117
116
118
if (config. get(' test_function' , ' runTestFunctional' ) ==
Original file line number Diff line number Diff line change @@ -79,6 +79,17 @@ void call(Map config = [:]) {
79
79
config. get(' artifacts' , env. STAGE_NAME + ' /**' )
80
80
archiveArtifacts(artifacts : artifacts)
81
81
82
+ // Analyze test failures
83
+ String jobName = env. JOB_NAME . replace(' /' , ' _' )
84
+ jobName + = ' _' + env. BUILD_NUMBER
85
+ String fileName = env. DAOS_STACK_JOB_STATUS_DIR + ' /' + jobName
86
+
87
+ if (fileExists(' ci/functional/launchable_analysis' )) {
88
+ sh(label : ' Analyze failed tests vs. Launchable subset' ,
89
+ script : ' ci/functional/launchable_analysis "' + fileName + ' "' )
90
+
91
+ }
92
+
82
93
sh(label : ' Install Launchable' ,
83
94
script : ' pip3 install --user --upgrade launchable~=1.0' )
84
95
You can’t perform that action at this time.
0 commit comments