ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/Resubmitter.py
Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Oct 13 08:22:39 2009 UTC (15 years, 6 months ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_7_0, CRAB_2_7_0_pre5, CRAB_2_7_0_pre6, CRAB_2_7_0_pre7, CRAB_2_7_0_pre8, CRAB_2_7_1, CRAB_2_7_10_pre1, CRAB_2_7_10_pre2, CRAB_2_7_10_pre3, CRAB_2_7_1_branch_firstMERGE, CRAB_2_7_1_pre1, CRAB_2_7_1_pre10, CRAB_2_7_1_pre11, CRAB_2_7_1_pre12, CRAB_2_7_1_pre2, CRAB_2_7_1_pre3, CRAB_2_7_1_pre4, CRAB_2_7_1_pre5, CRAB_2_7_1_pre6, CRAB_2_7_1_pre8, CRAB_2_7_1_pre9, CRAB_2_7_1_wmbs_pre4, CRAB_2_7_2, CRAB_2_7_2_p1, CRAB_2_7_2_pre1, CRAB_2_7_2_pre2, CRAB_2_7_2_pre3, CRAB_2_7_2_pre4, CRAB_2_7_3, CRAB_2_7_3_beta, CRAB_2_7_3_beta1, CRAB_2_7_3_beta2, CRAB_2_7_3_beta3, CRAB_2_7_3_pre1, CRAB_2_7_3_pre2, CRAB_2_7_3_pre2_beta, CRAB_2_7_3_pre3, CRAB_2_7_3_pre3_beta, CRAB_2_7_4, CRAB_2_7_4_patch1, CRAB_2_7_4_pre1, CRAB_2_7_4_pre2, CRAB_2_7_4_pre3, CRAB_2_7_4_pre4, CRAB_2_7_4_pre5, CRAB_2_7_4_pre6, CRAB_2_7_5, CRAB_2_7_5_patch1, CRAB_2_7_5_pre1, CRAB_2_7_5_pre2, CRAB_2_7_5_pre3, CRAB_2_7_6, CRAB_2_7_6_patch1, CRAB_2_7_6_pre1, CRAB_2_7_7, CRAB_2_7_7_patch1, CRAB_2_7_7_patch1_pre1, CRAB_2_7_7_pre1, CRAB_2_7_7_pre2, CRAB_2_7_8, CRAB_2_7_8_dash, CRAB_2_7_8_dash2, CRAB_2_7_8_dash3, CRAB_2_7_8_patch1, CRAB_2_7_8_patch1_pre1, CRAB_2_7_8_patch2, CRAB_2_7_8_patch2_pre1, CRAB_2_7_8_pre1, CRAB_2_7_8_pre2, CRAB_2_7_8_pre3, CRAB_2_7_9, CRAB_2_7_9_patch1, CRAB_2_7_9_patch2_pre1, CRAB_2_7_9_pre1, CRAB_2_7_9_pre2, CRAB_2_7_9_pre3, CRAB_2_7_9_pre4, CRAB_2_7_9_pre5, CRAB_2_7_lumi, CRAB_2_8_0, CRAB_2_8_0_pre1, CRAB_2_8_1, CRAB_2_8_2, CRAB_2_8_2_patch1, CRAB_2_8_2_pre1, CRAB_2_8_2_pre2, CRAB_2_8_2_pre3, CRAB_2_8_2_pre4, CRAB_2_8_2_pre5, CRAB_2_8_3, CRAB_2_8_3_pre1, CRAB_2_8_3_pre2, CRAB_2_8_3_pre3, CRAB_2_8_3_pre4, CRAB_2_8_4, CRAB_2_8_4_patch1, CRAB_2_8_4_patch2, CRAB_2_8_4_patch3, CRAB_2_8_4_pre1, CRAB_2_8_4_pre2, CRAB_2_8_4_pre3, CRAB_2_8_4_pre4, CRAB_2_8_4_pre5, CRAB_2_8_5_pre1, CRAB_2_8_5_pre2, CRAB_LumiMask, fede_170310, from_LimiMask
Branch point for: CRAB_2_7_1_branch, CRAB_multiout, Lumi2_8
Changes since 1.16: +13 -2 lines
Diff to previous 1.16
check remote dir before resubmission

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Jun 12 15:02:51 2009 UTC (15 years, 10 months ago) by spiga
Branch: MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14
handle job.closed field

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Jun 10 11:40:52 2009 UTC (15 years, 10 months ago) by slacapra
Branch: MAIN
CVS Tags: CRAB_2_6_0_pre8, CRAB_2_6_0_pre9
Changes since 1.13: +18 -19 lines
Diff to previous 1.13
mods to use new filed "state" to check if action is allowed

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri May 29 17:11:00 2009 UTC (15 years, 11 months ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_6_0_pre6, CRAB_2_6_0_pre7
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
clean a bit status code handled

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue May 26 10:23:01 2009 UTC (15 years, 11 months ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_6_0_pre3, CRAB_2_6_0_pre4, CRAB_2_6_0_pre5
Changes since 1.11: +4 -4 lines
Diff to previous 1.11
adapting code to logging usage. (crab_logger removed)

Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Feb 9 14:51:38 2009 UTC (16 years, 2 months ago) by mcinquil
Branch: MAIN
CVS Tags: CRAB_2_5_0, CRAB_2_5_0_pre3, CRAB_2_5_0_pre4, CRAB_2_5_0_pre5, CRAB_2_5_0_pre6, CRAB_2_5_0_pre7, CRAB_2_5_1, CRAB_2_5_1_pre1, CRAB_2_5_1_pre2, CRAB_2_5_1_pre3, CRAB_2_5_1_pre4, CRAB_2_6_0_pre1, CRAB_2_6_0_pre2
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
Addin Not Submitted jobs at resubmittable jobs

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Jan 7 11:30:14 2009 UTC (16 years, 3 months ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_4_4, CRAB_2_4_4_pre1, CRAB_2_4_4_pre2, CRAB_2_4_4_pre3, CRAB_2_4_4_pre4, CRAB_2_4_4_pre5, CRAB_2_4_4_pre6, CRAB_2_5_0_pre1, CRAB_2_5_0_pre2
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
allow to resubmit Done (Failed) jobs. It should be a temporary status..BTW can be considered exactely as the Aborted

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Jun 12 18:46:16 2008 UTC (16 years, 10 months ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_3_0, CRAB_2_3_0_pre1, CRAB_2_3_0_pre6, CRAB_2_3_1_pre1, CRAB_2_3_1_pre2, CRAB_2_3_1_pre3, CRAB_2_3_1_pre4
Branch point for: CRAB_2_3_0_br
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
 check also TEMPORARY EE status

Revision 1.7 - (view) (annotate) - [select for diffs]
Sat May 10 13:41:40 2008 UTC (16 years, 11 months ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_2_0, CRAB_2_2_0_pre19, CRAB_2_2_0_pre21, CRAB_2_2_1, CRAB_2_2_1_pre1, CRAB_2_2_1_pre2, CRAB_2_2_1_pre3, CRAB_2_2_1_pre4, CRAB_2_2_1_pre5, CRAB_2_2_1_pre6, CRAB_2_2_2_pre1, CRAB_2_2_2_pre2, CRAB_2_2_2_pre3, CRAB_2_2_2_pre4, CRAB_2_2_2_pre5, PRODCOMMON_0_10_7_testCS2
Changes since 1.6: +3 -10 lines
Diff to previous 1.6
now resubmission working... still an optimization is needed on the status print on screen

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue May 6 21:32:02 2008 UTC (16 years, 11 months ago) by ewv
Branch: MAIN
Changes since 1.5: +7 -7 lines
Diff to previous 1.5
Update allowed status for kill, fix bug in Resubmitter

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue May 6 14:15:41 2008 UTC (16 years, 11 months ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_2_0_pre18
Changes since 1.4: +10 -4 lines
Diff to previous 1.4
correct management of running instance during resubmit

Revision 1.4 - (view) (annotate) - [select for diffs]
Sat Apr 26 17:23:37 2008 UTC (17 years ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_2_0_pre13, CRAB_2_2_0_pre15, CRAB_2_2_0_pre16, CRAB_2_2_0_pre17
Changes since 1.3: +4 -5 lines
Diff to previous 1.3
minor improvment

Revision 1.3 - (view) (annotate) - [select for diffs]
Sat Apr 26 14:42:12 2008 UTC (17 years ago) by spiga
Branch: MAIN
Changes since 1.2: +40 -38 lines
Diff to previous 1.2
restored Resubmitter

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Mar 28 17:18:20 2008 UTC (17 years, 1 month ago) by spiga
Branch: MAIN
CVS Tags: CRAB_2_2_0_pre10, CRAB_2_2_0_pre11, CRAB_2_2_0_pre12, CRAB_2_2_0_pre2, CRAB_2_2_0_pre4, CRAB_2_2_0_pre5, CRAB_2_2_0_pre7, CRAB_2_2_0_pre8, CRAB_2_2_0_pre9, bp_osg_bdii
Branch point for: osg_bdii
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
removed getOutput stuff and various fix...

Revision 1.1 - (view) (annotate) - [select for diffs]
Wed Feb 13 18:17:53 2008 UTC (17 years, 2 months ago) by slacapra
Branch: MAIN
CVS Tags: CRAB_2_1_0, CRAB_2_1_0_pre5, CRAB_2_1_0_pre6, CRAB_2_1_1, CRAB_2_1_1_pre1, CRAB_2_1_1_pre3, CRAB_2_1_2, CRAB_2_1_2_pre1, CRAB_2_1_2_pre2, CRAB_2_2_0_pre1
Branch point for: CRAB_2_1_1_pre2, CRAB_2_1_2_br
Fix problem in resubmission when passing a parameter the number of the job you want to resubmit
eg -resubmit 4
now means (as was before) to resubmit job #4, not to resubmit 4 jobs.
Create a new class Resubmitter (derived from Submitter) to deal with the logic of selecting the job to be resubmitetd from the user request and job status. This clean up a bit crab.py
The actual submission is always done by Submitter::run()

Convenience Links

Links to HEAD: (view) (annotate) Links to from_LimiMask: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a