- Timestamp:
- Jul 30, 2010, 9:31:50 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100621/pstamp
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
scripts/pstamp_checkdependent.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/pstamp
- Property svn:ignore
-
old new 16 16 ltmain.sh 17 17 libtool 18 ppstamp.pc
-
- Property svn:ignore
-
branches/eam_branches/ipp-20100621/pstamp/scripts/pstamp_checkdependent.pl
r28145 r28794 225 225 print "chipRun state is $chip->{chip_id} is in state $chip->{state} cannot update\n"; 226 226 faultJobs('stop', undef, undef, $PSTAMP_GONE); 227 return ;227 return 0; 228 228 } elsif (($chip->{data_state} ne 'update') and ($chip->{data_state} ne 'full')) { 229 229 my $command = "$chiptool -setimfiletoupdate -chip_id $chip_id -class_id $chip->{class_id}"; … … 249 249 print "chipRun state is $run->{chip_id} is in state $state cannot update\n"; 250 250 faultJobs('stop', undef, undef, $PSTAMP_GONE); 251 return ;251 return 0; 252 252 } 253 253 … … 277 277 # if chipProcessedImfile.state is cleaned call check_states_chip 278 278 279 # need to code warptool -setskyfiletoupdate280 279 my $metadata = shift; 281 280 my $whole_run = shift; # if true queue entire run for update … … 287 286 my $warp_id = $metadata->{warp_id}; 288 287 my $state = $metadata->{state}; 289 if ( $state =~ /error/) {288 if (($state =~ /error/) or ($state =~ /purged/) or ($state =~ /scrubbed/) or ($state eq 'drop')) { 290 289 print STDERR "warpRun $warp_id has state $state faulting jobs\n"; 291 290 faultJobs('stop', undef, undef, $PSTAMP_GONE);
Note:
See TracChangeset
for help on using the changeset viewer.
