|
51 | 51 | parser.add_argument('--webhook', help=argparse.SUPPRESS) # log some infos to this webhook channel |
52 | 52 | parser.add_argument('--checkpoint-on-failure', help=argparse.SUPPRESS) # debug option making a debug-tarball and sending to specified address |
53 | 53 | # argument is alien-path |
54 | | -parser.add_argument('--retry-on-failure', help=argparse.SUPPRESS, default=2) # number of times a failing task is retried |
| 54 | +parser.add_argument('--retry-on-failure', help=argparse.SUPPRESS, default=0) # number of times a failing task is retried |
55 | 55 | parser.add_argument('--rootinit-speedup', help=argparse.SUPPRESS, action='store_true') # enable init of ROOT environment vars to speedup init/startup |
56 | 56 | parser.add_argument('--action-logfile', help='Logfilename for action logs. If none given, pipeline_action_#PID.log will be used') |
57 | 57 | parser.add_argument('--metric-logfile', help='Logfilename for metric logs. If none given, pipeline_metric_#PID.log will be used') |
@@ -796,10 +796,10 @@ def waitforany(self, process_list, finished, failingtasks): |
796 | 796 | finished.append(tid) |
797 | 797 | process_list.remove(p) |
798 | 798 | if returncode != 0: |
799 | | - print (str(tid) + ' failed ... checking retry') |
| 799 | + print (str(self.idtotask[tid]) + ' failed ... checking retry') |
800 | 800 | # we inspect if this is something "unlucky" which could be resolved by a simple resubmit |
801 | 801 | if self.is_worth_retrying(tid) and self.retry_counter[tid] < int(args.retry_on_failure): |
802 | | - print (str(tid) + ' to be retried') |
| 802 | + print (str(self.idtotask[tid]) + ' to be retried') |
803 | 803 | actionlogger.info ('Task ' + str(self.idtotask[tid]) + ' failed but marked to be retried ') |
804 | 804 | self.tids_marked_toretry.append(tid) |
805 | 805 | self.retry_counter[tid] += 1 |
|
0 commit comments