Changeset 34241 for branches/eam_branches/ipp-20120627/pstamp
- Timestamp:
- Jul 31, 2012, 11:38:18 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120627/pstamp/scripts
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
pstamp_checkdependent.pl (modified) (3 diffs)
-
pstamp_parser_run.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120627/pstamp/scripts
- Property svn:mergeinfo changed
/trunk/pstamp/scripts merged: 34230-34232,34238
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120627/pstamp/scripts/pstamp_checkdependent.pl
r33056 r34241 331 331 return $error_code 332 332 } 333 if (($ state eq 'update') and ($metadata->{fault})) {333 if (($data_state eq 'full') and ($metadata->{fault})) { 334 334 # fault dependent. 335 335 my $fault = $metadata->{fault}; 336 336 print STDERR "warp $warp_id $skycell_id faulted: $fault"; 337 337 return $fault; 338 } 339 if ($metadata->{quality} ne 0) { 340 print STDERR "warp $warp_id $skycell_id bad quality on update: $metadata->{quality}\n"; 341 return $PSTAMP_GONE; 338 342 } 339 343 … … 466 470 return $warp_status; 467 471 } 468 } 472 } elsif ($warp1->{quality} != 0) { 473 print STDERR "warp $warp1->{warp_id} $skycell_id has poor quality: $warp1->{quality}\n"; 474 faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE); 475 return $PSTAMP_GONE; 476 } 469 477 $command = "$warptool -warped -warp_id $skycell->{warp2} -skycell_id $skycell_id"; 470 478 my $warp2 = runToolAndParseExpectOne($command, $verbose); … … 477 485 faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE); 478 486 } 479 } 487 } elsif ($warp2->{quality} != 0) { 488 print STDERR "warp $warp2->{warp_id} $skycell_id has poor quality: $warp2->{quality}\n"; 489 faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE); 490 return $PSTAMP_GONE; 491 } 480 492 481 493 if (!$warps_ready) { -
branches/eam_branches/ipp-20120627/pstamp/scripts/pstamp_parser_run.pl
r33126 r34241 127 127 if ($uri =~ /^http:/) { 128 128 # if the uri is an http uri download the file 129 my $command = "$dsget --uri $uri --filename $new_uri ";129 my $command = "$dsget --uri $uri --filename $new_uri --timeout 120"; 130 130 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 131 131 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
