Multiple builds using Team city's command line remote run tools

HI, i tried running 4builds using command line tool in but 3 out fo 5 times build fails abruptly giving the following error. what should i do make it feasible to run multiple builds?????

[Connecting to "http://ip" TeamCity Server] started
[Connecting to "http://ip" TeamCity Server] done
[Checking compatibility] started
[Checking compatibility] done
[Logging in] started
[Logging in] done
[Collecting changes] started
[Collecting changes] Collected 1,470 files for Remote Run
[Collecting changes] done
[Mapping local files to TeamCity] started
[Mapping local files to TeamCity] 345 of 1470 file(s) have been mapped
[Mapping local files to TeamCity] done
[Preparing patch] started
[Preparing patch] 345 new/modified file(s)
[Preparing patch] done
[Collecting configurations for running] started
[Sending the patch to TeamCity Server] started
[Sending the patch to TeamCity Server] sent 77834440 bytes
[Sending the patch to TeamCity Server] done
[Collecting configurations for running] run: error
Invalid parameter(s): For input string: "



<html>
  <head>
    <title>Unexpected Error</title>
    <!-- :linkCSS --><style type="text/css">
  @import "/res/409347764648219885.css;jsessionid=81329EE4477D6396F39DFAF527B448D5?v=1350123648330";
</style>
    <!-- :linkScript --><script type="text/javascript" src="/res/448505176406668409.js;jsessionid=81329EE4477D6396F39DFAF527B448D5?v=1350123648330"></
script>
  </head>
  <body>

  <div >

    <h1 >Unexpected Error</h1>

<p>
    This was not supposed to happen.
    Please provide the error details to your TeamCity server maintainer.<br/>
    If you maintain this TeamCity installation please
    <a href="http://www.jetbrains.net/confluence/display/TW/Feedback">report</a> this error to JetBrains.
</p>









<div >
  Error message: Read timed out
</div>
<div>
  TeamCity: 6.5.4 (build 18046)
</div>
<div>
  Operating system: Windows 2003 (5.2, x86)
</div>
<div>
  Java: 1.6.0_21-b07 (Sun Microsystems Inc.)
</div>
<div>
  Servlet container: Apache Tomcat/6.0.29
</div>
<br>



<a id="stackTraceLink" href="javascript://" onclick="Element.show($('stackTrace')); Element.hide($('stackTraceLink'));">Show stacktrace</a>

<pre id="stackTrace" >Trace: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:751)
        at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:781)
        at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:116)
        at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
        at org.apache.coyote.Request.doRead(Request.java:428)
        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
        at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403)
        at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
        at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
        at com.intellij.openapi.util.io.FileUtil.copy(FileUtil.java:566)
        at jetbrains.buildServer.serverSide.impl.personal.PersonalBuildManagerImpl.publishChangeList(PersonalBuildManagerImpl.java:60)
        at jetbrains.buildServer.serverSide.impl.auth.SecuredPersonalBuildManager.publishChangeList(SecuredPersonalBuildManager.java:7)
        at jetbrains.buildServer.controllers.changes.PublishChangesController.doHandle(PublishChangesController.java:34)
        at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:543)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at jetbrains.buildServer.web.DiagnosticFilter.runChainWithModifiedThreadName(DiagnosticFilter.java:13)
        at jetbrains.buildServer.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:9)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:10)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Unknown Source)
</pre>


  </div>
  <!--
  IE does not display error page content if size of the page is relatively small...
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  01010101001010101010100101010101010010101010101001010101010100101010101010010101010101001010101010100101
  -->

  </body>
</html>"

Start personal build
usage: run <option> [<option>...] FILE [FILE...]|@FILELIST

Starts Remote Run for the files specified by FILE arguments in TeamCity Configuration specified by <cfg> argument.
FILE can be a file or a directory. When directory is specified, its entire content is used (including nested).
If FILELIST is set to a file path, the file's content is interpreted as individual file names list.
NOTE: a file which is specified but is not found on the filesystem will be treated as deleted for Remote Run.

Valid options:
        -c[--configuration]     <cfg>[,<cfg1>...]       target TeamCity configuration id(s) for the Remote Run
        -m[--message]           <message>               users message describes changes for Remote Run.
        -t[--timeout]           <timeout>               max time the utility will wait for Remote Run result if -n|--nowait switch is missing
        -n              <mapping_file>          overrides Default TeamCity mappings.
        --nowait[-c}]                                   do not wait for build result, just schedule build for execution


1 comment
Comment actions Permalink

And also it fails giving this mess sometimes:

[Collecting changes] started
[Collecting changes] Collected 4 files for Remote Run
[Collecting changes] done
[Mapping local files to TeamCity] started
[Mapping local files to TeamCity] 4 of 4 file(s) have been mapped
[Mapping local files to TeamCity] done
[Preparing patch] started
[Preparing patch] 4 new/modified file(s)
[Preparing patch] done
[Collecting configurations for running] started
[Sending the patch to TeamCity Server] started
[Sending the patch to TeamCity Server] sent 47109 bytes
[Sending the patch to TeamCity Server] done
[Scheduling personal build] started
[Scheduling personal build] done
[Waiting for personal build] started
Running..........................................................[Waiting for personal build] run: error
jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://10.8.2.18/RPC2 UserSummaryRemoteManager2.getGZippedSummary: java.net.SocketTimeoutExcept
ion: Read timed out
        at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:91)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.access$101(SessionXmlRpcTargetImpl.java:26)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl$2.invoke(SessionXmlRpcTargetImpl.java:80)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.doRemoteCall(SessionXmlRpcTargetImpl.java:188)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.call(SessionXmlRpcTargetImpl.java:78)
        at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:55)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.access$001(SessionXmlRpcTargetImpl.java:26)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl$1.invoke(SessionXmlRpcTargetImpl.java:71)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.doRemoteCall(SessionXmlRpcTargetImpl.java:188)
        at jetbrains.buildServer.serverProxy.impl.SessionXmlRpcTargetImpl.call(SessionXmlRpcTargetImpl.java:69)
        at jetbrains.buildServer.serverProxy.ClientXmlRpcExecutorFacade.callXmlRpc(ClientXmlRpcExecutorFacade.java:28)
        at com.jetbrains.teamcity.Server$SummaryManager.getGZippedSummary(Server.java:298)
        at com.jetbrains.teamcity.Server.getSummary(Server.java:192)
        at com.jetbrains.teamcity.command.RemoteRun.waitForSuccessResult(RemoteRun.java:287)
        at com.jetbrains.teamcity.command.RemoteRun.execute(RemoteRun.java:186)
        at com.jetbrains.teamcity.command.CommandRunner.run(CommandRunner.java:113)
        at com.jetbrains.teamcity.command.CommandRunner.main(CommandRunner.java:133)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
        at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
        at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
        at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
        at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at jetbrains.buildServer.xmlrpc.impl.MyXmlRpcTransport.sendXmlRpc(MyXmlRpcTransport.java:71)
        at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
        at org.apache.xmlrpc.TCXmlRpcClient$1.execute(TCXmlRpcClient.java:89)
        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
        at jetbrains.buildServer.xmlrpc.impl.CommonsXmlRpcTargetImpl$1.execute(CommonsXmlRpcTargetImpl.java:70)
        at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:81)
        ... 16 more

0

Please sign in to leave a comment.