天天看点

Software caused connection abort: recv failed

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

Software caused connection abort: recv failed

-------------------------------------------------------  

 t e s t s  

running com.tdr.test.integrationtest  

this is integration-test  

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$  

log4j:warn continuable parsing error 4 and column 111  

log4j:warn attribute "info" must be declared for element type "log4j:configuration".  

started internetexplorerdriver server (32-bit)  

2.35.2.0  

listening on port 28542  

2013-10-14 14:41:39,112 debug (forwarding newsession on session null to remote:)  [threadsafeclientconnmanager] get conn  

ection: {}->http://localhost:28542, timeout = 120000  

2013-10-14 14:41:39,115 debug (forwarding newsession on session null to remote:)  [connpoolbyroute] [{}->http://localhos  

t:28542] total kept alive: 0, total issued: 0, total allocated: 0 out of 2000  

2013-10-14 14:41:39,115 debug (forwarding newsession on session null to remote:)  [connpoolbyroute] no free connections  

[{}->http://localhost:28542][null]  

2013-10-14 14:41:39,115 debug (forwarding newsession on session null to remote:)  [connpoolbyroute] available capacity:  

2000 out of 2000 [{}->http://localhost:28542][null]  

2013-10-14 14:41:39,115 debug (forwarding newsession on session null to remote:)  [connpoolbyroute] creating new connect  

ion [{}->http://localhost:28542]  

2013-10-14 14:41:39,141 debug (forwarding newsession on session null to remote:)  [defaultclientconnectionoperator] conn  

ecting to localhost:28542  

2013-10-14 14:41:39,174 debug (forwarding newsession on session null to remote:)  [requestaddcookies] cookiespec selecte  

d: best-match  

2013-10-14 14:41:39,191 debug (forwarding newsession on session null to remote:)  [requestauthcache] auth cache not set  

in the context  

2013-10-14 14:41:39,191 debug (forwarding newsession on session null to remote:)  [requesttargetauthentication] target a  

uth state: unchallenged  

2013-10-14 14:41:39,191 debug (forwarding newsession on session null to remote:)  [requestproxyauthentication] proxy aut  

h state: unchallenged  

2013-10-14 14:41:39,192 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] attempt 1 to execu  

te request  

2013-10-14 14:41:39,192 debug (forwarding newsession on session null to remote:)  [defaultclientconnection] sending requ  

est: post /session http/1.1  

2013-10-14 14:41:39,192 debug (forwarding newsession on session null to remote:)  [wire] >> "post /session http/1.1[\r][  

\n]"  

2013-10-14 14:41:39,194 debug (forwarding newsession on session null to remote:)  [wire] >> "accept: application/json, i  

mage/png[\r][\n]"  

2013-10-14 14:41:39,194 debug (forwarding newsession on session null to remote:)  [wire] >> "content-type: application/j  

son; charset=utf-8[\r][\n]"  

2013-10-14 14:41:39,194 debug (forwarding newsession on session null to remote:)  [wire] >> "content-length: 154[\r][\n]  

"  

2013-10-14 14:41:39,195 debug (forwarding newsession on session null to remote:)  [wire] >> "host: localhost:28542[\r][\  

n]"  

2013-10-14 14:41:39,195 debug (forwarding newsession on session null to remote:)  [wire] >> "connection: keep-alive[\r][  

2013-10-14 14:41:39,195 debug (forwarding newsession on session null to remote:)  [wire] >> "[\r][\n]"  

2013-10-14 14:41:39,196 debug (forwarding newsession on session null to remote:)  [headers] >> post /session http/1.1  

2013-10-14 14:41:39,196 debug (forwarding newsession on session null to remote:)  [headers] >> accept: application/json,  

 image/png  

2013-10-14 14:41:39,196 debug (forwarding newsession on session null to remote:)  [headers] >> content-type: application  

/json; charset=utf-8  

2013-10-14 14:41:39,196 debug (forwarding newsession on session null to remote:)  [headers] >> content-length: 154  

2013-10-14 14:41:39,197 debug (forwarding newsession on session null to remote:)  [headers] >> host: localhost:28542  

2013-10-14 14:41:39,197 debug (forwarding newsession on session null to remote:)  [headers] >> connection: keep-alive  

2013-10-14 14:41:39,198 debug (forwarding newsession on session null to remote:)  [wire] >> "{"desiredcapabilities":{"pl  

atform":"windows","ensurecleansession":true,"ignoreprotectedmodesettings":true,"browsername":"internet explorer","versio  

n":""}}"  

2013-10-14 14:41:41,752 debug (forwarding newsession on session null to remote:)  [wire] << "http/1.1 303 see other[\r][  

