[Buildbot-devel] trial buildbot.test failures on NetBSD

Jeremy C. Reed reed at reedmedia.net
Thu Jul 2 21:10:57 UTC 2009


I am testing BuildBot version 0.7.10p1 on NetBSD/i386 4.99.62. I plan on 
importing this as a "pkgsrc" package. My existing installed pkgsrc 
dependencies are py25-setuptools-0.6c9, py25-twisted-8.1.0, and 
python25-2.5.2nb5. (Plus I hope to use BuildBot to automate builds and 
tests on several platforms for an upcoming modular, high performance, 
lightweight DNS server.) Thank you for your BuildBot software!

The "/usr/bin/env PYTHONPATH =. trial buildbot.test" had some problems.

FAILED (skips=39, failures=12, errors=14, successes=354)

The following is the output with most of the OK and SKIPPED removed. I 
don't know if this is NetBSD or pkgsrc related or maybe this is normal.

If this is covered in docs or there is a better way for me to share these 
issues, please let me know. (Yes, I am new to Buildbot :)

Traceback (most recent call last):
  File "usr/pkg/lib/python2.5/site-packages/twisted/python/usage.py", line 241, in parseOptions
    
  File "usr/pkg/lib/python2.5/site-packages/twisted/scripts/trial.py", line 293, in postOptions
    
  File "usr/pkg/lib/python2.5/site-packages/twisted/scripts/trial.py", line 279, in _loadReporterByName
    
  File "usr/pkg/lib/python2.5/site-packages/twisted/plugin.py", line 200, in getPlugins
    
--- <exception caught here> ---
  File "usr/pkg/lib/python2.5/site-packages/twisted/plugin.py", line 179, in getCache
    
  File "usr/pkg/lib/python2.5/site-packages/twisted/python/filepath.py", line 574, in setContent
    
  File "usr/pkg/lib/python2.5/site-packages/twisted/python/filepath.py", line 384, in open
    
exceptions.IOError: [Errno 13] Permission denied: '/usr/pkg/lib/python2.5/site-packages/twisted/plugins/dropin.cache.new'

  BuildPrioritization
    testPriority ...                                                    [ERROR]
                                                   [ERROR]
                                                   [ERROR]

  CanStartBuild
    testCanStartBuild ...                                                [FAIL]
    testCantStartBuild ...                                                 [OK]
  ConcurrencyLimit
    testConcurrencyLimit ...                                            [ERROR]
  Disconnect
    testBuild1 ...                                                         [OK]
    testBuild2 ...                                                       [FAIL]
                                                     [ERROR]
    testBuild3 ...                                                       [FAIL]
                                                     [ERROR]
    testBuild4 ...                                                       [FAIL]
                                                     [ERROR]
    testDisappear ...                                                      [OK]
    testDuplicate ...                                                      [OK]
    testIdle2 ...                                                        [FAIL]
    testInterrupt ...                                                      [OK]
  Disconnect2
    testSlaveTimeout ...                                                 [FAIL]
  GracefulShutdownBusy
    testShutdown ...                                                     [FAIL]

  PropertyPropagation
    testScheduler ...                                                    [FAIL]
    testSlave ...                                                          [OK]
    testTrigger ...                                                      [FAIL]

  TestBuilder
    testBuilderEnv ...                                                  [ERROR]
    testBuilderEnvOverride ...                                          [ERROR]
    testBuilderNoStepEnv ...                                            [ERROR]
  TestFlag
    testTestFlag ...                                                     [FAIL]
  Triggers
    testTriggerBuild ...                                                 [FAIL]
    testTriggerBuildWait ...                                             [FAIL]

buildbot.test.test_runner

  Git
    testCheckout ...                                                    [ERROR]
    testCheckoutBranch ...                                              [ERROR]
    testPatch ...                                                       [ERROR]
    testTry ...                                                         [ERROR]

p4 is not installed
===============================================================================
[FAIL]: buildbot.test.test_run.CanStartBuild.testCanStartBuild

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 170, in _do_test2
    self.failUnlessEqual(bs.state, BUILDING)
twisted.trial.unittest.FailTest: not equal:
a = 2
b = 3

===============================================================================
[FAIL]: buildbot.test.test_run.Disconnect.testBuild2

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 397, in _testBuild2_3
    self.verifyDisconnect(bs)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 286, in verifyDisconnect
    self.failUnlessEqual(step1.getText(), ["delay", "interrupted"])
twisted.trial.unittest.FailTest: not equal:
a = ['delay', '1 secs']
b = ['delay', 'interrupted']

