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

Bug 356422

Summary: Intermittent test failure.
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.5.0   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Greg Wilkins CLA 2011-08-31 22:42:18 EDT
this test is occasionally hanging at:



   java.lang.Thread.State: RUNNABLE
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
	- locked <0x00007ff7f5404e20> (a java.io.InputStreamReader)
	at java.io.InputStreamReader.read(InputStreamReader.java:167)
	at org.mortbay.util.IO.copy(IO.java:253)
	at org.mortbay.util.IO.copy(IO.java:169)
	at org.mortbay.util.IO.toString(IO.java:327)
	at org.mortbay.util.IO.toString(IO.java:315)
	at org.eclipse.jetty.continuation.Jetty6ContinuationBioFauxTest.toString(Jetty6ContinuationBioFauxTest.java:148)
	at org.eclipse.jetty.continuation.test.ContinuationBase.process(ContinuationBase.java:247)
	- locked <0x00007ff7f735cc70> (a org.eclipse.jetty.continuation.Jetty6ContinuationBioFauxTest)
	at org.eclipse.jetty.continuation.test.ContinuationBase.doSuspendCompleteThrow(ContinuationBase.java:187)
	at org.eclipse.jetty.continuation.Jetty6ContinuationBioFauxTest.testSuspendCompleteThrow(Jetty6ContinuationBioFauxTest.java:143)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
	at $Proxy0.invoke(Unknown Source)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Comment 1 Greg Wilkins CLA 2011-09-05 23:42:15 EDT
I added an soTimeout so the test will not hang.   Expecting next time it occurs a real failure will be reported, so closing this issue now and will open a specific issue if/when failure occurs