Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
1.6
-
None
-
b180be424 (master)
Description
When a agent finishes, either pass or fail workitem will execute brief cleanup during which agent is deleted. If the integration fails or is cancelled while the cleanup is ongoing the cleanup will be cancelled and the VM is left running.
Apr 09 02:13:49 coin-master coin[26652]: ERROR:agentlauncher.py:182(26695): Unhandled exception while sending agent exit request
Apr 09 02:13:49 coin-master coin[26652]: Traceback (most recent call last):
Apr 09 02:13:49 coin-master coin[26652]: File "/var/lib/coin/tqtc-coin-ci/src/agentlauncher.py", line 173, in _aexit_
Apr 09 02:13:49 coin-master coin[26652]: await asyncio.wait_for(agentRpcClient.exit(self.id), timeout=60)
Apr 09 02:13:49 coin-master coin[26652]: File "/var/lib/coin/python3113/lib/python3.11/asyncio/tasks.py", line 466, in wait_for
Apr 09 02:13:49 coin-master coin[26652]: await waiter
Apr 09 02:13:49 coin-master coin[26652]: asyncio.exceptions.CancelledError
Attachments
For Gerrit Dashboard: COIN-1114 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
530166,4 | Ensure agentlauncher exit actions is not cancelled | master | qtqa/tqtc-coin-ci | Status: MERGED | +2 | 0 |