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

Plone Products Tests plone-tests at epy.co.at
Mon Nov 9 02:17:34 UTC 2009


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

Running /usr/local/python2.4/bin/python ./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/src/Products.GenericSetup/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/src/Products.GenericSetup/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/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])
  Ran 309 tests with 0 failures and 0 errors in 0.858 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Products.CMFTestCase.layer.ZCML in 5.633 seconds.
  Set up Products.CMFTestCase.layer.CMFSite in 0.388 seconds.
  Ran 84 tests with 0 failures and 0 errors in 2.556 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.041 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.003 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 1.439 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.175 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:211: 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()
/home/stefan/autotest/temp/python24-zope210/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/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.CMFFormController.ControllerPageTemplate.ControllerPageTemplate.manage_afterClone is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Failure in test testCachingHeadersFromSkinWithRAMCache (Products.ResourceRegistries.tests.testCSSRegistry.TestCachingHeaders)
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-plone33/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 1131, in testCachingHeadersFromSkinWithRAMCache
    self.assertEqual(response.getHeader('Expires'), rfc1123_date(soon.timeTime()))
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 'Mon, 16 Nov 2009 02:03:49 GMT' != 'Mon, 16 Nov 2009 02:03:50 GMT'

  Ran 1831 tests with 1 failures and 0 errors in 186.285 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.294 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
Total: 2236 tests, 1 failures, 0 errors

FAILED (failures=1) 




More information about the Testbot mailing list