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

plone.* Tests plone-tests at epy.co.at
Fri Jul 4 03:51:22 UTC 2008


plone.* Tests : FAILED (failures=4, errors=3)
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 plone
Installing CMFCore ... done (0.679s)
Installing CMFDefault ... done (0.330s)
Installing CMFCalendar ... done (0.069s)
Installing CMFTopic ... done (0.028s)
Installing DCWorkflow ... done (0.071s)
Installing CMFActionIcons ... done (0.036s)
Installing CMFQuickInstallerTool ... done (0.103s)
Installing CMFFormController ... done (0.513s)
Installing GroupUserFolder ... done (0.622s)
Installing ZCTextIndex ... done (0.090s)
Installing CMFPlone ... done (3.420s)
Installing Archetypes ... done (0.145s)
Installing ATContentTypes ... done (0.056s)
Installing ATReferenceBrowserWidget ... done (0.018s)
Installing CMFDynamicViewFTI ... done (0.016s)
Installing ExternalEditor ... done (0.020s)
Installing ExtendedPathIndex ... done (0.020s)
Installing ResourceRegistries ... done (0.016s)
Installing SecureMailHost ... done (0.020s)
Installing CMFPlacefulWorkflow ... done (0.387s)
Installing PasswordResetTool ... done (0.024s)
Installing PluggableAuthService ... done (0.032s)
Installing PluginRegistry ... done (0.022s)
Installing PlonePAS ... done (0.028s)
Installing kupu ... done (0.419s)
Installing CMFEditions ... done (0.036s)
Installing CMFDiffTool ... done (0.028s)
Installing PloneLanguageTool ... done (0.036s)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/testrunner.py:1251: DeprecationWarning: Non-ASCII character '\xc3' in file /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/contentrules/tests/test_configuration.py on line 171, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
  __import__(name)
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/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'title' field in /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/kss/core/permission.zcml
  warnings.warn(
  Ran 369 tests with 0 failures and 0 errors in 8.071 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 6.074 seconds.
Installing plone.app.form ... NOT FOUND
Installing plone.portlet.collection ... done (0.052s)
Installing plone.portlet.static ... done (0.043s)
  Ran 36 tests with 0 failures and 0 errors in 0.238 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 10.044 seconds.


Error in test testDisplayMenuDisabledIfIndexHtmlInFolder (plone.app.contentmenu.tests.TestContentMenu)
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/lib/python/plone/app/contentmenu/tests.py", line 389, in testDisplayMenuDisabledIfIndexHtmlInFolder
    displayMenuItem = [i for i in items if i['extra']['id'] == 'plone-contentmenu-display'][0]
IndexError: list index out of range



Error in test testDisplayMenuDisabledIfIndexHtmlInFolderAndContextIsIndexHtml (plone.app.contentmenu.tests.TestContentMenu)
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/lib/python/plone/app/contentmenu/tests.py", line 395, in testDisplayMenuDisabledIfIndexHtmlInFolderAndContextIsIndexHtml
    displayMenuItem = [i for i in items if i['extra']['id'] == 'plone-contentmenu-display'][0]
IndexError: list index out of range



Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/analytics/tests/analytics.txt
Failed doctest test for analytics.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/analytics/tests/analytics.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/analytics/tests/analytics.txt", line 25, in analytics.txt
Failed example:
    manager.render()
Expected:
    u'\n  <div id="portal-colophon">...
Got:
    u'\n<div id="portal-colophon">\n\n  \n\n  <div class="colophonWrapper">\n  <ul>\n    <li>\n      <a href="http://plone.org"\n         title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">Powered by Plone</a>\n    </li>\n    <li>\n      <a href="http://validator.w3.org/check/referer"\n         title="This site is valid XHTML.">Valid XHTML</a>\n    </li>\n    <li>\n      <a href="http://jigsaw.w3.org/css-validator/check/referer&amp;warning=no&amp;profile=css3&amp;usermedium=all"\n         title="This site was built with valid CSS.">Valid CSS</a>\n    </li>\n    <li>\n      <a href="http://www.section508.gov"\n         title="This site conforms to the US Government Section 508 Accessibility Guidelines.">Section 508</a>\n    </li>\n    <li>\n      <a href="http://www.w3.org/WAI/WCAG1AA-Conformance"\n         title="This site conforms to the W3C-WAI Web Content Accessibility Guidelines.">WCAG</a>\n    </li>\n  </u!
 l>\n  </div>\n\n</div>\n\n<div id="portal-footer">\n\n<p>\n  The\n  <a href="http://plone.org">Plone<sup>&reg;</sup> CMS &mdash; Open Source Content Management System</a>\n  is\n  <acronym title="Copyright">&copy;</acronym>\n  2000-2008\n  by the\n  <a href="http://plone.org/foundation">Plone Foundation</a>\n  et al.\n</p>\n\n<p>\n  \n    Plone<sup>&reg;</sup> and the Plone logo are registered trademarks of the\n      <a href="http://plone.org/foundation">Plone Foundation</a>.\n  \n\n  \n    Distributed under the\n      <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n  \n</p>\n\n</div>\n'



Error in test test_disable_dasboard_breaks_event_portlet (plone.app.portlets.tests.test_dashboard.TestDashboard)
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/lib/python/plone/app/portlets/tests/test_dashboard.py", line 57, in test_disable_dasboard_breaks_event_portlet
    addview = mapping.restrictedTraverse('+/' + portlet.addview)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 264, in unrestrictedTraverse
    if restricted and not validate(obj, obj, name, next):
Unauthorized: You are not allowed to access 'portlets.Events' in this context



Failure in test test_initPortletNode_i18n (plone.app.portlets.tests.test_exportimport.TestImportPortlets)
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/lib/python/plone/app/portlets/tests/test_exportimport.py", line 110, in test_initPortletNode_i18n
    "Portlet title should be a Message instance")
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Portlet title should be a Message instance



Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/workflow/tests/sharingpage.txt
Failed doctest test for sharingpage.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/workflow/tests/sharingpage.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/workflow/tests/sharingpage.txt", line 129, in sharingpage.txt
Failed example:
    browser.getLink('Sharing').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 sharingpage.txt[54]>", line 1, in ?
        browser.getLink('Sharing').click()
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError

