Changeset 27840 for branches/simtest_nebulous_branches/ippTasks/stack.pro
- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTasks/stack.pro (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ippTasks/stack.pro
r24603 r27840 14 14 ### Database lists 15 15 $stackSkycell_DB = 0 16 $stack_revert_DB = 0 16 17 #$stackCleanup_DB = 0 17 18 … … 36 37 active true 37 38 end 39 task stack.revert 40 active false 41 end 38 42 end 39 43 … … 46 50 active false 47 51 end 48 end 52 task stack.revert 53 active false 54 end 55 end 56 57 macro stack.revert.on 58 task stack.revert 59 active true 60 end 61 end 62 63 macro stack.revert.off 64 task stack.revert 65 active false 66 end 67 end 68 69 70 71 49 72 50 73 # macro stack.cleanup.on … … 88 111 # save the DB name for the exit tasks 89 112 option $DB:$stackSkycell_DB 90 $run = $run -dbname $DB:$stackSkycell_DB 113 $run = $run -dbname $DB:$stackSkycell_DB -limit 40 91 114 $stackSkycell_DB ++ 92 115 if ($stackSkycell_DB >= $DB:n) set stackSkycell_DB = 0 93 116 end 94 117 add_poll_args run 95 add_poll_labels run118 # add_poll_labels run 96 119 command $run 97 120 end … … 124 147 end 125 148 149 150 151 126 152 ### Run tasks for calculating the stack overlaps 127 153 ### Tasks are taken from stackSumSkyfile. … … 135 161 if ($N == 0) break 136 162 if ($NETWORK == 0) break 137 163 if ($BURNTOOLING == 1) break 164 138 165 # look for new images in stackSumSkyfile (pantaskState == INIT) 139 166 book getpage stackSumSkyfile 0 -var pageName -key pantaskState INIT … … 316 343 # end 317 344 # end 345 346 task stack.revert 347 host local 348 349 periods -poll 60.0 350 periods -exec 1800.0 351 periods -timeout 120.0 352 npending 1 353 active false 354 355 stdout NULL 356 stderr $LOGDIR/revert.log 357 358 task.exec 359 if ($LABEL:n == 0) break 360 # Only revert failures with fault=2 (SYS_ERROR), which tend to be 361 # temporary filesystem problems. Every other fault type is 362 # interesting and should be kept for debugging (and so it doesn't 363 # continue to occur). 364 $run = stacktool -revertsumskyfile -fault 2 365 if ($DB:n == 0) 366 option DEFAULT 367 else 368 # save the DB name for the exit tasks 369 option $DB:$stack_revert_DB 370 $run = $run -dbname $DB:$stack_revert_DB 371 $stack_revert_DB ++ 372 if ($stack_revert_DB >= $DB:n) set stack_revert_DB = 0 373 end 374 add_poll_labels run 375 command $run 376 end 377 378 # success 379 task.exit 0 380 end 381 382 # locked list 383 task.exit default 384 showcommand failure 385 end 386 387 task.exit crash 388 showcommand crash 389 end 390 391 # operation times out? 392 task.exit timeout 393 showcommand timeout 394 end 395 end 396
Note:
See TracChangeset
for help on using the changeset viewer.
