1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c1873e4d23fa/ Changeset: c1873e4d23fa User: dannon Date: 2014-05-13 23:39:55 Summary: Merge from stable. Affected #: 1 file diff -r b4680b54994ad6c62f05d354a2af5743344152e8 -r c1873e4d23fa2c496990e5bdef83300e929ae40c lib/galaxy/jobs/runners/drmaa.py --- a/lib/galaxy/jobs/runners/drmaa.py +++ b/lib/galaxy/jobs/runners/drmaa.py @@ -177,10 +177,16 @@ while external_job_id is None and trynum < 5: try: external_job_id = self.ds.runJob(jt) - except drmaa.InternalException, e: + break + except ( drmaa.InternalException, drmaa.DeniedByDrmException ), e: trynum += 1 log.warning( '(%s) drmaa.Session.runJob() failed, will retry: %s', galaxy_id_tag, e ) time.sleep( 5 ) + else: + log.error( "(%s) All attempts to submit job failed" % galaxy_id_tag ) + job_wrapper.fail( "Unable to run this job due to a cluster error, please retry it later" ) + self.ds.deleteJobTemplate( jt ) + return else: job_wrapper.change_ownership_for_run() log.debug( '(%s) submitting with credentials: %s [uid: %s]' % ( galaxy_id_tag, job_wrapper.user_system_pwent[0], job_wrapper.user_system_pwent[2] ) ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.