Skip to content

Commit 405eb54

Browse files
committed
Exclude test for FIPS OpenJdk (#4876)
-Disables FIPS test for `jdk_security_infra`, `jdk_security1`, `jdk_security2`, `jdk_security3` -Disable FIPS test for all platforms, on versions 8 and above related: backlog/issues/1089 Signed-off-by: Anna Babu Palathingal <[email protected]> Co-authored-by: Kapil Anant Powar <[email protected]> Enable verbose GC log in openjdk tests (#4873) -Prepend -Xverbosegclog for all operating systems -Prepend when JDK_IMPL is openj9 or ibm closes: #4872 Signed-off-by: Anna Babu Palathingal <[email protected]>
1 parent 56f4461 commit 405eb54

File tree

4 files changed

+31
-17
lines changed

4 files changed

+31
-17
lines changed

functional/security/Crypto/build.xml

+2-6
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,8 @@
5353
</target>
5454

5555
<import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/>
56-
57-
<!-- Call getJtregVersion, getJtreg target from getDependencies.xml -->
58-
<target name="invokeGetJtreg" depends="getJtregVersion,getJtreg">
59-
</target>
60-
61-
<target name="dist" depends="invokeGetJtreg,getCryptoTest" description="generate the distribution">
56+
57+
<target name="dist" depends="getJtreg,getCryptoTest" description="generate the distribution">
6258
<copy todir="${DEST}">
6359
<fileset dir="${src}" includes="*.xml,*.mk" />
6460
</copy>

functional/security/ssl-tests/build.xml

+2-6
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,8 @@
5353
</target>
5454

5555
<import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/>
56-
57-
<!-- Call getJtregVersion, getJtreg target from getDependencies.xml -->
58-
<target name="invokeGetJtreg" depends="getJtregVersion,getJtreg">
59-
</target>
60-
61-
<target name="dist" depends="invokeGetJtreg,getSsltestsTest" description="generate the distribution">
56+
57+
<target name="dist" depends="getJtreg,getSsltestsTest" description="generate the distribution">
6258
<copy todir="${DEST}">
6359
<fileset dir="${src}" includes="*.xml,*.mk" />
6460
</copy>

openjdk/build.xml

+1-5
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@
4343

4444
<import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/>
4545

46-
<!-- Call getJtregVersion, getJtreg target from getDependencies.xml -->
47-
<target name="invokeGetJtreg" depends="getJtregVersion,getJtreg">
48-
</target>
49-
5046
<target name="getOpenjdk" depends="openjdk-jdk.check" unless="jdkdir.exists">
5147
<!-- Windows API limitation of file paths having 260 characters or fewer,
5248
run the config command to allow file paths of 4096 characters
@@ -242,7 +238,7 @@
242238
</condition>
243239
</target>
244240

245-
<target name="dist" depends="invokeGetJtreg, getOpenjdk" description="generate the distribution">
241+
<target name="dist" depends="getJtreg, getOpenjdk" description="generate the distribution">
246242
<copy todir="${DEST}">
247243
<fileset dir="${src}" includes="*.xml,excludes/ProblemList*.txt,*.mk"/>
248244
</copy>

openjdk/playlist.xml

+26
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,13 @@
10471047
</test>
10481048
<test>
10491049
<testCaseName>jdk_security1</testCaseName>
1050+
<disables>
1051+
<disable>
1052+
<comment>https://github.ibm.com/runtimes/backlog/issues/1089</comment>
1053+
<impl>openj9</impl>
1054+
<testflag>fips140_2</testflag>
1055+
</disable>
1056+
</disables>
10501057
<variations>
10511058
<variation>Mode150</variation>
10521059
<variation>Mode650</variation>
@@ -1073,6 +1080,13 @@
10731080
</test>
10741081
<test>
10751082
<testCaseName>jdk_security2</testCaseName>
1083+
<disables>
1084+
<disable>
1085+
<comment>https://github.ibm.com/runtimes/backlog/issues/1089</comment>
1086+
<impl>openj9</impl>
1087+
<testflag>fips140_2</testflag>
1088+
</disable>
1089+
</disables>
10761090
<variations>
10771091
<variation>Mode150</variation>
10781092
<variation>Mode650</variation>
@@ -1105,6 +1119,11 @@
11051119
<platform>.*windows.*</platform>
11061120
<version>8</version>
11071121
</disable>
1122+
<disable>
1123+
<comment>https://github.ibm.com/runtimes/backlog/issues/1089</comment>
1124+
<impl>openj9</impl>
1125+
<testflag>fips140_2</testflag>
1126+
</disable>
11081127
</disables>
11091128
<variations>
11101129
<variation>Mode150</variation>
@@ -1852,6 +1871,13 @@
18521871
</test>
18531872
<test>
18541873
<testCaseName>jdk_security_infra</testCaseName>
1874+
<disables>
1875+
<disable>
1876+
<comment>https://github.ibm.com/runtimes/backlog/issues/1089</comment>
1877+
<impl>openj9</impl>
1878+
<testflag>fips140_2</testflag>
1879+
</disable>
1880+
</disables>
18551881
<variations>
18561882
<variation>Mode150</variation>
18571883
<variation>Mode650</variation>

0 commit comments

Comments
 (0)