From: plone.* T. <plo...@ep...> - 2007-12-05 04:25:53
|
plone.* Tests : UNKNOWN Plone-3.0 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.545s) Installing CMFDefault ... done (0.371s) Installing CMFCalendar ... done (0.053s) Installing CMFTopic ... done (0.028s) Installing DCWorkflow ... done (0.100s) Installing CMFActionIcons ... done (0.049s) Installing CMFQuickInstallerTool ... done (0.107s) Installing CMFFormController ... done (0.972s) Installing GroupUserFolder ... done (1.140s) Installing ZCTextIndex ... done (0.204s) Installing CMFPlone ... done (3.628s) Installing Archetypes ... done (0.160s) Installing ATContentTypes ... done (0.059s) Installing ATReferenceBrowserWidget ... done (0.018s) Installing CMFDynamicViewFTI ... done (0.016s) Installing ExternalEditor ... done (0.020s) Installing ExtendedPathIndex ... done (0.022s) Installing ResourceRegistries ... done (0.018s) Installing SecureMailHost ... done (0.018s) Installing CMFPlacefulWorkflow ... done (0.019s) Installing PasswordResetTool ... done (0.022s) Installing PluggableAuthService ... done (0.033s) Installing PluginRegistry ... done (0.022s) Installing PlonePAS ... done (0.030s) Installing kupu ... done (0.748s) Installing CMFEditions ... done (0.032s) Installing CMFDiffTool ... done (0.031s) Installing PloneLanguageTool ... done (0.028s) Parsing /home/stefan/autotest/temp/python24-zope210-cmf21-plone30/etc/zope.conf Running unit tests: Ran 256 tests with 0 failures and 0 errors in 3.885 seconds. Running Products.PloneTestCase.layer.ZCML tests: Set up Products.PloneTestCase.layer.ZCML in 3.782 seconds. Ran 30 tests with 0 failures and 0 errors in 0.219 seconds. Running Products.PloneTestCase.layer.PloneSite tests: Set up Products.PloneTestCase.layer.PloneSite in 10.942 seconds. Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt Failed doctest test for filter.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt", line 64, in filter.txt Failed example: print_all_of('stripped_tags') Expected: abbr acronym address bdo button col colgroup dfn fieldset form input label legend link noscript object optgroup option param samp script select style textarea tfoot thead var Got: button fieldset form input label legend link noscript object optgroup option param script select style textarea Error in test testOnlyOpenIdInstalled (plone.app.openid.tests.test_view.TestOpenIdView) 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-plone30/lib/python/plone/app/openid/tests/test_view.py", line 23, in testOnlyOpenIdInstalled self.portal.portal_quickinstaller.installProduct("plone.app.openid") File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 405, in installProduct portal_setup.runAllImportStepsFromProfile('profile-%s' % profile) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 322, in runAllImportStepsFromProfile result = self._runImportStepsFromContext(context, purge_old=purge_old) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 1028, in _runImportStepsFromContext message = self._doRunImportStep(step, context) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 987, in _doRunImportStep return handler(context) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/openid/setuphandlers.py", line 57, in importVarious createOpenIdPlugin(site, out) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/openid/setuphandlers.py", line 19, in createOpenIdPlugin acl.manage_addProduct["plone.openid"].addOpenIdPlugin( AttributeError: addOpenIdPlugin Error in test test_OpenIdInstalled (plone.app.openid.tests.test_view.TestOpenIdView) 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-plone30/lib/python/plone/app/openid/tests/test_view.py", line 13, in test_OpenIdInstalled self.portal.portal_quickinstaller.installProduct("plone.app.openid") File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 405, in installProduct portal_setup.runAllImportStepsFromProfile('profile-%s' % profile) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 322, in runAllImportStepsFromProfile result = self._runImportStepsFromContext(context, purge_old=purge_old) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 1028, in _runImportStepsFromContext message = self._doRunImportStep(step, context) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 987, in _doRunImportStep return handler(context) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/openid/setuphandlers.py", line 57, in importVarious createOpenIdPlugin(site, out) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/openid/setuphandlers.py", line 19, in createOpenIdPlugin acl.manage_addProduct["plone.openid"].addOpenIdPlugin( AttributeError: addOpenIdPlugin Failure in test test_published_news_items (plone.app.portlets.tests.test_events_portlet.TestRenderer) 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-plone30/lib/python/plone/app/portlets/tests/test_events_portlet.py", line 87, in test_published_news_items self.assertEquals(2, len(r.published_events())) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 2 != 1 Failure in test test_published_news_items (plone.app.portlets.tests.test_news_portlet.TestRenderer) 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-plone30/lib/python/plone/app/portlets/tests/test_news_portlet.py", line 83, in test_published_news_items self.assertEquals(2, len(r.published_news_items())) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 2 != 1 Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/workflow/tests/onestateworkflow.txt Failed doctest test for onestateworkflow.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/workflow/tests/onestateworkflow.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/workflow/tests/onestateworkflow.txt", line 117, in onestateworkflow.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 onestateworkflow.txt[29]>", 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 202, in _mech_open response = UserAgent.open(self, self.request, data) File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_opener.py", line 245, in open response = meth(req, response) File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_urllib2_support.py", line 529, in http_response response = self.parent.error( File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_opener.py", line 262, in error result = apply(self._call_chain, args) File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain result = func(*args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_urllib2_support.py", line 125, in http_error_302 return self.parent.open(new) 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 202, in _mech_open response = UserAgent.open(self, self.request, data) File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_opener.py", line 234, in open response = urlopen(self, req, data) File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 376, in _open '_open', req) File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain result = func(*args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/testbrowser.py", line 64, in http_open return self.do_open(PublisherConnection, req) File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 993, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/testing.py", line 80, in request self.response = self.caller(request_string, handle_errors) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func return func(*args, **kw) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http debug=not handle_errors, File "/home/stefan/autotest/temp/python24-zope210/lib/python/ZPublisher/Test.py", line 199, in publish_module response = publish(request, module_name, after_list, debug=debug) File "/home/stefan/autotest/temp/python24-zope210/lib/python/ZPublisher/Publish.py", line 150, in publish sys.exc_info()[2], File "/home/stefan/autotest/temp/python24-zope210/lib/python/Zope2/App/startup.py", line 221, in zpublisher_exception_hook f(client, REQUEST, t, v, traceback, error_log_url=error_log_url) File "/home/stefan/autotest/temp/python24-zope210/lib/python/ZPublisher/Publish.py", line 110, in publish object=request.traverse(path, validated_hook=validated_hook) File "/home/stefan/autotest/temp/python24-zope210/lib/python/ZPublisher/BaseRequest.py", line 501, in traverse return response.notFoundError(URL) File "/home/stefan/autotest/temp/python24-zope210/lib/python/ZPublisher/HTTPResponse.py", line 672, in notFoundError "Sorry, the requested resource does not exist." + NotFound: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <base href="http://nohost/plone/" /><!--[if lt IE 7]></base><![endif]--> <meta name="generator" content="Plone - http://plone.org" /> <link rel="kss-base-url" href="http://nohost/plone" /> <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Plone%20Default/event-registration-cachekey1789.js"> </script> <style type="text/css"><!-- @import url(http://nohost/plone/portal_css/Plone%20Default/base-cachekey9612.css); --></style> <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_kss/Plone%20Default/at-cachekey2402.kss" /> <title>Plone site</title> <!-- Internet Explorer CSS Fixes --> <!--[if IE]> <style type="text/css" media="all">@import url(http://nohost/plone/IEFixes.css);</style> <![endif]--> <link rel="author" href="http://nohost/plone/author/" title="Author information" /> <link rel="shortcut icon" type="image/x-icon" href="http://nohost/plone/favicon.ico" /> <link rel="home" href="http://nohost/plone" title="Front page" /> <link rel="contents" href="http://nohost/plone/sitemap" title="Site Map" /> <link rel="search" href="http://nohost/plone/search_form" title="Search this site" /> <!-- Disable IE6 image toolbar --> <meta http-equiv="imagetoolbar" content="no" /> </head> <body class="None template-default_error_message" dir="ltr"> <div id="visual-portal-wrapper"> <div id="portal-top"> <div id="portal-header"> <p class="hiddenStructure"> <a accesskey="2" href="http://nohost/plone/localhost#documentContent">Skip to content.</a> | <a accesskey="6" href="http://nohost/plone/localhost#portlet-navigation-tree">Skip to navigation</a> </p> <ul id="portal-siteactions"> <li id="siteaction-sitemap"><a href="http://nohost/plone/sitemap" accesskey="3" title="Site Map">Site Map</a></li> <li id="siteaction-accessibility"><a href="http://nohost/plone/accessibility-info" accesskey="0" title="Accessibility">Accessibility</a></li> <li id="siteaction-contact"><a href="http://nohost/plone/contact-info" accesskey="9" title="Contact">Contact</a></li> </ul> <div id="portal-searchbox"> <form name="searchform" action="http://nohost/plone/search"> <label for="searchGadget" class="hiddenStructure">Search Site</label> <div class="LSBox"> <input name="SearchableText" type="text" size="18" title="Search Site" accesskey="4" class="inputLabel" id="searchGadget" /> <input class="searchButton" type="submit" value="Search" /> <div class="searchSection"> <input id="searchbox_currentfolder_only" class="noborder" type="checkbox" name="path" value="/plone" /> <label for="searchbox_currentfolder_only" style="cursor: pointer"> only in current section </label> </div> <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div> </div> </form> <div id="portal-advanced-search" class="hiddenStructure"> <a href="http://nohost/plone/search_form" accesskey="5"> Advanced Search… </a> </div> </div> <a id="portal-logo" accesskey="1" href="http://nohost/plone"> <img src="http://nohost/plone/logo.jpg" alt="" title="Plone" height="57" width="252" /></a> <h5 class="hiddenStructure">Sections</h5> <ul id="portal-globalnav"> <li id="portaltab-index_html" class="selected"> <a href="http://nohost/plone" title="">Home</a></li> <li id="portaltab-Members" class="plain"> <a href="http://nohost/plone/Members" title="Container for users' home directories">Users</a></li> <li id="portaltab-news" class="plain"> <a href="http://nohost/plone/news" title="Site News">News</a></li> <li id="portaltab-events" class="plain"> <a href="http://nohost/plone/events" title="Site Events">Events</a></li> </ul> </div> <div id="portal-personaltools-wrapper"> <h5 class="hiddenStructure">Personal tools</h5> <ul id="portal-personaltools" class="visualInline"> <li> <a href="http://nohost/plone/login_form">Log in</a> </li> </ul> </div> <div id="portal-breadcrumbs"> <span id="breadcrumbs-you-are-here">You are here:</span> <a href="http://nohost/plone">Home</a> </div> </div> <div class="visualClear" id="clear-space-before-wrapper-table"><!-- --></div> <table id="portal-columns"> <tbody> <tr> <td id="portal-column-content"> <div class=""> <div id="region-content" class="documentContent"> <span id="contentTopLeft"></span> <span id="contentTopRight"></span> <a name="documentContent"></a> <dl class="portalMessage info" id="kssPortalMessage" style="display:none"> <dt>Info</dt> <dd></dd> </dl> <dl class="portalMessage info"> <dt>Info</dt> <dd>Welcome! You are now logged in.</dd> </dl> <div id="viewlet-above-content"></div> <div> <div> <h1 class="documentFirstHeading"> We're sorry, but that page doesn't exist… </h1> <p> Please double check the web address or use the search function on this page to find what you are looking for. </p> <p> If you are certain you have the correct web address but are encountering an error, please contact the <span> <a href="http://nohost/plone/contact-info">site administration</a></span>. </p> <p> Thank you. </p> <!-- Offer search results for suggestions --> <h3>You might have been looking for…</h3> <dl> <dt class="contenttype-plone-site"> <img width="16" height="16" src="http://nohost/plone/site_icon.gif" alt="Plone site" /> <a href="http://nohost/plone/" class="state-">Plone site</a> <span class="discreet"> by , Dec 05, 2007 04:44 AM </span> </dt> <dd></dd> <dt class="contenttype-document"> <img width="16" height="16" src="http://nohost/plone/document_icon.gif" alt="Document" /> <a href="http://nohost/plone/front-page/" class="state-published">Welcome to Plone</a> <span class="discreet"> by portal_owner, Dec 05, 2007 04:44 AM </span> </dt> <dd>Congratulations! You have successfully installed Plone.</dd> </dl> </div> </div> <span id="contentBottomLeft"></span> <span id="contentBottomRight"></span> </div> </div> </td> </tr> </tbody> </table> <div class="visualClear" id="clear-space-before-footer"><!-- --></div> <div id="portal-footer"> <p> The <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a> is <acronym title="Copyright">©</acronym> 2000-2007 by the <a href="http://plone.org/foundation">Plone Foundation</a> et al. </p> <p> Plone<sup>®</sup> and the Plone logo are registered trademarks of the <a href="http://plone.org/foundation">Plone Foundation</a>. Distributed under the <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>. </p> </div> <div id="portal-colophon"> <div class="colophonWrapper"> <ul> <li> <a href="http://plone.org" title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information."> Powered by Plone</a> </li> <li> <a href="http://validator.w3.org/check/referer" title="This site is valid XHTML."> Valid XHTML</a> </li> <li> <a href="http://jigsaw.w3.org/css-validator/check/referer&warning=no&profile=css3&usermedium=all" title="This site was built with valid CSS."> Valid CSS</a> </li> <li> <a href="http://www.section508.gov" title="This site conforms to the US Government Section 508 Accessibility Guidelines."> Section 508</a> </li> <li> <a href="http://www.w3.org/WAI/WCAG1AA-Conformance" title="This site conforms to the W3C-WAI Web Content Accessibility Guidelines."> WCAG</a> </li> </ul> </div> </div> <div class="visualClear"><!-- --></div> </div> <div id="kss-spinner"><img alt="" src="http://nohost/plone/spinner.gif" /></div> </body> </html> Ran 675 tests with 4 failures and 2 errors in 227.375 seconds. Running plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer tests: Set up plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.090 seconds. Failure in test test_replaceFilteredRulesForm (plone.app.contentrules.tests.test_kss.KSSContentRulesTestCase) 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-plone30/lib/python/plone/app/contentrules/tests/test_kss.py", line 47, in test_replaceFilteredRulesForm self.assertEquals(res, [ File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: [{'selectorType': '', 'params': {'html': u'<![CDATA[\n<form style="display: inline" method="POST" id="rules_table_form" action="http://nohost/plone/Members/test_user_1_/@@rules-controlpanel">\n</form>\n]]>', 'withKssSetup': u'True'}, 'name': 'replaceHTML', 'selector': '#rules_table_form'}] != [{'selectorType': '', 'params': {'html': u'\n<form style="display: inline" method="POST" id="rules_table_form" action="http://nohost/plone/Members/test_user_1_/@@rules-controlpanel">\n</form>\n', 'withKssSetup': u'True'}, 'name': 'replaceHTML', 'selector': '#rules_table_form'}] Ran 13 tests with 1 failures and 0 errors in 6.713 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 Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/test.py", line 117, in ? sys.exit(testrunner.run(defaults)) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/testrunner.py", line 271, in run failed = not run_with_options(options) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/testrunner.py", line 433, in run_with_options setup_layers, failures, errors) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/testrunner.py", line 604, in run_layer setup_layer(layer, setup_layers) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/testrunner.py", line 692, in setup_layer layer.setUp() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/linkintegrity/tests/layer.py", line 24, in setUp setup_tool.setImportContext('') # pass empty id to re-apply current state (snapshot) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 218, in setImportContext self.setBaselineContext(context_id, encoding) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 225, in setBaselineContext self.applyContextById(context_id, encoding) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 230, in applyContextById context = self._getImportContext(context_id) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 910, in _getImportContext raise KeyError, 'Unknown context %s' % context_id KeyError: 'Unknown context ' UNKNOWN |