You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by Puneet Gupta <pu...@gmail.com> on 2016/05/12 09:10:07 UTC

Review Request 47298: LENS-1041: Test case org.apache.lens.client.TestLensClient.testTimeout Failing intermittently

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47298/
-----------------------------------------------------------

Review request for lens.


Bugs: lens-1041
    https://issues.apache.org/jira/browse/lens-1041


Repository: lens


Description
-------

**Error Message**

java.net.SocketTimeoutException: Read timed out

**Stacktrace**

javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:170)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
	at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.delete(JerseyInvocation.java:365)
	at org.apache.lens.client.LensConnection.close(LensConnection.java:217)
	at org.apache.lens.client.LensClient.closeConnection(LensClient.java:408)
	at org.apache.lens.client.TestLensClient.testTimeout(TestLensClient.java:267)


Diffs
-----

  lens-client/src/test/java/org/apache/lens/client/TestLensClient.java ff3b888038b44dedeb137853c541fb1bb68cc0ef 

Diff: https://reviews.apache.org/r/47298/diff/


Testing
-------

mvn test -Dtest=org.apache.lens.client.TestLensClient#testTimeout

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.lens.client.TestLensClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.216 sec - in org.apache.lens.client.TestLensClient

Results :

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


Thanks,

Puneet Gupta


Re: Review Request 47298: LENS-1041: Test case org.apache.lens.client.TestLensClient.testTimeout Failing intermittently

Posted by Amareshwari Sriramadasu <am...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47298/#review132855
-----------------------------------------------------------


Ship it!




Ship It!

- Amareshwari Sriramadasu


On May 12, 2016, 9:10 a.m., Puneet Gupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/47298/
> -----------------------------------------------------------
> 
> (Updated May 12, 2016, 9:10 a.m.)
> 
> 
> Review request for lens.
> 
> 
> Bugs: lens-1041
>     https://issues.apache.org/jira/browse/lens-1041
> 
> 
> Repository: lens
> 
> 
> Description
> -------
> 
> **Error Message**
> 
> java.net.SocketTimeoutException: Read timed out
> 
> **Stacktrace**
> 
> javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: Read timed out
> 	at java.net.SocketInputStream.socketRead0(Native Method)
> 	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:170)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:141)
> 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> 	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
> 	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
> 	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
> 	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> 	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
> 	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394)
> 	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
> 	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
> 	at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
> 	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
> 	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
> 	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
> 	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
> 	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696)
> 	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)
> 	at org.glassfish.jersey.client.JerseyInvocation$Builder.delete(JerseyInvocation.java:365)
> 	at org.apache.lens.client.LensConnection.close(LensConnection.java:217)
> 	at org.apache.lens.client.LensClient.closeConnection(LensClient.java:408)
> 	at org.apache.lens.client.TestLensClient.testTimeout(TestLensClient.java:267)
> 
> 
> Diffs
> -----
> 
>   lens-client/src/test/java/org/apache/lens/client/TestLensClient.java ff3b888038b44dedeb137853c541fb1bb68cc0ef 
> 
> Diff: https://reviews.apache.org/r/47298/diff/
> 
> 
> Testing
> -------
> 
> mvn test -Dtest=org.apache.lens.client.TestLensClient#testTimeout
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.lens.client.TestLensClient
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.216 sec - in org.apache.lens.client.TestLensClient
> 
> Results :
> 
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> 
> 
> Thanks,
> 
> Puneet Gupta
> 
>