Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#3632 closed undecided (worksforme)

Exception when shutting down

Reported by: kayhayen Owned by:
Priority: major Milestone: undecided
Version: 0.9.0 Keywords:
Cc:

Description

I have this:

2016-10-27 07:14:32+0200 [-] Received SIGTERM, shutting down. 2016-10-27 07:14:33+0200 [-] Unhandled error in Deferred: 2016-10-27 07:14:33+0200 [-] Unhandled Error

Traceback (most recent call last): Failure: twisted.internet.defer.FirstError?: FirstError?[#10, [Failure instance: Traceback: <type 'exceptions.AttributeError?'>: 'NoneType?' object has no attribute 'addPointEvent' /home/nuitka-buildmaster/sandbox/local/lib/python2.7/site-packages/twisted/internet/defer.py:1241:gotResult /home/nuitka-buildmaster/sandbox/local/lib/python2.7/site-packages/twisted/internet/defer.py:1185:_inlineCallbacks /home/nuitka-buildmaster/sandbox/local/lib/python2.7/site-packages/buildbot/master.py:334:stopService /home/nuitka-buildmaster/sandbox/local/lib/python2.7/site-packages/buildbot/util/service.py:84:stopService --- <exception caught here> --- /home/nuitka-buildmaster/sandbox/local/lib/python2.7/site-packages/twisted/internet/defer.py:149:maybeDeferred /home/nuitka-buildmaster/sandbox/local/lib/python2.7/site-packages/buildbot/process/botmaster.py:233:stopService ]]

2016-10-27 07:14:33+0200 [-] (TCP Port 9999 Closed) 2016-10-27 07:14:33+0200 [-] Stopping factory <twisted.spread.pb.PBServerFactory instance at 0xb40e6cd8> 2016-10-27 07:14:33+0200 [-] Main loop terminated. 2016-10-27 07:14:33+0200 [-] Server Shut Down.

The PyPI version seems to be "post1", if that helps. My config is migrated to the point that I have no obvious errors. Feel free to ignore this, but maybe it's helping you to find a bug.

Thanks, Kay

Change History (3)

comment:1 Changed 3 years ago by tardyp

Hi Kay, Thanks for the report,

It looks like you have an issue with your install.

There is no call to addPointEvent in the whole source code (there is only the old status code which is dead code that needs to be cleaned up)

Maybe you still have some pyc of an old buildbot install. I would recommend to start from a clean virtualenv

comment:2 Changed 3 years ago by tardyp

  • Resolution set to worksforme
  • Status changed from new to closed

comment:3 Changed 3 years ago by kayhayen

You are absolutely right, I have this from pip install -U buildbot, deployed by ansible.

I will scratch it and see if similar issues arise again. Thanks for looking into this.

Note: See TracTickets for help on using tickets.