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

killJob returns a dict with OK even if it fails #7264

Closed
mesmith75 opened this issue Nov 1, 2023 · 0 comments · Fixed by #7276
Closed

killJob returns a dict with OK even if it fails #7264

mesmith75 opened this issue Nov 1, 2023 · 0 comments · Fixed by #7276
Assignees
Milestone

Comments

@mesmith75
Copy link
Contributor

If I try to kill a job in waiting I find:

>>> dirac.killJob(810109943)
Job Status Error 810109943 can't move from Waiting to Killed
{'OK': True, 'Value': [810109943], 'requireProxyUpload': False, 'rpcStub': [['WorkloadManagement/JobManager', {'delegatedDN': None, 'delegatedGroup': None, 'timeout': 600, 'skipCACheck': False, 'keepAliveLapse': 150}], 'killJob', [[810109943]]]}

So it raises an error but still returns a dict that says 'OK': True - is that correct? Because of the true return the error is not being picked up by Ganga.

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

Successfully merging a pull request may close this issue.

2 participants