-
Notifications
You must be signed in to change notification settings - Fork 184
[9.0] JobWrapper: call jobReport.commit() at job finalize() #8395
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
Conversation
| ) | ||
|
|
||
| self.__cleanUp() | ||
| self.jobReport.commit() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be called multiple time (in case it ends up being called already further down) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if self.jobID is not defined (if the job wrapper is executed locally)? Not entirely sure it would work.
aldbr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What kind of issue are you trying to solve here?
Because there is already a call to commit() in the JobWrapperTemplate:
| jobReport.commit() |
| ) | ||
|
|
||
| self.__cleanUp() | ||
| self.jobReport.commit() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if self.jobID is not defined (if the job wrapper is executed locally)? Not entirely sure it would work.
|
The trigger for this are few jobs, ran in the certification setup, where some parameters were not added. Specifically, the parameter not added was "OutputSandboxLFN". Such parameter is added by the JobWrapper:
In the case when the output sandbox is too large and therefor uploaded as an LFN. This parameter is set after the execution of |
We indeed have the same issue in LHCb. #8399 could potentially help |
|
I am closing this PR now that I know what's the problem. |
BEGINRELEASENOTES
*WMS
FIX: call jobReport.commit() at job finalize()
ENDRELEASENOTES