[Buildbot-devel] Problem with 0.7.10

Axel Hecht l10n.moz at googlemail.com
Wed Mar 4 17:52:41 UTC 2009


You could disable log compression by setting

c['logCompressionLimit'] = False

The background problem is that for some odd reason, your twisted on your
platform doesn't seem to support deferToThread. No idea how that would
happen. On what OS are you running your master?

Axel

2009/3/4 René Müller <mue.r at gmx.de>

> 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é
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090304/af54f25d/attachment.html>


More information about the devel mailing list