-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
All / Cross Project
lftools archive command gets trapped in infinite loop of directories, and the build timeout does not terminate the job
We have a slightly weird build script that creates a link from a subdirectory back to a parent directory. At the bitter end of the job, the "lftools archive .." command is invoked by logs-deploy.sh with this pattern:
**/*.log
I think the recursive descent goes into an endless loop. Is there a way to limit the depth of the recursion to make this job more robust?
Why doesn't the build-timeout (set to 20 hours in our case) stop the runaway log archive process?
Also see:
Ticket with some details and history:
https://jira.linuxfoundation.org/servicedesk/customer/portal/2/IT-18413
The runaway Jenkins job:
https://jenkins.o-ran-sc.org/view/pti-rtp/job/pti-rtp-shell-merge-master/8/
A recent change set in that project: