commit/galaxy-central: natefoo: PBS cluster error user messages now suggest retrying the job.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/2fed8f8737cd/ changeset: 2fed8f8737cd user: natefoo date: 2011-10-17 20:19:34 summary: PBS cluster error user messages now suggest retrying the job. affected #: 1 file (-1 bytes) --- a/lib/galaxy/jobs/runners/pbs.py Mon Oct 17 13:49:06 2011 -0400 +++ b/lib/galaxy/jobs/runners/pbs.py Mon Oct 17 14:19:34 2011 -0400 @@ -292,7 +292,7 @@ if not job_id: errno, text = pbs.error() log.debug( "(%s) pbs_submit failed, PBS error %d: %s" % (galaxy_job_id, errno, text) ) - job_wrapper.fail( "Unable to run this job due to a cluster error" ) + job_wrapper.fail( "Unable to run this job due to a cluster error, please retry it later" ) return if pbs_queue_name is None: @@ -419,7 +419,7 @@ assert int( status.exit_status ) == 0 log.debug("(%s/%s) PBS job has completed successfully" % ( galaxy_job_id, job_id ) ) except AssertionError: - pbs_job_state.fail_message = 'Job cannot be completed due to a cluster error. Please retry or' + pbs_job_state.fail_message = 'Job cannot be completed due to a cluster error, please retry it later' log.error( '(%s/%s) PBS job failed: %s' % ( galaxy_job_id, job_id, JOB_EXIT_STATUS.get( int( status.exit_status ), 'Unknown error: %s' % status.exit_status ) ) ) self.work_queue.put( ( 'fail', pbs_job_state ) ) continue 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.
participants (1)
-
Bitbucket