dmwm / WMCore

Core workflow management components for CMS.
Apache License 2.0
46 stars 107 forks source link

Description of close-out procedure #8914

Open vlimant opened 6 years ago

vlimant commented 6 years ago

here a GH issue to describe the close-out procedure, most of which is legacy and already known to everyone. Code is https://github.com/CMSCompOps/WmAgentScripts/blob/master/Unified/checkor.py

Here below the items in order of reading the code, picking up on all the things in "completed" reqmgr-status (with some option flags selecting some part of it)

per workflow, the following things are don

amaltaro commented 6 years ago

Thanks for providing these details, Jean-Roch. I think any mention of force-completing does not belong to this ticket and I'd like to decouple them. In this issue, we should start with work that is already in completed status, and then proceed with all those checks that you described above.

Do we provide the workflow summary / error report for every single workflow? Or only in cases the workflow didn't reach the target level of completion (let's say 90 or 95% for MC, etc).?

From your list, I'd say what we'd have to have in the close-out procedure is:

I'm going to create another placeholder for auto force-completion with some of your bullets.

ticoann commented 6 years ago

Thank you very much Jean-Roch, Alan for creating this. I think it is good idea to keep separate tickets for (auto) force-complete and close out ticket. I will create one issue for moving from closed-out to announced as well. I know Jean-Roch is busy to write all the logic. It would be helpful brief explanation about conditions which make the each state transition and point the code as this ticket has. Alan and I can ask questions if something is not clear, hope we won't bother Jean-Roch too much with this. (But that is the penalty for being a only expert. 😄 FYI. Issue for announced transition #8921

vlimant commented 6 years ago

@amaltaro regarding force-complete : everything here is related to something in "completed". The force-completion would happen to on-going acdc, should the requirement be met. It is part of the current completed->close-out transition for the original workflow. Fine with me if you want to put it elsewhere though.

vlimant commented 6 years ago

many of the details above will have to come through reading the code to get the exact way. any description with words will likely fall short.

vlimant commented 6 years ago

you might find reading https://cms-unified.web.cern.ch/cms-unified/logs/checkor/last.log useful