Changeset 43052 for branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/pstamp_checkdependent.pl
- Timestamp:
- Jun 12, 2026, 2:47:49 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/pstamp/scripts/pstamp_checkdependent.pl
r42981 r43052 15 15 use Carp; 16 16 use POSIX; 17 use IPC::Cmd 0.36 qw( can_run run);17 use IPC::Cmd 0.36 qw( can_run ); 18 18 use PS::IPP::Metadata::List qw( parse_md_list ); 19 use PS::IPP::Config qw( :standard );19 use PS::IPP::Config qw( :standard ps_run ); 20 20 use PS::IPP::PStamp::RequestFile qw( :standard ); 21 21 use Carp; … … 156 156 if (!$no_update) { 157 157 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 158 run(command => $command, verbose => $verbose);158 ps_run(command => $command, verbose => $verbose); 159 159 unless ($success) { 160 160 my_die("failed to set pstampDependent.state to 'full' dep_id: $dep_id", … … 312 312 if (!$no_update) { 313 313 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 314 run(command => $command, verbose => $verbose);314 ps_run(command => $command, verbose => $verbose); 315 315 unless ($success) { 316 316 my_die("failed to change ${stage}Run $stage_id $component from goto_cleaned to update", $PS_EXIT_UNKNOWN_ERROR); … … 343 343 if (!$no_update) { 344 344 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 345 run(command => $command, verbose => $verbose);345 ps_run(command => $command, verbose => $verbose); 346 346 unless ($success) { 347 347 my_die("failed to queue ${stage}Run $stage_id $component for update", $PS_EXIT_UNKNOWN_ERROR); … … 360 360 if (!$no_update) { 361 361 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 362 run(command => $command, verbose => $verbose);362 ps_run(command => $command, verbose => $verbose); 363 363 unless ($success) { 364 364 my_die("failed to change ${stage}Run $stage_id $component from goto_cleaned to update", $PS_EXIT_UNKNOWN_ERROR); … … 453 453 if (!$no_update) { 454 454 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 455 run(command => $command, verbose => $verbose);455 ps_run(command => $command, verbose => $verbose); 456 456 unless ($success) { 457 457 my_die("failed to change state of ${stage}Run $stage_id from goto_cleaned to update", $PS_EXIT_UNKNOWN_ERROR); … … 525 525 if (!$no_update) { 526 526 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 527 run(command => $command, verbose => $verbose);527 ps_run(command => $command, verbose => $verbose); 528 528 unless ($success) { 529 529 my_die("failed to queue ${stage}Run $stage_id $component for update", $PS_EXIT_UNKNOWN_ERROR); … … 539 539 if (!$no_update) { 540 540 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 541 run(command => $command, verbose => $verbose);541 ps_run(command => $command, verbose => $verbose); 542 542 unless ($success) { 543 543 my_die("failed to change state of ${stage}Run $stage_id to update", $PS_EXIT_UNKNOWN_ERROR); … … 582 582 if (!$no_update) { 583 583 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 584 run(command => $command, verbose => $verbose);584 ps_run(command => $command, verbose => $verbose); 585 585 unless ($success) { 586 586 my_die("failed to queue ${stage}Run $stage_id $component for update", $PS_EXIT_UNKNOWN_ERROR); … … 724 724 if (!$no_update) { 725 725 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 726 run(command => $command, verbose => $verbose);726 ps_run(command => $command, verbose => $verbose); 727 727 unless ($success) { 728 728 my_die("failed to queue ${stage}Run $stage_id $component for update", $PS_EXIT_UNKNOWN_ERROR); … … 737 737 if (!$no_update) { 738 738 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 739 run(command => $command, verbose => $verbose);739 ps_run(command => $command, verbose => $verbose); 740 740 unless ($success) { 741 741 my_die("failed to queue ${stage}Run $stage_id $component for update", $PS_EXIT_UNKNOWN_ERROR); … … 765 765 # run the command and parse the output 766 766 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 767 run(command => $command, verbose => $verbose);767 ps_run(command => $command, verbose => $verbose); 768 768 unless ($success) { 769 769 print STDERR @$stderr_buf if !$verbose; … … 904 904 if (!$no_update) { 905 905 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 906 run(command => $command, verbose => $verbose);906 ps_run(command => $command, verbose => $verbose); 907 907 unless ($success) { 908 908 my_die("failed to set destreaked component to 'update' for ${stage}Run $stage_id $c", … … 936 936 if (!$no_update) { 937 937 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 938 run(command => $command, verbose => $verbose);938 ps_run(command => $command, verbose => $verbose); 939 939 unless ($success) { 940 940 my_die("failed to set pstampJob.fault for dep_id: $dep_id", … … 970 970 if (!$no_update) { 971 971 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 972 run(command => $command, verbose => $verbose);972 ps_run(command => $command, verbose => $verbose); 973 973 unless ($success) { 974 974 carp "$cmd failed"; … … 988 988 if (!$no_update) { 989 989 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 990 run(command => $command, verbose => $verbose);990 ps_run(command => $command, verbose => $verbose); 991 991 unless ($success) { 992 992 carp "$cmd failed";
Note:
See TracChangeset
for help on using the changeset viewer.
