Skip to content

Commit 42526e3

Browse files
committed
jobs/build-arch.Jenkinsfile: Enable kola test for cex based luks encryption.
1 parent e69247e commit 42526e3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

jobs/build-arch.Jenkinsfile

+16
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,22 @@ lock(resource: "build-${params.STREAM}-${basearch}") {
309309
skipKolaTags: stream_info.skip_kola_tags)
310310
}
311311

312+
// Run Kola CEX tests on s390x if device exists
313+
// Hardcoded the mediated device that configure through multi-arch-builder/create-cex-device.sh
314+
// and domain that assigned to the builder lpar.
315+
def med_device = "68cd2d83-3eef-4e45-b22c-534f90b16cb9"
316+
def cex_domain = "00.0014"
317+
if (basearch == "s390x" && shwrapCapture("cat /sys/devices/vfio_ap/matrix/${med_device}/matrix)") == cex_domain) {
318+
stage("Kola:s390x:cex") {
319+
kola(cosaDir: env.WORKSPACE, parallel: n, arch: basearch,
320+
skipUpgrade: pipecfg.hacks?.skip_upgrade_tests,
321+
allowUpgradeFail: params.ALLOW_KOLA_UPGRADE_FAILURE,
322+
skipSecureBoot: pipecfg.hotfix?.skip_secureboot_tests_hack,
323+
skipKolaTags: stream_info.skip_kola_tags)
324+
--qemu-cex --tags cex
325+
}
326+
}
327+
312328
// Build the remaining artifacts
313329
stage("Build Artifacts") {
314330
pipeutils.build_artifacts(pipecfg, params.STREAM, basearch)

0 commit comments

Comments
 (0)