-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b25
-
generic
-
generic
-
Verified
This test is currently failing with jdk8/tl in JPRT on all platforms. It's also failing in the nightly testing.
--------------------------------------------------
TEST: sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/CookieHttpsClientTest.java
JDK under test: (/tmp/jprt/P2/203840.albatem/testproduct/linux_i586_2.6-product)
java version "1.8.0-internal"
Java(TM) SE Runtime Environment (build 1.8.0-internal-201201212038.albatem.jdk-b00)
Java HotSpot(TM) Server VM (build 23.0-b10, mixed mode)
ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME: 0.071 seconds
messages:
command: build CookieHttpsClientTest
reason: Named class compiled on demand
elapsed time (seconds): 0.071
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.07 seconds
messages:
command: compile /tmp/jprt/P2/203840.albatem/source/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/CookieHttpsClientTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.07
ACTION: main -- Failed. Execution failed: `main' threw exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
REASON: Assumed action based on file name: run main CookieHttpsClientTest
TIME: 0.109 seconds
messages:
command: main CookieHttpsClientTest
reason: Assumed action based on file name: run main CookieHttpsClientTest
elapsed time (seconds): 0.109
STDERR:
javax.net.ssl.SSLHandshakeException: no cipher suites in common
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1868)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:266)
at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:892)
at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:620)
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:167)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:996)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1292)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:846)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:69)
at CookieHttpsClientTest.readOneRequest(CookieHttpsClientTest.java:159)
at CookieHttpsClientTest.doServerSide(CookieHttpsClientTest.java:104)
at CookieHttpsClientTest$2.run(CookieHttpsClientTest.java:244)
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1942)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1057)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1292)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1319)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1303)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:515)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at CookieHttpsClientTest.doClientSide(CookieHttpsClientTest.java:139)
at CookieHttpsClientTest.startClient(CookieHttpsClientTest.java:280)
at CookieHttpsClientTest.<init>(CookieHttpsClientTest.java:211)
at CookieHttpsClientTest.main(CookieHttpsClientTest.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: javax.net.ssl.SSLHandshakeException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
--------------------------------------------------
--------------------------------------------------
TEST: sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/CookieHttpsClientTest.java
JDK under test: (/tmp/jprt/P2/203840.albatem/testproduct/linux_i586_2.6-product)
java version "1.8.0-internal"
Java(TM) SE Runtime Environment (build 1.8.0-internal-201201212038.albatem.jdk-b00)
Java HotSpot(TM) Server VM (build 23.0-b10, mixed mode)
ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME: 0.071 seconds
messages:
command: build CookieHttpsClientTest
reason: Named class compiled on demand
elapsed time (seconds): 0.071
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.07 seconds
messages:
command: compile /tmp/jprt/P2/203840.albatem/source/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/CookieHttpsClientTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.07
ACTION: main -- Failed. Execution failed: `main' threw exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
REASON: Assumed action based on file name: run main CookieHttpsClientTest
TIME: 0.109 seconds
messages:
command: main CookieHttpsClientTest
reason: Assumed action based on file name: run main CookieHttpsClientTest
elapsed time (seconds): 0.109
STDERR:
javax.net.ssl.SSLHandshakeException: no cipher suites in common
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1868)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:266)
at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:892)
at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:620)
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:167)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:996)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1292)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:846)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:69)
at CookieHttpsClientTest.readOneRequest(CookieHttpsClientTest.java:159)
at CookieHttpsClientTest.doServerSide(CookieHttpsClientTest.java:104)
at CookieHttpsClientTest$2.run(CookieHttpsClientTest.java:244)
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1942)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1057)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1292)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1319)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1303)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:515)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at CookieHttpsClientTest.doClientSide(CookieHttpsClientTest.java:139)
at CookieHttpsClientTest.startClient(CookieHttpsClientTest.java:280)
at CookieHttpsClientTest.<init>(CookieHttpsClientTest.java:211)
at CookieHttpsClientTest.main(CookieHttpsClientTest.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: javax.net.ssl.SSLHandshakeException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
--------------------------------------------------