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

CMFPlone Tests plone-tests at epy.co.at
Fri Mar 28 04:05:37 UTC 2008


CMFPlone Tests : FAILED (failures=7, errors=1)
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.155 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.755 seconds.
  Ran 134 tests with 0 failures and 0 errors in 1.805 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 12.838 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.051 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.936 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 274 tests with 0 failures and 0 errors in 35.291 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Tear down Products.PloneTestCase.layer.PloneContentLessSite in 0.420 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 8.441 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/v3_1/alphas.py", line 19, in three0_alpha1
    loadMigrationProfile(portal, 'profile-Products.CMFPlone.migrations:3.0.6-3.1alpha1')
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/migrations/migration_util.py", line 105, in loadMigrationProfile
    tool.runAllImportStepsFromProfile(profile, purge_old=False)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/tool.py", line 390, in runAllImportStepsFromProfile
    ignore_dependencies=ignore_dependencies)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/tool.py", line 1155, in _runImportStepsFromContext
    chain = self.getProfileDependencyChain( profile_id )
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/tool.py", line 1137, in getProfileDependencyChain
    chain.extend(self.getProfileDependencyChain( dependency, seen ))
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/tool.py", line 1135, in getProfileDependencyChain
    dependencies = self.getDependenciesForProfile( profile_id )
  File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/tool.py", line 911, in getDependenciesForProfile
    raise KeyError, profile_id
KeyError: u'profile-plone.app.protect:default'



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 652, 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 724, 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 687, 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



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 993 tests with 7 failures and 1 errors in 6 minutes 8.542 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.703 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.046 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 1453 tests, 7 failures, 1 errors in 7 minutes 21.245 seconds.

FAILED (failures=7, errors=1)




More information about the Testbot mailing list