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

CMFPlone Tests plone-tests at epy.co.at
Mon May 19 03:35:13 UTC 2008


CMFPlone Tests : FAILED (failures=4, errors=2)
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 Products.CMFPlone
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.557s)
Installing CMFCalendar ... done (0.075s)
Installing CMFTopic ... done (0.061s)
Installing DCWorkflow ... done (0.150s)
Installing CMFActionIcons ... done (0.036s)
Installing CMFQuickInstallerTool ... done (0.131s)
Installing CMFFormController ... done (0.634s)
Installing GroupUserFolder ... done (0.736s)
Installing ZCTextIndex ... done (0.080s)
Installing CMFPlone ... done (5.888s)
Installing Archetypes ... done (0.177s)
Installing ATContentTypes ... done (0.357s)
Installing ATReferenceBrowserWidget ... done (0.018s)
Installing CMFDynamicViewFTI ... done (0.016s)
Installing ExternalEditor ... done (0.027s)
Installing ExtendedPathIndex ... done (0.031s)
Installing ResourceRegistries ... done (0.016s)
Installing SecureMailHost ... done (0.020s)
Installing CMFPlacefulWorkflow ... done (0.095s)
Installing PasswordResetTool ... done (0.029s)
Installing PluggableAuthService ... done (0.032s)
Installing PluginRegistry ... done (0.023s)
Installing PlonePAS ... done (0.028s)
Installing kupu ... done (0.476s)
Installing CMFEditions ... done (0.036s)
Installing CMFDiffTool ... done (0.027s)
Installing PloneLanguageTool ... done (0.029s)
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/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
  Ran 178 tests with 0 failures and 0 errors in 1.919 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 10.415 seconds.
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
  Ran 12 tests with 0 failures and 0 errors in 0.053 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 11.761 seconds.


Failure in test testCalendarWithEvents (Products.CMFPlone.tests.testCalendarView.TestCalendarPortlet)
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/Products/CMFPlone/tests/testCalendarView.py", line 131, in testCalendarWithEvents
    self.assertEquals(response.getStatus(), 200)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 302 != 200



Failure in test testEmptyCalendar (Products.CMFPlone.tests.testCalendarView.TestCalendarPortlet)
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/Products/CMFPlone/tests/testCalendarView.py", line 125, in testEmptyCalendar
    self.assertEquals(response.getStatus(), 200)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 302 != 200



Error in test testViewAllowedOnContentInAcquisitionBlockedFolder (Products.CMFPlone.tests.testContentSecurity.TestContentSecurity)
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/Products/CMFPlone/tests/testContentSecurity.py", line 116, in testViewAllowedOnContentInAcquisitionBlockedFolder
    subfolder.new.base_view()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/FSPageTemplate.py", line 216, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/FSPageTemplate.py", line 155, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 949, in do_defineSlot
    self.interpret(slot)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 221, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/providerexpression.py", line 37, in __call__
    return provider.render()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/viewletmanager/manager.py", line 151, in render
    return BaseOrderedViewletManager.render(self)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/viewletmanager/manager.py", line 80, in render
    return u'\n'.join([viewlet.render() for viewlet in self.viewlets])
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/viewlets/common.py", line 44, in render
    return self.index()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplateFile.py", line 129, in _exec
    return self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 161, in _eval
    return render(ob, econtext.vars)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 123, in render
    ob = ob()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/memoize/instance.py", line 45, in memogetter
    val=func(*args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/viewlets/content.py", line 196, in fullHistory
    history=self.workflowHistory() + self.revisionHistory()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/memoize/instance.py", line 45, in memogetter
    val=func(*args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/viewlets/content.py", line 175, in revisionHistory
    version_history=rt.getHistory(aq_inner(self.context), countPurged=False);
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 386, in getHistory
    self._assertAuthorized(obj, AccessPreviousVersions, 'getHistory')
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 408, in _assertAuthorized
    raise Unauthorized(name)
Unauthorized: You are not allowed to access 'getHistory' in this context



Failure in test testViewAllowedOnContentInAcquisitionBlockedFolderWithCustomWorkflow (Products.CMFPlone.tests.testContentSecurity.TestContentSecurity)
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/Products/CMFPlone/tests/testContentSecurity.py", line 172, in testViewAllowedOnContentInAcquisitionBlockedFolderWithCustomWorkflow
    self.fail("Could not access base_view on 'new'")
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail
    raise self.failureException, msg
AssertionError: Could not access base_view on 'new'



Error in test testViewAllowedOnContentInPrivateFolder (Products.CMFPlone.tests.testContentSecurity.TestContentSecurity)
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/Products/CMFPlone/tests/testContentSecurity.py", line 131, in testViewAllowedOnContentInPrivateFolder
    doc.base_view()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/FSPageTemplate.py", line 216, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/FSPageTemplate.py", line 155, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 949, in do_defineSlot
    self.interpret(slot)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 221, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/providerexpression.py", line 37, in __call__
    return provider.render()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/viewletmanager/manager.py", line 151, in render
    return BaseOrderedViewletManager.render(self)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/viewletmanager/manager.py", line 80, in render
    return u'\n'.join([viewlet.render() for viewlet in self.viewlets])
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/viewlets/common.py", line 44, in render
    return self.index()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplateFile.py", line 129, in _exec
    return self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 161, in _eval
    return render(ob, econtext.vars)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 123, in render
    ob = ob()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/memoize/instance.py", line 45, in memogetter
    val=func(*args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/viewlets/content.py", line 196, in fullHistory
    history=self.workflowHistory() + self.revisionHistory()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/memoize/instance.py", line 45, in memogetter
    val=func(*args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/lib/python/plone/app/layout/viewlets/content.py", line 175, in revisionHistory
    version_history=rt.getHistory(aq_inner(self.context), countPurged=False);
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 386, in getHistory
    self._assertAuthorized(obj, AccessPreviousVersions, 'getHistory')
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFEditions/CopyModifyMergeRepositoryTool.py", line 408, in _assertAuthorized
    raise Unauthorized(name)
Unauthorized: You are not allowed to access 'getHistory' in this context

/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PlonePAS/tools/groupdata.py:249: DeprecationWarning: portal_groups.getGroupMembers is deprecated and will be removed in Plone 3.5. Use PAS to get a group and check its members instead.
  for u_name in gtool.getGroupMembers(self.getId()):
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/MembershipTool.py:211: DeprecationWarning: getUserIds is deprecated. Use the PAS methods instead
  return self.__getPUS().getUserIds()
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/migrations/migration_util.py:90: DeprecationWarning: setupCurrentSkin should be called with 'REQUEST' as argument. The BBB code will be removed in CMF 2.3.
  portal.setupCurrentSkin()
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:7: DeprecationWarning: portal_membership.searchForMembers is deprecated and will be removed in Plone 3.5. Use PAS searchUsers instead
  ##parameters=searchstring, restrict, return_form=None, ignore=[]
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:7: DeprecationWarning: portal_membership.searchForMembers is deprecated and will be removed in Plone 3.5. Use PAS searchUsers instead
  ##parameters=searchstring, restrict, return_form=None, ignore=[]
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  ##


Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/LoginAndLogout.txt
Failed doctest test for LoginAndLogout.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/LoginAndLogout.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFPlone/tests/LoginAndLogout.txt", line 38, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone'
Got:
    'http://nohost/plone/login_form'

  Ran 1519 tests with 4 failures and 2 errors in 533.520 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.734 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.018 seconds.
Total: 1709 tests, 4 failures, 2 errors

FAILED (failures=4, errors=2)




More information about the Testbot mailing list