===============================================================================
[FAIL]: buildbot.test.test_run.Disconnect.testBuild3

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 424, in _testBuild3_3
    self.verifyDisconnect(bs)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 286, in verifyDisconnect
    self.failUnlessEqual(step1.getText(), ["delay", "interrupted"])
twisted.trial.unittest.FailTest: not equal:
a = ['delay', '1 secs']
b = ['delay', 'interrupted']

===============================================================================
[FAIL]: buildbot.test.test_run.Disconnect.testBuild4

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 448, in _testBuild4_2
    self.failUnlessEqual(self.s1.getState()[0], "offline")
twisted.trial.unittest.FailTest: not equal:
a = 'building'
b = 'offline'

===============================================================================
[FAIL]: buildbot.test.test_run.Disconnect.testIdle2

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 335, in _testIdle2_1
    self.failUnless(cancelled)
twisted.trial.unittest.FailTest: None
===============================================================================
[FAIL]: buildbot.test.test_run.Disconnect2.testSlaveTimeout

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 568, in _testSlaveTimeout_1
    self.fail("slave disconnected when it shouldn't have")
twisted.trial.unittest.FailTest: slave disconnected when it shouldn't have
===============================================================================
[FAIL]: buildbot.test.test_run.GracefulShutdownBusy.testShutdown

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 1151, in _shutdown
    self.failUnlessEqual(len(building_bs), 2)
twisted.trial.unittest.FailTest: not equal:
a = 0
b = 2

===============================================================================
[FAIL]: buildbot.test.test_run.PropertyPropagation.testScheduler

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 743, in _check
    self.failUnlessEqual(self.getFlag('testresult'),
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 515, in getFlag
    self.failIfFlagNotSet(flagname, "flag '%s' not set" % flagname)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 512, in failIfFlagNotSet
    self.failUnless(_flags.has_key(flagname), msg=msg)
twisted.trial.unittest.FailTest: flag 'testresult' not set
===============================================================================
[FAIL]: buildbot.test.test_run.PropertyPropagation.testTrigger

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 799, in _check
    self.failUnlessEqual(self.getFlag('testresult'),
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 515, in getFlag
    self.failIfFlagNotSet(flagname, "flag '%s' not set" % flagname)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 512, in failIfFlagNotSet
    self.failUnless(_flags.has_key(flagname), msg=msg)
twisted.trial.unittest.FailTest: flag 'testresult' not set
===============================================================================
[FAIL]: buildbot.test.test_run.TestFlag.testTestFlag

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 840, in _testTestFlag_2
    self.failUnlessEqual(self.getFlag('foo'), 'bar')
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 515, in getFlag
    self.failIfFlagNotSet(flagname, "flag '%s' not set" % flagname)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 512, in failIfFlagNotSet
    self.failUnless(_flags.has_key(flagname), msg=msg)
twisted.trial.unittest.FailTest: flag 'foo' not set
===============================================================================
[FAIL]: buildbot.test.test_run.Triggers.testTriggerBuild

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 687, in _checkTriggerBuild
    self.failIfFlagNotSet('triggerer_started')
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 512, in failIfFlagNotSet
    self.failUnless(_flags.has_key(flagname), msg=msg)
twisted.trial.unittest.FailTest: flag 'triggerer_started' is not set
===============================================================================
[FAIL]: buildbot.test.test_run.Triggers.testTriggerBuildWait

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 698, in _checkTriggerBuildWait
    self.failIfFlagNotSet('triggerer_started')
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/runutils.py", line 512, in failIfFlagNotSet
    self.failUnless(_flags.has_key(flagname), msg=msg)
twisted.trial.unittest.FailTest: flag 'triggerer_started' is not set
===============================================================================
[ERROR]: buildbot.test.test_run.BuildPrioritization.testPriority

Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <buildbot.test.test_run.BuildPrioritization testMethod=testPriority> (testPriority) still running at 120.0 secs
===============================================================================
[ERROR]: buildbot.test.test_run.BuildPrioritization.testPriority

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 140187563917752 [-0.0078399181366s] called=0 cancelled=0 Build.releaseLocks()>
<DelayedCall 140187563921920 [-0.0077440738678s] called=0 cancelled=0 BotMaster.maybeStartAllBuilds()>
<DelayedCall 140187563935576 [119.993664026s] called=0 cancelled=0 onTimeout(<DeferredList at 0x7f7ff5f34128  current result: <DeferredList at 0x7f7ff5f34560>>)>
<DelayedCall 140187563901296 [-0.00367617607117s] called=0 cancelled=0 Port.connectionLost(<twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionDone'>>)>
===============================================================================
[ERROR]: buildbot.test.test_run.BuildPrioritization.testPriority

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<Broker #0 on 65057>
===============================================================================
[ERROR]: buildbot.test.test_run.ConcurrencyLimit.testConcurrencyLimit

Traceback (most recent call last):
Failure: twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
]
===============================================================================
[ERROR]: buildbot.test.test_run.Disconnect.testBuild2

Traceback (most recent call last):
Failure: twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
]
===============================================================================
[ERROR]: buildbot.test.test_run.Disconnect.testBuild3

Traceback (most recent call last):
Failure: twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
]
===============================================================================
[ERROR]: buildbot.test.test_run.Disconnect.testBuild4

