Beispiel #1
0
 def retry(self):
     # return True or False depending whether the application
     # should be re-submitted or not.
     # The actual CodemlApplication is available as `self.task`,
     # so for instance `self.task.valid[0]` is `True` iff the
     # H0.mlc file is present and processed correctly.
     # gc3libs.log.debug("CodemlRetryPolicy called!")
     # for now, do the default (see: gc3libs/__init__.py)
     to_retry = RetryableTask.retry(self)
     gc3libs.log.debug("CodemlRetryPolicy called with retry [%s]" % str(to_retry))
     return to_retry
Beispiel #2
0
 def retry(self):
     """ 
     Task will be retried iif the application crashed
     due to an error within the exeuction environment
     (e.g. VM crash or LRMS kill)
     """
     # XXX: check whether it is possible to distingish 
     # between the error conditions and set meaningfull exitcode
     to_retry = RetryableTask.retry(self)
     gc3libs.log.debug("GWeightTask called with retry [%s]" % str(to_retry))
     return to_retry
Beispiel #3
0
 def retry(self):
     """
     Task will be retried iif the application crashed
     due to an error within the exeuction environment
     (e.g. VM crash or LRMS kill)
     """
     # XXX: check whether it is possible to distingish
     # between the error conditions and set meaningfull exitcode
     to_retry = RetryableTask.retry(self)
     gc3libs.log.debug("GWeightTask called with retry [%s]" % str(to_retry))
     return to_retry
Beispiel #4
0
 def retry(self):
     # return True or False depending whether the application
     # should be re-submitted or not.
     # The actual CodemlApplication is available as `self.task`,
     # so for instance `self.task.valid[0]` is `True` iff the
     # H0.mlc file is present and processed correctly.
     # gc3libs.log.debug("CodemlRetryPolicy called!")
     # for now, do the default (see: gc3libs/__init__.py)
     to_retry = RetryableTask.retry(self)
     gc3libs.log.debug("CodemlRetryPolicy called with retry [%s]" % str(to_retry))
     return to_retry