2013-10-14 14:41:41,773 debug (forwarding newsession on session null to remote:)  [wire] << "location: /session/c550c974  

-55c8-41ed-a5d6-07e8a973ffc2[\r][\n]"  

2013-10-14 14:41:41,774 debug (forwarding newsession on session null to remote:)  [wire] << "content-type: text/html[\r]  

[\n]"  

2013-10-14 14:41:41,774 debug (forwarding newsession on session null to remote:)  [wire] << "content-length: 0[\r][\n]"  

2013-10-14 14:41:41,774 debug (forwarding newsession on session null to remote:)  [wire] << "[\r][\n]"  

2013-10-14 14:41:41,775 debug (forwarding newsession on session null to remote:)  [defaultclientconnection] receiving re  

sponse: http/1.1 303 see other  

2013-10-14 14:41:41,775 debug (forwarding newsession on session null to remote:)  [headers] << http/1.1 303 see other  

2013-10-14 14:41:41,775 debug (forwarding newsession on session null to remote:)  [headers] << location: /session/c550c9  

74-55c8-41ed-a5d6-07e8a973ffc2  

2013-10-14 14:41:41,775 debug (forwarding newsession on session null to remote:)  [headers] << content-type: text/html  

2013-10-14 14:41:41,775 debug (forwarding newsession on session null to remote:)  [headers] << content-length: 0  

2013-10-14 14:41:41,782 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] connection can be  

kept alive indefinitely  

2013-10-14 14:41:41,782 debug (forwarding newsession on session null to remote:)  [defaultredirectstrategy] redirect req  

uested to location '/session/c550c974-55c8-41ed-a5d6-07e8a973ffc2'  

2013-10-14 14:41:41,788 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] redirecting to 'ht  

tp://localhost:28542/session/c550c974-55c8-41ed-a5d6-07e8a973ffc2' via {}->http://localhost:28542  

2013-10-14 14:41:41,789 debug (forwarding newsession on session null to remote:)  [requestaddcookies] cookiespec selecte  

2013-10-14 14:41:41,790 debug (forwarding newsession on session null to remote:)  [requestauthcache] auth cache not set  

2013-10-14 14:41:41,790 debug (forwarding newsession on session null to remote:)  [requesttargetauthentication] target a  

2013-10-14 14:41:41,790 debug (forwarding newsession on session null to remote:)  [requestproxyauthentication] proxy aut  

2013-10-14 14:41:41,790 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] attempt 2 to execu  

2013-10-14 14:41:41,790 debug (forwarding newsession on session null to remote:)  [defaultclientconnection] sending requ  

est: get /session/c550c974-55c8-41ed-a5d6-07e8a973ffc2 http/1.1  

2013-10-14 14:41:41,790 debug (forwarding newsession on session null to remote:)  [wire] >> "get /session/c550c974-55c8-  

41ed-a5d6-07e8a973ffc2 http/1.1[\r][\n]"  

2013-10-14 14:41:41,790 debug (forwarding newsession on session null to remote:)  [wire] >> "accept: application/json, i  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [wire] >> "content-type: application/j  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [wire] >> "host: localhost:28542[\r][\  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [wire] >> "connection: keep-alive[\r][  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [wire] >> "[\r][\n]"  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [headers] >> get /session/c550c974-55c  

8-41ed-a5d6-07e8a973ffc2 http/1.1  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [headers] >> accept: application/json,  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [headers] >> content-type: application  

2013-10-14 14:41:41,791 debug (forwarding newsession on session null to remote:)  [headers] >> host: localhost:28542  

2013-10-14 14:41:41,792 debug (forwarding newsession on session null to remote:)  [headers] >> connection: keep-alive  

2013-10-14 14:41:41,792 debug (forwarding newsession on session null to remote:)  [defaultclientconnection] connection 0  

.0.0.0:11520<->127.0.0.1:28542 closed  

2013-10-14 14:41:41,792 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] closing the connec  

tion.  

2013-10-14 14:41:41,793 debug (forwarding newsession on session null to remote:)  [defaultclientconnection] connection 0  

2013-10-14 14:41:41,793 info  (forwarding newsession on session null to remote:)  [defaulthttpclient] i/o exception (jav  

a.net.socketexception) caught when processing request: software caused connection abort: recv failed  

2013-10-14 14:41:41,795 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] software caused co  

nnection abort: recv failed  

