[Buildbot-devel] Problem with 0.7.10

René Müller mue.r at gmx.de
Wed Mar 4 17:37:27 UTC 2009


Hi,

I upgraded buildbot to 0.7.10 and now I get this log:

2009-03-04 18:17:16+0100 [-] BuildStep.failed, traceback follows
2009-03-04 18:17:16+0100 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 186, in addCallbacks
            self._runCallbacks()
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
            self._startRunCallbacks(result)
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/var/lib/buildmaster_test/buildbot/process/buildstep.py", line 789, in finished
            self.step_status.stepFinished(results)
          File "/var/lib/buildmaster_test/buildbot/status/builder.py", line 941, in stepFinished
            cld.append(loog.compressLog())
          File "/var/lib/buildmaster_test/buildbot/status/builder.py", line 446, in compressLog
            d = threads.deferToThread(self._compressLog, compressed)
          File "/usr/lib/python2.5/site-packages/twisted/internet/threads.py", line 67, in deferToThread
            if reactor.threadpool is None:
        exceptions.AttributeError: 'SelectReactor' object has no attribute 'threadpool'

2009-03-04 18:17:16+0100 [-] exception during failure processing
2009-03-04 18:17:16+0100 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
            self._startRunCallbacks(result)
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
        --- <exception caught here> ---
          File "/var/lib/buildmaster_test/buildbot/process/buildstep.py", line 801, in failed
            self.progress.finish()
          File "/var/lib/buildmaster_test/buildbot/status/progress.py", line 70, in finish
            self.buildProgress.stepFinished(self.name)
          File "/var/lib/buildmaster_test/buildbot/status/progress.py", line 149, in stepFinished
            assert(stepname not in self.finishedSteps)
        exceptions.AssertionError:

2009-03-04 18:17:16+0100 [-] releaseLocks(<buildbot.steps.source.SVN instance at 0x8a9ca8c>): []
2009-03-04 18:17:16+0100 [-] BuildStep.failed now firing callback
2009-03-04 18:17:16+0100 [-]  step 'svn' complete: exception
2009-03-04 18:17:16+0100 [-]  <Build testbuild>: build finished

I tried very much different things:
 - python 2.5 and twisted 8.1
 - python 2.5 and twisted 8.2
 - my old buildmaster and slave (from 0.7.9)
 - new buildmaster and new slave

The build only consists of this (master.cfg.sample):

from buildbot.process import factory
from buildbot.steps.source import SVN

f1 = factory.BuildFactory()
f1.addStep(SVN(svnurl="https://xxxxx",\
               mode="clobber",\
               username="xxxx",\
               password="xxxx"))

b1 = {'name': "testbuild",
      'slavename': "Test-Buildslave",
      'builddir': "testbuild",
      'factory': f1,
      }
c['builders'] = [b1]


Now I force the build, the svn-step works (reported as success and a green color in the waterfall), but the build is marked "exception". When I add more steps, the build stops after the svn-step.

Can anybody give me a hint where to start? I already searched for an solution for 2 days, but I can't get it working. When I downgrade to 0.7.9 everything is fine.

Greetings,
René





More information about the devel mailing list