[Buildbot-devel] Another test failure with buildbot-0.5.0

Olly Betts olly at survex.com
Wed Sep 1 17:21:17 UTC 2004


I'm just trying to install buildbot.  With Twisted-1.3.0 installed in my
home directory, and Python 2.2.1 installed with prefix /use I ran the tests
like so:

PYTHONPATH=/u1/olly/install/python/lib/python2.2/site-packages:. python2.2 /u1/olly/install/python/bin/trial -v buildbot.test

I get the 5 failures from testShell[1234Z] which Fred Drake reported and
Brian said were nothing to worry about.  I also get skips from
testSources and testProcess, which appear to be because I haven't
installed CVSToys.

But I also get this:

===============================================================================
ERROR: testMaildir (buildbot.test.test_maildir.MaildirTest)
-------------------------------------------------------------------------------
Traceback (most recent call last):   
  File "/u1/olly/install/python/lib/python2.2/site-packages/twisted/trial/unitte
st.py", line 252, in _runPhase
    stage(*args, **kwargs)
  File "/u1/olly/install/python/lib/python2.2/site-packages/twisted/trial/unitte
st.py", line 274, in _main
    self.runner(self.method)
  File "/u1/olly/install/python/lib/python2.2/site-packages/twisted/trial/runner
.py", line 104, in runTest
    method()
  File "/u1/olly/buildbot-0.5.0/buildbot/test/test_maildir.py", line 48, in test
Maildir
    s.startService()
  File "/u1/olly/buildbot-0.5.0/buildbot/changes/maildirtwisted.py", line 21, in
 startService
    self.start()
  File "/u1/olly/buildbot-0.5.0/buildbot/changes/maildir.py", line 48, in start
    [DNotify.DN_CREATE])
  File "/u1/olly/buildbot-0.5.0/buildbot/changes/dnotify.py", line 66, in __init
__  
    fcntl.fcntl(self.fd, fcntl.F_NOTIFY, self.flags)
IOError: [Errno 22] Invalid argument

This machine is running a Linux 2.2 kernel, so it won't have kernel
support for dnotify (that was added in 2.4.19 according to a quick poke
on google).

Is that going to stop buildbot working correctly?  If not, it would be better
if the test SKIPPED in this situation.  If so, is there anything I can
do?

Cheers,
    Olly




More information about the devel mailing list