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

CMFPlone Tests plone-tests at epy.co.at
Mon Apr 7 03:26:58 UTC 2008


CMFPlone Tests : FAILED (failures=10, 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
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/utils.py:28: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 5.0
  from Products.CMFPlone.interfaces.Translatable import ITranslatable
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PloneLanguageTool/interfaces.py:7: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 5.0
  from Products.CMFPlone.interfaces.Translatable import ITranslatable
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/PloneTool.py:47: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 5.0
  from Products.CMFPlone.interfaces.Translatable import ITranslatable
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.134 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:simple taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:empty taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
 in 1.852 seconds.
  Ran 130 tests with 0 failures and 0 errors in 1.678 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'description' field in /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/exportimport/configure.zcml
  warnings.warn(
/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'title' field in /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/exportimport/configure.zcml
  warnings.warn(
/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/xmlconfig.py:331: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFActionIcons:actionicons taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFCalendar:default taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFCalendar:skins_support taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFTopic:default taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFUid:default taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.DCWorkflow:revision2 taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
 in 8.740 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.841 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 7.919 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 35.665 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Tear down Products.PloneTestCase.layer.PloneContentLessSite in 0.436 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 8.311 seconds.


Failure in test testListFilteredActionsFor (Products.CMFPlone.tests.testActionsTool.TestActionsTool)
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/testActionsTool.py", line 59, in testListFilteredActionsFor
    expected_filtered_actions)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: Set(['site_actions', 'controlpanel/controlpanel_user', 'workflow', 'portal_tabs', 'global', 'object', 'object_buttons', 'document_actions', 'user', 'folder_buttons', 'folder']) != Set(['site_actions', 'object', 'workflow', 'portal_tabs', 'global', 'object_buttons', 'document_actions', 'user', 'folder_buttons', 'folder'])

/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 16, 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 37, in migrateActionIcons
    if not action.icon_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_0)
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 1784, in testMigrateActionIcons
    migrateActionIcons(self.portal, [])
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/migrations/v4_0/alphas.py", line 37, in migrateActionIcons
    if not action.icon_expr:
AttributeError: 'NoneType' object has no attribute 'icon_expr'



Failure in test testActionDropDownMenuIcons (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 682, in testActionDropDownMenuIcons
    assertIcon('cut')
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/tests/testPortalCreation.py", line 681, in assertIcon
    self.fail("Action icons tool has no '%s' icon" % action_id)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail
    raise self.failureException, msg
AssertionError: Action icons tool has no 'cut' icon



Failure in test testFullScreenActionIcon (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 188, in testFullScreenActionIcon
    self.fail("Action icons tool has no 'full_screen' icon")
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail
    raise self.failureException, msg
AssertionError: Action icons tool has no 'full_screen' icon



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 790, 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 976 tests with 10 failures and 2 errors in 7 minutes 13.186 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.759 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.045 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 1430 tests, 10 failures, 2 errors in 8 minutes 22.851 seconds.

FAILED (failures=10, errors=2)




More information about the Testbot mailing list