[Buildbot-devel] Initial Test suite for Buildbot 0.7.4 for RHEL4 Fails

Divyesh Sharma divyeshs at radixweb.com
Thu Nov 9 03:40:17 UTC 2006




I had installed and tested buildbot 0.7.4
Most of the errors appear to be associated with mail parsing.
Test Fails at test_slavecommand.py

ERROR AND FAILURES are as below  :

Running 221 tests.
buildbot.test.test__versions
  Versions
    test_versions ...                                                      [OK]
buildbot.test.test_buildreq
  Request
    testMerge ...                                                          [OK]
  Set
    testBuildSet ...                                                       [OK]
    testSuccess ...                                                        [OK]
buildbot.test.test_changes
  Sender
    testSender ...                                                         [OK]
  TestChangePerspective
   testNoPrefix ...                                                       [OK]
    testPrefix
...                                                         [OK]
    testPrefix2 ...                                                        [OK]
    testPrefix3 ...                                                        [OK]
    testPrefix4 ...                                                        [OK]
buildbot.test.test_config
  ConfigElements
    testSchedulers ...                                                     [OK]
  ConfigFileTest
    testFindConfigFile ...                                                 [OK]
  ConfigTest
    testBots ...                                                           [OK]
    testBuilders ...                                                       [OK]
    testDebugPassword ...                                                  [OK]
    testEmpty...                                                          [OK]
    testIRC
...                                                            [OK]
    testLocks ...                                                          [OK]
    testSchedulers ...                                                     [OK]
    testSimple ...                                                         [OK]
    testSlavePortnum ...                                                   [OK]
    testSources ...                                                        [OK]
    testWebPathname ...                                                    [OK]
    testWebPortnum ...                                                     [OK]
    testWithProperties ...                                                 [OK]
  StartService
    testStartService ...                                                   [OK]
buildbot.test.test_control
  Force
   testForce ...
/usr/lib/python2.3/site-packages/buildbot/process/builder.py:607:
exceptions.DeprecationWarning: Please use BuilderControl.requestBuildSoon instead
                                                         [OK]
    testRequest ...                                                        [OK]
buildbot.test.test_dependencies
  Dependencies
    testParse ...                                                          [OK]
    testRun_Fail ...                                                       [OK]
    testRun_Pass ...                                                       [OK]
buildbot.test.test_locks
  Locks
    testLock1 ...                                                          [OK]
    testLock1a ...                                                         [OK]
    testLock2 ...                                                          [OK]
    testLock3...                                                          [OK]
    testLock4
...                                                          [OK]
buildbot.test.test_maildir
  MaildirTest
    testMaildir ... creating empty maildir
                                                    [ERROR]
removing old maildir
buildbot.test.test_mailparse
  Test1
    testMsg1 ...                                                        [ERROR]
    testMsg2 ...                                                        [ERROR]
    testMsg3 ...                                                        [ERROR]
    testMsg4 ...                                                        [ERROR]
    testMsg5 ...                                                        [ERROR]
    testMsg6 ...                                                        [ERROR]
    testMsg7 ...                                                        [ERROR]
   testMsg8 ...                                                        [ERROR]
   
testMsg9 ...                                                        [ERROR]
  Test2
    testMsg1p ...                                                       [ERROR]
    testMsg2p ...                                                       [ERROR]
    testMsg3p ...                                                       [ERROR]
    testMsg4p ...                                                       [ERROR]
    testMsg5p ...                                                       [ERROR]
    testMsg6p ...                                                       [ERROR]
    testMsg7p ...                                                       [ERROR]
    testMsg8p ...                                                       [ERROR]
  Test3
    testMsgS1 ...                                                       [ERROR]
    testMsgS2...                                                       [ERROR]
    testMsgS3
...                                                       [ERROR]
    testMsgS4 ...                                                       [ERROR]
    testMsgS5 ...                                                       [ERROR]
buildbot.test.test_p4poller
  TestP4Poller
    don't launch a new poll while old is still going ...                   [OK]
    successful checks ...                                                  [OK]
    'p4 changes' failure is properly reported ...                          [OK]
    'p4 describe' failure is properly reported ...                         [OK]
    Make sure split file works on branch only changes ...                  [OK]
buildbot.test.test_properties
  Interpolate
    testBuildNumber ...                                                    [OK]
    testCustomBuildStep...                                                [OK]
    testSlaveName
