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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 3 00:26:36 CET 2011


Test Suite: PERF
Revision: 42956
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.1597 < 0.1470

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

nb objects = 000200
	add = 0.0068 < 0.0061 < 0.0073
	tic = 0.0323 < 0.0290 < 0.0344
	view = 0.1497 < 0.1656 < 0.1547

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

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

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

nb objects = 000600
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0290 < 0.0344
	view = 0.1566 < 0.1725 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0289 < 0.0344
	view = 0.1584 < 0.1743 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0063 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1601 < 0.1755 < 0.1651

nb objects = 000900
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0296 < 0.0344
	view = 0.1618 < 0.1774 < 0.1668

nb objects = 001000
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0292 < 0.0344
	view = 0.1636 < 0.1792 < 0.1686

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (14.991s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (122.770s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.781s) done (33.591s)
Adding erp5_ui_test business template ... (imported in 4.786s) done (13.146s)
Executing pending activities ... 173 158 done (13.005s)
Logout ... 
done (185.021s)
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.1597 < 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.1634 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 466.592s

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

nb objects = 000100
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0293 < 0.0344
	view = 0.1480 < 0.1627 < 0.1530

nb objects = 000200
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0283 < 0.0344
	view = 0.1497 < 0.1644 < 0.1547

nb objects = 000300
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0284 < 0.0344
	view = 0.1515 < 0.1663 < 0.1565

nb objects = 000400
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0285 < 0.0344
	view = 0.1532 < 0.1679 < 0.1582

nb objects = 000500
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0285 < 0.0344
	view = 0.1549 < 0.1696 < 0.1599

nb objects = 000600
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1566 < 0.1715 < 0.1616

nb objects = 000700
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0284 < 0.0344
	view = 0.1584 < 0.1733 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1601 < 0.1749 < 0.1651

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

nb objects = 001000
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0283 < 0.0344
	view = 0.1636 < 0.1779 < 0.1686

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (12.088s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (120.319s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.601s) done (33.330s)
Adding erp5_ui_test business template ... (imported in 4.790s) done (13.105s)
Executing pending activities ... 173 158 done (12.952s)
Logout ... 
done (182.212s)
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.1581 < 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.1627 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 461.216s

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

nb objects = 000100
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0292 < 0.0344
	view = 0.1480 < 0.1626 < 0.1530

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

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

nb objects = 000400
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0287 < 0.0344
	view = 0.1532 < 0.1678 < 0.1582

nb objects = 000500
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0288 < 0.0344
	view = 0.1549 < 0.1697 < 0.1599

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

nb objects = 000700
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0286 < 0.0344
	view = 0.1584 < 0.1733 < 0.1634

nb objects = 000800
	add = 0.0068 < 0.0060 < 0.0073
	tic = 0.0323 < 0.0292 < 0.0344
	view = 0.1601 < 0.1750 < 0.1651

nb objects = 000900
	add = 0.0068 < 0.0059 < 0.0073
	tic = 0.0323 < 0.0289 < 0.0344
	view = 0.1618 < 0.1764 < 0.1668

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

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.PERF/build/unit_test' loaded ... 
done (12.188s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (120.365s)
Running HTTP server at localhost:55031
Running WebDAV server at localhost:55203
Adding erp5_base business template ... (imported in 16.753s) done (33.519s)
Adding erp5_ui_test business template ... (imported in 4.773s) done (13.071s)
Executing pending activities ... 173 158 done (12.740s)
Logout ... 
done (182.189s)
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.1581 < 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.1626 < 0.1530

----------------------------------------------------------------------
Ran 4 tests in 461.683s

FAILED (failures=2, errors=2)


More information about the Erp5-report mailing list