Changeset 30632
- Timestamp:
- Feb 14, 2011, 2:17:32 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_checkdependent.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_checkdependent.pl
r30588 r30632 193 193 194 194 if (!$job_fault and ($stage eq 'chip')) { 195 # should only get here with data_state 'full' and perhaps destreaking not done 196 my_die ("Unexpected state for ${stage}Run $stage_id $state", $PS_EXIT_PROG_ERROR) 197 if $it->{data_state} ne 'full'; 198 199 # chip processing is done, start destreaking. 200 my @chips; 201 push @chips, $it->{class_id}; 202 $job_fault = check_states_magicDSRun($stage, $stage_id, \@chips, $rlabel, $need_magic, $it->{raw_magicked}, $it->{magic_ds_id}, $it->{dsRun_state}); 195 # what about "error_cleaned" ? 196 if (! ($it->{data_state} =~ /cleaned/) ) { 197 # should only get here with data_state 'full' and perhaps destreaking not done 198 my_die ("Unexpected state for ${stage}Run $stage_id $state", $PS_EXIT_PROG_ERROR) 199 if $it->{data_state} ne 'full'; 200 201 # chip processing is done, start destreaking. 202 my @chips; 203 push @chips, $it->{class_id}; 204 $job_fault = check_states_magicDSRun($stage, $stage_id, \@chips, $rlabel, $need_magic, $it->{raw_magicked}, $it->{magic_ds_id}, $it->{dsRun_state}); 205 } 203 206 } 204 207 … … 245 248 # caller will fault the jobs 246 249 return $error_code; 250 } elsif ($chip->{dsRun_state} eq 'failed_revert') { 251 # XXX: revert failures are rarely fixed. give up but say it's just not available not GONE 252 print "magicDSRun.state = $dsRun_state for chipRun $stage_id is in state failed_revert cannot update\n"; 253 return $PSTAMP_NOT_AVAILABLE; 247 254 } elsif (($chip->{data_state} ne 'update') and ($chip->{data_state} ne 'full')) { 248 255
Note:
See TracChangeset
for help on using the changeset viewer.
