Skip to content

Commit

Permalink
Merge lewurm/buildbot:printusedsignal (PR #1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Mar 25, 2014
2 parents 1b6bd3e + b78bd69 commit 0cb72ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions slave/buildslave/runprocess.py
Expand Up @@ -893,11 +893,12 @@ def doBackupTimeout(self):
log.msg("we tried to kill the process, and it wouldn't die.."
" finish anyway")
self.killTimer = None
self.sendStatus({'header': "SIGKILL failed to kill process\n"})
signalName = "SIG" + self.interruptSignal
self.sendStatus({'header': signalName + " failed to kill process\n"})
if self.sendRC:
self.sendStatus({'header': "using fake rc=-1\n"})
self.sendStatus({'rc': -1})
self.failed(RuntimeError("SIGKILL failed to kill process"))
self.failed(RuntimeError(signalName + " failed to kill process"))

def _cancelTimers(self):
for timerName in ('ioTimeoutTimer', 'killTimer', 'maxTimeoutTimer', 'sendBuffersTimer', 'sigtermTimer'):
Expand Down

0 comments on commit 0cb72ba

Please sign in to comment.