2013-08-20 10:42:40,568 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.Quickbuild - QuickBuild agent started.
2013-08-20 11:26:07,641 [pool-1-thread-18] INFO com.pmease.quickbuild.execution.ProcessTree - killAll (process: java.lang.UNIXProcess@59ce3eef, env: QB_COMMAND_EXECUTOR_SESSION=fd2a5790-944a-4462-97cf-f5b5cad77794
2013-08-20 11:26:13,120 [pool-1-thread-28] INFO com.pmease.quickbuild.execution.ProcessTree - killAll (process: java.lang.UNIXProcess@140bbe6b, env: QB_COMMAND_EXECUTOR_SESSION=1d34adce-df2f-46bc-96af-abc3e2e5bb80
2013-08-20 11:26:13,120 [pool-1-thread-28] INFO com.pmease.quickbuild.execution.ProcessTree - Recursively killing pid=10837
2013-08-20 11:26:13,121 [pool-1-thread-28] INFO com.pmease.quickbuild.execution.ProcessTree - Killing pid=10837
2013-08-20 11:26:13,123 [pool-1-thread-28] INFO com.pmease.quickbuild.execution.ProcessTree - Recursively killing pid=10837
2013-08-20 11:26:13,123 [pool-1-thread-28] INFO com.pmease.quickbuild.execution.ProcessTree - Killing pid=10837
2013-08-20 11:28:41,364 [pool-1-thread-22] INFO com.pmease.quickbuild.execution.ProcessTree - killAll (process: java.lang.UNIXProcess@69c43daa, env: QB_COMMAND_EXECUTOR_SESSION=98a56185-1933-4c1c-bf05-ce499a0b6766
2013-08-20 11:28:41,365 [pool-1-thread-22] INFO com.pmease.quickbuild.execution.ProcessTree - Recursively killing pid=10847
2013-08-20 11:28:41,365 [pool-1-thread-22] INFO com.pmease.quickbuild.execution.ProcessTree - Killing pid=10847
2013-08-20 11:29:14,068 [pool-1-thread-25] INFO com.pmease.quickbuild.execution.ProcessTree - killAll (process: java.lang.UNIXProcess@212f4655, env: QB_COMMAND_EXECUTOR_SESSION=dc691596-b9e4-4f66-bfb7-38b887692f21
2013-08-20 11:29:14,069 [pool-1-thread-25] INFO com.pmease.quickbuild.execution.ProcessTree - Recursively killing pid=10851
2013-08-20 11:29:14,069 [pool-1-thread-25] INFO com.pmease.quickbuild.execution.ProcessTree - Killing pid=10851
2013-08-27 21:35:09,564 [Thread-13] ERROR com.pmease.quickbuild.Quickbuild - Error connecting server.
com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://server:8810/service/connect
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:156)
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:280)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:175)
at $Proxy20.connect(Unknown Source)
at com.pmease.quickbuild.grid.AgentConnectivityTask.run(AgentConnectivityTask.java:51)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.FileNotFoundException: http://server:8810/service/connect
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1670)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:139)
... 5 more
Caused by: java.io.FileNotFoundException: http://server:8810/service/connect
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1623)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:126)
... 5 more
There is a gap of 7 days before the connection error appears - is this an inactivity problem?
If this is caused by a temporary network problem, can the build agent be made to recover?
If the master server does lose the connection to the build agent, can it detect this (e.g. via a timeout) and fail the build automatically?