[Testbot] FAILED (failures=3, errors=4) : Plone-trunk Zope-trunk Python-2.4.6

plone.* Tests plone-tests at epy.co.at
Thu Feb 12 05:34:41 UTC 2009


plone.* Tests : FAILED (failures=3, errors=4) 
Plone-trunk Zope-trunk Python-2.4.6

Running /usr/local/python2.4/bin/python ./bin/test --package plone --module !plone.recipe
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.vocabularies/plone/app/vocabularies/catalog.py:5: DeprecationWarning: ITerms is deprecated. It has moved to zope.browser.interfaces This reference will be gone sometimes.
  from zope.app.form.browser.interfaces import ISourceQueryView, ITerms
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/kss.core/kss/core/kssview.py:46: DeprecationWarning: ISite is deprecated. Moved to zope.location.interfaces. Importing from here will stop working in Zope 3.6
  from zope.app.component.interfaces import ISite
GenericCache not found; tests skipped
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.protect/plone/protect/tests/testAuthenticator.py:10: DeprecationWarning: AuthenticateForm: Please use the plone.protect.protect decorator
  from plone.protect.authenticator import AuthenticateForm
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.990 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.279 seconds.
  Ran 34 tests with 0 failures and 0 errors in 0.430 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 7.196 seconds.


Failure in test /home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.content/plone/app/content/browser/tests/foldercontents.txt
Failed doctest test for foldercontents.txt
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.content/plone/app/content/browser/tests/foldercontents.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.content/plone/app/content/browser/tests/foldercontents.txt", line 243, in foldercontents.txt
Failed example:
    browser.getLink(id='foldercontents-selectall-completebatch')
Expected:
    Traceback (most recent call last):
    ...
    LinkNotFoundError
Got:
    <Link text='Select all 3 items in this folder.' url='http://nohost/plone/@@folder_contents?pagenumber=1&select=all'>



Error in test test_disabled (plone.app.layout.sitemap.tests.test_sitemap.SiteMapTestCase)
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-zope212-cmf22-plone40/src/plone.app.layout/plone/app/layout/sitemap/tests/test_sitemap.py", line 66, in test_disabled
    self.assertRaises(NotFound, self.sitemap)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.layout/plone/app/layout/sitemap/sitemap.py", line 63, in __call__
    raise NotFound()
NotFound



