最近研究CI,使用maven和hudson,但是执行mvn clean deploy tomcat:undeploy 报错,报错信息(部分):
------------------------------------------------------- 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][ \n]" 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][ \n]" 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 d: best-match 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:) [RequestAuthCache] Auth cache not set in the context 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:) [RequestTargetAuthentication] Target a uth state: UNCHALLENGED 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:) [RequestProxyAuthentication] Proxy aut h state: UNCHALLENGED 2013-10-14 14:41:41,790 DEBUG (Forwarding newSession on session null to remote:) [DefaultHttpClient] Attempt 2 to execu te request 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 mage/png[\r][\n]" 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:) [wire] >> "Content-Type: application/j son; charset=utf-8[\r][\n]" 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:) [wire] >> "Host: localhost:28542[\r][\ n]" 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:) [wire] >> "Connection: Keep-Alive[\r][ \n]" 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, image/png 2013-10-14 14:41:41,791 DEBUG (Forwarding newSession on session null to remote:) [headers] >> Content-Type: application /json; charset=utf-8 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 .0.0.0:11520<->127.0.0.1:28542 closed 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 ecting to localhost:28542 2013-10-14 14:41:41,798 DEBUG (Forwarding newSession on session null to remote:) [DefaultHttpClient] Attempt 3 to execu te request 2013-10-14 14:41:41,798 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,798 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,798 DEBUG (Forwarding newSession on session null to remote:) [wire] >> "Accept: application/json, i mage/png[\r][\n]" 2013-10-14 14:41:41,799 DEBUG (Forwarding newSession on session null to remote:) [wire] >> "Content-Type: application/j son; charset=utf-8[\r][\n]" 2013-10-14 14:41:41,799 DEBUG (Forwarding newSession on session null to remote:) [wire] >> "Host: localhost:28542[\r][\ n]" 2013-10-14 14:41:41,799 DEBUG (Forwarding newSession on session null to remote:) [wire] >> "Connection: Keep-Alive[\r][ \n]"
哪位知道怎么解决?