Skip to content

Conversation

@fstagni
Copy link
Contributor

@fstagni fstagni commented Dec 5, 2025

BEGINRELEASENOTES

*WMS
FIX: call jobReport.commit() at job finalize()

ENDRELEASENOTES

@fstagni fstagni requested a review from atsareg as a code owner December 5, 2025 14:39
@fstagni fstagni requested a review from aldbr December 5, 2025 14:40
)

self.__cleanUp()
self.jobReport.commit()
Copy link
Contributor

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) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Copy link
Contributor

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.

Copy link
Contributor

@aldbr aldbr left a 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:

)

self.__cleanUp()
self.jobReport.commit()
Copy link
Contributor

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.

@fstagni
Copy link
Contributor Author

fstagni commented Dec 8, 2025

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:

"OutputSandboxLFN", self.__getLFNfromOutputFile(outputSandboxData)[0], sendFlag=False

In the case when the output sandbox is too large and therefor uploaded as an LFN.

This parameter is set after the execution of jobReport.commit() that you mention above.

@aldbr
Copy link
Contributor

aldbr commented Dec 8, 2025

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:

We indeed have the same issue in LHCb.
It's not only the OutputSandboxLFN from what I can see but all the parameters coming from the JobWrapper.
I am trying to debug it but I haven't managed to set up a reproducer yet, and I don't see any problematic DiracX log.

#8399 could potentially help

@aldbr
Copy link
Contributor

aldbr commented Dec 18, 2025

I am closing this PR now that I know what's the problem.

@aldbr aldbr closed this Dec 18, 2025
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 this pull request may close these issues.

3 participants