...                                                      [OK]
    testSourceStamp ...                                                    [OK]
    testWithProperties ...                                                 [OK]
    testWithPropertiesDict ...                                             [OK]
    testWithPropertiesEmpty ...                                            [OK]
  Run
    testInterpolate ...                                                    [OK]
buildbot.test.test_run
  Basedir
    testChangeBuilddir ...                                                 [OK]
  BuilderNames
    testGetBuilderNames ...                                                [OK]
  Disconnect
    testBuild1 ...                                                         [OK]
    testBuild2 ...                                                        [OK]
    testBuild3 ...                                                        
[OK]
    testBuild4 ...                                                         [OK]
    testDisappear ...                                                      [OK]
    testDuplicate ...                                                      [OK]
    testIdle1 ...                                                          [OK]
    testIdle2 ...                                                          [OK]
    testInterrupt ...                                                      [OK]
  Disconnect2
    testSlaveTimeout ...                                                   [OK]
  Ping
    testPing ...                                                           [OK]
  Run
    testMaster ...                                                         [OK]
buildbot.test.test_runner
  Create
    testMaster...                                                         [OK]
    testSlave
...                                                          [OK]
  Options
    testFindOptions ...                                                    [OK]
    testForceOptions ...                                                   [OK]
  Try
    testGetTopdir ...                                                      [OK]
    testGetopt1 ...                                                        [OK]
    testGetopt2 ...                                                        [OK]
    testGetopt3 ...                                                        [OK]
    testGetopt4 ...                                                        [OK]
buildbot.test.test_scheduler
  Scheduling
    testAnyBranch ...                                                      [OK]
    testAnyBranch2 ...                                                    [OK]
    testBranch ...                                                         [OK]
/>    testGetBuildSets ...                                                   [OK]
    testNightly ...                                                        [OK]
    testPeriodic1 ...                                                      [OK]
    testTryJobdir ...                                                      [OK]
    testTryUserpass ...                                                    [OK]
buildbot.test.test_shell
  SlaveSide
    testLogFiles_0 ...                                                     [OK]
    testLogFiles_1 ...                                                     [OK]
    testLogFiles_2 ...                                                     [OK]
    testLogFiles_3 ...                                                     [OK]
    testOne ...                                                            [OK]
buildbot.test.test_slavecommand
  Shell
    testInterrupt1
...                                                     [OK]
    testInterrupt2 ...                                                     [OK]
    testShell1 ...                                                         [OK]
    testShell2 ...                                                         [OK]
    testShellEnv ...                                                       [OK]
    testShellMissingCommand ...                                            [OK]
    testShellRC ...                                                        [OK]
    testShellSubdir ...                                                  [FAIL]
    testTimeout ...                                                        [OK]
  ShellPTY
    testInterrupt1 ...                                                     [OK]
    testShell1 ...                                                        [OK]
    testShell2
...                                                         [OK]
    testShellEnv ...                                                       [OK]
    testShellMissingCommand ...                                            [OK]
    testShellRC ...                                                        [OK]
    testShellSubdir ...                                                  [FAIL]
    testTimeout ...                                                        [OK]
buildbot.test.test_slaves
  Slave
    testDontClaimPingingSlave ...                                          [OK]
    testFallback1 ...                                                      [OK]
    testFallback2 ...                                                      [OK]
    testSequence ...                                                       [OK]
    testSimultaneous ...                                                   [OK]
 Slave2
   
testFirstComeFirstServed ...                                           [OK]
buildbot.test.test_status
  Client
    testAdaptation ...                                                     [OK]
  Log
    testAdd ...                                                            [OK]
    testChunks ...                                                         [OK]
    testConsumer ...                                                       [OK]
    testHTMLUpgrade ...                                                    [OK]
    testLargeSummary ...                                                   [OK]
    testMerge1 ...                                                         [OK]
    testMerge2 ...                                                         [OK]
    testMerge3 ...                                                         [OK]
    testSubscribe ...                                                     [OK]
   
testUpgrade ...                                                        [OK]
  Mail
    testBuild1 ...                                                         [OK]
    testBuild2 ...                                                         [OK]
    testBuildStatusCategory ...                                            [OK]
    testBuilderCategory ...                                                [OK]
    testFailure ...                                                        [OK]
    testLogs ...                                                           [OK]
    testMail ...                                                      [SKIPPED]
  Progress
    testWavg ...                                                           [OK]
  Results
    testAddResults ...                                                     [OK]
  Subscription
    testSlave...                                                          [OK]
