[Erp5-report] PERF r42952 : 12 Tests, 6 Errors, 6 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 2 20:00:59 CET 2011


Test Suite: PERF
Revision: 42952
Result: FAIL

All tests: 12
Failures: 6
Errors: 6
Skips: 0



The following tests failed:

  testPerformance                                    (2 failures, 2 errors)
   test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance)
   test_viewProxyField (testPerformance.TestPerformance)
   test_00_viewBarObject (testPerformance.TestPerformance)
   test_01_viewBarModule (testPerformance.TestPerformance)

  testPerformance                                    (2 failures, 2 errors)
   test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance)
   test_viewProxyField (testPerformance.TestPerformance)
   test_00_viewBarObject (testPerformance.TestPerformance)
   test_01_viewBarModule (testPerformance.TestPerformance)

  testPerformance                                    (2 failures, 2 errors)
   test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance)
   test_viewProxyField (testPerformance.TestPerformance)
   test_00_viewBarObject (testPerformance.TestPerformance)
   test_01_viewBarModule (testPerformance.TestPerformance)

-------------- next part --------------
objective time to view object form 0.1440 < 0.1591 < 0.1470

nb objects = 000100
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0300 < 0.0344
	view = 0.1480 < 0.1636 < 0.1530

nb objects = 000200
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0292 < 0.0344
	view = 0.1497 < 0.1655 < 0.1547

nb objects = 000300
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0292 < 0.0344
	view = 0.1515 < 0.1676 < 0.1565

nb objects = 000400
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1532 < 0.1692 < 0.1582

nb objects = 000500
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1549 < 0.1710 < 0.1599

nb objects = 000600
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0284 < 0.0344
	view = 0.1566 < 0.1731 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1584 < 0.1746 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1601 < 0.1765 < 0.1651

nb objects = 000900
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0284 < 0.0344
	view = 0.1618 < 0.1778 < 0.1668

nb objects = 001000
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1636 < 0.1795 < 0.1686

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (15.563s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (123.402s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.618s) done (33.484s)
Adding erp5_ui_test business template ... (imported in 4.761s) done (13.220s)
Executing pending activities ... 173 158 done (13.137s)
Logout ... 
done (185.735s)
Running Unit tests of Performance
FAIL
test_01_viewBarModule (testPerformance.TestPerformance) ... FAIL
test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/lazy_class.py", line 302, in loadClass
    class_definition = generatePortalTypeClass(site, portal_type)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/portal_type_class.py", line 306, in generatePortalTypeClass
    property_sheet_tool)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/portal_type_class.py", line 83, in _fillAccessorHolderList
    property_sheet_name))
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Tool/PropertySheetTool.py", line 275, in createZodbPropertySheetAccessorHolder
    'erp5.accessor_holder')
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/accessor_holder.py", line 64, in fromPropertyHolder
    portal=portal)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 1579, in setDefaultProperties
    portal=portal)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 1698, in createDefaultAccessors
    accessor_name = 'get' + UpperCase(id)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 242, in convertToUpperCase
    raise TypeError, '%s is not a string' % (key,)
TypeError: None is not a string
ERROR
test_viewProxyField (testPerformance.TestPerformance) ... ERROR

======================================================================
ERROR: test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 364, in test_02_viewFooObjectWithManyLines
    title='Foo Test')
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 172, in newContent
    new_instance._edit(force_update=1, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/Delivery.py", line 695, in _edit
    XMLObject._edit(self,REQUEST=REQUEST,force_update=force_update,**kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1712, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1696, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1505, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 878, in setTitle
    self._setTitle(value)
AttributeError: _setTitle

======================================================================
ERROR: test_viewProxyField (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 330, in test_viewProxyField
    start_date=DateTime(2008,1,1))
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 172, in newContent
    new_instance._edit(force_update=1, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/Delivery.py", line 695, in _edit
    XMLObject._edit(self,REQUEST=REQUEST,force_update=force_update,**kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1712, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1696, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1505, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 878, in setTitle
    self._setTitle(value)
AttributeError: _setTitle

======================================================================
FAIL: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 224, in test_00_viewBarObject
    prefix='objective')
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 202, in checkViewBarObject
    '%.4f < %.4f < %.4f' % (min, req_time, max))
AssertionError: 0.1440 < 0.1591 < 0.1470

======================================================================
FAIL: test_01_viewBarModule (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 311, in test_01_viewBarModule
    'View: %.4f < %.4f < %.4f' % (
AssertionError: View: 0.1480 < 0.1636 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 466.931s

FAILED (failures=2, errors=2)
objective time to view object form 0.1440 < 0.1590 < 0.1470

nb objects = 000100
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0297 < 0.0344
	view = 0.1480 < 0.1632 < 0.1530

nb objects = 000200
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0291 < 0.0344
	view = 0.1497 < 0.1653 < 0.1547

nb objects = 000300
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0291 < 0.0344
	view = 0.1515 < 0.1670 < 0.1565

nb objects = 000400
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0293 < 0.0344
	view = 0.1532 < 0.1686 < 0.1582

nb objects = 000500
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0291 < 0.0344
	view = 0.1549 < 0.1702 < 0.1599

nb objects = 000600
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1566 < 0.1724 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0296 < 0.0344
	view = 0.1584 < 0.1739 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0292 < 0.0344
	view = 0.1601 < 0.1755 < 0.1651

nb objects = 000900
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0291 < 0.0344
	view = 0.1618 < 0.1770 < 0.1668

nb objects = 001000
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0290 < 0.0344
	view = 0.1636 < 0.1786 < 0.1686

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (12.097s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (121.591s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.606s) done (33.830s)
Adding erp5_ui_test business template ... (imported in 4.805s) done (13.242s)
Executing pending activities ... 173 158 done (13.072s)
Logout ... 
done (184.241s)
Running Unit tests of Performance
FAIL
test_01_viewBarModule (testPerformance.TestPerformance) ... FAIL
test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/lazy_class.py", line 302, in loadClass
    class_definition = generatePortalTypeClass(site, portal_type)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/portal_type_class.py", line 306, in generatePortalTypeClass
    property_sheet_tool)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/portal_type_class.py", line 83, in _fillAccessorHolderList
    property_sheet_name))
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Tool/PropertySheetTool.py", line 275, in createZodbPropertySheetAccessorHolder
    'erp5.accessor_holder')
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/accessor_holder.py", line 64, in fromPropertyHolder
    portal=portal)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 1579, in setDefaultProperties
    portal=portal)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 1698, in createDefaultAccessors
    accessor_name = 'get' + UpperCase(id)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 242, in convertToUpperCase
    raise TypeError, '%s is not a string' % (key,)
TypeError: None is not a string
ERROR
test_viewProxyField (testPerformance.TestPerformance) ... ERROR

======================================================================
ERROR: test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 364, in test_02_viewFooObjectWithManyLines
    title='Foo Test')
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 172, in newContent
    new_instance._edit(force_update=1, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/Delivery.py", line 695, in _edit
    XMLObject._edit(self,REQUEST=REQUEST,force_update=force_update,**kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1712, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1696, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1505, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 878, in setTitle
    self._setTitle(value)
AttributeError: _setTitle

======================================================================
ERROR: test_viewProxyField (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 330, in test_viewProxyField
    start_date=DateTime(2008,1,1))
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 172, in newContent
    new_instance._edit(force_update=1, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/Delivery.py", line 695, in _edit
    XMLObject._edit(self,REQUEST=REQUEST,force_update=force_update,**kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1712, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1696, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1505, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 878, in setTitle
    self._setTitle(value)
AttributeError: _setTitle

======================================================================
FAIL: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 224, in test_00_viewBarObject
    prefix='objective')
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 202, in checkViewBarObject
    '%.4f < %.4f < %.4f' % (min, req_time, max))
AssertionError: 0.1440 < 0.1590 < 0.1470

======================================================================
FAIL: test_01_viewBarModule (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 311, in test_01_viewBarModule
    'View: %.4f < %.4f < %.4f' % (
AssertionError: View: 0.1480 < 0.1632 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 465.657s

FAILED (failures=2, errors=2)
objective time to view object form 0.1440 < 0.1588 < 0.1470

nb objects = 000100
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0301 < 0.0344
	view = 0.1480 < 0.1629 < 0.1530

nb objects = 000200
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0284 < 0.0344
	view = 0.1497 < 0.1650 < 0.1547

nb objects = 000300
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1515 < 0.1668 < 0.1565

nb objects = 000400
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1532 < 0.1687 < 0.1582

nb objects = 000500
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0290 < 0.0344
	view = 0.1549 < 0.1702 < 0.1599

nb objects = 000600
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0292 < 0.0344
	view = 0.1566 < 0.1723 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0294 < 0.0344
	view = 0.1584 < 0.1740 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0289 < 0.0344
	view = 0.1601 < 0.1759 < 0.1651

nb objects = 000900
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1618 < 0.1773 < 0.1668

nb objects = 001000
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1636 < 0.1790 < 0.1686

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (12.128s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (121.002s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.310s) done (33.107s)
Adding erp5_ui_test business template ... (imported in 4.764s) done (13.099s)
Executing pending activities ... 173 158 done (12.907s)
Logout ... 
done (182.609s)
Running Unit tests of Performance
FAIL
test_01_viewBarModule (testPerformance.TestPerformance) ... FAIL
test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/lazy_class.py", line 302, in loadClass
    class_definition = generatePortalTypeClass(site, portal_type)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/portal_type_class.py", line 306, in generatePortalTypeClass
    property_sheet_tool)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/portal_type_class.py", line 83, in _fillAccessorHolderList
    property_sheet_name))
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Tool/PropertySheetTool.py", line 275, in createZodbPropertySheetAccessorHolder
    'erp5.accessor_holder')
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/dynamic/accessor_holder.py", line 64, in fromPropertyHolder
    portal=portal)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 1579, in setDefaultProperties
    portal=portal)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 1698, in createDefaultAccessors
    accessor_name = 'get' + UpperCase(id)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Utils.py", line 242, in convertToUpperCase
    raise TypeError, '%s is not a string' % (key,)
TypeError: None is not a string
ERROR
test_viewProxyField (testPerformance.TestPerformance) ... ERROR

======================================================================
ERROR: test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 364, in test_02_viewFooObjectWithManyLines
    title='Foo Test')
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 172, in newContent
    new_instance._edit(force_update=1, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/Delivery.py", line 695, in _edit
    XMLObject._edit(self,REQUEST=REQUEST,force_update=force_update,**kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1712, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1696, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1505, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 878, in setTitle
    self._setTitle(value)
AttributeError: _setTitle

======================================================================
ERROR: test_viewProxyField (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 330, in test_viewProxyField
    start_date=DateTime(2008,1,1))
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Core/Folder.py", line 172, in newContent
    new_instance._edit(force_update=1, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5/Document/Delivery.py", line 695, in _edit
    XMLObject._edit(self,REQUEST=REQUEST,force_update=force_update,**kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1712, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1696, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 1505, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.PERF/build/unit_test/Products/ERP5Type/Base.py", line 878, in setTitle
    self._setTitle(value)
AttributeError: _setTitle

======================================================================
FAIL: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 224, in test_00_viewBarObject
    prefix='objective')
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 202, in checkViewBarObject
    '%.4f < %.4f < %.4f' % (min, req_time, max))
AssertionError: 0.1440 < 0.1588 < 0.1470

======================================================================
FAIL: test_01_viewBarModule (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.PERF/build/Products/ERP5Type/tests/testPerformance.py", line 311, in test_01_viewBarModule
    'View: %.4f < %.4f < %.4f' % (
AssertionError: View: 0.1480 < 0.1629 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 463.402s

FAILED (failures=2, errors=2)


More information about the Erp5-report mailing list