Getting project sources, Error.
Periodically, our builds are failing with the following error.
: bt2
: Checking for changes
: Clearing temporary directory: C:\Apps\TeamCity\buildAgent\temp\buildTmp
: Checkout directory: C:\Apps\TeamCity\buildAgent\work\741796eb2b4d6e6a
: Getting project sources
: Error while applying patch: The server localhost failed to respond
Can someone give a hint about what is going on?
Thanks.
Please sign in to leave a comment.
Scott Hrehirchuk wrote:
Please provide details about your project source root configuration (VCS
type, url, etc.) Also, if you perform checkout by hand with same
settings on this machine - does it work?..
--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
We need more details about your configuration. Do you have agent and server installed on the same PC? Could you please attach server and agent logs?
--
Pavel Sher
Subversion using http.
Yes hand checkout works fine (using svn checkout on the command line)
There is an agent on the same pc as the server.
As well, there is a second agent on a different pc.
Attached are the logs.
Thanks.
Attachment(s):
teamcity-logs.zip
Removed the second agent so now the only agent is on the teamcity machine.
Still happening...reboot of the teamcity server solves the problem.
2008-10-16T08:54:06 MDT | INFO | Log4J configuraiton file c:\Apps\TeamCity\buildAgent\bin\..\conf\teamcity-agent-log4j.xml will be monitored with interval 10 seconds.
2008-10-16T08:54:13 MDT | INFO | Runner sln2008 was not registered
2008-10-16T08:54:19 MDT | INFO | WARN - jetbrains.buildServer.AGENT - Starting agent Web server on port 9090
2008-10-16T08:55:03 MDT | INFO | Registered agent "ebobuild" (192.168.1.23:9090) on http://localhost:8080
2008-10-16T08:55:03 MDT | INFO | with runners:
2008-10-16T08:55:03 MDT | INFO | If this is the first time this agent registered on the server make sure it is authorized by administrator in the server web UI.
2008-10-16T15:09:30 MDT | INFO | WARN - org.apache.xmlrpc.XmlRpc - java.net.SocketTimeoutException: Read timed out
2008-10-17T02:03:03 MDT | INFO | WARN - jetbrains.buildServer.AGENT - Artifacts path artifacts/build/InterChange.ear not found
2008-10-17T02:03:05 MDT | INFO | WARN - jetbrains.buildServer.AGENT - Artifacts path artifacts/coverage/html/*/.html not found
2008-10-17T11:03:09 MDT | INFO | WARN - jetbrains.buildServer.AGENT - Artifacts path artifacts/build/InterChange.ear not found
2008-10-17T11:03:09 MDT | INFO | WARN - jetbrains.buildServer.AGENT - Artifacts path artifacts/coverage/html/*/.html not found
2008-10-18T09:32:45 MDT | INFO | WARN - org.apache.xmlrpc.XmlRpc - java.net.SocketTimeoutException: Read timed out
2008-10-18T09:33:03 MDT | INFO | WARN - org.apache.xmlrpc.XmlRpc - java.net.SocketTimeoutException: Read timed out
2008-10-18T09:34:00 MDT | INFO | WARN - org.apache.xmlrpc.XmlRpc - java.net.SocketTimeoutException: Read timed out
2008-10-18T09:48:39 MDT | INFO | WARN - jetbrains.buildServer.AGENT - Exception occured while patch applying:The server localhost failed to respond
2008-10-18T09:48:39 MDT | INFO | org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond
2008-10-18T09:48:39 MDT | INFO | at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1835)
2008-10-18T09:48:39 MDT | INFO | at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
2008-10-18T09:48:39 MDT | INFO | at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
2008-10-18T09:48:39 MDT | INFO | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
2008-10-18T09:48:39 MDT | INFO | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
2008-10-18T09:48:39 MDT | INFO | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
2008-10-18T09:48:39 MDT | INFO | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.ServerStreamProvider.getStream(ServerStreamProvider.java:46)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.patch.PatchStreamProviderImpl.getPatchesStream(PatchStreamProviderImpl.java:41)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.patch.GetProjectSources.loadAndApplyPatch(GetProjectSources.java:183)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.patch.GetProjectSources.access$300(GetProjectSources.java:23)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.patch.GetProjectSources$3.execute(GetProjectSources.java:337)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.patch.GetProjectSources.executePatchProcess(GetProjectSources.java:132)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.patch.GetProjectSources.applyPatch(GetProjectSources.java:335)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.patch.GetProjectSources.execute(GetProjectSources.java:94)
2008-10-18T09:48:39 MDT | INFO | at jetbrains.buildServer.agent.impl.BuildAgentImpl$BuildRunAction.run(BuildAgentImpl.java:1020)
2008-10-18T09:48:39 MDT | INFO | at java.lang.Thread.run(Thread.java:595)
Any help would be appreciated, it is becoming a major problem happening multiple times a week now.
Scott,
Can you please enable debug logging for Subversion integration as described in our doc and provide us the log for the moment of error reproducing?
It might be appropriate to create an issue in our tracker at this point.
--
Best regards,
Yegor Yarko
Project Manager (TeamCity)
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Ok, I have done that, next time it happens, I will grab the logs and create an issue in tracker.
Thanks,
Scott