I tried killing a job on the buildsys recently and got some funny
results. The job seemed to actually be killed, and I got an email
stating so. However, the plague-client never returned to the command
line. I'm not sure if it was waiting for a response from the server or
what. Here's the backtrace I got when Ctrl-C'ing it:
jwboyer@yoda FC-4]$ plague-client kill 218
Traceback (most recent call last):
File "/usr/bin/plague-client", line 334, in ?
kill(server, email, jobid)
File "/usr/bin/plague-client", line 179, in kill
(err, msg) = server.kill_job(email, jobid)
File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "/usr/lib/python2.4/xmlrpclib.py", line 1131, in request
errcode, errmsg, headers = h.getreply()
File "/usr/lib/python2.4/httplib.py", line 1133, in getreply
response = self._conn.getresponse()
File "/usr/lib/python2.4/httplib.py", line 862, in getresponse
response.begin()
File "/usr/lib/python2.4/httplib.py", line 333, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.4/httplib.py", line 291, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.4/socket.py", line 325, in readline
data = recv(1)
File "/usr/lib/python2.4/site-packages/plague/SSLConnection.py", line 74, in recv
ret = self.__dict__["conn"].recv(bufsize)
KeyboardInterrupt
I'll be gone for the rest of today, but I can play around with stuff
tonight and tomorrow if someone thinks of something.
josh