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.

Publish JUnit Report step when no report is present produces socket read timeout #4094

jmuirhead ·

QuickBuild version 8.0.5

Build step A is a 'script' step that will produce a JUnit report if a given condition is met. If the condition is not met no report is produced. The next step, step B, runs on the same agent as step A and is a Publish JUnit Report step. If no JUnit report is produced in step A, step B will 'cycle' for about an hour before failing. The step log for step B is blank. The entire build log shows only the output below. Note that the build itself is not timing out, as it does not run long enough to reach the build timeout threshold.

08:49:06,880 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.$Proxy76.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)

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

Tried at my side and things work fine. Please disable step A to run step B alone to see if the problem still exists.