Standardize the internal error logs for better tracking
This commit is contained in:
parent
0954240ccb
commit
9f9d32548b
2 changed files with 6 additions and 2 deletions
|
@ -199,7 +199,8 @@ class EphemeralBuilderManager(BaseManager):
|
|||
got_lock = yield From(self._take_etcd_atomic_lock('job-expired', build_job.build_uuid,
|
||||
execution_id))
|
||||
if got_lock:
|
||||
logger.warning('Marking job %s as incomplete', build_job.build_uuid)
|
||||
logger.error('[BUILD INTERNAL ERROR: etcd %s] Build ID: %s. Exec name: %s. Exec ID: %s',
|
||||
etcd_result.action, build_job.build_uuid, executor_name, execution_id)
|
||||
self.job_complete_callback(build_job, BuildJobResult.INCOMPLETE, executor_name,
|
||||
update_phase=True)
|
||||
|
||||
|
|
Reference in a new issue