[Erp5-report] ERP5_z28 r27802: 2619 Tests, 14 Errors, 2 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Jun 27 17:54:19 CEST 2009


Test Suite: ERP5_z28
Revision: 27802
Result: FAIL

All tests: 2619
Failures: 2
Errors: 14


The following tests failed:

  testMRP                                            (3 errors)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation)
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation)
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testERP5Interfaces                                 (11 errors)
   test_BusinessPath_implements_IArrowBase (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
   test_TradeCondition_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelCell_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelLine_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)

  testXMLMatrix                                      (1 failures)
   test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
-------------- next part --------------

ERROR: test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testMRP.py", line 371, in test_TransformationRule_expand_concurrent
    rule.expand(applied_rule)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/Document/TransformationModelRule.py", line 336, in expand
    raise TransformationRuleError,\
TransformationRuleError: the Properties which is used to make a movement on the last path
are different with the Transformation <Transformation at /erp5_portal_e103b69b1d5186bba7c647d7853b323d/transformation_module/2> and the Business Process <BusinessProcess at /erp5_portal_e103b69b1d5186bba7c647d7853b323d/business_process_module/2>



ERROR: test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testMRP.py", line 399, in test_TransformationRule_expand_reexpand
    self.test_TransformationRule_expand_concurrent()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testMRP.py", line 371, in test_TransformationRule_expand_concurrent
    rule.expand(applied_rule)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/Document/TransformationModelRule.py", line 336, in expand
    raise TransformationRuleError,\
TransformationRuleError: the Properties which is used to make a movement on the last path
are different with the Transformation <Transformation at /erp5_portal_e103b69b1d5186bba7c647d7853b323d/transformation_module/3> and the Business Process <BusinessProcess at /erp5_portal_e103b69b1d5186bba7c647d7853b323d/business_process_module/3>



ERROR: test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testMRP.py", line 263, in test_TransformationRule_getHeadProductionPathList
    rule.getHeadProductionPathList(transformation, business_process))
AttributeError: getHeadProductionPathList



FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 183, in testPeriodicityDateList
    [(DateTime(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))]



ERROR: test_BusinessPath_implements_IArrowBase (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IArrowBase.IArrowBase>

        The getDestinationArrowBaseCategoryList attribute was not provided.
        



ERROR: test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IBusinessPath.IBusinessPath>

        The getExpectedCompletionDuration attribute was not provided.
        



ERROR: test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of _getAcquiredCategoryMembershipList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeCondition_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of getAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeModelCell_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of updateAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IVariated.IVariated>

        The _setVariationBaseCategoryList attribute was not provided.
        



ERROR: test_TradeModelLine_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of updateAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IVariated.IVariated>

        The _setVariationBaseCategoryList attribute was not provided.
        



ERROR: test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of updateAggregatedAmountList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of getVariationRangeBaseCategoryItemList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 66, in testMethod
    verifyClass(Interface, Document)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IVariated.IVariated>

        The _setVariationBaseCategoryList attribute was not provided.
        



FAIL: test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/Products/ERP5Type/tests/testXMLMatrix.py", line 342, in test_9999_SetCellRangeAndCatalogWithoutActivities
    self.checkSetCellRangeAndCatalog(active=0)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/Products/ERP5Type/tests/testXMLMatrix.py", line 213, in checkSetCellRangeAndCatalog
    matrix = order.newContent(id='1', portal_type='Purchase Order Line')
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 429, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    is_indexable=is_indexable
  File "/usr/lib/erp5/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/ERP5Type.py", line 273, in constructInstance
    ob = self._constructInstance(container, id, *args, **kw)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/TypesTool.py", line 571, in _constructInstance
    newid = m(id, *args, **kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Utils.py", line 407, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Base.py", line 226, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 857, in _setObject
    return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
  File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 431, in _setObject
    object.manage_afterAdd(object, self)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 389, in manage_afterAdd
    return Movement.manage_afterAdd(self, item, container)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/CopySupport.py", line 317, in manage_afterAdd
    self.reindexObject()
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 270, in reindexObject
    self.recursiveReindexObject(*k, **kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1166, in recursiveReindexObject
    serialization_tag=self.getRootDocumentPath(),
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1191, in recursiveImmediateReindexObject
    self.immediateReindexObject(**kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/Base.py", line 2802, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 828, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 701, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 832, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1265, in catalogObjectList
    idxs=idxs)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1380, in _catalogObjectList
    'uid of %r changed from %r to %r as old one is assigned to %s in catalog !!! This can be fatal. You should reindex the whole site immediately.' % (object, uid, object.uid, catalog_path))
  File "/usr/lib/erp5/lib/python/zLOG/__init__.py", line 134, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/tests/base/testcase.py", line 44, in log_write
    assert 0, "%s(%s): %s" % (subsystem, severity, summary)
AssertionError: SQLCatalog(200): uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1/1> changed from 110L to 79L as old one is assigned to /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1 in catalog !!! This can be fatal. You should reindex the whole site immediately.



More information about the Erp5-report mailing list