[Erp5-report] ERP5_z212 r45352 : 4610 Tests, 23 Errors, 34 Failures, 189 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 13 13:10:13 CEST 2011


Test Suite: ERP5_z212
Revision: None
Result: FAIL

All tests: 4610
Failures: 34
Errors: 23
Skips: 189



The following tests failed:

  testBusinessTemplate                               (1 errors, 2 skips)
   test_BusinessTemplateWithTest (testBusinessTemplate.TestBusinessTemplate)

  testDms                                            (3 failures, 1 skips)
   test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
   test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
   test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)

  testDmsWithFlare                                   (3 failures, 1 skips)
   test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
   test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
   test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)

  testERP5Core                                       (1 failures)
   test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.

  testERP5DocumentSyncML                             (1 failures, 2 errors)
   test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5eGov                                       (4 errors)
   test_01_new_procedure_creation (testERP5eGov.TestEgov)
   test_02_application_creation (testERP5eGov.TestEgov)
   test_03_submit_application (testERP5eGov.TestEgov)
   test_05_process_application (testERP5eGov.TestEgov)

  testEditorField                                    (8 failures)
   test_EditSimpleEmailEventFCKEditorHTML (testEditorField.TestEditorField)
   test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)
   test_EditWebPageFCKEditorHTML (testEditorField.TestEditorField)
   test_EditWebPageFCKEditorText (testEditorField.TestEditorField)
   test_EditWebPageTextAreaHTML (testEditorField.TestEditorField)
   test_EditWebPageTextAreaText (testEditorField.TestEditorField)

  testIngestion                                      (1 failures, 4 skips)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet

  testIngestionWithFlare                             (1 failures, 4 skips)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet

  testLegacyProjectAndTask                           (1 failures, 1 skips)
   testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)

  testLegacyTradeModelLine                           (2 failures, 12 errors)
   test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase6 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
   test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
   test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
   test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
   test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
   test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
   test_usecase6 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testMaxmaDemoConfigurationWorkflow                 (1 failures)
   test_maxma_demo_workflow (testMaxmaDemoConfigurationWorkflow.TestMaxmaDemoConfiguratorWorkflow), Test the consulting workflow configuration

  testPayroll                                        (1 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)

  testTradeModelLine                                 (5 failures, 2 errors)
   test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLine.TestTradeModelLineSale)
   test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLine.TestTradeModelLineSale)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case
   test_01a_InvoiceNewTradeConditionOrLineSupport (testTradeModelLine.TestTradeModelLineSale)
   test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency (testTradeModelLine.TestTradeModelLineSale)
   test_01c_PackingListSplitBuildInvoiceBuild (testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (5 failures, 2 errors)
   test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case
   test_01a_InvoiceNewTradeConditionOrLineSupport (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_01c_PackingListSplitBuildInvoiceBuild (testTradeModelLinePurchase.TestTradeModelLinePurchase)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testXHTML                                          (1 failures)
   test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMEvaluation                                  (40 skips)
   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                               (2 skips)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (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)

  testKM                                             (3 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                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (2 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
   test_04_dynamic_variables (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                           (1 skips)

  testTemplate                                       (1 skips)

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

ERROR: test_BusinessTemplateWithTest (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testBusinessTemplate.py", line 6784, in test_BusinessTemplateWithTest
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
    > CreateTest
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddTestToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveTest
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckTestExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckTestRemoved
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 81, in play
    method = getattr(context,method_name)
AttributeError: 'TestBusinessTemplate' object has no attribute 'stepCreateTest'


FAIL: test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testDms.py", line 1439, in test_HTML_to_ODT_conversion_keep_enconding
    self.assertTrue(string_to_test in text_content)
AssertionError


FAIL: test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testDms.py", line 1478, in test_HTML_to_ODT_conversion_keep_related_image_list
    image.getData(), failure_message)
AssertionError: Expected image not found in ODF zipped archive


FAIL: test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testDms.py", line 2261, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


FAIL: test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1439, in test_HTML_to_ODT_conversion_keep_enconding
    self.assertTrue(string_to_test in text_content)
AssertionError


FAIL: test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1478, in test_HTML_to_ODT_conversion_keep_related_image_list
    image.getData(), failure_message)
AssertionError: Expected image not found in ODF zipped archive


FAIL: test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 2261, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testERP5Core.py", line 305, in test_view_tools
    str(response)))
AssertionError: portal_categories: 503 (Status: 200 OK
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Content-Length: 163
Content-Type: text/html; charset=utf-8

KeyError('erp5_ui',) (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: erp5_ui))


ERROR: test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 639, in test_03_UpdateSimpleData
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2', 'Document_tryToUpdateBaseMetadata', -2, 1)]
Last error message:
UnsupportedWorkflowMethod
Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>. Current state is 'empty'.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1309, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 27, in Document_tryToUpdateBaseMetadata
   - <PythonScript at /erp5_portal_f5e135ab1569571772452b9867b308c0/Document_tryToUpdateBaseMetadata used for /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>
   - Line 27
  Module Products.ERP5Type.Base, line 220, in __call__
UnsupportedWorkflowMethod: Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>. Current state is 'empty'.



ERROR: test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 701, in test_06_UpdateMultiData
    self.synchronize(self.sub_id1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 358, in synchronize
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7', 'Document_tryToUpdateBaseMetadata', -2, 1)]
Last error message:
UnsupportedWorkflowMethod
Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>. Current state is 'empty'.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1309, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 27, in Document_tryToUpdateBaseMetadata
   - <PythonScript at /erp5_portal_f5e135ab1569571772452b9867b308c0/Document_tryToUpdateBaseMetadata used for /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>
   - Line 27
  Module Products.ERP5Type.Base, line 220, in __call__
UnsupportedWorkflowMethod: Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>. Current state is 'empty'.



FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 850, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 9)
AssertionError: 10 != 9


ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 267, in test_01_new_procedure_creation
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


ERROR: test_02_application_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 286, in test_02_application_creation
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


ERROR: test_03_submit_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 311, in test_03_submit_application
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


ERROR: test_05_process_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 344, in test_05_process_application
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


FAIL: test_EditSimpleEmailEventFCKEditorHTML (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 219, in test_EditSimpleEmailEventFCKEditorHTML
    self.assertTrue(self._isReadOnlyEditor(html_text, event))
AssertionError


FAIL: test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 250, in test_EditSimpleEmailEventFCKEditorText
    self.assertTrue(self._isReadOnlyEditor(html_text, event))
AssertionError


FAIL: test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 281, in test_EditSimpleEmailEventTextAreaHTML
    self.assertTrue(self._isReadOnlyEditor(html_text, event))
AssertionError


FAIL: test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 309, in test_EditSimpleEmailEventTextAreaText
    self.assertTrue(self._isReadOnlyEditor(html_text, event))
AssertionError


FAIL: test_EditWebPageFCKEditorHTML (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 331, in test_EditWebPageFCKEditorHTML
    self.assertTrue(self._isReadOnlyEditor(html_text, page))
AssertionError


FAIL: test_EditWebPageFCKEditorText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 353, in test_EditWebPageFCKEditorText
    self.assertTrue(self._isReadOnlyEditor(html_text, page))
AssertionError


FAIL: test_EditWebPageTextAreaHTML (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 375, in test_EditWebPageTextAreaHTML
    self.assertTrue(self._isReadOnlyEditor(html_text, page))
AssertionError


FAIL: test_EditWebPageTextAreaText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testEditorField.py", line 397, in test_EditWebPageTextAreaText
    self.assertTrue(self._isReadOnlyEditor(html_text, page))
AssertionError


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTaskReporting.py", line 222, in testProjectMontlyReport
    self.assertEquals(3, len(data_line_list))
AssertionError: 3 != 1


ERROR: test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 100, in afterSetUp
    self.createBusinessProcess(), (
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 47, in wrapper
    result = function(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 131, in createBusinessProcess
    if self.business_link_portal_type is not None:
AttributeError: 'TestComplexTradeModelLineUseCaseSale' object has no attribute 'business_link_portal_type'


ERROR: test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase6 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 100, in afterSetUp
    self.createBusinessProcess(), (
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 47, in wrapper
    result = function(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 131, in createBusinessProcess
    if self.business_link_portal_type is not None:
AttributeError: 'TestComplexTradeModelLineUseCasePurchase' object has no attribute 'business_link_portal_type'


ERROR: test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


ERROR: test_usecase6 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 848, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 66, in afterSetUp
    super(TestComplexTradeModelLineUseCase, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 95, in afterSetUp
    return super(TestTradeModelLineMixin, self).afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 209, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Legacy/tests/testLegacyBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 393, in constructInstance
    container._setObject(id, ob)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 890, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 884, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Products.CMFCore-2.2.3-py2.6.egg/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "test_invoice_transaction_simulation_rule" is invalid - it is already in use.


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1184, 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/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1184, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_maxma_demo_workflow (testMaxmaDemoConfigurationWorkflow.TestMaxmaDemoConfiguratorWorkflow), Test the consulting workflow configuration
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 239, in test_maxma_demo_workflow
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateBusinessConfiguration
      Tic
      SetMaxmaDemoWorkflow
      Tic
      ConfiguratorNext
      Tic
      CheckBT5ConfiguratorItem
      CheckConfigureInstallationForm
      SetupInstallConfiguration
      ConfiguratorNext
      Tic
      CheckInstallConfiguration
      StartConfigurationInstallation
      Tic
      CheckInstanceIsConfiguredFrance
      CheckMaxmaDemoSampleObjectList
      Tic
      ViewAddGadget
      ViewEventModule
      AddEvent
      SentEventWorkflow
      ViewAccountModule
      AddAccountModule
      ViewAccount
      CopyPasteAccount
      ViewEntityModules
      AddEntityModules
      CopyAndPastePerson
      CopyAndPasteOrganisation
      EntityWorkflow
    > ViewCreatedPersons
      ViewCreatedOrganisations
      ViewCreatedAssignemnts
      AddAccoutingPeriod
      ValidatedAccountingPeriods
      ViewBankAccount
      ViewCreditCard
      ValidateAndModifyBankAccount
      ValidateAndModifyCreditCard
      AddPaymentNodeInPerson
      AddPaymentNodeInOrganisation
      CopyAndPasteBankAccountInPerson
      CopyAndPasteBankAccountInOrganisation
      ViewAccountingTransactionModule
      AddAccountingTransactionModule
      CopyAndPasteAccountingTransactions
      Tic
      AccountingTransaction
      Tic
      SaleInvoiceTransaction
      Tic
      PurchaseInvoiceTransaction
      Tic
      PaymentTransaction
      Tic
      BalanceTransaction
      Tic
      AccountingTransaction_getCausalityGroupedAccountingTransactionList
      AddAssignments
      AssignmentTI
      EditAssignments
      ViewAcessAddPurchaseTradeCondition
      ViewAccessAddSaleTradeCondition
      ViewAccessAddSaleOrder
      ViewAccessAddSalePackingList
      ViewAccessPurchaseOrder
      PurchasePackingList
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 111, in stepViewCreatedPersons
    self.failUnlessUserCanAccessDocument(username, entity)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/SecurityTestCase.py", line 83, in __call__
    ', '.join(groups)))
AssertionError: User demo does NOT have Access contents information permission on Person <Shared.DC.ZRDB.Results.r object at 0x25f8d350> (user roles: [Member, Authenticated], roles needed: [Assignee, Assignor, Associate, Auditor, Author, Manager, Owner], existing local roles:
(('my_group', ('Assignor', 'Assignee', 'Author', 'Auditor', 'Associate')),
 ('test_configurator_user', ('Owner',)))
your user groups: [SALE-AGNT, my_group])


FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testPayroll.py", line 2157, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    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/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testPayroll.py", line 975, in stepCheckSourceSectionOnMovements
    self.assertEquals(cell1.getSourceSectionValue(), urssaf_roubaix)
AssertionError: <Person at /erp5_portal_fd6f7feb2a645fcd5749c76eaf40962f/person_module/22> != <Organisation at /erp5_portal_fd6f7feb2a645fcd5749c76eaf40962f/organisation_module/43>


ERROR: test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 1004, in test_BuildTradeModelLineAndAccountingFromInvoice
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_154b14a3788c49fd9f394a889b8b4379/portal_deliveries/sale_invoice_transaction_trade_model_builder', 'build', -1, 0), ('/erp5_portal_154b14a3788c49fd9f394a889b8b4379/accounting_module/3', 'updateCausalityState', -1, 0), ('/erp5_portal_154b14a3788c49fd9f394a889b8b4379/accounting_module/3', 'expand', -2, 1)]
Last error message:
SimulationError
No Business Link Causality for <Simulation Movement at /erp5_portal_154b14a3788c49fd9f394a889b8b4379/portal_simulation/4/1/2/1>. Cannot enumerate successor trade_phases.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 357, in expand
  Module Products.ERP5.Document.SimulationMovement, line 325, in _getApplicableRuleList
  Module Products.ERP5.Document.SimulationMovement, line 307, in _getSuccessorTradePhaseList
SimulationError: No Business Link Causality for <Simulation Movement at /erp5_portal_154b14a3788c49fd9f394a889b8b4379/portal_simulation/4/1/2/1>. Cannot enumerate successor trade_phases.



ERROR: test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 913, in test_BuildTradeModelLineAndAccountingFromOrder
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_154b14a3788c49fd9f394a889b8b4379/portal_deliveries/sale_packing_list_builder', 'build', -1, 0), ('/erp5_portal_154b14a3788c49fd9f394a889b8b4379/sale_order_module/6', 'expand', -2, 1)]
Last error message:
SimulationError
No Business Link Causality for <Simulation Movement at /erp5_portal_154b14a3788c49fd9f394a889b8b4379/portal_simulation/5/1/1/1/1/1/2/1>. Cannot enumerate successor trade_phases.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 357, in expand
  Module Products.ERP5.Document.SimulationMovement, line 325, in _getApplicableRuleList
  Module Products.ERP5.Document.SimulationMovement, line 307, in _getSuccessorTradePhaseList
SimulationError: No Business Link Causality for <Simulation Movement at /erp5_portal_154b14a3788c49fd9f394a889b8b4379/portal_simulation/5/1/1/1/1/1/2/1>. Cannot enumerate successor trade_phases.



FAIL: test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 547, in test_01_OrderWithSimpleTaxedAndDiscountedLines
    "Trade Model Line": 2})
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 369, in checkComposition
    self.assertEqual(n, len(composed.objectValues(portal_type=portal_type)))
AssertionError: 5 != 7


FAIL: test_01a_InvoiceNewTradeConditionOrLineSupport (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 599, in test_01a_InvoiceNewTradeConditionOrLineSupport
    invoice = self.test_01_OrderWithSimpleTaxedAndDiscountedLines('invoice')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 596, in test_01_OrderWithSimpleTaxedAndDiscountedLines
    return self.processPackingListBuildInvoice(packing_list, build)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 324, in processPackingListBuildInvoice
    self.assertEqual(5, len(invoice))
AssertionError: 5 != 3


FAIL: test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 654, in test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency
    invoice = self.test_01_OrderWithSimpleTaxedAndDiscountedLines('invoice')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 596, in test_01_OrderWithSimpleTaxedAndDiscountedLines
    return self.processPackingListBuildInvoice(packing_list, build)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 324, in processPackingListBuildInvoice
    self.assertEqual(5, len(invoice))
AssertionError: 5 != 3


FAIL: test_01c_PackingListSplitBuildInvoiceBuild (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 681, in test_01c_PackingListSplitBuildInvoiceBuild
    self.checkTradeModelRuleSimulationExpand(order)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 406, in checkTradeModelRuleSimulationExpand
    self.assertEqual(2, len(sm.getCausalityValueList()))
AssertionError: 2 != 3


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


ERROR: test_BuildTradeModelLineAndAccountingFromInvoice (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 1004, in test_BuildTradeModelLineAndAccountingFromInvoice
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/portal_deliveries/purchase_invoice_transaction_trade_model_builder', 'build', -1, 0), ('/erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/accounting_module/3', 'updateCausalityState', -1, 0), ('/erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/accounting_module/3', 'expand', -2, 1)]
Last error message:
SimulationError
No Business Link Causality for <Simulation Movement at /erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/portal_simulation/4/1/2/1>. Cannot enumerate successor trade_phases.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 357, in expand
  Module Products.ERP5.Document.SimulationMovement, line 325, in _getApplicableRuleList
  Module Products.ERP5.Document.SimulationMovement, line 307, in _getSuccessorTradePhaseList
SimulationError: No Business Link Causality for <Simulation Movement at /erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/portal_simulation/4/1/2/1>. Cannot enumerate successor trade_phases.



ERROR: test_BuildTradeModelLineAndAccountingFromOrder (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 913, in test_BuildTradeModelLineAndAccountingFromOrder
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/portal_deliveries/purchase_packing_list_builder', 'build', -1, 0), ('/erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/purchase_order_module/6', 'expand', -2, 1)]
Last error message:
SimulationError
No Business Link Causality for <Simulation Movement at /erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/portal_simulation/5/1/1/1/1/1/2/1>. Cannot enumerate successor trade_phases.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 788, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 379, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 357, in expand
  Module Products.ERP5.Document.SimulationMovement, line 325, in _getApplicableRuleList
  Module Products.ERP5.Document.SimulationMovement, line 307, in _getSuccessorTradePhaseList
SimulationError: No Business Link Causality for <Simulation Movement at /erp5_portal_95a726ad9baba2c9641ef54e9d02ef76/portal_simulation/5/1/1/1/1/1/2/1>. Cannot enumerate successor trade_phases.



FAIL: test_01_OrderWithSimpleTaxedAndDiscountedLines (testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 547, in test_01_OrderWithSimpleTaxedAndDiscountedLines
    "Trade Model Line": 2})
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 369, in checkComposition
    self.assertEqual(n, len(composed.objectValues(portal_type=portal_type)))
AssertionError: 5 != 7


FAIL: test_01a_InvoiceNewTradeConditionOrLineSupport (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 599, in test_01a_InvoiceNewTradeConditionOrLineSupport
    invoice = self.test_01_OrderWithSimpleTaxedAndDiscountedLines('invoice')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 596, in test_01_OrderWithSimpleTaxedAndDiscountedLines
    return self.processPackingListBuildInvoice(packing_list, build)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 324, in processPackingListBuildInvoice
    self.assertEqual(5, len(invoice))
AssertionError: 5 != 3


FAIL: test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 654, in test_01b_NewSimulation_InvoiceModifyQuantityAndSolveDivergency
    invoice = self.test_01_OrderWithSimpleTaxedAndDiscountedLines('invoice')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 596, in test_01_OrderWithSimpleTaxedAndDiscountedLines
    return self.processPackingListBuildInvoice(packing_list, build)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 324, in processPackingListBuildInvoice
    self.assertEqual(5, len(invoice))
AssertionError: 5 != 3


FAIL: test_01c_PackingListSplitBuildInvoiceBuild (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 681, in test_01c_PackingListSplitBuildInvoiceBuild
    self.checkTradeModelRuleSimulationExpand(order)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 406, in checkTradeModelRuleSimulationExpand
    self.assertEqual(2, len(sm.getCausalityValueList()))
AssertionError: 2 != 3


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


FAIL: test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testXHTML.py", line 252, in test_duplicatingSelectionNameInListbox
    portal_skins.SkinsTool_checkDuplicateSelectionName())
AssertionError: Repeated listbox selection names:
'entity_support_request_selection' 
	'Base_viewEventList/ticket_listbox': ['erp5_crm']
	'Entity_viewEventList/support_request_listbox': ['erp5_crm']
'entity_related_event_selection' 
	'Base_viewEventList/listbox': ['erp5_crm']
	'Entity_viewEventList/listbox': ['erp5_crm']
'project_monthly_report_selection' 
	'Project_viewMonthlySummaryReportData/listbox': ['erp5_project']
	'Project_viewMonthlyReportData/listbox': ['erp5_project']



More information about the Erp5-report mailing list