Error in test testDoUpgrades (plone.app.upgrade.tests.test_upgrade.TestUpgrade)
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-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/tests/test_upgrade.py", line 45, in testDoUpgrades
    self.setup.manage_doUpgrades(request=request)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 877, in manage_doUpgrades
    step.doStep(self)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/upgrade.py", line 141, in doStep
    self.handler(tool)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/v30/alphas.py", line 109, in alpha2_beta1
    loadMigrationProfile(context, 'profile-plone.app.upgrade.v30:3.0a2-3.0b1')
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/utils.py", line 104, in loadMigrationProfile
    context.runAllImportStepsFromProfile(profile, purge_old=False)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 327, in runAllImportStepsFromProfile
    ignore_dependencies=ignore_dependencies)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1082, in _runImportStepsFromContext
    message = self._doRunImportStep(step, context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 996, in _doRunImportStep
    return handler(context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/jsregistry.py", line 14, in importJSRegistry
    return importResRegistry(context, _REG_ID, _REG_TITLE, _FILENAME)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 28, in importResRegistry
    importer.body = body
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 505, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 81, in _importNode
    self._initResources(node)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 166, in _initResources
    method(res_id, **data)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 214, in updateScript
    raise ValueError('Invalid resource id %s' % (id))
ValueError: Invalid resource id cssQuery.js



Failure in test testAddEventRegistrationJS (plone.app.upgrade.v25.tests.TestMigrations_v2_5_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-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/v25/tests.py", line 38, in testAddEventRegistrationJS
    self.assertEqual(jsreg.getResourcePosition('event-registration.js'), 3)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 0 != 3



Error in test testAddVariousJavaScripts (plone.app.upgrade.v30.tests.TestMigrations_v3_0_alpha2)
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-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/v30/tests.py", line 702, in testAddVariousJavaScripts
    loadMigrationProfile(self.portal, self.profile, ('jsregistry', ))
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/utils.py", line 110, in loadMigrationProfile
    purge_old=False)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 303, in runImportStepFromProfile
    message = self._doRunImportStep(step, context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 996, in _doRunImportStep
    return handler(context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/jsregistry.py", line 14, in importJSRegistry
    return importResRegistry(context, _REG_ID, _REG_TITLE, _FILENAME)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 28, in importResRegistry
    importer.body = body
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 505, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 81, in _importNode
    self._initResources(node)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 166, in _initResources
    method(res_id, **data)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 214, in updateScript
    raise ValueError('Invalid resource id %s' % (id))
ValueError: Invalid resource id cssQuery.js



Error in test testAddRAMCache (plone.app.upgrade.v30.tests.TestMigrations_v3_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-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/v30/tests.py", line 1159, in testAddRAMCache
    beta3_rc1(self.portal)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/v30/betas.py", line 30, in beta3_rc1
    loadMigrationProfile(context, 'profile-plone.app.upgrade.v30:3.0b3-3.0b4')
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.upgrade/plone/app/upgrade/utils.py", line 104, in loadMigrationProfile
    context.runAllImportStepsFromProfile(profile, purge_old=False)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 327, in runAllImportStepsFromProfile
    ignore_dependencies=ignore_dependencies)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1082, in _runImportStepsFromContext
    message = self._doRunImportStep(step, context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 996, in _doRunImportStep
    return handler(context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/jsregistry.py", line 14, in importJSRegistry
    return importResRegistry(context, _REG_ID, _REG_TITLE, _FILENAME)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 28, in importResRegistry
    importer.body = body
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 505, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 81, in _importNode
    self._initResources(node)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 169, in _initResources
    moveMethod(res_id, *position[1:])
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 702, in moveResourceAfter
    dest_index = self.getResourcePosition(dest_id)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 804, in getResourcePosition
    return resource_ids.index(id)
ValueError: list.index(x): x not in list

  Ran 866 tests with 2 failures and 4 errors in 3 minutes 57.609 seconds.
Running plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer tests:
  Set up plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.003 seconds.


Failure in test testExport (plone.app.contentrules.tests.test_configuration.TestGenericSetup)
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-zope212-cmf22-plone40/src/plone.app.contentrules/plone/app/contentrules/tests/test_configuration.py", line 196, in testExport
    self.assertEquals(expected.strip(), body.strip(), body)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: <?xml version="1.0"?>
<contentrules>
 <rule name="test1" title="Test rule 1" description="A test rule"
    enabled="True" event="zope.lifecycleevent.interfaces.IObjectModifiedEvent"
    stop-after="False">
  <conditions>
   <condition type="plone.conditions.PortalType">
    <property name="check_types">
     <element>Document</element>
     <element>News Item</element>
    </property>
   </condition>
   <condition type="plone.conditions.Role">
    <property name="role_names">
     <element>Manager</element>
    </property>
   </condition>
  </conditions>
  <actions>
   <action type="plone.actions.Notify">
    <property name="message">A message: Hej då</property>
    <property name="message_type">info</property>
   </action>
  </actions>
 </rule>
 <rule name="test2" title="Test rule 2" description="Another test rule"
    enabled="False"
    event="zope.lifecycleevent.interfaces.IObjectModifiedEvent"
    stop-after="True">
  <conditions>
   <condition type="plone.conditions.PortalType">
    <property name="check_types">
     <element>Event</element>
    </property>
   </condition>
  </conditions>
  <actions>
   <action type="plone.actions.Workflow">
    <property name="transition">publish</property>
   </action>
  </actions>
 </rule>
 <rule name="test3" title="Test rule 3" description="Third test rule"
    enabled="True" event="zope.container.interfaces.IObjectMovedEvent"
    stop-after="False">
  <conditions/>
  <actions/>
 </rule>
 <assignment name="test3" bubbles="False" enabled="False" location="/news"/>
 <assignment name="test2" bubbles="True" enabled="False" location="/news"/>
 <assignment name="test1" bubbles="False" enabled="True" location="/news"/>
</contentrules>


  Ran 6 tests with 1 failures and 0 errors in 6.130 seconds.
Running plone.app.customerize.tests.layer.PloneCustomerize tests:
  Tear down plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.000 seconds.
  Set up plone.app.customerize.tests.layer.PloneCustomerize in 0.000 seconds.
  Ran 27 tests with 0 failures and 0 errors in 1 minutes 34.310 seconds.
Running plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer tests:
  Tear down plone.app.customerize.tests.layer.PloneCustomerize in 0.000 seconds.
  Set up plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.052 seconds.
  Ran 13 tests with 0 failures and 0 errors in 3.112 seconds.
Running plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer tests:
  Tear down plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.000 seconds.
  Set up plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer in 0.013 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.055 seconds.
Running plone.app.portlets.tests.test_configuration.TestPortletGSLayer tests:
  Set up plone.app.portlets.tests.test_configuration.TestPortletGSLayer in 1.851 seconds.
  Ran 11 tests with 0 failures and 0 errors in 4.939 seconds.
Running plone.app.viewletmanager.tests.test_exportimport.Layer tests:
  Tear down plone.app.portlets.tests.test_configuration.TestPortletGSLayer in 0.000 seconds.
  Tear down plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.646 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.023 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
  Ran 16 tests with 0 failures and 0 errors in 0.120 seconds.
Running plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer tests:
  Tear down plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.013 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 2.586 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 6.854 seconds.
  Set up plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer in 0.033 seconds.
  Ran 9 tests with 0 failures and 0 errors in 1.246 seconds.
Running plone.theme.tests.test_doctest.PloneThemeLayer tests:
  Tear down plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer in 0.000 seconds.
  Set up plone.theme.tests.test_doctest.PloneThemeLayer in 0.024 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.162 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.theme.tests.test_doctest.PloneThemeLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.478 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.010 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 375 tests with 0 failures and 0 errors in 6.242 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1367 tests, 3 failures, 4 errors in 6 minutes 31.476 seconds.

FAILED (failures=3, errors=4) 




More information about the Testbot mailing list