CMSCompOps / WmAgentScripts

CMS Workflow Team Scripts
6 stars 51 forks source link

Add reviveFailed.py script to resubmit/reject failed WF #1204

Closed yanfr0818 closed 11 months ago

yanfr0818 commented 12 months ago

The script check if a failed WF needs resubmission: if it has a younger WF in its family with a valid Unified status, it won't be revived. Currently it doesn't care about which Unified status, so long as the WF has ANY unified status.

The rejection is optional. Use the -r option to reject all the failed WFs and invalidate the corresponding output datasets.

yanfr0818 commented 12 months ago

@z4027163 I haven't tested the rejection yet. In this script, I intend to reject ALL failed WFs in RegMgr, since they are either revived or being revived after the resubmission. Do you have comments on this?