TC agent hosed

I noticed I had a test case that appeard to be hanging. I looked in the logs and saw this over an over for hours. I'm not sure where to post this, so it's here for now:

INFO - nt.runner.GenericProgramRunner - Testcase: testScenario took 488.253 sec
INFO - r.agent.impl.AgentLogProxyImpl - Put ping to queue: 1667
jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://localhost:80/RPC2 buildServer.log: org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:60)
at jetbrains.buildServer.agent.impl.XmlRpcAgentLogListener.log(XmlRpcAgentLogListener.java:38)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.sendLog(AgentLogProxyImpl.java:148)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.access$500(AgentLogProxyImpl.java:22)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl$5.run(AgentLogProxyImpl.java:178)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.sendActionRequest(AgentLogProxyImpl.java:69)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.doAction(AgentLogProxyImpl.java:88)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.log(AgentLogProxyImpl.java:176)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.log(BuildAgentImpl.java:986)
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:585)
at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)
at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
at org.apache.xmlrpc.WebServer$Connection.run(WebServer.java:761)
at org.apache.xmlrpc.WebServer$Runner.run(WebServer.java:642)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:80)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
at org.apache.xmlrpc.TCXmlRpcClient$1.execute(TCXmlRpcClient.java:65)
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.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:54)
... 20 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
at org.apache.xmlrpc.XmlRpc.parse(XmlRpc.java:472)
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:68)
... 26 more
INFO - r.agent.impl.AgentLogProxyImpl - Put 3 log messages to queue:1667
INFO - buildServer.AGENT.registration - Registering agent "yukon" (172.29.2.117:9090) on http://localhost:80
with runners:
INFO - jetbrains.buildServer.AGENT - I'm already registered with id 1
INFO - r.agent.impl.AgentLogProxyImpl - Registered on the server again: 1667
INFO - r.agent.impl.AgentLogProxyImpl - jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://localhost:80/RPC2 buildServer.log: org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://localhost:80/RPC2 buildServer.log: org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:60)
at jetbrains.buildServer.agent.impl.XmlRpcAgentLogListener.log(XmlRpcAgentLogListener.java:38)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.sendLog(AgentLogProxyImpl.java:148)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.access$500(AgentLogProxyImpl.java:22)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl$5.run(AgentLogProxyImpl.java:178)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.sendActionRequest(AgentLogProxyImpl.java:69)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.access$100(AgentLogProxyImpl.java:22)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl$2.run(AgentLogProxyImpl.java:97)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl$LaterExecutorTask.doRun(AgentLogProxyImpl.java:246)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl$LaterExecutorTask.run(AgentLogProxyImpl.java:227)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:80)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
at org.apache.xmlrpc.TCXmlRpcClient$1.execute(TCXmlRpcClient.java:65)
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.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:54)
... 11 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
at org.apache.xmlrpc.XmlRpc.parse(XmlRpc.java:472)
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:68)
... 17 more
INFO - nt.runner.GenericProgramRunner -
INFO - nt.runner.GenericProgramRunner - test.complete:
INFO - nt.runner.GenericProgramRunner - Test Results written to C:\TeamCity\buildAgent\work\Server\Hoth\hoth\dev\testoutput
INFO - r.agent.impl.AgentLogProxyImpl - jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://localhost:80/RPC2 buildServer.log: org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://localhost:80/RPC2 buildServer.log: org.apache.xmlrpc.XmlRpcClientException: Error decoding XML-RPC response
at jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:60)
at jetbrains.buildServer.agent.impl.XmlRpcAgentLogListener.log(XmlRpcAgentLogListener.java:38)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.sendLog(AgentLogProxyImpl.java:148)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl.access$500(AgentLogProxyImpl.java:22)
at jetbrains.buildServer.agent.impl.AgentLogProxyImpl$5.run(AgentLogProxyImpl.java:178)

1 comment

Hello Phil,

Could you please submit request in JIRA and attach there logs from agent and
from server?

--
Pavel Sher


0

Please sign in to leave a comment.