-
Sub-task
-
Resolution: Done
-
Major
-
3.0.12.Final
-
None
-
None
org.jboss.resteasy.test.xxe.TestXXE.testXXEWithExpansion fails due to IO error: java.net.SocketException: Socket is closed in processing a request from /127.0.0.1:8081 / java.net.Socket
Running org.jboss.resteasy.test.xxe.TestXXE KEEPALIVE!: true [Tue Aug 11 08:28:48 UTC 2015] Servlet for path '/' already defined and no default will be used. [Tue Aug 11 08:28:48 UTC 2015] TJWS httpd localhost - SimpleAcceptor ServerSocket[addr=localhost/127.0.0.1,localport=8081] is listening. <?xml version="1.0"?> <!DOCTYPE foo [<!ENTITY xxe SYSTEM "src/test/java/org/jboss/resteasy/test/xxe/testpasswd"> ]> <search><user>&xxe;</user></search> name: search name: user name: xxe null result: null [Embedded Container Stop] [Tue Aug 11 08:28:48 UTC 2015] Accept: java.net.SocketException: Socket closed KEEPALIVE!: true [Tue Aug 11 08:28:48 UTC 2015] Servlet for path '/' already defined and no default will be used. [Tue Aug 11 08:28:48 UTC 2015] TJWS httpd localhost - SimpleAcceptor ServerSocket[addr=localhost/127.0.0.1,localport=8081] is listening. <?xml version="1.0"?> <!DOCTYPE foo [<!ENTITY xxe SYSTEM "src/test/java/org/jboss/resteasy/test/xxe/testpasswd"> ]> <search><user>&xxe;</user></search> [Tue Aug 11 08:28:48 UTC 2015] IO error: java.net.SocketException: Socket is closed in processing a request from /127.0.0.1:8081 / java.net.Socket [Embedded Container Stop] [Tue Aug 11 08:28:48 UTC 2015] Accept: java.net.SocketException: Socket closed Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.024 sec <<< FAILURE! - in org.jboss.resteasy.test.xxe.TestXXE testXXEWithExpansion(org.jboss.resteasy.test.xxe.TestXXE) Time elapsed: 0.013 sec <<< ERROR! org.apache.http.NoHttpResponseException: localhost:8081 failed to respond at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251) at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor.execute(ApacheHttpClient4Executor.java:199) at org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:46) at org.jboss.resteasy.plugins.interceptors.encoding.AcceptEncodingGZIPInterceptor.execute(AcceptEncodingGZIPInterceptor.java:40) at org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:52) at org.jboss.resteasy.client.ClientRequest.execute(ClientRequest.java:444) at org.jboss.resteasy.client.ClientRequest.httpMethod(ClientRequest.java:685) at org.jboss.resteasy.client.ClientRequest.post(ClientRequest.java:569) at org.jboss.resteasy.test.xxe.TestXXE.testXXEWithExpansion(TestXXE.java:108)
https://s3.amazonaws.com/archive.travis-ci.org/jobs/75052064/log.txt
- relates to
-
RESTEASY-1217 org.jboss.resteasy.test.asynch.AsynchTest fails with AssertionError: expected:<200> but was:<202>
- Closed
-
RESTEASY-1207 Multiple tests failed in resteasy-jaxrs
- Closed
-
RESTEASY-1208 async-tests failed by default
- Closed