Traceback (most recent call last):
Failure: twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
===============================================================================
[ERROR]: buildbot.test.test_run.TestBuilder.testBuilderEnv

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 900, in _testBuilderEnv1
    self.failUnless('foo' in s.cmd.args['env'])
exceptions.AttributeError: 'NoneType' object has no attribute 'cmd'
===============================================================================
[ERROR]: buildbot.test.test_run.TestBuilder.testBuilderEnvOverride

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 912, in _testBuilderEnvOverride1
    self.failUnless('blah' in s.cmd.args['env'])
exceptions.AttributeError: 'NoneType' object has no attribute 'cmd'
===============================================================================
[ERROR]: buildbot.test.test_run.TestBuilder.testBuilderNoStepEnv

Traceback (most recent call last):
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_run.py", line 922, in _testBuilderNoStepEnv1
    self.failUnless('blah' in s.cmd.args['env'])
exceptions.AttributeError: 'NoneType' object has no attribute 'cmd'
===============================================================================
[ERROR]: buildbot.test.test_vc.Git.testCheckout

Traceback (most recent call last):
  File "usr/pkg/lib/python2.5/site-packages/twisted/internet/defer.py", line 589, in _deferGenerator
    
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 2815, in createRepository
    yield w; w.getResult()
  File "usr/pkg/lib/python2.5/site-packages/twisted/internet/defer.py", line 568, in getResult
    
  File "usr/pkg/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 352, in check
    + ": see logs for stdout")
exceptions.RuntimeError: command ['/usr/pkg/bin/git', 'push', '/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/_trial_temp/test_vc/repositories/GIT-Repository', 'master', 'branch'] finished with exit code 1: see logs for stdout
===============================================================================
[ERROR]: buildbot.test.test_vc.Git.testCheckoutBranch

Traceback (most recent call last):
  File "usr/pkg/lib/python2.5/site-packages/twisted/internet/defer.py", line 589, in _deferGenerator
    
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 2790, in createRepository
    self.populate(tmp)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 294, in populate
    os.makedirs(os.path.join(basedir, "subdir"))
  File "/usr/pkg/lib/python2.5/os.py", line 171, in makedirs
    mkdir(name, mode)
exceptions.OSError: [Errno 17] File exists: '/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/_trial_temp/test_vc/repositories/gittmp/subdir'
===============================================================================
[ERROR]: buildbot.test.test_vc.Git.testPatch

Traceback (most recent call last):
  File "usr/pkg/lib/python2.5/site-packages/twisted/internet/defer.py", line 589, in _deferGenerator
    
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 2790, in createRepository
    self.populate(tmp)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 294, in populate
    os.makedirs(os.path.join(basedir, "subdir"))
  File "/usr/pkg/lib/python2.5/os.py", line 171, in makedirs
    mkdir(name, mode)
exceptions.OSError: [Errno 17] File exists: '/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/_trial_temp/test_vc/repositories/gittmp/subdir'
===============================================================================
[ERROR]: buildbot.test.test_vc.Git.testTry

Traceback (most recent call last):
  File "usr/pkg/lib/python2.5/site-packages/twisted/internet/defer.py", line 589, in _deferGenerator
    
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 2790, in createRepository
    self.populate(tmp)
  File "/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/buildbot/test/test_vc.py", line 294, in populate
    os.makedirs(os.path.join(basedir, "subdir"))
  File "/usr/pkg/lib/python2.5/os.py", line 171, in makedirs
    mkdir(name, mode)
exceptions.OSError: [Errno 17] File exists: '/usr/pkgsrc/wip/py-buildbot/work/buildbot-0.7.10p1/_trial_temp/test_vc/repositories/gittmp/subdir'
-------------------------------------------------------------------------------
Ran 414 tests in 965.729s

FAILED (skips=39, failures=12, errors=14, successes=354)




  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr            '#-~'            '\-.-{'





More information about the devel mailing list