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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 2 19:12:30 CET 2011


Test Suite: PERF
Revision: 42949
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.1592 < 0.1470

nb objects = 000100
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0299 < 0.0344
	view = 0.1480 < 0.1637 < 0.1530

nb objects = 000200
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1497 < 0.1654 < 0.1547

nb objects = 000300
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1515 < 0.1674 < 0.1565

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

nb objects = 000500
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1549 < 0.1710 < 0.1599

nb objects = 000600
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0285 < 0.0344
	view = 0.1566 < 0.1728 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1584 < 0.1747 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0295 < 0.0344
	view = 0.1601 < 0.1762 < 0.1651

nb objects = 000900
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0291 < 0.0344
	view = 0.1618 < 0.1777 < 0.1668

nb objects = 001000
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1636 < 0.1796 < 0.1686

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (14.967s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (125.787s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.299s) done (33.256s)
Adding erp5_ui_test business template ... (imported in 4.990s) done (13.364s)
Executing pending activities ... 173 158 done (12.952s)
Logout ... 
done (188.211s)
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 272, 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.1592 < 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.1637 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 469.897s

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

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

nb objects = 000200
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1497 < 0.1652 < 0.1547

nb objects = 000300
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1515 < 0.1672 < 0.1565

nb objects = 000400
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0285 < 0.0344
	view = 0.1532 < 0.1689 < 0.1582

nb objects = 000500
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0283 < 0.0344
	view = 0.1549 < 0.1707 < 0.1599

nb objects = 000600
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0285 < 0.0344
	view = 0.1566 < 0.1728 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1584 < 0.1744 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1601 < 0.1759 < 0.1651

nb objects = 000900
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1618 < 0.1775 < 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.125s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (121.214s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.783s) done (33.528s)
Adding erp5_ui_test business template ... (imported in 4.771s) done (13.059s)
Executing pending activities ... 173 158 done (12.834s)
Logout ... 
done (183.132s)
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 272, 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.1584 < 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 463.513s

FAILED (failures=2, errors=2)
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.0297 < 0.0344
	view = 0.1480 < 0.1633 < 0.1530

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

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

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

nb objects = 000500
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1549 < 0.1700 < 0.1599

nb objects = 000600
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1566 < 0.1721 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1584 < 0.1736 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0284 < 0.0344
	view = 0.1601 < 0.1753 < 0.1651

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

nb objects = 001000
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0285 < 0.0344
	view = 0.1636 < 0.1789 < 0.1686

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (12.112s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (121.814s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.922s) done (33.755s)
Adding erp5_ui_test business template ... (imported in 4.835s) done (13.153s)
Executing pending activities ... 173 158 done (12.934s)
Logout ... 
done (184.154s)
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 272, 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.1633 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 464.474s

FAILED (failures=2, errors=2)


More information about the Erp5-report mailing list