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

implement crab -resubmit bad #869

Closed
ericvaandering opened this issue Oct 31, 2013 · 4 comments
Closed

implement crab -resubmit bad #869

ericvaandering opened this issue Oct 31, 2013 · 4 comments
Assignees

Comments

@ericvaandering
Copy link
Member

Original Savannah ticket 99942 reported by belforte on Mon Jan 21 04:19:51 2013.

Hi,
I'd like to propose you a new feature for crab2, that allows to
resubmit the set of failed jobs without having to copy-paste by hand the
list(s) of failed jobs from -status output.

The use case should be obvious: it is particularly important in case
multicrab is used. In that case it is not possible to resubmit via
multicrab, since each task need its own list of failed job.

The syntax could be simply

crab -resubmit bad

(similar to crab -resubmit all )

I have the modification in the code ready in 284 and I'm using it w/o
problems (crab.py, Resubmitter.py and ResubmitterServer.py)

The implementation is such that the following jobs are resubmitted:

in status ['KillSuccess','SubFailed','Aborted']

in status ['Cleared'] if the job or wrapper exit code is not 0.

The set can be expanded easily.

ADD:
['Cancelled'] to be added
exit code 60308 to be skipped

@ericvaandering
Copy link
Member Author

Comment by slacapra on Thu Jan 17 10:25:20 2013

Committed into CVS

Modified Files:
crab.py Resubmitter.py ResubmitterServer.py
Log Message:
implement -resubmit bad as per task #39244

@ghost ghost assigned belforte Oct 31, 2013
@ericvaandering
Copy link
Member Author

Comment by belforte on Mon Jan 21 04:19:51 2013

This item has been reassigned from the project CRAB task tracker to your tracker.

The original report is still available at task #39244

Following are the information included in the original report:

The use case should be obvious: it is particularly important in case
multicrab is used. In that case it is not possible to resubmit via
multicrab, since each task need its own list of failed job.

The syntax could be simply

crab -resubmit bad

(similar to crab -resubmit all )

I have the modification in the code ready in 284 and I m using it w/o
problems (crab.py, Resubmitter.py and ResubmitterServer.py)

The implementation is such that the following jobs are resubmitted:

in status [ KillSuccess , SubFailed , Aborted ]

in status [ Cleared ] if the job or wrapper exit code is not 0.

The set can be expanded easily.

ADD:
[ Cancelled ] to be added
exit code 60308 to be skipped

@ericvaandering
Copy link
Member Author

Closed by belforte on Tue Jan 29 06:42:40 2013

@ericvaandering
Copy link
Member Author

Comment by belforte on Tue Jan 29 06:42:40 2013

released in CRAB_2_8_5

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

No branches or pull requests

2 participants