You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new parsing logic implemented by #1335 has an issue when it comes to consuming lines from stdout and stderr in the following loops:
withopen(self.rqlog.name, 'a') asf:
# Convert to ASCII while discarding characters that can not be encodedforlineinframeInfo.forkedCommand.stdout:
line=line.encode('ascii', 'ignore')
f.write(line.decode('ascii') +'\n')
forlineinframeInfo.forkedCommand.stderr:
line=line.encode('ascii', 'ignore')
f.write(line.decode('ascii') +'\n')
This logic has to wait until all content of stdout is consumed before consuming content from stderr, 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.
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.OpenCue/rqd/rqd/rqcore.py
Line 342 in 688425c
The text was updated successfully, but these errors were encountered: