exceptions.AttributeError: 'DebianBuildManager' object has no attribute '_subprocess'

Bug #497772 reported by Julian Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-buildd
Fix Released
Critical
Jelmer Vernooij

Bug Description

A builder bailed out with this error (which causes the buildd-manager on the soyuz side to report "Fault 8002").

2009/12/17 10:59 GMT [HTTPChannel,14055,XXX.XXX.XXX.177] XXX.XXX.XXX.177 - - [17/Dec/2009:10:59:44 +0000] "POST /rpc HTTP/1.0" 200 275 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2009/12/17 10:59 GMT [HTTPChannel,14056, XXX.XXX.XXX.177] Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 557, in requestReceived
            self.process()
          File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 153, in process
            self.render(resrc)
          File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in render
            body = resrc.render(self)
          File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line 118, in render
            defer.maybeDeferred(function, *args).addErrback(
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 107, in maybeDeferred
            result = f(*args, **kw)
          File "/usr/share/launchpad-buildd/canonical/buildd/slave.py", line 623, in xmlrpc_abort
            self.slave.abort()
          File "/usr/share/launchpad-buildd/canonical/buildd/slave.py", line 345, in abort
            self.manager.abort()
          File "/usr/share/launchpad-buildd/canonical/buildd/slave.py", line 191, in abort
            self._subprocess.transport.signalProcess('TERM')
        exceptions.AttributeError: 'DebianBuildManager' object has no attribute '_subprocess'

Tags: oops

Related branches

Changed in launchpad-buildd:
status: New → Confirmed
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is caused by the manager trying to abort a slave which hasn't started a build process off yet. Should be very easy to detect and fix.

Revision history for this message
Robert Collins (lifeless) wrote :

This would be an OOPS if we had OOPS linked into these bugs

Changed in launchpad-buildd:
status: Confirmed → Triaged
importance: Undecided → High
importance: High → Critical
tags: added: oops
Jelmer Vernooij (jelmer)
Changed in launchpad-buildd:
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → In Progress
Jelmer Vernooij (jelmer)
Changed in launchpad-buildd:
status: In Progress → Fix Committed
William Grant (wgrant)
Changed in launchpad-buildd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.