Builds are hanging

This strikes me as a bad thing:

" 3 agents are registered. 1 build is running. 4 builds are waiting in queue "

And yes, all of the builds in the queue can run on all 3 agents.

From the server:

java.lang.RuntimeException: Agent n4-marine-7 already exists since 7/5/06 10:18
AM
at jetbrains.buildServer.serverSide.impl.BuildServerImpl.registerAgent(Build
ServerImpl.java:382)
at jetbrains.buildServer.serverSide.impl.XmlRpcBasedServer.register(XmlRpcBa
sedServer.java:77)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at jetbrains.buildServer.xmlrpc.InvokerWrapper.execute(InvokerWrapper.java:8
2)
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:114)

From the agent:

WARN - rver.agent.impl.BuildAgentImpl - jetbrains.buildServer.x
mlrpc.RemoteCallException: Call http://n4dev.navis.com:8111//RPC2 buildServer.re
gister: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: java.lang.Runtim
eException: Agent n4-marine-7 already exists since 7/5/06 10:18 AM
jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://n4dev.navis.com:81
11//RPC2 buildServer.register: org.apache.xmlrpc.XmlRpcException: java.lang.Exce
ption: java.lang.RuntimeException: Agent n4-marine-7 already exists since 7/5/06
10:18 AM
at jetbrains.buildServer.xmlrpc.XmlRpcTargetImpl.call(XmlRpcTargetImpl.j
ava:71)
at jetbrains.buildServer.agent.impl.ServerXmlRpcProxy.register(ServerXml
RpcProxy.java:45)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.registerOnBuildServer
(BuildAgentImpl.java:678)
at jetbrains.buildServer.agent.impl.ServerMonitor.run(ServerMonitor.java
:56)
Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: java.lang.Run
timeException: Agent n4-marine-7 already exists since 7/5/06 10:18 AM
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRp
cClientResponseProcessor.java:104)
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpc
ClientResponseProcessor.java:71)

--Tim

3 comments
Comment actions Permalink

Thanks for the report, that's really bad thing.
I suppose there is an exception when trying to startup a build. Please file a Jira issue and attach
team-server.log file from server's bin directory.

Tim McNerney wrote:

This strikes me as a bad thing:

" 3 agents are registered. 1 build is running. 4 builds are waiting in queue "

And yes, all of the builds in the queue can run on all 3 agents.

From the server:

java.lang.RuntimeException: Agent n4-marine-7 already exists since 7/5/06 10:18
AM
at jetbrains.buildServer.serverSide.impl.BuildServerImpl.registerAgent(Build
ServerImpl.java:382)
at jetbrains.buildServer.serverSide.impl.XmlRpcBasedServer.register(XmlRpcBa
sedServer.java:77)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at jetbrains.buildServer.xmlrpc.InvokerWrapper.execute(InvokerWrapper.java:8
2)
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:114)

From the agent:

WARN - rver.agent.impl.BuildAgentImpl - jetbrains.buildServer.x
mlrpc.RemoteCallException: Call http://n4dev.navis.com:8111//RPC2 buildServer.re
gister: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: java.lang.Runtim
eException: Agent n4-marine-7 already exists since 7/5/06 10:18 AM
jetbrains.buildServer.xmlrpc.RemoteCallException: Call http://n4dev.navis.com:81
11//RPC2 buildServer.register: org.apache.xmlrpc.XmlRpcException: java.lang.Exce
ption: java.lang.RuntimeException: Agent n4-marine-7 already exists since 7/5/06
10:18 AM
at jetbrains.buildServer.xmlrpc.XmlRpcTargetImpl.call(XmlRpcTargetImpl.j
ava:71)
at jetbrains.buildServer.agent.impl.ServerXmlRpcProxy.register(ServerXml
RpcProxy.java:45)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.registerOnBuildServer
(BuildAgentImpl.java:678)
at jetbrains.buildServer.agent.impl.ServerMonitor.run(ServerMonitor.java
:56)
Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: java.lang.Run
timeException: Agent n4-marine-7 already exists since 7/5/06 10:18 AM
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRp
cClientResponseProcessor.java:104)
at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpc
ClientResponseProcessor.java:71)

--Tim



--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I was hoping this would go away with the new build, but it hasn't.

Anyway, in this case, I started with a fresh install and removed the old configuration. So it now has only XStream build (I removed the JMock build because it had a VCS configuration issue).

This is with 1438, running Sun's 1.5.0_4 JDK on Redhat FC2, with MySQL 4.1.x as the backend. To simplify the case as much as possible, I'm running on a single box by using runAll.sh withouth having modified the configuration for the agent.

Filed as:

http://www.jetbrains.net/jira/browse/TW-553

--Tim

0
Comment actions Permalink

This is happening again. You can check log files at:

http://www.jetbrains.net/jira/browse/TW-644

0

Please sign in to leave a comment.