Changeset 30634
- Timestamp:
- Feb 14, 2011, 2:19:51 PM (15 years ago)
- Location:
- tags/ipp-20101215/pstamp/scripts
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
pstamp_checkdependent.pl (modified) (2 diffs)
-
pstamp_finish.pl (modified) (1 diff)
-
pstamp_job_run.pl (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20101215/pstamp/scripts
- Property svn:mergeinfo changed
/trunk/pstamp/scripts merged: 30632-30633
- Property svn:mergeinfo changed
-
tags/ipp-20101215/pstamp/scripts/pstamp_checkdependent.pl
r30589 r30634 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 -
tags/ipp-20101215/pstamp/scripts/pstamp_finish.pl
r29330 r30634 228 228 close JRL; 229 229 } else { 230 my_die("No reglist for successful job: $job_id", $req_id, $PS_EXIT_PROG_ERROR) 231 if $fault eq $PSTAMP_SUCCESS; 230 232 print STDERR "no reglist file for job $job_id\n" if $verbose; 231 233 print $tdf "$rownum|$fault|$error_string|0|$job_id|"; -
tags/ipp-20101215/pstamp/scripts/pstamp_job_run.pl
- Property svn:mergeinfo deleted
Note:
See TracChangeset
for help on using the changeset viewer.
