[Testbot] FAILED (failures=1) : Plone-3.3 Zope-2.10 Python-2.4.6

Plone Products Tests plone-tests at epy.co.at
Fri Aug 19 07:15:12 UTC 2011


Plone Products Tests : FAILED (failures=1)
Plone-3.3 Zope-2.10 Python-2.4.6

Running ./bin/instance test -q --package Products.CMFPlone --package Products.CMFDynamicViewFTI --package Products.CMFFormController --package Products.CMFQuickInstallerTool --package Products.ExtendedPathIndex --package Products.PasswordResetTool --package Products.PloneLanguageTool --package Products.ResourceRegistries --package Products.statusmessages
/home/stefan/autotest/temp/python24-zope210-cmf21-plone33/src/Plone/Products/CMFPlone/tests/testCatalogTool.py:38: DeprecationWarning: The registerIndexableAttribute hook has been deprecated and will be
removed in Plone 4.0. Please use the following pattern instead:
  >>> from plone.indexer.decorator import indexer
  >>> @indexer(Interface)
  ... def my_indexer(object):
  ...     return <some value>
 Then register the indexer as an adapter in ZCML:
     <adapter factory='.indexers.my_indexer' name='my_attribute' />
Note that you can (and should) use a more specific interface for your
indexer to ensure that it only applies to a particular content type.

  registerIndexableAttribute('dummy_indexer', bad_indexer)
/home/stefan/autotest/temp/python24-zope210-cmf21-plone33/src/Plone/Products/CMFPlone/tests/testCatalogTool.py:39: DeprecationWarning: The registerIndexableAttribute hook has been deprecated and will be
removed in Plone 4.0. Please use the following pattern instead:
  >>> from plone.indexer.decorator import indexer
  >>> @indexer(Interface)
  ... def my_indexer(object):
  ...     return <some value>
 Then register the indexer as an adapter in ZCML:
     <adapter factory='.indexers.my_indexer' name='my_attribute' />
Note that you can (and should) use a more specific interface for your
indexer to ensure that it only applies to a particular content type.

  registerIndexableAttribute('dummy_indexer', dummy_indexer)
/home/stefan/autotest/temp/python24-zope210-cmf21-plone33/eggs/Products.GenericSetup-1.4.6-py2.4.egg/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile CMFDynamicViewFTI:CMFDVFTI_sampletypes 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-zope210-cmf21-plone33/eggs/Products.GenericSetup-1.4.6-py2.4.egg/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFQuickInstallerTool:test taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
  DeprecationWarning)
Running unit tests:
/home/stefan/autotest/temp/cache/Zope-2.10.13-final-py2.4/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])
  Ran 312 tests with 0 failures and 0 errors in 0.759 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Products.CMFTestCase.layer.ZCML in 1.892 seconds.
  Set up Products.CMFTestCase.layer.CMFSite in 0.245 seconds.
  Ran 84 tests with 0 failures and 0 errors in 2.403 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.040 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.003 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 1.405 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.016 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 4.448 seconds.
/home/stefan/autotest/temp/python24-zope210-cmf21-plone33/src/Plone/Products/CMFPlone/utils.py:93: DeprecationWarning: The context parameter for isDefaultPage is deprecated and will be removed in Plone 4.
  DeprecationWarning, 1)
/home/stefan/autotest/temp/python24-zope210-cmf21-plone33/src/Plone/Products/CMFPlone/MembershipTool.py:212: DeprecationWarning: getUserIds is deprecated. Use the PAS methods instead
  return self.__getPUS().getUserIds()
/home/stefan/autotest/temp/python24-zope210-cmf21-plone33/src/Plone/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 testForceMigration (Products.CMFPlone.tests.testMigrationTool.TestMigrationTool)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/cache/Zope-2.10.13-final-py2.4/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone33/src/Plone/Products/CMFPlone/tests/testMigrationTool.py", line 46, in testForceMigration
    self.assertEqual(msg[0], expect)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 'Migration completed at version 3.3.6.' != 'Migration completed at version 3.3.7 (svn/unreleased).'

/home/stefan/autotest/temp/cache/Zope-2.10.13-final-py2.4/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.CMFFormController.ControllerPageTemplate.ControllerPageTemplate.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/cache/Zope-2.10.13-final-py2.4/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.CMFFormController.ControllerPageTemplate.ControllerPageTemplate.manage_afterClone is discouraged. You should use event subscribers instead.
  DeprecationWarning)
  Ran 1853 tests with 1 failures and 0 errors in 185.198 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.292 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.011 seconds.
Total: 2261 tests, 1 failures, 0 errors

FAILED (failures=1)


More information about the Testbot mailing list