<< Back to previous view

[QB-3770] quickbuild agent - server connection time out & agent stop issue
Created: 03/Aug/21  Updated: 08/Jan/22

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: Cannot Reproduce Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: linux(ubuntu 16.04) - K8S environment


 Description   
Hello,

I have few question about agent-server connection on agent side.
I've had connection lost on agent side due to network issue, and then some of agent failed job, and some of them just keep the job.
First, some builds had been failed, and some builds didn't. I want to know why these are different.
Second, some agent had been terminate agent.jar after connection fail, and some didn't. Also, I want to know the reason of this.

Thx.


 Comments   
Comment by Robin Shen [ 03/Aug/21 01:17 AM ]
If connection failure happens while agent sends step data back to server, the build will fail. If it happens while agent is running the step (not finished yet) and connection restored before step finishes, the build will not be affected. As to terminating agent.jar, do you mean agent process dies upon connection failure?
Comment by Cheolhee Jeon [ 03/Aug/21 03:15 AM ]
Hello Robin,

Thx for quick reply.
do you mean agent process dies upon connection failure? Yes, it happens to some of agents.
(Yesterday, My 9~10 agents failed to connect server, and some of agent process has been dead.)
Comment by Robin Shen [ 03/Aug/21 11:37 PM ]
It should not die even if network connection is down. Are you able to reproduce and show me the reproducing steps as well as agent log?
Generated at Sat Apr 20 08:23:28 UTC 2024 using JIRA 189.