/>buildbot.test.test_steps
  BuildStep
    testShellCommand1 ...                                                  [OK]
  SlaveVersion
    testCompare ...                                                        [OK]
  Steps
    testMultipleStepInstances ...                                          [OK]
    test_addCompleteLog ...                                                [OK]
    test_addHTMLLog ...                                                    [OK]
    test_addLog ...                                                        [OK]
    test_addLogObserver ...                                                [OK]
    test_addURL ...                                                        [OK]
    test_description ...                                                   [OK]
    test_getProperty ...                                                  [OK]
buildbot.test.test_twisted
  Count
   
testCountFailedTests ...                                               [OK]
  Counter
    testCounter ...                                                        [OK]
  Parse
    testParse ...                                                          [OK]
buildbot.test.test_util
  Compare
    testCompare ...                                                        [OK]
buildbot.test.test_vc
  Arch
    testCheckout ...                                                  [SKIPPED]
    testCheckoutBranch ...                                            [SKIPPED]
    testCheckoutHTTP ...                                              [SKIPPED]
    testPatch ...                                                     [SKIPPED]
    testTry ...                                                       [SKIPPED]
  Bazaar
    testCheckout...                                                  [SKIPPED]
    testCheckoutBranch
...                                            [SKIPPED]
    testCheckoutHTTP ...                                              [SKIPPED]
    testPatch ...                                                     [SKIPPED]
    testRetry ...                                                     [SKIPPED]
    testRetryFails ...                                                [SKIPPED]
    testTry ...                                                       [SKIPPED]
  CVS
    testCheckout ...                                                    [ERROR]
  setUp    testCheckoutBranch ...                                              [ERROR]
  setUp    testPatch ...                                                       [ERROR]
  setUp    testTry ...                                                         [ERROR]
  setUp  Darcs
    testCheckout...                                               [SKIPPED]
    testCheckoutBranch
...                                    [SKIPPED]
    testCheckoutHTTP ...                                     [SKIPPED]
    testPatch ...                                                     [SKIPPED]
    testTry ...                                                        [SKIPPED]
  Mercurial
    testCheckout ...                                               [SKIPPED]
    testCheckoutBranch ...                                    [SKIPPED]
    testCheckoutHTTP ...                                     [SKIPPED]
    testPatch ...                                                     [SKIPPED]
    testTry ...                                                        [SKIPPED]
  P4
    testCheckout ...                                               [SKIPPED]
    testCheckoutBranch ...                                    [SKIPPED]
   testPatch ...                                                     [SKIPPED]
  Patch
   
testPatch ...                                                          [OK]
  SVN
    testCheckout ...                                              [SKIPPED]
    testCheckoutBranch ...                                   [SKIPPED]
    testPatch ...                                                    [SKIPPED]
    testTry ...                                                       [SKIPPED]
  Sources
    testCVS1 ...                                                           [OK]
    testCVS2 ...                                                           [OK]
    testCVS3 ...                                                           [OK]
    testCVS4 ...                                                           [OK]
    testSVN1 ...                                                           [OK]
    testSVN2...                                                           [OK]
buildbot.test.test_web
  GetURL
    testBase
...                                                           [OK]
    testBuild ...                                                          [OK]
    testChange ...                                                         [OK]
    testMissingBase ...                                                    [OK]
  Logfile
    test_logfile1 ...                                                      [OK]
    test_logfile2 ...                                                      [OK]
    test_logfile3 ...                                                      [OK]
    test_logfile4 ...                                                      [OK]
    test_logfile5 ...                                                      [OK]
    test_logfile6 ...                                                      [OK]
  Ports
    test_webPathname ...                                                   [OK]
    test_webPathname_port
...                                              [OK]
    test_webPortnum ...                                                    [OK]
  Waterfall
    test_waterfall ...                                                     [OK]
  WaterfallSteps
    test_urls ...                                                          [OK]

[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'
.
.
.
.

Ran 221 tests in 168.651s
FAILED (skips=30, failures=2, errors=27, successes=162)

Give me the Suggestions to Run the Test suite successfully

Thanks,
Divyesh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20061109/99d6b11d/attachment.html>
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
Size: 83513
URL: <http://buildbot.net/pipermail/devel/attachments/20061109/99d6b11d/attachment.mht>


More information about the devel mailing list