Changeset 41584
- Timestamp:
- May 15, 2021, 8:41:21 AM (5 years ago)
- Location:
- trunk/pstamp/scripts
- Files:
-
- 4 edited
-
dquery_job_run.pl (modified) (2 diffs)
-
dqueryparse.pl (modified) (2 diffs)
-
pstamp_job_run.pl (modified) (1 diff)
-
pstamp_server_status (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/dquery_job_run.pl
r41479 r41584 121 121 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 122 122 run(command => $command, verbose => $verbose); 123 ## MEH need to adjust error_code to rc 123 124 unless ($success) { 124 125 my $rc = $error_code >> 8; … … 388 389 $exit_code = $PS_EXIT_PROG_ERROR unless defined $exit_code; 389 390 390 carp("$message : $QUERY_ID $FPA_ID $MJD_OBS $FILTER $OBSCODE $STAGE"); 391 #carp("$message : $QUERY_ID $FPA_ID $MJD_OBS $FILTER $OBSCODE $STAGE"); 392 carp("$message : $QUERY_ID $FPA_ID $MJD_OBS $FILTER $OBSCODE $STAGE $exit_code"); 393 391 394 exit($exit_code); 392 395 -
trunk/pstamp/scripts/dqueryparse.pl
r41478 r41584 385 385 ($query{$fpa_id}{STATE}[$valid_index] eq 'drop') or 386 386 ($query{$fpa_id}{STATE}[$valid_index] eq 'error_cleaned') or 387 ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'error_cleaned') or387 ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'error_cleaned') or 388 388 ($query{$fpa_id}{STATE}[$valid_index] eq 'goto_scrubbed') or 389 389 ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'scrubbed')) { … … 391 391 # image is gone and it's not coming back 392 392 $query{$fpa_id}{FAULT}[$valid_index] = $PSTAMP_GONE; 393 ## MEH error_cleaned isn't necessarily gone though394 ## if BAD_COMPONENT not set then doesn't get added to faulted_rows list (others need this too?)395 $query{$fpa_id}{BAD_COMPONENT}[$valid_index] = 1;393 ## MEH why was this missing? should be added to other FAULT cases... 394 ## messes with row order, skipping the faulted rows on output, unclear if problem since happens in other cases too 395 $query{$fpa_id}{BAD_COMPONENT}[$valid_index] = 1; 396 396 } 397 397 elsif ($need_magic and ($query{$fpa_id}{MAGICKED}[$valid_index] eq 0)) { -
trunk/pstamp/scripts/pstamp_job_run.pl
r41480 r41584 611 611 print STDERR "file $f is not available\n"; 612 612 $return_code = 0; 613 ## MEHdoesn't look like return_code is even used from check_files...614 ## if file is not available, why is my_die not called with PSTAMP_NOT_AVAILABLE?615 ## is this only the case when neb-host down and fails to wait for fix?616 ## with multiple data nodes down, this needs to be a fault case617 my_die( "file $f is not available:", $job_id, $error_code, 'stop'); 613 ## MEH 20210127 doesn't look like return_code is even used from check_files... 614 ## if file is not available, why is my_die not called with PSTAMP_NOT_AVAILABLE? 615 ## is this only the case when neb-host down and fails to wait for fix? 616 ## with multiple data nodes down, this needs to be a fault case 617 my_die( "file $f is not available:", $job_id, $error_code, 'stop'); 618 618 } 619 619 } else { -
trunk/pstamp/scripts/pstamp_server_status
r41497 r41584 124 124 if ($controller_state) { 125 125 print $br . "Pantasks Controller $controller_state.\n"; 126 # loading active labels127 my $runlabels = `echo \"show.labels; quit\" \| pantasks_client -c ~ippitc/pstamp/ptolemy.rc \| tail -n +7`;128 print $br."current labels: \n".$runlabels."\n";129 126 } else { 130 127 print STDERR "Controller state not found";
Note:
See TracChangeset
for help on using the changeset viewer.
