[Erp5-report] ERP5 r42329 : 4530 Tests, 6 Errors, 7 Failures, 237 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 14 14:40:48 CET 2011


Test Suite: ERP5
Revision: 42329
Result: FAIL

All tests: 4530
Failures: 7
Errors: 6
Skips: 237


The following tests have an unknown status:
extra_sql_connection_string_list='test3a test,test3b test' Products/ERP5Type/tests/runUnitTest.py --verbose '--erp5_sql_connection_string=test3 test' --instance_home=unit_test.3 testPreferences

The following tests failed:

  testAccounting                                     (3 errors)
   test_GroupingReferenceResetedOnCopyPaste (testAccounting.TestTransactions)
   test_Base_doAction (testAccounting.TestAccountingTransactionTemplate)
   test_Template (testAccounting.TestAccountingTransactionTemplate)

  testLegacyAccounting                               (3 errors)
   test_GroupingReferenceResetedOnCopyPaste (Products.ERP5.tests.testAccounting.TestTransactions)
   test_Base_doAction (Products.ERP5.tests.testAccounting.TestAccountingTransactionTemplate)
   test_Template (Products.ERP5.tests.testAccounting.TestAccountingTransactionTemplate)

  testLegacyTradeModelLine                           (2 failures)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testPayroll                                        (2 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
   test_updatePaysheetAfterModelModification (testPayroll.TestPayroll), generate a paysheet using a model, modify the model by adding a new

  testTemplateTool                                   (1 failures)
   testUpdateBT5FromRepository (testTemplateTool.TestTemplateTool), Test the list of bt5 returned for upgrade

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

The following tests were at least partly skipped:

  testAccountingRules                                (26 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMCore                                        (12 skips)

  testBPMEvaluation                                  (40 skips)
   done (7.269s)test_confirming (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_confirming (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'

  testBase                                           (3 skips)
   test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (3 skips)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDivergenceTester                               (5 skips)

  testDms                                            (3 skips)

  testDmsWithFlare                                   (3 skips)

  testDynamicClassGeneration                         (1 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

  testFormPrintoutAsODT                              (1 skips)
   test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

  testLegacyMRP                                      (4 skips)
   test_TransformationRule_expand_concurrent (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

  testMRP                                            (5 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testOpenOrder                                      (2 skips)

  testOrderBuilder                                   (4 skips)

  testPackingList                                    (16 skips)

  testPackingListRoundingPrecision                   (8 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (1 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testTaskReportDivergence                           (4 skips)

  testTemplate                                       (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 2478 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110114/4fa0c371/attachment-0001.diff>
-------------- next part --------------

ERROR: test_GroupingReferenceResetedOnCopyPaste (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2817, in test_GroupingReferenceResetedOnCopyPaste
    copy_id = accounting_module.manage_pasteObjects(cp)[0]['new_id']
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 319, in manage_afterClone
    script()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in AccountingTransaction_afterClone
AttributeError: calculateCausalityState


ERROR: test_Base_doAction (testAccounting.TestAccountingTransactionTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4463, in test_Base_doAction
    document.Base_makeTemplateFromDocument(form_id=None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 26, in Base_makeTemplateFromDocument
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 319, in manage_afterClone
    script()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in AccountingTransaction_afterClone
AttributeError: calculateCausalityState


ERROR: test_Template (testAccounting.TestAccountingTransactionTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4418, in test_Template
    document.Base_makeTemplateFromDocument(form_id=None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 26, in Base_makeTemplateFromDocument
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 319, in manage_afterClone
    script()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in AccountingTransaction_afterClone
AttributeError: calculateCausalityState


ERROR: test_GroupingReferenceResetedOnCopyPaste (Products.ERP5.tests.testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 2817, in test_GroupingReferenceResetedOnCopyPaste
    copy_id = accounting_module.manage_pasteObjects(cp)[0]['new_id']
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 319, in manage_afterClone
    script()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in AccountingTransaction_afterClone
AttributeError: calculateCausalityState


ERROR: test_Base_doAction (Products.ERP5.tests.testAccounting.TestAccountingTransactionTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4463, in test_Base_doAction
    document.Base_makeTemplateFromDocument(form_id=None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 26, in Base_makeTemplateFromDocument
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 319, in manage_afterClone
    script()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in AccountingTransaction_afterClone
AttributeError: calculateCausalityState


ERROR: test_Template (Products.ERP5.tests.testAccounting.TestAccountingTransactionTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testAccounting.py", line 4418, in test_Template
    document.Base_makeTemplateFromDocument(form_id=None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 26, in Base_makeTemplateFromDocument
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 593, in manage_pasteObjects
    ob.manage_afterClone(ob)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/CopySupport.py", line 319, in manage_afterClone
    script()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1274, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 11, in AccountingTransaction_afterClone
AttributeError: calculateCausalityState


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testPayroll.py", line 2246, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/Sequence.py", line 115, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateBasicModel
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckSourceSectionOnMovements
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testPayroll.py", line 1060, in stepCheckSourceSectionOnMovements
    self.assertEquals(paysheet_line.getSourceSectionValue(), urssaf_roubaix)
AssertionError: <Person at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/person_module/22> != <Organisation at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/organisation_module/43>


FAIL: test_updatePaysheetAfterModelModification (testPayroll.TestPayroll), generate a paysheet using a model, modify the model by adding a new
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testPayroll.py", line 3432, in test_updatePaysheetAfterModelModification
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/Sequence.py", line 115, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturn
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreated
      CheckPaysheetLineAmounts
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmounts
      ModelCreateUrssafModelLineWithSlices
      Tic
      UrssafModelLineWithSlicesCreateMovements
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckPaysheetLineAreCreatedAfterUpdateWithLinesWithSameResource
      CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testPayroll.py", line 744, in stepCheckPaysheetLineAreCreatedAfterUpdateWithLinesWithSameResource
    self.assertEqual(len(paysheet_line_list), 9)
AssertionError: 7 != 9

Loading Zope ... 

FAIL: testUpdateBT5FromRepository (testTemplateTool.TestTemplateTool), Test the list of bt5 returned for upgrade
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5/tests/testTemplateTool.py", line 64, in testUpdateBT5FromRepository
    self.assertEqual(len(self.templates_tool.getRepositoryBusinessTemplateList(update_only=True)), 1)
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


More information about the Erp5-report mailing list