Actions
Bug #25593
closedDynflow executor termination may hang if there is an action which keeps the executor occupied
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Dynflow
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1654975
Description of problem:
If there is an action which is running on an executor for a long time and it does not suspend itself and the memory watcher decides to recycle the executor, the termination may hang indefinitely.
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. Pick any action, add infinite sleep to the beginning of its run method
2. Trigger the action
3. Wait for the memory watcher to try restarting the executor
Actual results:
The termination hangs, the dynflow executor process stays there, not releasing its resources.
Expected results:
The dynflow executor process gets terminated
Additional info:
Actions