@@ -189,15 +189,15 @@ pipeline {
189
189
// (more tests, runs longer, thus gets to use the existing worker)
190
190
stage(' Testing' ) {
191
191
parallel {
192
- stage(' 1.22 ' ) {
192
+ stage(' 1.25 ' ) {
193
193
steps {
194
194
// Skip production, i.e. run testing.
195
- TestInVM (" " , " " , " fedora" , " " , " 1.22 " , " Top.Level..[[:alpha:]]*-production[[:space:]]" , " " )
195
+ TestInVM (" " , " " , " fedora" , " " , " 1.25 " , " Top.Level..[[:alpha:]]*-production[[:space:]]" , " " )
196
196
}
197
197
}
198
198
199
199
// When adding or removing coverage workers, update the "Code Coverage" step below!
200
- stage(' coverage-1.22 ' ) {
200
+ stage(' coverage-1.25 ' ) {
201
201
when {
202
202
beforeAgent true
203
203
not { changeRequest() }
@@ -206,12 +206,24 @@ pipeline {
206
206
label " pmem-csi"
207
207
}
208
208
steps {
209
- TestInVM (" fedora-coverage-1.22 " , " coverage-" , " fedora" , " " , " 1.22 " , " " , " ${ env.COVERAGE_SKIP} " )
209
+ TestInVM (" fedora-coverage-1.25 " , " coverage-" , " fedora" , " " , " 1.25 " , " " , " ${ env.COVERAGE_SKIP} " )
210
210
}
211
211
}
212
212
213
213
// All others set up their own worker.
214
- stage(' 1.21' ) {
214
+ stage(' 1.24' ) {
215
+ when {
216
+ beforeAgent true
217
+ not { changeRequest() }
218
+ }
219
+ agent {
220
+ label " pmem-csi"
221
+ }
222
+ steps {
223
+ TestInVM (" fedora-1.24" , " " , " fedora" , " " , " 1.24" , " " , " " )
224
+ }
225
+ }
226
+ stage(' 1.23' ) {
215
227
when {
216
228
beforeAgent true
217
229
not { changeRequest() }
@@ -220,10 +232,10 @@ pipeline {
220
232
label " pmem-csi"
221
233
}
222
234
steps {
223
- TestInVM (" fedora-1.21 " , " " , " fedora" , " " , " 1.21 " , " " , " " )
235
+ TestInVM (" fedora-1.23 " , " " , " fedora" , " " , " 1.23 " , " " , " " )
224
236
}
225
237
}
226
- stage(' 1.20 ' ) {
238
+ stage(' 1.22 ' ) {
227
239
when {
228
240
beforeAgent true
229
241
not { changeRequest() }
@@ -232,19 +244,19 @@ pipeline {
232
244
label " pmem-csi"
233
245
}
234
246
steps {
235
- TestInVM (" fedora-1.20 " , " " , " fedora" , " " , " 1.20 " , " " , " " )
247
+ TestInVM (" fedora-1.22 " , " " , " fedora" , " " , " 1.22 " , " " , " " )
236
248
}
237
249
}
238
- stage(' 1.19 ' ) {
250
+ stage(' 1.21 ' ) {
239
251
agent {
240
252
label " pmem-csi"
241
253
}
242
254
steps {
243
255
// Skip testing, i.e. run production.
244
- TestInVM (" fedora-1.19 " , " " , " fedora" , " " , " 1.19 " , " Top.Level..[[:alpha:]]*-testing[[:space:]]" , " " )
256
+ TestInVM (" fedora-1.21 " , " " , " fedora" , " " , " 1.21 " , " Top.Level..[[:alpha:]]*-testing[[:space:]]" , " " )
245
257
}
246
258
}
247
- stage(' coverage-1.19 ' ) {
259
+ stage(' coverage-1.21 ' ) {
248
260
when {
249
261
beforeAgent true
250
262
not { changeRequest() }
@@ -253,7 +265,7 @@ pipeline {
253
265
label " pmem-csi"
254
266
}
255
267
steps {
256
- TestInVM (" fedora-coverage-1.19 " , " coverage-" , " fedora" , " " , " 1.19 " , " " , " ${ env.COVERAGE_SKIP} " )
268
+ TestInVM (" fedora-coverage-1.21 " , " coverage-" , " fedora" , " " , " 1.21 " , " " , " ${ env.COVERAGE_SKIP} " )
257
269
}
258
270
}
259
271
}
@@ -334,8 +346,8 @@ git push origin HEAD:master
334
346
}
335
347
steps {
336
348
// Restore <cluster>-coverage.out files.
337
- unstash ' 1.22 -coverage'
338
- unstash ' 1.19 -coverage'
349
+ unstash ' 1.25 -coverage'
350
+ unstash ' 1.21 -coverage'
339
351
340
352
// Merge and convert to Cobertura XML.
341
353
sh " ${ RunInBuilder()} ${ env.BUILD_CONTAINER} make _work/gocovmerge _work/gocover-cobertura"
@@ -587,6 +599,8 @@ void TestInVM(worker, coverage, distro, distroVersion, kubernetesVersion, skipIf
587
599
testrun=\$ (echo '${ distro} -${ distroVersion} -${ coverage}${ kubernetesVersion} ' | sed -e s/--*/-/g | tr . _ ) && \
588
600
make test_e2e TEST_E2E_REPORT_DIR=${ WORKSPACE} /build/reports.tmp/\$ testrun \
589
601
TEST_E2E_SKIP=${ skipAlways} @\$ (if [ \" ${ env.CHANGE_ID} \" ] && [ \" ${ env.CHANGE_ID} \" != null ]; then echo \\\\ [Slow\\\\ ]@${ skipIfPR} ; fi) \
602
+ TEST_E2E_TIMEOUT=${ TestTimeoutHours()-1} h \
603
+ TEST_E2E_ARGS=-ginkgo.no-color \
590
604
') 2>&1 | tee joblog-${ BUILD_TAG} -test-${ coverage}${ kubernetesVersion} .log | grep --line-buffered -E -e 'checking for test|Passed|FAIL:|^ERROR' \
591
605
"
592
606
} } finally {
0 commit comments