Closed DiegoTavares closed 1 month ago
FYI @ramonfigueiredo
FYI @ramonfigueiredo
Ok. I'll take a look on that asap.
Thanks!
@DiegoTavares
I created a new PR to fix this problem. See the PR https://github.com/AcademySoftwareFoundation/OpenCue/pull/1427
The new parsing logic implemented by #1335 has an issue when it comes to consuming lines from stdout and stderr in the following loops:
This logic has to wait until all content of
stdout
is consumed before consuming content fromstderr
, which means users monitoring the logs of running jobs will not have a real-time feed of what the job is doing. Besides that, a failure might cause the process to exit before giving it the change to have the content of stderr processed.https://github.com/AcademySoftwareFoundation/OpenCue/blob/688425ce859f183126ab8235543e4b0a13ff6c50/rqd/rqd/rqcore.py#L342