[Buildbot-devel] test bustage of latent slaves on twisted 2.5.0, plus on bzr on 8.2.0. Mac, python 2.5

Axel Hecht l10n.moz at googlemail.com
Thu Jan 29 17:30:26 UTC 2009


Hi,

I just ran into a flock of test errors with the latent-slaves tests:

===============================================================================
[ERROR]: buildbot.test.test_ec2buildslave.BasicConfig.testSequence

Traceback (most recent call last):
  File "/Users/tester/src/buildbot/buildbot/test/test_ec2buildslave.py",
line 300, in testSequence
    self.assertIsInstance(self.bot1.get_image(), Image)
exceptions.AttributeError: 'BasicConfig' object has no attribute
'assertIsInstance'
===============================================================================
[ERROR]:
buildbot.test.test_ec2buildslave.Initialization.testCustomSeparateFile

Traceback (most recent call last):
  File "/Users/tester/src/buildbot/buildbot/test/test_ec2buildslave.py",
line 447, in testCustomSeparateFile
    self.assertIsInstance(bot1.conn, Connection)
exceptions.AttributeError: 'Initialization' object has no attribute
'assertIsInstance'
===============================================================================
[ERROR]:
buildbot.test.test_ec2buildslave.Initialization.testDefaultSeparateFile

Traceback (most recent call last):
  File "/Users/tester/src/buildbot/buildbot/test/test_ec2buildslave.py",
line 430, in testDefaultSeparateFile
    self.assertIsInstance(bot1.conn, Connection)
exceptions.AttributeError: 'Initialization' object has no attribute
'assertIsInstance'
===============================================================================
[ERROR]: buildbot.test.test_slaves.LatentSlave.testNeverSubstantiated

Traceback (most recent call last):
  File "/Users/tester/src/buildbot/buildbot/test/test_slaves.py", line 502,
in _testNeverSubstantiated_1
    self.assertIsInstance(res, failure.Failure)
exceptions.AttributeError: 'LatentSlave' object has no attribute
'assertIsInstance'
===============================================================================
[ERROR]: buildbot.test.test_slaves.LatentSlave.testSequence

Traceback (most recent call last):
  File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted/internet/base.py",
line 561, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/Users/tester/src/buildbot/buildbot/test/test_slaves.py", line 245,
in _stop_instance
    s = self.testcase.slaves.pop(self.slavename)
exceptions.KeyError: 'pop(): dictionary is empty'
-------------------------------------------------------------------------------

The assertIsInstance failures look like
http://twistedmatrix.com/trac/changeset/21068, aka, are busted on 2.5.0. Not
sure what the pop() error is.

On Twisted 8.2.0, I get the pop() error, and another new one:

===============================================================================
[ERROR]: buildbot.test.test_slaves.LatentSlave.testSequence

Traceback (most recent call last):
  File
"/Users/tester/ENV/Twisted820/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-macosx-10.5-i386.egg/twisted/internet/base.py",
line 757, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/Users/tester/src/buildbot/buildbot/test/test_slaves.py", line 245,
in _stop_instance
    s = self.testcase.slaves.pop(self.slavename)
exceptions.KeyError: 'pop(): dictionary is empty'
===============================================================================
[ERROR]: buildbot.test.test_vc.Bazaar.testCheckout

Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with
a probable error condition: process ended with exit code 1.

Not that I have Bazaar installed. Something not waiting enough?

All on a mac, with python 2.5

Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090129/7b798c98/attachment.html>


More information about the devel mailing list