[Testbot] FAILED (failures=7, errors=2) : Plone-trunk Zope-2.11 Python-2.4.4

CMFPlone Tests plone-tests at epy.co.at
Sat Apr 12 03:20:00 UTC 2008


CMFPlone Tests : FAILED (failures=7, errors=2)
Plone-trunk Zope-2.11 Python-2.4.4

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q -1 --config-file etc/zope.conf --package Products.CMFPlone
Parsing /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/etc/zope.conf
Running unit tests:
  Ran 40 tests with 0 failures and 0 errors in 0.116 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 2.264 seconds.
  Ran 130 tests with 0 failures and 0 errors in 1.865 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 10.551 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.073 seconds.
Running Products.PloneTestCase.layer.PloneContentLessSite tests:
  Set up Products.PloneTestCase.layer.PloneContentLessSite/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.listGroups is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
 in 10.521 seconds.
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/MembershipTool.py:209: DeprecationWarning: __getPUS is deprecated and will be removed in CMF 2.4, please acquire "acl_users" instead.
  return self.__getPUS().getUserIds()
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/MembershipTool.py:209: DeprecationWarning: getUserIds is deprecated. Use the PAS methods instead
  return self.__getPUS().getUserIds()
  Ran 272 tests with 0 failures and 0 errors in 41.888 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Tear down Products.PloneTestCase.layer.PloneContentLessSite in 0.536 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 9.354 seconds.
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PlonePAS/tools/groupdata.py:249: 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()):


Failure in test testSetSessionCookie (Products.CMFPlone.tests.testCookieAuth.TestCookieAuth)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testCookieAuth.py", line 51, in testSetSessionCookie
    self.assertEqual(response.getStatus(), 200)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 500 != 200



Error in test testForceMigration (Products.CMFPlone.tests.testMigrationTool.TestMigrationTool)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testMigrationTool.py", line 43, in testForceMigration
    version, msg = self.migration._upgrade(version)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/MigrationTool.py", line 308, in _upgrade
    res = function(self.aq_parent)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/migrations/v4_0/alphas.py", line 19, in threeX_alpha1
    migrateActionIcons(portal, out)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/migrations/v4_0/alphas.py", line 46, in migrateActionIcons
    action.icon_expr = '%s%s' % (prefix, expr)
AttributeError: 'NoneType' object has no attribute 'icon_expr'



Failure in test testLegacyPortletsConverted (Products.CMFPlone.tests.testMigrations.TestMigrations_v2_5_x)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testMigrations.py", line 655, in testLegacyPortletsConverted
    self.assertEquals(True, portletAssignments.getBlacklistStatus(CONTEXT_PORTLETS))
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: True != None



Failure in test testLegacyPortletsConvertedBadSlots (Products.CMFPlone.tests.testMigrations.TestMigrations_v2_5_x)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testMigrations.py", line 727, in testLegacyPortletsConvertedBadSlots
    self.assertEquals(True, portletAssignments.getBlacklistStatus(CONTEXT_PORTLETS))
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: True != None



Failure in test testLegacyPortletsConvertedNoSlots (Products.CMFPlone.tests.testMigrations.TestMigrations_v2_5_x)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testMigrations.py", line 690, in testLegacyPortletsConvertedNoSlots
    self.assertEquals(True, portletAssignments.getBlacklistStatus(CONTEXT_PORTLETS))
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: True != None



Error in test testMigrateActionIcons (Products.CMFPlone.tests.testMigrations.TestMigrations_v4_0alpha1)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testMigrations.py", line 1786, in testMigrateActionIcons
    migrateActionIcons(self.portal, [])
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/migrations/v4_0/alphas.py", line 46, in migrateActionIcons
    action.icon_expr = '%s%s' % (prefix, expr)
AttributeError: 'NoneType' object has no attribute 'icon_expr'



Failure in test testPortletBlockingForMembersFolder (Products.CMFPlone.tests.testPortalCreation.TestPortalCreation)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testPortalCreation.py", line 771, in testPortletBlockingForMembersFolder
    self.assertEquals(True, portletAssignments.getBlacklistStatus(CONTEXT_PORTLETS))
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: True != None



Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt
Failed doctest test for AddMoveAndDeleteDocument.txt
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 14, in AddMoveAndDeleteDocument.txt
Failed example:
    browser.getControl('Log in').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest AddMoveAndDeleteDocument.txt[5]>", line 1, in ?
        browser.getControl('Log in').click()
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 591, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 380, in _clickSubmit
        self.mech_browser.open(form.click(
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 177, in open
        return self._mech_open(url, data)
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
        raise error
    HTTPError: HTTP Error 500: Internal Server Error



Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/LoginAndLogout.txt
Failed doctest test for LoginAndLogout.txt
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/LoginAndLogout.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/LoginAndLogout.txt", line 35, in LoginAndLogout.txt
Failed example:
    browser.getControl('Log in').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest LoginAndLogout.txt[15]>", line 1, in ?
        browser.getControl('Log in').click()
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 591, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 380, in _clickSubmit
        self.mech_browser.open(form.click(
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 177, in open
        return self._mech_open(url, data)
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
        raise error
    HTTPError: HTTP Error 500: Internal Server Error

  Ran 978 tests with 7 failures and 2 errors in 6 minutes 9.323 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.746 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.043 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 1432 tests, 7 failures, 2 errors in 7 minutes 30.907 seconds.

FAILED (failures=7, errors=2)




More information about the Testbot mailing list