Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
(Java) V4 4.0.0-beta-03
-
None
-
None
Description
The server-ext module fails to built sometimes due to an error in a test. This only happens when executing the maven commands "mvn clean install" and it does not happen every time. I have not been able to reproduce this bug within eclipse.
This is the stacktrace:
Test
testAddDelete2ReferenceCollection(org.apache.olingo.server.example.TripPinServiceTest) Time elapsed: 0.007 sec <<< ERROR!
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166)
at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90)
at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:281)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:61)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at org.apache.olingo.server.example.TripPinServiceTest.testAddDelete2ReferenceCollection(TripPinServiceTest.java:694)
Results :
Tests in error:
TripPinServiceTest.testAddDelete2ReferenceCollection:694->httpSend:95 ╗ Socket
Tests run: 74, Failures: 0, Errors: 1, Skipped: 2