[Erp5-report] ERP5_z28 r28055: 2649 Tests, 16 Errors, 3 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jul 13 21:52:15 CEST 2009


Test Suite: ERP5_z28
Revision: 28055
Result: FAIL

All tests: 2649
Failures: 3
Errors: 16


The following tests failed:

  testMRP                                            (4 errors)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation)
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation)
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation)
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testPayroll_l10n_fr                                (1 failures)
   Check that is possible to calculate the total amount spend on a slice

  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)

  testOOoConversionCache                             (1 errors)
   test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
-------------- 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 373, 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_bc5f11ca24b87f01bc35facdbd8109a9/transformation_module/2> and the Business Process <BusinessProcess at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/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 401, 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 373, 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_bc5f11ca24b87f01bc35facdbd8109a9/transformation_module/3> and the Business Process <BusinessProcess at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/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 265, in test_TransformationRule_getHeadProductionPathList
    rule.getHeadProductionPathList(transformation, business_process))
AttributeError: getHeadProductionPathList



ERROR: test_TransformationSourcingRule_expand (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 479, in test_TransformationSourcingRule_expand
    if len(state.getRemainingTradePhaseList(self.portal)) == 0:
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/Document/BusinessState.py", line 173, in getRemainingTradePhaseList
    if not (path._getRelatedSimulationMovementValueList(explanation) and
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/Document/BusinessPath.py", line 236, in _getRelatedSimulationMovementValueList
    explanation_uid_list = self._getExplanationUidList(explanation)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/Document/BusinessPath.py", line 212, in _getExplanationUidList
    for ex in explanation.getCausalityRelatedValueList(
AttributeError: getCausalityRelatedValueList



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'))]



FAIL: Check that is possible to calculate the total amount spend on a slice
----------------------------------------------------------------------
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/testPayroll_l10n_fr.py", line 109, in test_01_getYearToDateSlice
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      SetCurrencyOnModel
      ModelCreateUrssafModelLineWithSlices
      UrssafModelLineWithSlicesCreateMovements
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
    > CheckYearToDateSliceAmount
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 80, in stepCheckYearToDateSliceAmount
    paysheet_list[1].PaySheetTransaction_getYearToDateSlice(\
AssertionError: 400 != 200.0



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 74, 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 74, 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 74, 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 74, 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 74, 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 74, 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 74, 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 74, 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 74, 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 74, 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 74, 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 227, 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 2803, 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 102L to 71L 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.



ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoConversionCache.py", line 155, in test_01_PersistentCacheConversion
    document.convert(format=format)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 414, in convert
    mime, data = self._convert(format)
  File "/home/buildbot/slave/parts/bot_livecd/full.ERP5_z28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 343, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



More information about the Erp5-report mailing list