Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

race condition on terminating job_cmd and error output #7247

Open
robnagler opened this issue Sep 10, 2024 · 0 comments
Open

race condition on terminating job_cmd and error output #7247

robnagler opened this issue Sep 10, 2024 · 0 comments

Comments

@robnagler
Copy link
Member

If the job_cmd has an exception, it sends it back as a json string (return from default_command). job_agent is watching for termination, stdout, and stderr. If the job terminates, on_stdout_read doesn't write anything. This also happens if send_reply is false. It's unclear that an exception should be caught at this level. It seems like a pkdlog would be useful in any event.

robnagler added a commit that referenced this issue Sep 10, 2024
- The sleep is a workaround until we can decide what to do.
@robnagler robnagler reopened this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant