[Erp5-report] PERF r42497 : 12 Tests, 12 Errors, 0 Failures, 0 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 20 09:32:58 CET 2011
Test Suite: PERF
Revision: 42497
Result: FAIL
All tests: 12
Failures: 0
Errors: 12
Skips: 0
The following tests failed:
testPerformance (4 errors)
test_00_viewBarObject (testPerformance.TestPerformance)
testPerformance (4 errors)
test_00_viewBarObject (testPerformance.TestPerformance)
testPerformance (4 errors)
test_00_viewBarObject (testPerformance.TestPerformance)
-------------- next part --------------
Loading Zope ...
Cleaning static files ...
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ...
done (14.652s)test_00_viewBarObject (testPerformance.TestPerformance) ...
Adding ERP5TypeTestCase user ...
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... Traceback (most recent call last):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 893, in setUpERP5Site
create_activities=create_activities,
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 99, in manage_addERP5Site
reindex=reindex)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 1585, in create
reindex=reindex, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2035, in setup
self.setupERP5Core(p,**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2072, in setupERP5Core
bt.install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4798, in install
return self._install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4730, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 2470, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 930, in install
if context.getTemplateFormatVersion() == 1:
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4389, in getTemplateFormatVersion
if self.hasProperty('template_format_version'):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1626, in hasProperty
method = getattr(self, 'has' + UpperCase(key), _MARKER)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1003, in _aq_dynamic
result = cat(econtext)
File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "portal.getPortalVariationBaseCategoryList()"", line 1, in <expression>
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 703, in getPortalVariationBaseCategoryList
return self._getPortalGroupedCategoryList('variation') or \
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 563, in _getPortalGroupedCategoryList
return getCategoryList(group)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 555, in getCategoryList
if group in bc.getCategoryTypeList():
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 985, in _aq_dynamic
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 560, in initializePortalTypeDynamicProperties
parent_aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 607, in initializePortalTypeDynamicProperties
portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 773, in initializePortalTypeDynamicWorkflowMethods
for method_id in filter(method_id_matcher, added_method_set):
TypeError: expected string or buffer
Ran Unit test of Performance (installation failed)
ERROR
test_01_viewBarModule (testPerformance.TestPerformance) ... test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... test_viewProxyField (testPerformance.TestPerformance) ...
======================================================================
ERROR: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 528, in setUp
use_dummy_mail_host=use_dummy_mail_host)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 893, in setUpERP5Site
create_activities=create_activities,
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 99, in manage_addERP5Site
reindex=reindex)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 1585, in create
reindex=reindex, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2035, in setup
self.setupERP5Core(p,**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2072, in setupERP5Core
bt.install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4798, in install
return self._install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4730, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 2470, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 930, in install
if context.getTemplateFormatVersion() == 1:
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4389, in getTemplateFormatVersion
if self.hasProperty('template_format_version'):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1626, in hasProperty
method = getattr(self, 'has' + UpperCase(key), _MARKER)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1003, in _aq_dynamic
result = cat(econtext)
File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "portal.getPortalVariationBaseCategoryList()"", line 1, in <expression>
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 703, in getPortalVariationBaseCategoryList
return self._getPortalGroupedCategoryList('variation') or \
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 563, in _getPortalGroupedCategoryList
return getCategoryList(group)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 555, in getCategoryList
if group in bc.getCategoryTypeList():
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 985, in _aq_dynamic
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 560, in initializePortalTypeDynamicProperties
parent_aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 607, in initializePortalTypeDynamicProperties
portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 773, in initializePortalTypeDynamicWorkflowMethods
for method_id in filter(method_id_matcher, added_method_set):
TypeError: expected string or buffer
----------------------------------------------------------------------
Ran 4 tests in 83.152s
FAILED (errors=4)
Loading Zope ...
Cleaning static files ...
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ...
done (11.779s)test_00_viewBarObject (testPerformance.TestPerformance) ...
Adding ERP5TypeTestCase user ...
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... Traceback (most recent call last):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 893, in setUpERP5Site
create_activities=create_activities,
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 99, in manage_addERP5Site
reindex=reindex)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 1585, in create
reindex=reindex, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2035, in setup
self.setupERP5Core(p,**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2072, in setupERP5Core
bt.install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4798, in install
return self._install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4730, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 2470, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 930, in install
if context.getTemplateFormatVersion() == 1:
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4389, in getTemplateFormatVersion
if self.hasProperty('template_format_version'):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1626, in hasProperty
method = getattr(self, 'has' + UpperCase(key), _MARKER)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1003, in _aq_dynamic
result = cat(econtext)
File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "portal.getPortalVariationBaseCategoryList()"", line 1, in <expression>
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 703, in getPortalVariationBaseCategoryList
return self._getPortalGroupedCategoryList('variation') or \
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 563, in _getPortalGroupedCategoryList
return getCategoryList(group)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 555, in getCategoryList
if group in bc.getCategoryTypeList():
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 985, in _aq_dynamic
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 560, in initializePortalTypeDynamicProperties
parent_aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 607, in initializePortalTypeDynamicProperties
portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 773, in initializePortalTypeDynamicWorkflowMethods
for method_id in filter(method_id_matcher, added_method_set):
TypeError: expected string or buffer
Ran Unit test of Performance (installation failed)
ERROR
test_01_viewBarModule (testPerformance.TestPerformance) ... test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... test_viewProxyField (testPerformance.TestPerformance) ...
======================================================================
ERROR: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 528, in setUp
use_dummy_mail_host=use_dummy_mail_host)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 893, in setUpERP5Site
create_activities=create_activities,
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 99, in manage_addERP5Site
reindex=reindex)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 1585, in create
reindex=reindex, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2035, in setup
self.setupERP5Core(p,**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2072, in setupERP5Core
bt.install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4798, in install
return self._install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4730, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 2470, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 930, in install
if context.getTemplateFormatVersion() == 1:
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4389, in getTemplateFormatVersion
if self.hasProperty('template_format_version'):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1626, in hasProperty
method = getattr(self, 'has' + UpperCase(key), _MARKER)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1003, in _aq_dynamic
result = cat(econtext)
File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "portal.getPortalVariationBaseCategoryList()"", line 1, in <expression>
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 703, in getPortalVariationBaseCategoryList
return self._getPortalGroupedCategoryList('variation') or \
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 563, in _getPortalGroupedCategoryList
return getCategoryList(group)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 555, in getCategoryList
if group in bc.getCategoryTypeList():
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 985, in _aq_dynamic
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 560, in initializePortalTypeDynamicProperties
parent_aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 607, in initializePortalTypeDynamicProperties
portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 773, in initializePortalTypeDynamicWorkflowMethods
for method_id in filter(method_id_matcher, added_method_set):
TypeError: expected string or buffer
----------------------------------------------------------------------
Ran 4 tests in 81.584s
FAILED (errors=4)
Loading Zope ...
Cleaning static files ...
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ...
done (11.769s)test_00_viewBarObject (testPerformance.TestPerformance) ...
Adding ERP5TypeTestCase user ...
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... Traceback (most recent call last):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 893, in setUpERP5Site
create_activities=create_activities,
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 99, in manage_addERP5Site
reindex=reindex)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 1585, in create
reindex=reindex, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2035, in setup
self.setupERP5Core(p,**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2072, in setupERP5Core
bt.install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4798, in install
return self._install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4730, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 2470, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 930, in install
if context.getTemplateFormatVersion() == 1:
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4389, in getTemplateFormatVersion
if self.hasProperty('template_format_version'):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1626, in hasProperty
method = getattr(self, 'has' + UpperCase(key), _MARKER)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1003, in _aq_dynamic
result = cat(econtext)
File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "portal.getPortalVariationBaseCategoryList()"", line 1, in <expression>
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 703, in getPortalVariationBaseCategoryList
return self._getPortalGroupedCategoryList('variation') or \
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 563, in _getPortalGroupedCategoryList
return getCategoryList(group)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 555, in getCategoryList
if group in bc.getCategoryTypeList():
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 985, in _aq_dynamic
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 560, in initializePortalTypeDynamicProperties
parent_aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 607, in initializePortalTypeDynamicProperties
portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 773, in initializePortalTypeDynamicWorkflowMethods
for method_id in filter(method_id_matcher, added_method_set):
TypeError: expected string or buffer
Ran Unit test of Performance (installation failed)
ERROR
test_01_viewBarModule (testPerformance.TestPerformance) ... test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... test_viewProxyField (testPerformance.TestPerformance) ...
======================================================================
ERROR: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 528, in setUp
use_dummy_mail_host=use_dummy_mail_host)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 893, in setUpERP5Site
create_activities=create_activities,
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 99, in manage_addERP5Site
reindex=reindex)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 1585, in create
reindex=reindex, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2035, in setup
self.setupERP5Core(p,**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 2072, in setupERP5Core
bt.install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4798, in install
return self._install(**kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4730, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 2470, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 930, in install
if context.getTemplateFormatVersion() == 1:
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 4389, in getTemplateFormatVersion
if self.hasProperty('template_format_version'):
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1626, in hasProperty
method = getattr(self, 'has' + UpperCase(key), _MARKER)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1003, in _aq_dynamic
result = cat(econtext)
File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "portal.getPortalVariationBaseCategoryList()"", line 1, in <expression>
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 703, in getPortalVariationBaseCategoryList
return self._getPortalGroupedCategoryList('variation') or \
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 563, in _getPortalGroupedCategoryList
return getCategoryList(group)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/ERP5Site.py", line 555, in getCategoryList
if group in bc.getCategoryTypeList():
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 985, in _aq_dynamic
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 560, in initializePortalTypeDynamicProperties
parent_aq_key, portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 607, in initializePortalTypeDynamicProperties
portal)
File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 773, in initializePortalTypeDynamicWorkflowMethods
for method_id in filter(method_id_matcher, added_method_set):
TypeError: expected string or buffer
----------------------------------------------------------------------
Ran 4 tests in 81.426s
FAILED (errors=4)
More information about the Erp5-report
mailing list