[Erp5-report] ERP5 r32099: 3164 Tests, 23 Errors, 24 Failures, 19 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Jan 30 01:42:11 CET 2010
Test Suite: ERP5
Revision: 32099
Result: FAIL
All tests: 3164
Failures: 24
Errors: 23
Skips: 19
The following tests failed:
testCRM (1 failures)
test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)
testDeliveryBuilderToSupportMultipleLines (3 failures)
test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
testERP5Catalog (1 failures, 3 skips)
test_complex_query (testERP5Catalog.TestERP5Catalog)
testERP5Interfaces (17 errors)
test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Transformation_Transformation_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
testERP5Simulation (1 failures)
test_16a_ManuallyAddedMovementsManyTransactions (testERP5Simulation.TestERP5SimulationInvoice)
testERP5SimulationBPMEvaluation (5 errors)
test_starting (Products.ERP5.tests.testBPMEvaluation.TestPackingListDefaultProcess)
test_divergence_accept (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
test_divergence_accept_force (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
test_divergence_adopt (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
test_divergence_split (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
testERP5TypeInterfaces (1 errors)
test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
testERP5WebWithDms (1 failures)
test_06_Check_LastModified_Header (testERP5WebWithDms.TestERP5WebWithDms), Checks that Last-Modified header set by caching policy manager
testFormPrintoutAsODT (1 failures, 1 skips)
test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: cell format cetting
testICal (1 failures)
test_01_renderEvent (testICal.TestICal)
testOpenOrder (2 failures)
testOpenOrderRule (testOpenOrder.TestOpenOrder)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testPayroll_l10n_fr (1 failures)
test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice
testProxyField (1 failures)
testSkinSelectionTemplateField (testProxyField.TestProxyField)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testTemplate (2 failures)
test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
testTradeModelLine (2 failures)
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio
testTradeModelLinePurchase (2 failures)
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio
testXHTML (3 failures)
test_configurationOfFieldLibrary (testXHTML.TestXHTML)
test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
testXMLMatrix (1 failures)
test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
The following tests were at least partly skipped:
testBase (3 skips)
testMRP (4 skips)
testSQLCachedWorklist (1 skips)
testSelectionTool (7 skips)
-------------- next part --------------
FAIL: test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testCRM.py", line 452, in test_Base_getEntityListFromFromHeader
'%r should return %r, but returned %r' %
AssertionError: '"me at erp5.org,sender at customer.com," <he at erp5.org>' should return ['person_module/he'], but returned ['person_module/sender', 'person_module/he']
FAIL: test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 266, in test_02_AdoptingPrevision
self.assertEquals('solved', document.getCausalityState())
AssertionError: 'solved' != 'diverged'
FAIL: test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 298, in test_03_AcceptingDecision
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
self._step_list[self._played_index] \
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
SetReadyPackingList
Tic
UpdateBuilderForMultipleLineList
SetPythonScriptForDeliveryBuilder
StartPackingList
CheckInvoicingRule
Tic
GetRelatedInvoiceFromPackingList
UpdateInvoice
Tic
CheckInvoiceIsDivergent
AcceptDecisionInvoiceQuantity
Tic
> CheckInvoiceIsNotDivergent
CheckPackingListIsDivergent
AdoptPrevisionPackingListQuantity
Tic
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2304, in stepCheckInvoiceIsNotDivergent
self.fail(invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x6d2a290
'decision_value': []
'divergence_scope': 'category'
'prevision_value': ['organisation_module/8/bank']
'prevision_title': 'bank'
'mapping': {}
'object_relative_url': 'accounting_module/3/1/1'
'simulation_movement': <SimulationMovement at /erp5_portal_c7c340909daceaadc76e23f325317a72/portal_simulation/5/1/1/1>
'tested_property': 'destination_payment'
'decision_title': ''
'message': 'Destination Payment'>, <DivergenceMessage object at 0x89348c0
'decision_value': []
'divergence_scope': 'category'
'prevision_value': ['organisation_module/7/bank']
'prevision_title': 'bank'
'mapping': {}
'object_relative_url': 'accounting_module/3/1/1'
'simulation_movement': <SimulationMovement at /erp5_portal_c7c340909daceaadc76e23f325317a72/portal_simulation/5/1/1/1>
'tested_property': 'source_payment'
'decision_title': ''
'message': 'Source Payment'>]
FAIL: test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 358, in test_04_MergingMultipleSaleOrders
self.assertEquals('solved', document.getCausalityState())
AssertionError: 'solved' != 'diverged'
FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2323, in test_complex_query
self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3
ERROR: test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IAmountList.IAmountList>
ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 IAmountGenerator.IAmountGenerator>
The getGeneratedAmountList attribute was not provided.
ERROR: test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 IAmountGenerator.IAmountGenerator>
The getGeneratedAmountList attribute was not provided.
ERROR: test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 IAmountGenerator.IAmountGenerator>
The getGeneratedAmountList attribute was not provided.
ERROR: test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 IRule.IRule>
The updateMovementCollection attribute was not provided.
ERROR: test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 IRule.IRule>
The updateMovementCollection attribute was not provided.
ERROR: test_Products.ERP5Type.Document.Transformation_Transformation_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 IAmountGenerator.IAmountGenerator>
The getGeneratedAmountList attribute was not provided.
ERROR: test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 getVariationRangeCategoryItemList violates its contract
because implementation doesn't allow enough arguments.
FAIL: test_16a_ManuallyAddedMovementsManyTransactions (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2943, in test_16a_ManuallyAddedMovementsManyTransactions
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
self._step_list[self._played_index] \
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
Tic
CheckInvoiceBuilding
RebuildAndCheckNothingIsCreated
CheckInvoicesConsistency
AddInvoiceLinesManyTransactions
Tic
> CheckInvoiceIsSolved
StartInvoice
Tic
CheckSimulationTrees
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2287, in stepCheckInvoiceIsSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x9dfc8c0
'tested_property': 'resource'
'prevision_value': ['currency_module/EUR']
'mapping': {'property_name': 'resource'}
'object_relative_url': 'accounting_module/25/2'
'simulation_movement': <SimulationMovement at /erp5_portal_99149783a620b553467610cb3e8b7b12/portal_simulation/73/2>
'decision_value': ['apparel_model_module/54']
'message': 'The values of ${property_name} category are different between decision and prevision.'
'tester_relative_url': 'portal_rules/new_invoice_rule/15'>, <DivergenceMessage object at 0x99d0290
'tested_property': 'quantity'
'prevision_value': -3.0
'mapping': {'value': 0, 'property_name': 'quantity'}
'object_relative_url': 'accounting_module/25/2'
'simulation_movement': <SimulationMovement at /erp5_portal_99149783a620b553467610cb3e8b7b12/portal_simulation/73/2>
'decision_value': 3.0
'message': 'The difference of ${property_name} between decision and prevision is larger than ${value}.'
'tester_relative_url': 'portal_rules/new_invoice_rule/19'>, <DivergenceMessage object at 0x7566320
'tested_property': 'resource'
'prevision_value': ['currency_module/EUR']
'mapping': {'property_name': 'resource'}
'object_relative_url': 'accounting_module/25/2'
'simulation_movement': <SimulationMovement at /erp5_portal_99149783a620b553467610cb3e8b7b12/portal_simulation/73/1>
'decision_value': ['apparel_model_module/54']
'message': 'The values of ${property_name} category are different between decision and prevision.'
'tester_relative_url': 'portal_rules/new_invoice_rule/15'>]
ERROR: test_starting (Products.ERP5.tests.testBPMEvaluation.TestPackingListDefaultProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 617, in test_starting
self.stepTic()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1019, in stepTic
self.tic()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_382916a151f5c2df7a51915b8ccf9ae4/portal_deliveries/sale_invoice_transaction_trade_model_builder', 'build', -1, 1), ('/erp5_portal_382916a151f5c2df7a51915b8ccf9ae4/accounting_module/1', 'updateCausalityState', -1, 1), ('/erp5_portal_382916a151f5c2df7a51915b8ccf9ae4/accounting_module/1', 'expand', -2, 6), ('/erp5_portal_382916a151f5c2df7a51915b8ccf9ae4/accounting_module/1', 'expand', -2, 6)]
Last error message:
ValueError
It is not possible to match movements without divergence testers
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 293, in __call__
Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
Module Products.ERP5.Document.Delivery, line 790, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 69, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 105, in unrestricted_apply
Module Products.ERP5Type.Document.AppliedRule, line 115, in expand
Module Products.ERP5.mixin.rule, line 114, in expand
Module Products.ERP5.mixin.movement_collection_updater, line 176, in updateMovementCollection
Module Products.ERP5.mixin.movement_collection_updater, line 76, in getMovementCollectionDiff
ValueError: It is not possible to match movements without divergence testers
ERROR: test_divergence_accept (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 762, in afterSetUp
self.assertEqual('quantity', self.divergence.divergence_scope)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ObjectMessage.py", line 78, in __getattr__
obj = self.getObject()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ObjectMessage.py", line 89, in getObject
request = get_request()['PARENTS']
File "/usr/lib/erp5/lib/python/ZPublisher/HTTPRequest.py", line 1213, in __getitem__
raise KeyError, key
KeyError: 'PARENTS'
ERROR: test_divergence_accept_force (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 716, in afterSetUp
TestBPMEvaluationMixin.afterSetUp(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 64, in afterSetUp
TestBPMMixin.afterSetUp(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 208, in afterSetUp
self.createInvoiceTransactionRule()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 138, in createInvoiceTransactionRule
version=100)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 408, in _setObject
v=self._checkId(id)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 878, in _checkId
return CMFBTreeFolder._checkId(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/Products/CMFCore/CMFBTreeFolder.py", line 65, in _checkId
PortalFolderBase._checkId(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/Products/CMFCore/PortalFolder.py", line 426, in _checkId
PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 84, in checkValidId
raise BadRequest, (
BadRequest: The id "test_invoice_transaction_rule" is invalid - it is already in use.
ERROR: test_divergence_adopt (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 716, in afterSetUp
TestBPMEvaluationMixin.afterSetUp(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 64, in afterSetUp
TestBPMMixin.afterSetUp(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 208, in afterSetUp
self.createInvoiceTransactionRule()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 138, in createInvoiceTransactionRule
version=100)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 408, in _setObject
v=self._checkId(id)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 878, in _checkId
return CMFBTreeFolder._checkId(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/Products/CMFCore/CMFBTreeFolder.py", line 65, in _checkId
PortalFolderBase._checkId(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/Products/CMFCore/PortalFolder.py", line 426, in _checkId
PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 84, in checkValidId
raise BadRequest, (
BadRequest: The id "test_invoice_transaction_rule" is invalid - it is already in use.
ERROR: test_divergence_split (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 716, in afterSetUp
TestBPMEvaluationMixin.afterSetUp(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 64, in afterSetUp
TestBPMMixin.afterSetUp(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 208, in afterSetUp
self.createInvoiceTransactionRule()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 138, in createInvoiceTransactionRule
version=100)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 408, in _setObject
v=self._checkId(id)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 878, in _checkId
return CMFBTreeFolder._checkId(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/Products/CMFCore/CMFBTreeFolder.py", line 65, in _checkId
PortalFolderBase._checkId(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/Products/CMFCore/PortalFolder.py", line 426, in _checkId
PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 84, in checkValidId
raise BadRequest, (
BadRequest: The id "test_invoice_transaction_rule" is invalid - it is already in use.
ERROR: test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
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 Products.ERP5Type.interfaces.consistency_message.IConsistencyMessage>
The fix attribute was not provided.
FAIL: test_06_Check_LastModified_Header (testERP5WebWithDms.TestERP5WebWithDms), Checks that Last-Modified header set by caching policy manager
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5WebWithDms.py", line 415, in test_06_Check_LastModified_Header
self.assertEqual(modification_date, last_modified_header)
AssertionError: 'Sat, 30 Jan 2010 00:32:40 GMT' != 'Sat, 30 Jan 2010 00:32:41 GMT'
FAIL: test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: cell format cetting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 624, in test_02_Table_07_CellFormat
self.assertEqual(date_column.attrib[date_value_attrib], '2009-04-20')
AssertionError: '2009-04-19' != '2009-04-20'
FAIL: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testICal.py", line 151, in test_01_renderEvent
self.assertEquals( # if this fail for you, try to set $TZ to Europe/Paris
AssertionError: '20070815T143000Z' != '20070815T083000Z'
FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 303, in testOpenOrderRule
[(DateTime(3000,2,10,10,0), DateTime(3000,2,11,10,0)),
AssertionError: [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 US/Eastern'), DateTime('3000/03/11 10:00:00 US/Eastern'))] != [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 GMT-4'), DateTime('3000/03/11 10:00:00 GMT-4'))]
FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 185, in testPeriodicityDateList
[(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]
FAIL: test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 118, in test_01_getYearToDateSlice
sequence_list.play(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
self._step_list[self._played_index] \
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/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 89, in stepCheckYearToDateSliceAmount
paysheet_list[1].PaySheetTransaction_getYearToDateSlice(\
AssertionError: 400 != 0.0
FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Form/tests/testProxyField.py", line 189, in testSkinSelectionTemplateField
self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'
FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}
FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
self._testTemplateNotIndexable(document)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1
FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2
FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2104, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
self._step_list[self._played_index] \
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
GetInvoiceLineDiscounted
GetInvoiceLineDiscountedTaxed
GetInvoiceLineTaxed
ModifyQuantityInvoiceLineDiscounted
ModifyQuantityInvoiceLineDiscountedTaxed
ModifyQuantityInvoiceLineTaxed
Tic
CheckInvoiceCausalityStateDiverged
AcceptDecisionQuantityInvoice
Tic
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x9e99b48
'decision_value': 1.9999999999999998
'divergence_scope': 'quantity'
'prevision_value': 5.0
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/3/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '1.9999999999999998'
'message': 'Quantity'>, <DivergenceMessage object at 0x6183050
'decision_value': -0.60000000000000009
'divergence_scope': 'quantity'
'prevision_value': -1.5
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '-0.60000000000000009'
'message': 'Quantity'>, <DivergenceMessage object at 0x7e16710
'decision_value': 28.5
'divergence_scope': 'quantity'
'prevision_value': 71.25
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '28.5'
'message': 'Quantity'>, <DivergenceMessage object at 0x67f3ef0
'decision_value': 12.0
'divergence_scope': 'quantity'
'prevision_value': 30.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '12.0'
'message': 'Quantity'>, <DivergenceMessage object at 0x82121b8
'decision_value': 30.0
'divergence_scope': 'quantity'
'prevision_value': 75.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '30.0'
'message': 'Quantity'>]
FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2185, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
self._step_list[self._played_index] \
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
DecreasePackingListLineListQuantity
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
CheckPackingListDiverged
SplitAndDeferPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetNewPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
SetNewPackingListAsPackingList
PackPackingList
Tic
StartPackingList
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x9e4ec20
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/1/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>, <DivergenceMessage object at 0x9079dd0
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/2/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>]
FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2104, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
self._step_list[self._played_index] \
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
GetInvoiceLineDiscounted
GetInvoiceLineDiscountedTaxed
GetInvoiceLineTaxed
ModifyQuantityInvoiceLineDiscounted
ModifyQuantityInvoiceLineDiscountedTaxed
ModifyQuantityInvoiceLineTaxed
Tic
CheckInvoiceCausalityStateDiverged
AcceptDecisionQuantityInvoice
Tic
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x65bdfc8
'decision_value': 1.9999999999999998
'divergence_scope': 'quantity'
'prevision_value': 5.0
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/3/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '1.9999999999999998'
'message': 'Quantity'>, <DivergenceMessage object at 0x66c9290
'decision_value': -0.60000000000000009
'divergence_scope': 'quantity'
'prevision_value': -1.5
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/2/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '-0.60000000000000009'
'message': 'Quantity'>, <DivergenceMessage object at 0x54bce60
'decision_value': 28.5
'divergence_scope': 'quantity'
'prevision_value': 71.25
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/1/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '28.5'
'message': 'Quantity'>, <DivergenceMessage object at 0x424af80
'decision_value': 12.0
'divergence_scope': 'quantity'
'prevision_value': 30.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/2/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '12.0'
'message': 'Quantity'>, <DivergenceMessage object at 0x6127c68
'decision_value': 30.0
'divergence_scope': 'quantity'
'prevision_value': 75.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/1/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '30.0'
'message': 'Quantity'>]
FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2185, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
self._step_list[self._played_index] \
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
DecreasePackingListLineListQuantity
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
CheckPackingListDiverged
SplitAndDeferPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetNewPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
SetNewPackingListAsPackingList
PackPackingList
Tic
StartPackingList
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x9f7d128
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/21/2/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>, <DivergenceMessage object at 0x94263f8
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/21/1/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>]
FAIL: test_configurationOfFieldLibrary (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 186, in test_configurationOfFieldLibrary
self.fail(message) # uncomment above for details on each field
AssertionError: 5409 fields to modify
FAIL: test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 406, in testMethod
bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 519 column 43 : there is no attribute "class"
Error: line 519 column 63 : there is no attribute "style"
Error: line 519 column 105 : there is no attribute "src"
Error: line 519 column 222 : there is no attribute "onload"
Error: line 519 column 244 : element "iframe" undefined
FAIL: test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 406, in testMethod
bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 519 column 43 : there is no attribute "class"
Error: line 519 column 63 : there is no attribute "style"
Error: line 519 column 105 : there is no attribute "src"
Error: line 519 column 222 : there is no attribute "onload"
Error: line 519 column 244 : element "iframe" undefined
FAIL: test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/Products/ERP5Type/tests/testXMLMatrix.py", line 341, in test_9999_SetCellRangeAndCatalogWithoutActivities
self.checkSetCellRangeAndCatalog(active=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/Products/ERP5Type/tests/testXMLMatrix.py", line 219, in checkSetCellRangeAndCatalog
cell = matrix.newCell(portal_type="Purchase Order Cell",
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 229, in newCell
return XMLMatrix.newCell(self, *kw, **kwd)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/XMLMatrix.py", line 509, in newCell
return self.newCellContent(cell_id,**kwd)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/XMLMatrix.py", line 523, in newCellContent
return self.newContent(id=id, portal_type=portal_type, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 205, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, 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/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/CopySupport.py", line 318, in manage_afterAdd
self.reindexObject()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/OrderCell.py", line 72, in reindexObject
self.recursiveReindexObject(*k,**kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1197, in recursiveReindexObject
serialization_tag=self.getRootDocumentPath(),
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1222, in recursiveImmediateReindexObject
self.immediateReindexObject(**kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 2885, in immediateReindexObject
PortalContent.reindexObject(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
catalog.reindexObject(self, idxs=idxs, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 770, in reindexObject
self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 702, in catalog_object
self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 832, in catalogObjectList
catalog.catalogObjectList(wrapped_object_list, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1253, in catalogObjectList
idxs=idxs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1359, in _catalogObjectList
'uid of %r changed from %r to %r as old one is assigned'
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/zLOG/EventLogger.py", line 57, in log_write
logger.log(level, msg, exc_info=(error is not None))
File "/usr/lib64/python2.4/logging/__init__.py", line 1040, in log
apply(self._log, (level, msg, args), kwargs)
File "/usr/lib64/python2.4/logging/__init__.py", line 1079, in _log
self.handle(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 1089, in handle
self.callHandlers(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 1126, in callHandlers
hdlr.handle(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 638, in handle
rv = self.filter(record)
File "/usr/lib64/python2.4/logging/__init__.py", line 539, in filter
if not f.filter(record):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/utils.py", line 322, in filter
raise AssertionError("%s(%s): %s" %
AssertionError: SQLCatalog(ERROR): uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/3/1/quantity_0_0> changed from 514L to 514L as old one is assigned to /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/3/1 in catalog !!! This can be fatal.
More information about the Erp5-report
mailing list