[Erp5-report] ERP5_z212 r44132 : 4513 Tests, 3 Errors, 13 Failures, 235 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 10 22:07:09 CET 2011


Test Suite: ERP5_z212
Revision: 44132
Result: FAIL

All tests: 4513
Failures: 13
Errors: 3
Skips: 235



The following tests failed:

  testBusinessTemplate                               (1 failures, 2 skips)
   test_type_provider (testBusinessTemplate.TestBusinessTemplate)

  testDms                                            (1 failures, 1 skips)
   test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)

  testDmsWithFlare                                   (1 failures, 1 skips)
   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)

  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

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

  testPayroll                                        (1 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testUNGSecurity                                    (1 errors)
   testShareDocument (testUNGSecurity.TestUNGSecurity), Test the document sharing between erp5 users

  testXHTML                                          (1 failures)
   test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testAccountingRules                                (26 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMCore                                        (12 skips)

  testBPMEvaluation                                  (40 skips)
   done (7.447s)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)

  testDivergenceTester                               (5 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 skips)

  testDynamicClassGeneration                         (1 skips)

  testERP5Base                                       (1 skips)

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

  testERP5Interfaces                                 (9 skips)

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

  testPackingList                                    (16 skips)

  testPackingListRoundingPrecision                   (8 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                           (4 skips)

  testTemplate                                       (1 skips)

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

FAIL: test_type_provider (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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/testBusinessTemplate.py", line 7033, in test_type_provider
    self.assertEquals('OK', instance.getSourceReference())
AssertionError: 'OK' != None


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.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_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.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/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.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/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 178, 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 1282, 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 178, 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 1282, 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


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.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/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.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/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


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 1159, 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 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/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_1f959768674d155451cb63f0b9097eef/person_module/22> != <Organisation at /erp5_portal_1f959768674d155451cb63f0b9097eef/organisation_module/43>


FAIL: test_tradeModelLineWithRounding (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 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/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 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


ERROR: testShareDocument (testUNGSecurity.TestUNGSecurity), Test the document sharing between erp5 users
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1087, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/bt5/erp5_web_ung_role/TestTemplateItem/testUNGSecurity.py", line 74, in beforeTearDown
    self.stepTic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 550, in stepTic
    transaction.commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
    self._callBeforeCommitHooks()
  File "/home/jm/buildout-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/InteractionWorkflow.py", line 311, in _before_commit
    self.scripts[script_name](sci)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1282, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in updateLocalRoles
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Base.py", line 3146, in updateLocalRolesOnSecurityGroups
    .updateLocalRolesOnDocument(self, **kw)
  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 74, 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 100, in getLocalRolesFor
    in role.getLocalRolesFor(ob, user_name).iteritems():
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/RoleInformation.py", line 173, in getLocalRolesFor
    group_id_list = group_id_generator(**category_value_dict)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1282, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 71, in ERP5Type_asSecurityGroupId
RuntimeError: Security definition error (category 'follow_up/person_module/5' not found)


FAIL: test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
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/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