[Testbot] FAILED (failures=3, errors=1) : Plone-trunk Zope-trunk Python-2.6.1

Plone Tests plone-tests at epy.co.at
Tue Apr 14 04:13:55 UTC 2009


Plone Tests : FAILED (failures=3, errors=1) 
Plone-trunk Zope-trunk Python-2.6.1

Running /usr/local/python2.6/bin/python ./bin/test --no-color --no-progress --package Products.CMFPlone
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/RestrictedPython-3.5.0-py2.6.egg/RestrictedPython/Utilities.py:16: DeprecationWarning: the sets module is deprecated
  import string, math, random, sets
Running tests at level 1
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/Products.ExtendedPathIndex-2.5-py2.6.egg/Products/ExtendedPathIndex/ExtendedPathIndex.py:7: DeprecationWarning: DTMLFile is deprecated. import from App.special_dtml instead
  from Globals import DTMLFile
 in 2.903 seconds.
  Running:
./home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.6-linux-i686.egg/zExceptions/unauthorized.py:47: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message=message
....................../home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/ZODB3-3.9.0a11-py2.6-linux-i686.egg/ZODB/POSException.py:81: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = "database conflict error"
..............................................
  Ran 69 tests with 0 failures and 0 errors in 0.940 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 10.192 seconds.
  Running:
.........
  Ran 9 tests with 0 failures and 0 errors in 0.030 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 6.011 seconds.
  Running:
.................................

Failure in test testDefaultCssIsInstalled (Products.CMFPlone.tests.testCSSandJSRegistry.TestCSSRegistry)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testCSSandJSRegistry.py", line 31, in testDefaultCssIsInstalled
    self.failUnless(e in installedStylesheetIds, e)
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 325, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: public.css

.

Error in test testRTLShouldHaveHigherPrecedence (Products.CMFPlone.tests.testCSSandJSRegistry.TestCSSRegistry)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testCSSandJSRegistry.py", line 35, in testRTLShouldHaveHigherPrecedence
    indexRTLStylesheet = self.tool.getResourcePosition('RTL.css')
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 812, in getResourcePosition
    return resource_ids.index(id)
ValueError: list.index(x): x not in list

............................................................................................................................................................................/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PlonePAS/Products/PlonePAS/tools/groupdata.py:168: DeprecationWarning: portal_groups.getGroupMembers is deprecated and will be removed in Plone 3.5. Use PAS to get a group and check its members instead.
  for u_name in gtool.getGroupMembers(self.getId()):
..../home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.6-linux-i686.egg/zExceptions/unauthorized.py:57: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  if self.message is not None: return self.message
............................................................................................................................................................................................................................................................................................................................................./home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PlonePAS/Products/PlonePAS/pas.py:112: DeprecationWarning: userSetGroups is deprecated. Use the PAS methods instead
  self.userSetGroups(login, groups)
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PlonePAS/Products/PlonePAS/gruf_support.py:66: DeprecationWarning: portal_groups.getGroupsForPrincipal is deprecated and will be removed in Plone 3.5. Use PAS to get a principal and check its group list instead.
  groups = set(gtool.getGroupsForPrincipal(member))
......................................../home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.6-linux-i686.egg/OFS/subscribers.py:73: DeprecationWarning: Products.CMFCore.tests.base.dummy.DummyContent.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
...............................................................................
.........................................................

Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt
Failed doctest test for LoginAndLogout.txt
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 17, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/login_form'
Got:
    'http://nohost/plone/login_form?came_from=http://nohost/plone/'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 31, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/login_form'
Got:
    'http://nohost/plone/login_form?came_from=http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 51, in LoginAndLogout.txt
Failed example:
    browser.getLink('Home').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest LoginAndLogout.txt[20]>", line 1, in <module>
        browser.getLink('Home').click()
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/mechanize-0.1.10-py2.6.egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 109, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/login_form'
Got:
    'http://nohost/plone/login_form?came_from=http://nohost/plone/'

.......

Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt
Failed doctest test for mails.txt
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 20, in mails.txt
Failed example:
    browser.getLink('Contact').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[5]>", line 1, in <module>
        browser.getLink('Contact').click()
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/mechanize-0.1.10-py2.6.egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 21, in mails.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/contact-info'
Got:
    'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 26, in mails.txt
Failed example:
    form = browser.getForm(name='feedback_form')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[7]>", line 1, in <module>
        form = browser.getForm(name='feedback_form')
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 398, in getForm
        form = disambiguate(matching_forms, '', index)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 28, in mails.txt
Failed example:
    form.getControl(name='sender_fullname').value = 'T\xc3\xa4st user'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[8]>", line 1, in <module>
        form.getControl(name='sender_fullname').value = 'T\xc3\xa4st user'
    NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 29, in mails.txt
Failed example:
    form.getControl(name='sender_from_address').value = 'test at plone.test'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[9]>", line 1, in <module>
        form.getControl(name='sender_from_address').value = 'test at plone.test'
    NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 30, in mails.txt
Failed example:
    form.getControl(name='subject').value = 'Some t\xc3\xa4st subject.'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[10]>", line 1, in <module>
        form.getControl(name='subject').value = 'Some t\xc3\xa4st subject.'
    NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 31, in mails.txt
Failed example:
    form.getControl(name='message').value = 'Another t\xc3\xa4st message.'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[11]>", line 1, in <module>
        form.getControl(name='message').value = 'Another t\xc3\xa4st message.'
    NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 35, in mails.txt
Failed example:
    form.submit()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[12]>", line 1, in <module>
        form.submit()
    NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 37, in mails.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/contact-info'
Got:
    'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 44, in mails.txt
Failed example:
    len(mailhost.messages)
Expected:
    1
Got:
    0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 46, in mails.txt
Failed example:
    msg = mailhost.messages[0]
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[15]>", line 1, in <module>
        msg = mailhost.messages[0]
    IndexError: list index out of range
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 50, in mails.txt
Failed example:
    'To: mail at plone.test' in msg
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[16]>", line 1, in <module>
        'To: mail at plone.test' in msg
    NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 53, in mails.txt
Failed example:
    'From: mail at plone.test' in msg
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[17]>", line 1, in <module>
        'From: mail at plone.test' in msg
    NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 56, in mails.txt
Failed example:
    msg
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest mails.txt[18]>", line 1, in <module>
        msg
    NameError: name 'msg' is not defined


  Ran 726 tests with 3 failures and 1 errors in 3 minutes 13.144 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.326 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.021 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Running:
...........................
  Ran 27 tests with 0 failures and 0 errors in 0.041 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.

Tests with errors:
   testRTLShouldHaveHigherPrecedence (Products.CMFPlone.tests.testCSSandJSRegistry.TestCSSRegistry)

Tests with failures:
   testDefaultCssIsInstalled (Products.CMFPlone.tests.testCSSandJSRegistry.TestCSSRegistry)
   /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt
   /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt
Total: 831 tests, 3 failures, 1 errors in 3 minutes 35.819 seconds.

FAILED (failures=3, errors=1) 




More information about the Testbot mailing list