Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326110

Summary: SslSecuredContentExchangeTest exceptions
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: buildAssignee: Jesse McConnell <jesse.mcconnell>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jesse.mcconnell, jetty-inbox, joakim.erdfelt, mgorovoy
Version: 7.2.0   
Target Milestone: 7.1.x   
Hardware: All   
OS: All   
Whiteboard:

Description Greg Wilkins CLA 2010-09-23 22:12:33 EDT
Exceptions during test run - did not cause test to fail


Running org.eclipse.jetty.client.SslSecuredContentExchangeTest
2010-09-23 19:10:24.794:INFO::jetty-7.2.0-SNAPSHOT
2010-09-23 19:10:24.799:INFO::Started SslSelectChannelConnector@0.0.0.0:58841
2010-09-23 19:10:24.826:WARN::javax.net.ssl.SSLException: Received close_notify during handshake
2010-09-23 19:10:24.827:WARN::SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/127.0.0.1:58841 remote=/127.0.0.1:41913]
2010-09-23 19:10:24.828:WARN::handle failed
java.lang.IllegalStateException: Internal error
	at com.sun.net.ssl.internal.ssl.SSLEngineImpl.initHandshaker(SSLEngineImpl.java:403)
	at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:937)
	at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:815)
	at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:691)
	at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
	at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:708)
	at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:323)
	at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:939)
	at org.eclipse.jetty.client.HttpConnection.handle(HttpConnection.java:179)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
	at java.lang.Thread.run(Thread.java:619)
2010-09-23 19:10:24.933:INFO::jetty-7.2.0-SNAPSHOT
2010-09-23 19:10:24.937:INFO::Started SslSelectChannelConnector@0.0.0.0:50180
2010-09-23 19:10:24.969:WARN::javax.net.ssl.SSLException: illegal change cipher spec msg, state = 1
2010-09-23 19:10:25.070:INFO::jetty-7.2.0-SNAPSHOT
2010-09-23 19:10:25.074:INFO::Started SslSelectChannelConnector@0.0.0.0:50373
2010-09-23 19:10:25.096:WARN::handle failed
java.lang.NullPointerException
	at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:425)
	at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:939)
	at org.eclipse.jetty.client.HttpConnection.handle(HttpConnection.java:179)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
	at java.lang.Thread.run(Thread.java:619)
2010-09-23 19:10:25.097:WARN::javax.net.ssl.SSLException: Algorithm missing:  
2010-09-23 19:10:25.202:INFO::jetty-7.2.0-SNAPSHOT
2010-09-23 19:10:25.206:INFO::Started SslSelectChannelConnector@0.0.0.0:57882
2010-09-23 19:10:25.232:WARN::javax.net.ssl.SSLException: illegal change cipher spec msg, state = 1
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.554 sec
Comment 1 Joakim Erdfelt CLA 2011-09-12 16:51:02 EDT
FIXED: No longer throws warnings/exceptions in 7.5.2-SNAPSHOT

[INFO] --- maven-surefire-plugin:2.8.1:test (default-test) @ jetty-client ---
[INFO] Surefire report directory: /home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.jetty.client.SslSecuredContentExchangeTest
2011-09-12 13:50:42.673:INFO:oejs.Server:jetty-7.5.2-SNAPSHOT
2011-09-12 13:50:42.713:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
2011-09-12 13:50:42.863:INFO:oejs.AbstractConnector:Started SslSelectChannelConnector@0.0.0.0:46435 STARTING
2011-09-12 13:50:43.097:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
2011-09-12 13:50:43.154:INFO:oejs.Server:jetty-7.5.2-SNAPSHOT
2011-09-12 13:50:43.155:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
2011-09-12 13:50:43.160:INFO:oejs.AbstractConnector:Started SslSelectChannelConnector@0.0.0.0:50472 STARTING
2011-09-12 13:50:43.282:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
2011-09-12 13:50:43.335:INFO:oejs.Server:jetty-7.5.2-SNAPSHOT
2011-09-12 13:50:43.336:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
2011-09-12 13:50:43.341:INFO:oejs.AbstractConnector:Started SslSelectChannelConnector@0.0.0.0:40591 STARTING
2011-09-12 13:50:43.459:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
2011-09-12 13:50:43.512:INFO:oejs.Server:jetty-7.5.2-SNAPSHOT
2011-09-12 13:50:43.513:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
2011-09-12 13:50:43.518:INFO:oejs.AbstractConnector:Started SslSelectChannelConnector@0.0.0.0:35021 STARTING
2011-09-12 13:50:43.552:WARN:oejin.SslSelectChannelEndPoint:127.0.0.1:52270 javax.net.ssl.SSLException: Received close_notify during handshake
2011-09-12 13:50:43.623:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,file:/home/joakim/code/intalio/org.eclipse.jetty.project/jetty-client/target/test-output/docroot/}
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.122 sec

Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.449s
[INFO] Finished at: Mon Sep 12 13:50:43 MST 2011
[INFO] Final Memory: 18M/282M
[INFO] ------------------------------------------------------------------------