java.net.socketexception: software caused connection abort: recv failed  

        at java.net.socketinputstream.socketread0(native method)  

        at java.net.socketinputstream.read(socketinputstream.java:129)  

        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.loggingsessioninputbuffer.readline(loggingsessioninputbuffer.java:115)  

        at org.apache.http.impl.conn.defaulthttpresponseparser.parsehead(defaulthttpresponseparser.java:92)  

        at org.apache.http.impl.conn.defaulthttpresponseparser.parsehead(defaulthttpresponseparser.java:62)  

        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.abstractclientconnadapter.receiveresponseheader(abstractclientconnadapter.java:219)  

        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:712)  

        at org.apache.http.impl.client.defaultrequestdirector.execute(defaultrequestdirector.java:517)  

        at org.apache.http.impl.client.abstracthttpclient.execute(abstracthttpclient.java:906)  

        at org.openqa.selenium.remote.httpcommandexecutor.fallbackexecute(httpcommandexecutor.java:316)  

        at org.openqa.selenium.remote.httpcommandexecutor.execute(httpcommandexecutor.java:295)  

        at org.openqa.selenium.remote.service.drivercommandexecutor.execute(drivercommandexecutor.java:66)  

        at org.openqa.selenium.remote.remotewebdriver.execute(remotewebdriver.java:527)  

        at org.openqa.selenium.remote.remotewebdriver.startsession(remotewebdriver.java:216)  

        at org.openqa.selenium.remote.remotewebdriver.startsession(remotewebdriver.java:201)  

        at org.openqa.selenium.ie.internetexplorerdriver.run(internetexplorerdriver.java:184)  

        at org.openqa.selenium.ie.internetexplorerdriver.<init>(internetexplorerdriver.java:174)  

        at org.openqa.selenium.ie.internetexplorerdriver.<init>(internetexplorerdriver.java:147)  

        at com.tdr.test.integrationtest.test01(integrationtest.java:25)  

        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.junit.runners.model.frameworkmethod$1.runreflectivecall(frameworkmethod.java:47)  

        at org.junit.internal.runners.model.reflectivecallable.run(reflectivecallable.java:12)  

        at org.junit.runners.model.frameworkmethod.invokeexplosively(frameworkmethod.java:44)  

        at org.junit.internal.runners.statements.invokemethod.evaluate(invokemethod.java:17)  

        at org.junit.runners.parentrunner.runleaf(parentrunner.java:271)  

        at org.junit.runners.blockjunit4classrunner.runchild(blockjunit4classrunner.java:70)  

        at org.junit.runners.blockjunit4classrunner.runchild(blockjunit4classrunner.java:50)  

        at org.junit.runners.parentrunner$3.run(parentrunner.java:238)  

        at org.junit.runners.parentrunner$1.schedule(parentrunner.java:63)  

        at org.junit.runners.parentrunner.runchildren(parentrunner.java:236)  

        at org.junit.runners.parentrunner.access$000(parentrunner.java:53)  

        at org.junit.runners.parentrunner$2.evaluate(parentrunner.java:229)  

        at org.junit.runners.parentrunner.run(parentrunner.java:309)  

        at org.apache.maven.surefire.junit4.junit4provider.execute(junit4provider.java:264)  

        at org.apache.maven.surefire.junit4.junit4provider.executetestset(junit4provider.java:153)  

        at org.apache.maven.surefire.junit4.junit4provider.invoke(junit4provider.java:124)  

        at org.apache.maven.surefire.booter.forkedbooter.invokeproviderinsameclassloader(forkedbooter.java:200)  

        at org.apache.maven.surefire.booter.forkedbooter.runsuitesinprocess(forkedbooter.java:153)  

        at org.apache.maven.surefire.booter.forkedbooter.main(forkedbooter.java:103)  

2013-10-14 14:41:41,797 info  (forwarding newsession on session null to remote:)  [defaulthttpclient] retrying request  

2013-10-14 14:41:41,797 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] reopening the dire  

ct connection.  

2013-10-14 14:41:41,797 debug (forwarding newsession on session null to remote:)  [defaultclientconnectionoperator] conn  

2013-10-14 14:41:41,798 debug (forwarding newsession on session null to remote:)  [defaulthttpclient] attempt 3 to execu  

2013-10-14 14:41:41,798 debug (forwarding newsession on session null to remote:)  [defaultclientconnection] sending requ  

2013-10-14 14:41:41,798 debug (forwarding newsession on session null to remote:)  [wire] >> "get /session/c550c974-55c8-  

2013-10-14 14:41:41,798 debug (forwarding newsession on session null to remote:)  [wire] >> "accept: application/json, i  

2013-10-14 14:41:41,799 debug (forwarding newsession on session null to remote:)  [wire] >> "content-type: application/j  

2013-10-14 14:41:41,799 debug (forwarding newsession on session null to remote:)  [wire] >> "host: localhost:28542[\r][\  

2013-10-14 14:41:41,799 debug (forwarding newsession on session null to remote:)  [wire] >> "connection: keep-alive[\r][  

 哪位知道怎么解决?