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

resubmission does not work for automatic splitting #8731

Open
belforte opened this issue Oct 1, 2024 · 0 comments
Open

resubmission does not work for automatic splitting #8731

belforte opened this issue Oct 1, 2024 · 0 comments
Assignees

Comments

@belforte
Copy link
Member

belforte commented Oct 1, 2024

see e.g. https://cms-talk.web.cern.ch/t/crab-resubmit-still-does-not-work-properly-for-automatic-splitting/51139 and references in there.

Last time I looked at this I got convinced that resubmissions of the subdags is only possible before they have all complete. But once they do, the main dag itself is closed and restarting it will not trigger any action, there is no Rescue file for it.
Yet only the BASE (was called ROOT before) DAG is restarted

# Find only the originally submitted DAG to hold and release: this
# will re-trigger the scripts and adjust retries and other
# resubmission parameters.
#
# Processing and tail DAGs will be restarted by these scrips on the
# schedd after the modifications are made.
rootConst = f"(CRAB_DAGType =?= \"BASE\" && CRAB_ReqName =?= {classad.quote(workflow)})"
rootConst += f" || (TaskType =?= \"ROOT\" && CRAB_ReqName =?= {classad.quote(workflow)})"

It seems to me that it was like this since ever. But I never looked at this cose before. So... hard to say.

We can possibly address this in the context of refactoring resubmission #6270

@belforte belforte self-assigned this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant