[Testbot] FAILED (failures=4, errors=2) : Plone-3.1 Zope-2.10 Python-2.4.4

CMFPlone Tests plone-tests at epy.co.at
Thu Feb 28 04:06:58 UTC 2008


CMFPlone Tests : FAILED (failures=4, errors=2)
Plone-3.1 Zope-2.10 Python-2.4.4

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q -1 --config-file etc/zope.conf --package Products.CMFPlone
Installing CMFCore ... done (0.334s)
Installing CMFDefault ... done (0.567s)
Installing CMFCalendar ... done (0.075s)
Installing CMFTopic ... done (0.049s)
Installing DCWorkflow ... done (0.133s)
Installing CMFActionIcons ... done (0.038s)
Installing CMFQuickInstallerTool ... done (0.124s)
Installing CMFFormController ... done (0.598s)
Installing GroupUserFolder ... done (0.976s)
Installing ZCTextIndex ... done (0.083s)
Installing CMFPlone ... done (5.144s)
Installing Archetypes ... done (0.163s)
Installing ATContentTypes ... done (0.056s)
Installing ATReferenceBrowserWidget ... done (0.018s)
Installing CMFDynamicViewFTI ... done (0.016s)
Installing ExternalEditor ... done (0.026s)
Installing ExtendedPathIndex ... done (0.033s)
Installing ResourceRegistries ... done (0.016s)
Installing SecureMailHost ... done (0.018s)
Installing CMFPlacefulWorkflow ... done (0.053s)
Installing PasswordResetTool ... done (0.040s)
Installing PluggableAuthService ... /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile PluggableAuthService:simple taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile PluggableAuthService:empty taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
done (0.031s)
Installing PluginRegistry ... done (0.022s)
Installing PlonePAS ... done (0.028s)
Installing kupu ... done (1.185s)
Installing CMFEditions ... done (0.034s)
Installing CMFDiffTool ... done (0.028s)
Installing PloneLanguageTool ... done (0.028s)
Installing Marshall ... done (0.087s)
Parsing /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/xmlconfig.py:323: 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-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.Archetypes:Archetypes taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFActionIcons:actionicons taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFCalendar:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFCalendar:skins_support taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFDefault:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFDefault:views_support taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFDefault:sample_content taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFPlone:testfixture taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFTopic:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFUid:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.DCWorkflow:revision2 taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
  Ran 178 tests with 0 failures and 0 errors in 1.956 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 8.056 seconds.
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
  Ran 12 tests with 0 failures and 0 errors in 0.051 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 13.093 seconds.


Failure in test test_loginChangePassword (Products.CMFPlone.tests.testControlPanelScripts.TestNoGETControlPannel)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/testControlPanelScripts.py", line 68, in test_loginChangePassword
    self._onlyPOST(path, qstring)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/testControlPanelScripts.py", line 34, in _onlyPOST
    self.assertEqual(response.getStatus(), success)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 500 != 200

/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/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

/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/MembershipTool.py:211: DeprecationWarning: getUserIds is deprecated. Use the PAS methods instead
  return self.__getPUS().getUserIds()


Error in test testSetPassword (Products.CMFPlone.tests.testMembershipTool.TestMembershipTool)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/testMembershipTool.py", line 122, in testSetPassword
    self.membership.setPassword('geheim')
  File "<string>", line 4, in _facade
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/AccessControl/requestmethod.py", line 64, in _curried
    return callable(*args, **kw)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/MembershipTool.py", line 262, in setPassword
    self.credentialsChanged(password, REQUEST=REQUEST)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/MembershipTool.py", line 351, in credentialsChanged
    acl_users.credentialsChanged(user, name, password)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PlonePAS/pas.py", line 364, in credentialsChanged
    self.updateCredentials(request, response, login, new_password)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PluggableAuthService/PluggableAuthService.py", line 1098, in updateCredentials
    updater.updateCredentials(request, response, login, new_password)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/plugins/session.py", line 133, in updateCredentials
    self.setupSession(info["id"], response)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/plugins/session.py", line 85, in setupSession
    cookie=self.source.createIdentifier(userid)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 41, in createIdentifier
    signature=self.signUserid(userid)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 35, in signUserid
    secret = self.getSigningSecret()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 30, in getSigningSecret
    return self.getSecrets()[0]
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 25, in getSecrets
    raise NoKeyManager
NoKeyManager



Error in test testSetPasswordAndKeepGroups (Products.CMFPlone.tests.testMembershipTool.TestMembershipTool)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/testMembershipTool.py", line 147, in testSetPasswordAndKeepGroups
    self.membership.setPassword('geheim')
  File "<string>", line 4, in _facade
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/AccessControl/requestmethod.py", line 64, in _curried
    return callable(*args, **kw)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/MembershipTool.py", line 262, in setPassword
    self.credentialsChanged(password, REQUEST=REQUEST)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/MembershipTool.py", line 351, in credentialsChanged
    acl_users.credentialsChanged(user, name, password)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PlonePAS/pas.py", line 364, in credentialsChanged
    self.updateCredentials(request, response, login, new_password)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PluggableAuthService/PluggableAuthService.py", line 1098, in updateCredentials
    updater.updateCredentials(request, response, login, new_password)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/plugins/session.py", line 133, in updateCredentials
    self.setupSession(info["id"], response)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/plugins/session.py", line 85, in setupSession
    cookie=self.source.createIdentifier(userid)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 41, in createIdentifier
    signature=self.signUserid(userid)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 35, in signUserid
    secret = self.getSigningSecret()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 30, in getSigningSecret
    return self.getSecrets()[0]
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/session/sources/hash.py", line 25, in getSecrets
    raise NoKeyManager
NoKeyManager

/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/migrations/migration_util.py:90: DeprecationWarning: setupCurrentSkin should be called with 'REQUEST' as argument. The BBB code will be removed in CMF 2.3.
  portal.setupCurrentSkin()


Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt
Failed doctest test for AddMoveAndDeleteDocument.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/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-zope210/lib/python/zope/testing/doctest.py", line 1348, 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-zope210/lib/python/zope/testbrowser/browser.py", line 586, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 375, in _clickSubmit
        self.mech_browser.open(form.click(
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 177, in open
        return self._mech_open(url, data)
      File "/home/stefan/autotest/temp/python24-zope210/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-zope210-cmf21-plone31/Products/CMFPlone/tests/LoginAndLogout.txt
Failed doctest test for LoginAndLogout.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/LoginAndLogout.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/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-zope210/lib/python/zope/testing/doctest.py", line 1348, 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-zope210/lib/python/zope/testbrowser/browser.py", line 586, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 375, in _clickSubmit
        self.mech_browser.open(form.click(
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 177, in open
        return self._mech_open(url, data)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
        raise error
    HTTPError: HTTP Error 500: Internal Server Error

  Ran 1473 tests with 4 failures and 2 errors in 363.306 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.726 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.017 seconds.
Total: 1663 tests, 4 failures, 2 errors

FAILED (failures=4, errors=2)




More information about the Testbot mailing list