<< Back to previous view |
![]() |
[QB-3795] Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 10.0.15 |
Fix Version/s: | None |
Type: | Task | Priority: | Major |
Reporter: | Cheolhee Jeon | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: | Ubuntu18.04 |
Description |
Hello, Robin.
I've got several error log from our agent, that said "22:41:16,449 ERROR - Build is failed." full log is below. I'm wondering about " No route to host ", whether the host means agent or the master server. It occurs few times a day, and I want to make it sure what's happening. --------------------------------------------------------------------------------------------------------------------------------- 22:41:16,449 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:166) at com.pmease.quickbuild.DefaultBuildEngine.run(DefaultBuildEngine.java:633) at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:470) at com.pmease.quickbuild.DefaultBuildEngine.access$000(DefaultBuildEngine.java:148) at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:1275) 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:109) at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:148) ... 7 more Caused by: com.caucho.hessian.client.HessianRuntimeException: java.net.NoRouteToHostException: No route to host (Host unreachable) at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:285) at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:171) at com.sun.proxy.$Proxy149.testGridJob(Unknown Source) at com.pmease.quickbuild.grid.GridTaskFuture.testJobs(GridTaskFuture.java:89) ... 8 more Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:357) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1340) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1315) at com.caucho.hessian.client.HessianURLConnection.getOutputStream(HessianURLConnection.java:99) at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:283) ... 11 more |
Comments |
Comment by Robin Shen [ 02/Nov/21 10:18 AM ] |
It happens when server connects with agent. This normally means the connection is broken from server to agent at that time. |
Comment by Cheolhee Jeon [ 03/Nov/21 12:37 AM ] |
Thx, Robin.
I've got this error 1~2 times a day, and I want to make this happen lesser. What I understand your commentary is Connection between server and agent has a problem. and this connection is from server to agent has been broken. Am I right? As far as I know, QB connection has two side, first agent send connection to server, and then server make connection to agent with other port. and what you mean is second connection has been broken while agent doing its job. If I'm right, is there any way to reduce this error in QB setting? |
Comment by Robin Shen [ 03/Nov/21 01:42 AM ] |
Yes, it is from server to agent. Is this happening for random agents? Or just particular agent? There is no good workaround at QB side except to retry the master step upon such error. |
Comment by Cheolhee Jeon [ 03/Nov/21 02:05 AM ] |
Yes, It happens for random agents.
Thx for letting me know :) |