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

Provide information why job submission failed #30

Open
askask opened this issue Jul 28, 2017 · 5 comments
Open

Provide information why job submission failed #30

askask opened this issue Jul 28, 2017 · 5 comments
Labels
Milestone

Comments

@askask
Copy link
Contributor

askask commented Jul 28, 2017

If job submission with jobManager.runJob(job) fails, it would be useful if there was more information why it failed.
Maybe add an additional field to BEJobResult.

@askask
Copy link
Contributor Author

askask commented Aug 28, 2017

Actually it would be good to get the error message from the underlying job scheduler in every case where BE fails to execute a command.

@vinjana
Copy link
Contributor

vinjana commented Sep 20, 2017

Maybe put the message into the BEJobResult? Consistency with other sites may suggest to use an Exception that encodes the details (code + message).

@vinjana vinjana added the bug label Sep 29, 2017
@vinjana vinjana added this to the LSF milestone Sep 29, 2017
@vinjana
Copy link
Contributor

vinjana commented Oct 4, 2017

TODO:

  • get exit code
  • parse error message from stderr/stdout of submission command
  • consistent would be to put this into an exception (JobSubmissionException?)

@vinjana
Copy link
Contributor

vinjana commented Feb 12, 2018

Execution error (exit code != 0)
-> Exception out of ExecutionService (including STDOUT & STDERR of command).
-> Issue #93.

Parser error (exit code == 0)
->

Timeout error (no exit code)
->

Investigate further the 3+ cases and make individual issues.

@vinjana vinjana added this to the Release 1.0 milestone Feb 4, 2019
@vinjana
Copy link
Contributor

vinjana commented Apr 29, 2024

Consider RoddyToolLib issue TheRoddyWMS/RoddyToolLib#32 about logging output of failed locally executed processes. Maybe provide this information to the result object in BE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants