Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Build is already stopped - How to handle? #4080

nini10 ·

Hi

I have long configuration that suppose to run more than 10 hours. It was worked fine, but lately start to failed with "Build is already stopped.". When this happened all steps logs are empty. And "Build Log" present following:

06:21:31,051 ERROR - Build is failed.
java.lang.RuntimeException: Error executing step execution job.
at com.pmease.quickbuild.stepsupport.StepExecutionTask.reduce(StepExecutionTask.java:29)
at com.pmease.quickbuild.stepsupport.StepExecutionTask.reduce(StepExecutionTask.java:19)
at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:155)
at com.pmease.quickbuild.DefaultBuildEngine.run(DefaultBuildEngine.java:606)
at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:463)
at com.pmease.quickbuild.DefaultBuildEngine.access$000(DefaultBuildEngine.java:143)
at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:1233)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.pmease.quickbuild.QuickbuildException: Error testing job.
at com.pmease.quickbuild.grid.GridTaskFuture.testJobs(GridTaskFuture.java:98)
at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:137)
... 7 more
Caused by: com.caucho.hessian.client.HessianConnectionException: 500: java.net.SocketTimeoutException: Read timed out
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:153)
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:300)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:171)
at com.sun.proxy.$Proxy78.testGridJob(Unknown Source)
at com.pmease.quickbuild.grid.GridTaskFuture.testJobs(GridTaskFuture.java:78)
... 8 more
Caused by: java.net.SocketTimeoutException: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:133)
... 12 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:120)
... 12 more

What is the meaning of this error? and how could I handle it?

Thanks.

  • replies 1
  • views 811
  • stars 0
robinshen ADMIN ·

While running a step, QB tests the network periodically and terminates the step if it detects a problem and the problem does not recover after a configured period of time to avoid build hanging. This period of time is controlled via network tolerance period (introduced in QB8) in advanced setting of a step.