Skip to content

Commit

Permalink
Update exclude tests list for extended.openjdk after jdk_security3 en…
Browse files Browse the repository at this point in the history
…abled

When the jdk_security3 test target enabled, there are more test failures due to the tests are not for the FIPS mode. Adding those tests into the exclude list so that those tests will not be run in the FIPS mode extended.openjdk testing.

Signed-off-by: Tao Liu <[email protected]>
  • Loading branch information
taoliult authored and pshipton committed Aug 4, 2022
1 parent 0775677 commit c98a189
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions test/jdk/ProblemList-fips.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1055,3 +1055,45 @@ sun/security/x509/URICertStore/ExtensionsWithLDAP.java https://github.com/ibmrun

com/sun/security/auth/module/KeyStoreLoginModule/OptionTest.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
com/sun/security/auth/module/KeyStoreLoginModule/ReadOnly.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

#
# Update the exclude tests list for extended.openjdk after jdk_security3 test target enabled
#

# Fails also for non FIPS mode testing

sun/security/pkcs11/ec/TestECDH.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/pkcs11/ec/TestECDSA.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

# FIPS don't support exporting DES, DSA, secret, tls master keys, only support RSA keys

sun/security/pkcs11/KeyGenerator/DESParity.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/pkcs11/tls/TestKeyMaterial.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/pkcs11/tls/TestMasterSecret.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/provider/certpath/SunCertPathBuilderExceptionTest.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

# Testing unusual curves in FIPS mode

sun/security/pkcs11/ec/TestCurves.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

# FIPS dont support importing DH, EC, DSA, RSA keys - only support Secret keys

sun/security/pkcs11/ec/TestECDSA2.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/pkcs11/ec/TestECDH2.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/pkcs11/Signature/TestDSA.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/pkcs11/tls/TestLeadingZeroesP11.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/provider/DSA/TestMaxLengthDER.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/x509/X509CertImpl/ECSigParamsVerifyWithCert.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64
sun/security/ssl/rsa/SignedObjectChain.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

# A mismatch in the error message but the function is correct

sun/security/pkcs11/rsa/TestP11KeyFactoryGetRSAKeySpec.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

# Algorithm not supported in FIPS mode

sun/security/provider/MessageDigest/SHA512.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

# FIPS unexpected provider error - not a FIPS test

sun/security/ssl/HandshakeHash/HandshakeHashCloneExhaustion.java https://github.com/ibmruntimes/openj9-openjdk-jdk11/issues/547 linux-x64

0 comments on commit c98a189

Please sign in to comment.