/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'description' field in <string>
  warnings.warn(
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'title' field in <string>
  warnings.warn(
  Ran 751 tests with 3 failures and 3 errors in 320.547 seconds.
Running plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer tests:
  Set up plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.518 seconds.
  Ran 6 tests with 0 failures and 0 errors in 1.501 seconds.
Running plone.app.customerize.tests.layer.PloneCustomerize tests:
  Tear down plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.005 seconds.
  Set up plone.app.customerize.tests.layer.PloneCustomerize in 0.000 seconds.
  Ran 22 tests with 0 failures and 0 errors in 12.175 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.027 seconds.
  Ran 13 tests with 0 failures and 0 errors in 3.393 seconds.
Running plone.app.linkintegrity.tests.layer.PloneLinkintegrity tests:
  Tear down plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.000 seconds.
  Set up plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 5.806 seconds.
  Ran 111 tests with 0 failures and 0 errors in 64.848 seconds.
Running plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer tests:
  Tear down plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 0.241 seconds.
  Set up plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer in 0.016 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.057 seconds.
Running plone.app.portlets.tests.test_configuration.TestPortletGSLayer tests:
  Set up plone.app.portlets.tests.test_configuration.TestPortletGSLayer in 1.591 seconds.


Failure in test testPortletTypeRegistered (plone.app.portlets.tests.test_configuration.TestGenericSetup)
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/lib/python/plone/app/portlets/tests/test_configuration.py", line 203, in testPortletTypeRegistered
    "Portlet title should be a Message instance")
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Portlet title should be a Message instance

  Ran 12 tests with 1 failures and 0 errors in 4.638 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.754 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.021 seconds.
  Set up plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
Installing plone.app.form ... NOT FOUND
Installing plone.browserlayer ... NOT FOUND
  Ran 16 tests with 0 failures and 0 errors in 0.150 seconds.
Running plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer tests:
  Tear down plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 4.557 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 9.922 seconds.
  Set up plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer in 0.266 seconds.
  Ran 9 tests with 0 failures and 0 errors in 1.447 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.074 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.388 seconds.
Tearing down left over layers:
  Tear down plone.theme.tests.test_doctest.PloneThemeLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.747 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.014 seconds.
Total: 1355 tests, 4 failures, 3 errors

FAILED (failures=4, errors=3)




More information about the Testbot mailing list