[Testbot] FAILED (failures=10, errors=2) : AT-trunk Plone-trunk Zope-2.11 Python-2.4.4
Archetypes Tests
plone-tests at epy.co.at
Fri Apr 4 04:14:45 UTC 2008
Archetypes Tests : FAILED (failures=10, errors=2)
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 0x41c5ebcc>
Failure
Ran 24 tests with 1 failures and 0 errors in 0.997 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.332 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.471 seconds.
Ran 72 tests with 0 failures and 0 errors in 3.113 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
Set up Products.CMFTestCase.layer.CMFSite in 2.671 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=1207282035.790.444875260978">
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 0x429afb2c>),
? ^^^^^^^^^^
- (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at ...>),
? ^^^
+ (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at 0x42f41ccc>),
? ^^^^^^^^^^
- (<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 0x42ca7fcc>),
- (<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 0x42ca7fec>),
- (<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 0x42f41c8c>),
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
+ <zope.app.event.objectevent.ObjectModifiedEvent object at 0x42f41c4c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x42f50cec>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
- <Products.DCWorkflow.events.AfterTransitionEvent object at ...>)]
? ^^^ ^
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x42f50d2c>),
? ^^^^^^^^^^ ^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0x42f41cec>)]
/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 test_real_file_force_filename_detect_mime_xml (Products.Archetypes.tests.test_file_upload.TextFieldTest)
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_file_upload.py", line 182, in test_real_file_force_filename_detect_mime_xml
self.assertEquals(m, 'text/xml')
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 'application/xml' != 'text/xml'
Failure in test test_real_file_force_mimetype (Products.Archetypes.tests.test_file_upload.TextFieldTest)
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_file_upload.py", line 204, in test_real_file_force_mimetype
self.assertEquals(m, 'text/xml')
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 'application/xml' != 'text/xml'
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 testAdaptData (Products.MimetypesRegistry.tests.test_mimetypes.TestMimeTypesclass)
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/MimetypesRegistry/tests/test_mimetypes.py", line 159, in testAdaptData
self.failUnless(isinstance(mt, text_xml), str(mt))
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless
if not expr: raise self.failureException, msg
AssertionError: application/xml
Failure in test testAdaptMt (Products.MimetypesRegistry.tests.test_mimetypes.TestMimeTypesclass)
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/MimetypesRegistry/tests/test_mimetypes.py", line 143, in testAdaptMt
self.failUnless(isinstance(mt, text_xml), str(mt))
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless
if not expr: raise self.failureException, msg
AssertionError: application/xml
Error in test testClassify (Products.MimetypesRegistry.tests.test_mimetypes.TestMimeTypesclass)
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/MimetypesRegistry/tests/test_mimetypes.py", line 18, in testClassify
self.failUnless(c[0].name().startswith("Extensible Markup Language"),
IndexError: list index out of range
Failure in test testFDOGlobs (Products.MimetypesRegistry.tests.test_mimetypes.TestMimeTypesclass)
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/MimetypesRegistry/tests/test_mimetypes.py", line 114, in testFDOGlobs
self.failUnlessEqual(str(mt), 'text/x-makefile')
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 'text/plain' != 'text/x-makefile'
Ran 487 tests with 9 failures and 2 errors in 1 minutes 38.313 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, 10 failures, 2 errors in 1 minutes 49.818 seconds.
FAILED (failures=10, errors=2)
More information about the Testbot
mailing list