Skip to content

Commit

Permalink
Temporarily disable FIPS140-2 extended.functional (adoptium#5722)
Browse files Browse the repository at this point in the history
resovles: automation/issues/96

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
  • Loading branch information
llxia authored Oct 28, 2024
1 parent 6761a03 commit 21799ed
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
6 changes: 5 additions & 1 deletion buildenv/jenkins/aqaTestPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ currentBuild.setDisplayName(PIPELINE_DISPLAY_NAME)

defaultTestTargets = "sanity.functional,extended.functional,special.functional,sanity.openjdk,extended.openjdk,special.openjdk,sanity.system,extended.system,special.system,sanity.perf,extended.perf,sanity.jck,extended.jck,special.jck"
defaultFipsTestTargets = "extended.functional,sanity.openjdk,extended.openjdk,sanity.jck,extended.jck,special.jck"
// There is no applicable tests for FIPS140-2 extended.functional atm, so temporarily disable FIPS140-2 extended.functional
defaultFips140_2TestTargets = defaultFipsTestTargets.replace("extended.functional,", "")

if (params.BUILD_TYPE == "nightly") {
defaultTestTargets = "sanity.functional,extended.functional,sanity.openjdk,extended.openjdk,sanity.perf,sanity.jck,sanity.system,special.system"
}
Expand Down Expand Up @@ -87,8 +90,9 @@ if (fail) {

def generateJobs(jobJdkVersion, jobTestFlag, jobPlatforms, jobTargets, jobParallel) {
if (jobTargets instanceof String) {
if (jobTargets.contains("defaultFipsTestTargets")) {
if (jobTargets.contains("defaultFips")) {
jobTargets = jobTargets.replace("defaultFipsTestTargets","${defaultFipsTestTargets}")
jobTargets = jobTargets.replace("defaultFips140_2TestTargets","${defaultFips140_2TestTargets}")
} else {
jobTargets = jobTargets.replace("defaultTestTargets","${defaultTestTargets}")
}
Expand Down
6 changes: 3 additions & 3 deletions buildenv/jenkins/config/openj9/release/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
{
"TEST_FLAG" : "FIPS140_2",
"PLATFORM_TARGETS" : [
{ "ppc64le_linux" : "defaultFipsTestTargets" },
{ "s390x_linux" : "defaultFipsTestTargets" },
{ "x86-64_linux" : "defaultFipsTestTargets" }
{ "ppc64le_linux" : "defaultFips140_2TestTargets" },
{ "s390x_linux" : "defaultFips140_2TestTargets" },
{ "x86-64_linux" : "defaultFips140_2TestTargets" }
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions buildenv/jenkins/config/openj9/release/jdk8.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
{
"TEST_FLAG" : "FIPS140_2",
"PLATFORM_TARGETS" : [
{ "ppc64le_linux" : "defaultFipsTestTargets" },
{ "s390x_linux" : "defaultFipsTestTargets" },
{ "x86-64_linux" : "defaultFipsTestTargets" }
{ "ppc64le_linux" : "defaultFips140_2TestTargets" },
{ "s390x_linux" : "defaultFips140_2TestTargets" },
{ "x86-64_linux" : "defaultFips140_2TestTargets" }
]
}
]
6 changes: 3 additions & 3 deletions buildenv/jenkins/config/openj9/weekly/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
{
"TEST_FLAG" : "FIPS140_2",
"PLATFORM_TARGETS" : [
{ "ppc64le_linux" : "defaultFipsTestTargets" },
{ "s390x_linux" : "defaultFipsTestTargets" },
{ "x86-64_linux" : "defaultFipsTestTargets" }
{ "ppc64le_linux" : "defaultFips140_2TestTargets" },
{ "s390x_linux" : "defaultFips140_2TestTargets" },
{ "x86-64_linux" : "defaultFips140_2TestTargets" }
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions buildenv/jenkins/config/openj9/weekly/jdk8.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
{
"TEST_FLAG" : "FIPS140_2",
"PLATFORM_TARGETS" : [
{ "ppc64le_linux" : "defaultFipsTestTargets" },
{ "s390x_linux" : "defaultFipsTestTargets" },
{ "x86-64_linux" : "defaultFipsTestTargets" }
{ "ppc64le_linux" : "defaultFips140_2TestTargets" },
{ "s390x_linux" : "defaultFips140_2TestTargets" },
{ "x86-64_linux" : "defaultFips140_2TestTargets" }
]
}
]

0 comments on commit 21799ed

Please sign in to comment.