Software caused connection abort: recv failed

简介:

最近研究CI,使用maven和hudson,但是执行mvn clean deploy tomcat:undeploy 报错,报错信息(部分):

Xml代码   收藏代码
  1. -------------------------------------------------------  
  2.  T E S T S  
  3. -------------------------------------------------------  
  4. Running com.tdr.test.IntegrationTest  
  5. This is integration-test  
  6. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  
  7. log4j:WARN Continuable parsing error 4 and column 111  
  8. log4j:WARN Attribute "INFO" must be declared for element type "log4j:configuration".  
  9. Started InternetExplorerDriver server (32-bit)  
  10. 2.35.2.0  
  11. Listening on port 28542  
  12. 2013-10-14 14:41:39,112 DEBUG (Forwarding newSession on session null to remote:)  [ThreadSafeClientConnManager] Get conn  
  13. ection: {}->http://localhost:28542, timeout = 120000  
  14. 2013-10-14 14:41:39,115 DEBUG (Forwarding newSession on session null to remote:)  [ConnPoolByRoute] [{}->http://localhos  
  15. t:28542] total kept alive: 0, total issued: 0, total allocated: 0 out of 2000  
  16. 2013-10-14 14:41:39,115 DEBUG (Forwarding newSession on session null to remote:)  [ConnPoolByRoute] No free connections  
  17. [{}->http://localhost:28542][null]  
  18. 2013-10-14 14:41:39,115 DEBUG (Forwarding newSession on session null to remote:)  [ConnPoolByRoute] Available capacity:  
  19. 2000 out of 2000 [{}->http://localhost:28542][null]  
  20. 2013-10-14 14:41:39,115 DEBUG (Forwarding newSession on session null to remote:)  [ConnPoolByRoute] Creating new connect  
  21. ion [{}->http://localhost:28542]  
  22. 2013-10-14 14:41:39,141 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnectionOperator] Conn  
  23. ecting to localhost:28542  
  24. 2013-10-14 14:41:39,174 DEBUG (Forwarding newSession on session null to remote:)  [RequestAddCookies] CookieSpec selecte  
  25. d: best-match  
  26. 2013-10-14 14:41:39,191 DEBUG (Forwarding newSession on session null to remote:)  [RequestAuthCache] Auth cache not set  
  27. in the context  
  28. 2013-10-14 14:41:39,191 DEBUG (Forwarding newSession on session null to remote:)  [RequestTargetAuthentication] Target a  
  29. uth state: UNCHALLENGED  
  30. 2013-10-14 14:41:39,191 DEBUG (Forwarding newSession on session null to remote:)  [RequestProxyAuthentication] Proxy aut  
  31. h state: UNCHALLENGED  
  32. 2013-10-14 14:41:39,192 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Attempt 1 to execu  
  33. te request  
  34. 2013-10-14 14:41:39,192 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnection] Sending requ  
  35. est: POST /session HTTP/1.1  
  36. 2013-10-14 14:41:39,192 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "POST /session HTTP/1.1[\r][  
  37. \n]"  
  38. 2013-10-14 14:41:39,194 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Accept: application/json, i  
  39. mage/png[\r][\n]"  
  40. 2013-10-14 14:41:39,194 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Content-Type: application/j  
  41. son; charset=utf-8[\r][\n]"  
  42. 2013-10-14 14:41:39,194 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Content-Length: 154[\r][\n]  
  43. "  
  44. 2013-10-14 14:41:39,195 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Host: localhost:28542[\r][\  
  45. n]"  
  46. 2013-10-14 14:41:39,195 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Connection: Keep-Alive[\r][  
  47. \n]"  
  48. 2013-10-14 14:41:39,195 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "[\r][\n]"  
  49. 2013-10-14 14:41:39,196 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> POST /session HTTP/1.1  
  50. 2013-10-14 14:41:39,196 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Accept: application/json,  
  51.  image/png  
  52. 2013-10-14 14:41:39,196 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Content-Type: application  
  53. /json; charset=utf-8  
  54. 2013-10-14 14:41:39,196 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Content-Length: 154  
  55. 2013-10-14 14:41:39,197 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Host: localhost:28542  
  56. 2013-10-14 14:41:39,197 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Connection: Keep-Alive  
  57. 2013-10-14 14:41:39,198 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "{"desiredCapabilities":{"pl  
  58. atform":"WINDOWS","ensureCleanSession":true,"ignoreProtectedModeSettings":true,"browserName":"internet explorer","versio  
  59. n":""}}"  
  60. 2013-10-14 14:41:41,752 DEBUG (Forwarding newSession on session null to remote:)  [wire] << "HTTP/1.1 303 See Other[\r][  
  61. \n]"  
  62. 2013-10-14 14:41:41,773 DEBUG (Forwarding newSession on session null to remote:)  [wire] << "Location: /session/c550c974  
  63. -55c8-41ed-a5d6-07e8a973ffc2[\r][\n]"  
  64. 2013-10-14 14:41:41,774 DEBUG (Forwarding newSession on session null to remote:)  [wire] << "Content-Type: text/html[\r]  
  65. [\n]"  
  66. 2013-10-14 14:41:41,774 DEBUG (Forwarding newSession on session null to remote:)  [wire] << "Content-Length: 0[\r][\n]"  
  67. 2013-10-14 14:41:41,774 DEBUG (Forwarding newSession on session null to remote:)  [wire] << "[\r][\n]"  
  68. 2013-10-14 14:41:41,775 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnection] Receiving re  
  69. sponse: HTTP/1.1 303 See Other  
  70. 2013-10-14 14:41:41,775 DEBUG (Forwarding newSession on session null to remote:)  [headers] << HTTP/1.1 303 See Other  
  71. 2013-10-14 14:41:41,775 DEBUG (Forwarding newSession on session null to remote:)  [headers] << Location: /session/c550c9  
  72. 74-55c8-41ed-a5d6-07e8a973ffc2  
  73. 2013-10-14 14:41:41,775 DEBUG (Forwarding newSession on session null to remote:)  [headers] << Content-Type: text/html  
  74. 2013-10-14 14:41:41,775 DEBUG (Forwarding newSession on session null to remote:)  [headers] << Content-Length: 0  
  75. 2013-10-14 14:41:41,782 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Connection can be  
  76. kept alive indefinitely  
  77. 2013-10-14 14:41:41,782 DEBUG (Forwarding newSession on session null to remote:)  [DefaultRedirectStrategy] Redirect req  
  78. uested to location '/session/c550c974-55c8-41ed-a5d6-07e8a973ffc2'  
  79. 2013-10-14 14:41:41,788 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Redirecting to 'ht  
  80. tp://localhost:28542/session/c550c974-55c8-41ed-a5d6-07e8a973ffc2' via {}->http://localhost:28542  
  81. 2013-10-14 14:41:41,789 DEBUG (Forwarding newSession on session null to remote:)  [RequestAddCookies] CookieSpec selecte  
  82. d: best-match  
  83. 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:)  [RequestAuthCache] Auth cache not set  
  84. in the context  
  85. 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:)  [RequestTargetAuthentication] Target a  
  86. uth state: UNCHALLENGED  
  87. 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:)  [RequestProxyAuthentication] Proxy aut  
  88. h state: UNCHALLENGED  
  89. 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Attempt 2 to execu  
  90. te request  
  91. 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnection] Sending requ  
  92. est: GET /session/c550c974-55c8-41ed-a5d6-07e8a973ffc2 HTTP/1.1  
  93. 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "GET /session/c550c974-55c8-  
  94. 41ed-a5d6-07e8a973ffc2 HTTP/1.1[\r][\n]"  
  95. 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Accept: application/json, i  
  96. mage/png[\r][\n]"  
  97. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Content-Type: application/j  
  98. son; charset=utf-8[\r][\n]"  
  99. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Host: localhost:28542[\r][\  
  100. n]"  
  101. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Connection: Keep-Alive[\r][  
  102. \n]"  
  103. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "[\r][\n]"  
  104. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> GET /session/c550c974-55c  
  105. 8-41ed-a5d6-07e8a973ffc2 HTTP/1.1  
  106. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Accept: application/json,  
  107.  image/png  
  108. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Content-Type: application  
  109. /json; charset=utf-8  
  110. 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Host: localhost:28542  
  111. 2013-10-14 14:41:41,792 DEBUG (Forwarding newSession on session null to remote:)  [headers] >> Connection: Keep-Alive  
  112. 2013-10-14 14:41:41,792 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnection] Connection 0  
  113. .0.0.0:11520<->127.0.0.1:28542 closed  
  114. 2013-10-14 14:41:41,792 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Closing the connec  
  115. tion.  
  116. 2013-10-14 14:41:41,793 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnection] Connection 0  
  117. .0.0.0:11520<->127.0.0.1:28542 closed  
  118. 2013-10-14 14:41:41,793 INFO  (Forwarding newSession on session null to remote:)  [DefaultHttpClient] I/O exception (jav  
  119. a.net.SocketException) caught when processing request: Software caused connection abort: recv failed  
  120. 2013-10-14 14:41:41,795 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Software caused co  
  121. nnection abort: recv failed  
  122. java.net.SocketException: Software caused connection abort: recv failed  
  123.         at java.net.SocketInputStream.socketRead0(Native Method)  
  124.         at java.net.SocketInputStream.read(SocketInputStream.java:129)  
  125.         at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166)  
  126.         at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90)  
  127.         at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:281)  
  128.         at org.apache.http.impl.conn.LoggingSessionInputBuffer.readLine(LoggingSessionInputBuffer.java:115)  
  129.         at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)  
  130.         at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)  
  131.         at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)  
  132.         at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289  
  133. )  
  134.         at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)  
  135.         at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)  
  136.   
  137.         at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)  
  138.         at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)  
  139.         at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:712)  
  140.         at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:517)  
  141.         at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)  
  142.         at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:316)  
  143.         at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:295)  
  144.         at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:66)  
  145.         at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)  
  146.         at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)  
  147.         at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:201)  
  148.         at org.openqa.selenium.ie.InternetExplorerDriver.run(InternetExplorerDriver.java:184)  
  149.         at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:174)  
  150.         at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:147)  
  151.         at com.tdr.test.IntegrationTest.test01(IntegrationTest.java:25)  
  152.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
  153.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  
  154.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  
  155.         at java.lang.reflect.Method.invoke(Method.java:597)  
  156.         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)  
  157.         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)  
  158.         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)  
  159.         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)  
  160.         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)  
  161.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)  
  162.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)  
  163.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)  
  164.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)  
  165.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)  
  166.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)  
  167.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)  
  168.         at org.junit.runners.ParentRunner.run(ParentRunner.java:309)  
  169.         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)  
  170.         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)  
  171.         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)  
  172.         at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)  
  173.         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)  
  174.         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)  
  175. 2013-10-14 14:41:41,797 INFO  (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Retrying request  
  176. 2013-10-14 14:41:41,797 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Reopening the dire  
  177. ct connection.  
  178. 2013-10-14 14:41:41,797 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnectionOperator] Conn  
  179. ecting to localhost:28542  
  180. 2013-10-14 14:41:41,798 DEBUG (Forwarding newSession on session null to remote:)  [DefaultHttpClient] Attempt 3 to execu  
  181. te request  
  182. 2013-10-14 14:41:41,798 DEBUG (Forwarding newSession on session null to remote:)  [DefaultClientConnection] Sending requ  
  183. est: GET /session/c550c974-55c8-41ed-a5d6-07e8a973ffc2 HTTP/1.1  
  184. 2013-10-14 14:41:41,798 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "GET /session/c550c974-55c8-  
  185. 41ed-a5d6-07e8a973ffc2 HTTP/1.1[\r][\n]"  
  186. 2013-10-14 14:41:41,798 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Accept: application/json, i  
  187. mage/png[\r][\n]"  
  188. 2013-10-14 14:41:41,799 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Content-Type: application/j  
  189. son; charset=utf-8[\r][\n]"  
  190. 2013-10-14 14:41:41,799 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Host: localhost:28542[\r][\  
  191. n]"  
  192. 2013-10-14 14:41:41,799 DEBUG (Forwarding newSession on session null to remote:)  [wire] >> "Connection: Keep-Alive[\r][  
  193. \n]"  

 哪位知道怎么解决?

相关文章
|
Web App开发 前端开发
【前端异常】Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
【前端异常】Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
831 0
|
7月前
|
物联网
BLE 0x3e HCI_ERROR_CODE_CONN_FAILED_TO_ESTABLISH
BLE 0x3e HCI_ERROR_CODE_CONN_FAILED_TO_ESTABLISH
93 0
|
5月前
|
网络协议 网络安全 数据库
【已解决】kex_exchange_identification: Connection closed by remote host fatal: Could not read from
【已解决】kex_exchange_identification: Connection closed by remote host fatal: Could not read from
|
7月前
|
应用服务中间件 nginx Windows
[emerg] 15060#200: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket ......
[emerg] 15060#200: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket ......
217 0
|
jenkins 持续交付 网络安全
2. 成功解决 BUG:Exception when publishing, ...[Failed to connect and initialize SSH connection...
SSH: Connecting from host [WIN-...] SSH: Connecting with configuration [192.168....] ... ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [192.168....]. Message [java.net.ConnectException: Connection
1644 0
abort: error: Temporary failure in name resolution
abort: error: Temporary failure in name resolution
201 0
|
应用服务中间件 nginx
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
5085 0