-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
23
jck test api/javax_net/ssl/SSLSocket/setUseClientMode.html fails with IllegalArgumentException is not thrown.
log is:
This test tries to open the keystore resource: "file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/tests/api/javax_net/ssl/keystore/testkeys.jks"
with the keystore's password "DukesSecretPassword"
This test successfully open the keystore file.
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLS: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.0: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.2: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Unable to initialize an SSLContext.
Default SSLContext is initialized automatically
Provider SunJSSE, algorithm SSLContext.Default: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Provider SunJSSE, algorithm SSLContext.TLS: Failed. IllegalArgumentException is not thrown.
Provider SunJSSE, algorithm SSLContext.TLSv1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.2: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.3: Passed. OK
setUseClientMode002: Failed. test cases: 9; passed: 8; failed: 1; first test case failure: Provider SunJSSE, algorithm SSLContext.TLS
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLS: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.0: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.2: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Unable to initialize an SSLContext.
Default SSLContext is initialized automatically
Provider SunJSSE, algorithm SSLContext.Default: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Provider SunJSSE, algorithm SSLContext.TLS: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.2: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.3: Passed. OK
setUseClientMode001: Passed. test cases: 9; all passed
----------out2:(17/2089)----------
MultiJVM group agent ID: 4
testModuleFinder = null
testModuleName = null
rootModules = []
locations = [file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/classes/]
java.class.path property = /opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/jtjck.jar:
updated locations = [file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/classes/, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/javatest.jar, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/jtjck.jar]
p = [file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/classes/, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/javatest.jar, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/jtjck.jar]
creating new loader
chosen loader = java.net.URLClassLoader@4b6bbf8d
chosen loader's parent = jdk.internal.loader.ClassLoaders$AppClassLoader@32a1bec0
executeArgs = [-timeoutFactor, 10.0, -KeyStoreURL, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/tests/api/javax_net/ssl/keystore/testkeys.jks, -KeyStoreType, JKS, -KeyStorePassword, DukesSecretPassword, -KeyPassword, DukesSecretPassword, -KeyStoreURL, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/tests/api/javax_net/ssl/keystore/testkeys.jks, -KeyStoreType, JKS, -KeyStorePassword, DukesSecretPassword, -KeyPassword, DukesSecretPassword]
java version "23-ea"
Java(TM) SE Runtime Environment (build 23-ea+7-431)
Java HotSpot(TM) 64-Bit Server VM (build 23-ea+7-431, compiled mode, sharing)
Timeout factor provided: 10.0
result: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: setUseClientMode002
test result: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: setUseClientMode002
log is:
This test tries to open the keystore resource: "file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/tests/api/javax_net/ssl/keystore/testkeys.jks"
with the keystore's password "DukesSecretPassword"
This test successfully open the keystore file.
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLS: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.0: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.2: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Unable to initialize an SSLContext.
Default SSLContext is initialized automatically
Provider SunJSSE, algorithm SSLContext.Default: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Provider SunJSSE, algorithm SSLContext.TLS: Failed. IllegalArgumentException is not thrown.
Provider SunJSSE, algorithm SSLContext.TLSv1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.2: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.3: Passed. OK
setUseClientMode002: Failed. test cases: 9; passed: 8; failed: 1; first test case failure: Provider SunJSSE, algorithm SSLContext.TLS
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLS: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.0: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
SSLContext::getSocketFactory thrown UnsupportedOperationException - SSLContext init failed
DTLS not supported with SSLSocket
Provider SunJSSE, algorithm SSLContext.DTLSv1.2: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Unable to initialize an SSLContext.
Default SSLContext is initialized automatically
Provider SunJSSE, algorithm SSLContext.Default: Passed. Test SKIPPED :KeyManagementException | UnsupportedOperationException caused SSLContext init failed
Provider SunJSSE, algorithm SSLContext.TLS: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.1: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.2: Passed. OK
Provider SunJSSE, algorithm SSLContext.TLSv1.3: Passed. OK
setUseClientMode001: Passed. test cases: 9; all passed
----------out2:(17/2089)----------
MultiJVM group agent ID: 4
testModuleFinder = null
testModuleName = null
rootModules = []
locations = [file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/classes/]
java.class.path property = /opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/jtjck.jar:
updated locations = [file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/classes/, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/javatest.jar, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/jtjck.jar]
p = [file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/classes/, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/javatest.jar, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/lib/jtjck.jar]
creating new loader
chosen loader = java.net.URLClassLoader@4b6bbf8d
chosen loader's parent = jdk.internal.loader.ClassLoaders$AppClassLoader@32a1bec0
executeArgs = [-timeoutFactor, 10.0, -KeyStoreURL, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/tests/api/javax_net/ssl/keystore/testkeys.jks, -KeyStoreType, JKS, -KeyStorePassword, DukesSecretPassword, -KeyPassword, DukesSecretPassword, -KeyStoreURL, file:/opt/mach5/mesos/work_dir/jib-master/install/jck/22/b14/bundles/JCK-runtime-22.jar/JCK-runtime-22/tests/api/javax_net/ssl/keystore/testkeys.jks, -KeyStoreType, JKS, -KeyStorePassword, DukesSecretPassword, -KeyPassword, DukesSecretPassword]
java version "23-ea"
Java(TM) SE Runtime Environment (build 23-ea+7-431)
Java HotSpot(TM) 64-Bit Server VM (build 23-ea+7-431, compiled mode, sharing)
Timeout factor provided: 10.0
result: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: setUseClientMode002
test result: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: setUseClientMode002