[Buildbot-devel] Buildbot Fails Initial Tests on RHEL4

Roy S. Rapoport buildbot-devel at ols.inorganic.org
Fri Sep 15 18:35:44 UTC 2006


I've just installed buildbot 0.7.4 (after installing TwistedCore,
TwistedMail, and TwistedWeb (after installing ZopeInterface)) on an rhel4
system.  Doing the startup tests to make sure my installation is sane gets
me a bunch of errors (see below).  The CVS ones I'm not concerned about --
the CVS environment is not set up for this user yet, and in either case,
BuildBot's not going to be interacting with my VC system.  It looks like,
fundamentally, there's something wrong in the mail area (it looks like
pretty much all the mailparse tests failed), and there's something off with
the shell stuff -- testShellSubdir is unhappy.  Any suggestions?


[FAIL]: buildbot.test.test_slavecommand.Shell.testShellSubdir

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_slavecommand.py", line 67, in checkOutput
    self.assertEquals(got, contents)
twisted.trial.unittest.FailTest: "/usr/bin/python: can't open file '/usr/lib/python2.3/site-packages/buildbot/test/subdir/emit.py'\n" != 'this is stderr\n'
===============================================================================
[FAIL]: buildbot.test.test_slavecommand.ShellPTY.testShellSubdir

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_slavecommand.py", line 67, in checkOutput
    self.assertEquals(got, contents)
twisted.trial.unittest.FailTest: "/usr/bin/python: can't open file '/usr/lib/python2.3/site-packages/buildbot/test/subdir/emit.py'\r\n" != 'this is stdout in subdir\r\nthis is stderr\r\n'
===============================================================================
[ERROR]: buildbot.test.test_maildir.MaildirTest.testMaildir

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_maildir.py", line 50, in testMaildir
    testfiles = [msg for msg in os.listdir(testfiles_dir)
exceptions.OSError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg1

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 15, in testMsg1
    c = self.get("mail/msg1")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg1'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg2

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 22, in testMsg2
    c = self.get("mail/msg2")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg2'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg3

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 32, in testMsg3
    c = self.get("mail/msg3")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg3'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg4

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 42, in testMsg4
    c = self.get("mail/msg4")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg4'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg5

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 52, in testMsg5
    c = self.get("mail/msg5")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg5'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg6

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 61, in testMsg6
    c = self.get("mail/msg6")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg6'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg7

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 78, in testMsg7
    c = self.get("mail/msg7")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg7'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg8

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 95, in testMsg8
    c = self.get("mail/msg8")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg8'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test1.testMsg9

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 103, in testMsg9
    c = self.get("mail/msg9")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 12, in get
    return parseFreshCVSMail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg9'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg1p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 117, in testMsg1p
    c = self.get("mail/msg1")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg1'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg2p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 123, in testMsg2p
    c = self.get("mail/msg2")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg2'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg3p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 132, in testMsg3p
    c = self.get("mail/msg3")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg3'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg4p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 141, in testMsg4p
    c = self.get("mail/msg4")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg4'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg5p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 150, in testMsg5p
    c = self.get("mail/msg5")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg5'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg6p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 159, in testMsg6p
    c = self.get("mail/msg6")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg6'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg7p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 176, in testMsg7p
    c = self.get("mail/msg7")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg7'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test2.testMsg8p

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 193, in testMsg8p
    c = self.get("mail/msg8")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 114, in get
    return parseFreshCVSMail(None, open(msg, "r"), prefix="Twisted")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/msg8'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test3.testMsgS1

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 207, in testMsgS1
    c = self.get("mail/syncmail.1")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 200, in get
    return parseSyncmail(None, open(msg, "r"), prefix="buildbot")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/syncmail.1'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test3.testMsgS2

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 216, in testMsgS2
    c = self.get("mail/syncmail.2")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 200, in get
    return parseSyncmail(None, open(msg, "r"), prefix="buildbot")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/syncmail.2'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test3.testMsgS3

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 223, in testMsgS3
    c = self.get("mail/syncmail.3")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 200, in get
    return parseSyncmail(None, open(msg, "r"), prefix="buildbot")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/syncmail.3'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test3.testMsgS4

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 227, in testMsgS4
    c = self.get("mail/syncmail.4")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 200, in get
    return parseSyncmail(None, open(msg, "r"), prefix="buildbot")
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/syncmail.4'
===============================================================================
[ERROR]: buildbot.test.test_mailparse.Test3.testMsgS5

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 239, in testMsgS5
    c = self.getNoPrefix("mail/syncmail.5")
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_mailparse.py", line 204, in getNoPrefix
    return parseSyncmail(None, open(msg, "r"))
exceptions.IOError: [Errno 2] No such file or directory: '/usr/lib/python2.3/site-packages/buildbot/test/mail/syncmail.5'
===============================================================================
[ERROR]: buildbot.test.test_vc.CVS.testCheckout

  File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 599, in getResult
    self.result.raiseException()
  File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.3/site-packages/buildbot/test/test_vc.py", line 378, in check
    raise RuntimeError("command %s finished with exit code %d"
exceptions.RuntimeError: command ['/usr/bin/cvs', 'commit', '-m', 'commit_on_branch', '-r', 'branch'] finished with exit code 1: see logs for stdout
===============================================================================
[ERROR]: buildbot.test.test_vc.CVS.testCheckoutBranch

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_vc.py", line 329, in populate
    os.makedirs(basedir)
  File "/usr/lib/python2.3/os.py", line 154, in makedirs
    mkdir(name, mode)
exceptions.OSError: [Errno 17] File exists: '/root/_trial_temp/test_vc/repositories/cvstmp'
===============================================================================
[ERROR]: buildbot.test.test_vc.CVS.testPatch

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_vc.py", line 329, in populate
    os.makedirs(basedir)
  File "/usr/lib/python2.3/os.py", line 154, in makedirs
    mkdir(name, mode)
exceptions.OSError: [Errno 17] File exists: '/root/_trial_temp/test_vc/repositories/cvstmp'
===============================================================================
[ERROR]: buildbot.test.test_vc.CVS.testTry

  File "/usr/lib/python2.3/site-packages/buildbot/test/test_vc.py", line 329, in populate
    os.makedirs(basedir)
  File "/usr/lib/python2.3/os.py", line 154, in makedirs
    mkdir(name, mode)
exceptions.OSError: [Errno 17] File exists: '/root/_trial_temp/test_vc/repositories/cvstmp'
-------------------------------------------------------------------------------
Ran 221 tests in 173.574s

FAILED (skips=27, failures=2, errors=27, successes=165)




More information about the devel mailing list