[Testbot] FAILED (failures=22, errors=1) : AT-trunk Plone-trunk Zope-2.11 Python-2.4.4
Archetypes Tests
plone-tests at epy.co.at
Fri Mar 14 05:10:31 UTC 2008
Archetypes Tests : FAILED (failures=22, errors=1)
AT-trunk Plone-trunk Zope-2.11 Python-2.4.4
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q -1 --config-file etc/zope.conf --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/utils.py:28: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 5.0
from Products.CMFPlone.interfaces.Translatable import ITranslatable
/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'description' field in /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/exportimport/configure.zcml
warnings.warn(
/home/stefan/autotest/temp/python24-zope211/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-zope211-cmf22-plone40/lib/python/Products/Archetypes/exportimport/configure.zcml
warnings.warn(
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PloneLanguageTool/interfaces.py:7: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 5.0
from Products.CMFPlone.interfaces.Translatable import ITranslatable
/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/xmlconfig.py:331: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
__import__(arguments[0])
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Parsing /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/etc/zope.conf
Running unit tests:
Failure in test rest (Products.PortalTransforms.transforms.rest)
Failed doctest test for Products.PortalTransforms.transforms.rest.rest
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/transforms/rest.py", line 5, in rest
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/transforms/rest.py", line 21, in Products.PortalTransforms.transforms.rest.rest
Failed example:
try:
transform.convert('.. raw:: html\n :file: <isonum.txt>', D())
except NotImplementedError:
print 'Good'
else:
print 'Failure'
Expected:
Good
Got:
<Products.PortalTransforms.transforms.rest.D instance at 0x41bd350c>
Failure
Ran 24 tests with 1 failures and 0 errors in 0.924 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.399 seconds.
Set up Products.CMFTestCase.layer.ZCML/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFActionIcons:actionicons 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-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFCalendar:default 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-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFCalendar:skins_support 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-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFTopic:default 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-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFUid:default 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-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.DCWorkflow:revision2 taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
in 3.472 seconds.
Ran 72 tests with 0 failures and 0 errors in 3.166 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
Set up Products.CMFTestCase.layer.CMFSite in 2.687 seconds.
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Error in test test6734 (Products.Archetypes.tests.test_cmfessentials.TestFTICopy)
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-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_cmfessentials.py", line 100, in test6734
browser.getLink('Folder contents').click()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 402, in click
self.browser.mech_browser.follow_link(self.mech_link)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 448, in follow_link
return self.open(self.click_link(link, **kwds))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 202, in _mech_open
response = UserAgent.open(self, self.request, data)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_opener.py", line 235, 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-zope211/lib/python/Products/Five/testbrowser.py", line 79, 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-zope211/lib/python/zope/testbrowser/testing.py", line 84, in request
self.response = self.caller(request_string, handle_errors)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python24-zope211/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-zope211/lib/python/ZPublisher/Publish.py", line 150, in publish
sys.exc_info()[2],
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/App/startup.py", line 252, in __call__
f(client, REQUEST, t, v, traceback, error_log_url=error_log_url)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Publish.py", line 119, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Publish.py", line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/browser/metaconfigure.py", line 417, in __call__
return self.index(self, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplateFile.py", line 126, in _exec
return self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 89, in pt_render
return super(PageTemplate, self).pt_render(c, source=source)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 949, in do_defineSlot
self.interpret(slot)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 199, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 139, in _eval
return render(ob, econtext.vars)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 103, in render
ob = ob()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/plone/app/content/browser/foldercontents.py", line 40, in icon
icon = ploneview.getIcon(self.context)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/browser/ploneview.py", line 389, in getIcon
if not self.icons_visible():
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/plone/memoize/view.py", line 55, in memogetter
value = cache[key] = func(*args, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/browser/ploneview.py", line 372, in icons_visible
site_properties = getattr(properties, 'site_properties')
AttributeError: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Portal: </title>
<link rel="stylesheet" type="text/css"
href="http://nohost/cmf/zpt_stylesheet.css" />
</head>
<body>
<div>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- Top bar -->
<table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="PortalLogo">
<a href="http://nohost/cmf/"><img
src="http://nohost/cmf/Zope_logo.gif" alt="Zope Logo"
border="0" width="87" height="38" /></a>
</td>
<td id="PortalTitle">
<span>Portal</span>
</td>
<td id="NavBar">
<form action="http://nohost/cmf/search" method="get">
<a href="http://nohost/cmf/">home</a>
<a href="http://nohost/cmf/Members">members</a>
<a href="http://nohost/cmf/recent_news">news</a>
<a href="http://nohost/cmf/search_form">search</a>
<input name="SearchableText" size="16" />
<input type="image" name="go" value="go"
src="http://nohost/cmf/go.gif" align="middle" />
</form>
</td>
</tr>
</table>
<!-- end topbar -->
</td>
</tr>
</table>
<!-- end NS4 hack -->
<!-- end top_bar-->
</div>
<div>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td>
<!-- user_menu_bar -->
<table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ActionTitle">portal_owner</td>
<td class="ActionLink" align="right">
<a href="http://nohost/cmf/personalize_form">Preferences</a> |
<a href="http://nohost/cmf/logout">Log out</a>
</td>
</tr>
</table>
<!-- end user_menu_bar -->
</td>
</tr>
</table>
<!-- end NS4 hack -->
<!-- end user_menu_bar div-->
</div>
<div id="main_body">
<table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<!-- actions box -->
<table class="ContextActionsBox" width="100%"
style="float: left;">
<!-- object actions -->
<tr class="ContextActionsRow">
<td class="ActionTitle">
<img src="http://nohost/cmf/cmf/folder_icon.gif"
align="left" title="Type" alt="Folder" height="16"
width="16" />
test_user_1_
</td>
</tr>
<tr class="ContextActionsRow">
<td class="ActionLink">
<span>
<a href="http://nohost/cmf/Members/test_user_1_">View</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/folder_edit_form">Edit</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/folder_localrole_form">Local Roles</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/folder_contents">Folder contents</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/synPropertiesForm">Syndication</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/edit-markers.html">Interfaces</a><br />
</span>
</td>
</tr>
<!-- workflow actions -->
<!-- folder actions -->
<!-- global actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span>
<a href="http://nohost/cmf/members_manage_form">Manage members</a><br />
</span>
<span>
<a href="http://nohost/cmf/undo_form">Undo</a><br />
</span>
<span>
<a href="http://nohost/cmf/reconfig_form">Reconfigure Portal</a><br />
</span>
</td>
</tr>
</table>
<!-- end actions_box -->
</td>
<td width="16px"> </td>
<td id="ForematterCell">
<div id="Desktop">
<p id="Breadcrumbs">
<span><a href="http://nohost/cmf">root</a><span> / </span>
</span>
<span><a href="http://nohost/cmf/Members">Members</a><span> / </span>
</span>
<span><a href="http://nohost/cmf/Members/test_user_1_">test_user_1_</a>
</span>
</p>
<div>
<h2>Site Error</h2>
<p>An error was encountered while publishing this
resource.</p>
<p>
<strong>Error Type:
AttributeError
</strong>
<br />
<strong>Error Value:
site_properties
</strong>
<br />
</p>
<hr noshade />
<p>Troubleshooting Suggestions</p>
<ul>
<li>The URL may be incorrect.</li>
<li>The parameters passed to this resource may be
incorrect.</li>
<li>A resource that this resource relies on may be
encountering an error.</li>
</ul>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<p>If the error persists please contact the site
maintainer. Thank you for your patience.
</p>
</div>
<div>
<hr noshade />
<a href="http://nohost/cmf/error_log/showEntry?id=1205470988.860.701430071875">
Show Error Log Entry
</a>
</div>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt
Failed doctest test for events.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 31, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 6 events:
? ^
+ 9 events:
? ^
[(<DDocument at a>,
- <zope.app.event.objectevent.ObjectCreatedEvent object at ...>),
? ^^^
+ <zope.app.event.objectevent.ObjectCreatedEvent object at 0x429ebf4c>),
? ^^^^^^^^^^
- (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at ...>),
? ^^^
+ (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at 0x42c097ac>),
? ^^^^^^^^^^
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
- <zope.app.container.contained.ObjectAddedEvent object at ...>),
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x43094aac>),
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
- <zope.app.event.objectevent.ObjectModifiedEvent object at ...),
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x43094acc>),
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
- <Products.DCWorkflow.events.BeforeTransitionEvent object at ...>),
+ <zope.app.container.contained.ObjectAddedEvent object at 0x42c0976c>),
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
+ <zope.app.event.objectevent.ObjectModifiedEvent object at 0x42c0972c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x43033f0c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
- <Products.DCWorkflow.events.AfterTransitionEvent object at ...>)]
? ^^^ ^
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x43033f4c>),
? ^^^^^^^^^^ ^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0x42c097cc>)]
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/reindex_sanity.txt
Failed doctest test for reindex_sanity.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/reindex_sanity.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/reindex_sanity.txt", line 89, in reindex_sanity.txt
Failed example:
_ = self.folder.invokeFactory(type_name='DDocument',
id='new_doc1')
Expected:
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 None
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Got:
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 None
------------------------------------------------------------
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 None
------------------------------------------------------------
Failure in test test_recursive (Products.Archetypes.tests.test_rename.RenameTests)
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-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_rename.py", line 159, in test_recursive
self.assertEquals(ADD_COUNTER.get(uid), 1)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 2 != 1
Failure in test test_rename (Products.Archetypes.tests.test_rename.RenameTests)
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-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_rename.py", line 140, in test_rename
self.assertEquals(ADD_COUNTER.get(uid), 2)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 3 != 2
Failure in test test_1 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 27, in test_1
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="javascript:Alert(\'XSS\');" />'
Failure in test test_10 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 79, in test_10
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(javascript:alert('XSS')">test</div>'
Failure in test test_11 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 84, in test_11
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(v b sc ript:msgbox(\'XSS\')">test</div>'
Failure in test test_12 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 89, in test_12
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="vbscript:msgbox(\'XSS\')" />'
Failure in test test_13 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 96, in test_13
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="vb\n sc\n ript:msgbox(\'XSS\')" />'
Failure in test test_14 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 101, in test_14
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<a>test</a>' != '<a href="vbscript:Alert(\'XSS\')">test</a>'
Failure in test test_15 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 106, in test_15
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<div>div</div>' != '<div style="width: expression(window.location=\'http://www.dr.dk\';);">div</div>'
Failure in test test_16 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 111, in test_16
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<div>div</div>' != '<div style="width: ex pre ss io n(window.location=\'http://www.dr.dk\';);">div</div>'
Failure in test test_17 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 120, in test_17
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<div>div</div>' != '<div style="width: ex\n pre\n ss\n io\n n(window.location=\'http://www.dr.dk\';);">div</div>'
Failure in test test_2 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 32, in test_2
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="javascript:Alert(\'XSS\');" />'
Failure in test test_3 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 37, in test_3
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="javascript:alert('XSS')" />'
Failure in test test_4 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 43, in test_4
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="javascript:alert('XSS')" />'
Failure in test test_5 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 50, in test_5
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="jav\n asc\n ript:Alert(\'XSS\');" />'
Failure in test test_6 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 56, in test_6
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<img />' != '<img src="jav asc ript:Alert(\'XSS\');" />'
Failure in test test_7 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 61, in test_7
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<a>test med a-tag</a>' != '<a href="javascript:alert('XSS')">test med a-tag</a>'
Failure in test test_8 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 66, in test_8
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(jav asc ript:Alert(\'XSS\')">test</div>'
Failure in test test_9 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
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-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 74, in test_9
self.doTest(data_in, data_out)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
self.assertEqual (data_out,html.getData())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(jav\n asc\n ript:\n Alert(\'XSS\')">test</div>'
Ran 487 tests with 21 failures and 1 errors in 1 minutes 29.891 seconds.
Tearing down left over layers:
Tear down Products.CMFTestCase.layer.CMFSite in 0.173 seconds.
Tear down Products.CMFTestCase.layer.ZCML in 0.020 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 583 tests, 22 failures, 1 errors in 1 minutes 41.493 seconds.
FAILED (failures=22, errors=1)
More information about the Testbot
mailing list