[Erp5-report] ERP5 r44220 : 4515 Tests, 4 Errors, 14 Failures, 235 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Mar 12 04:46:25 CET 2011


Test Suite: ERP5
Revision: None
Result: FAIL

All tests: 4515
Failures: 14
Errors: 4
Skips: 235


The following tests have an unknown status:
extra_sql_connection_string_list='test1a test,test1b test' Products/ERP5Type/tests/runUnitTest.py --verbose '--erp5_sql_connection_string=test1 test' --instance_home=unit_test.1 testERP5Type

The following tests failed:

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

  testDms                                            (1 failures, 1 errors, 1 skips)
   test_convertToImageOnTraversal (testDms.TestDocument)
   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)

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

  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)

  testUNG                                            (1 failures)
   testERP5Site_checkIfUserExistUsingHttpRequest (testUNG.TestUNG), Test script ERP5Site_checkIfUserExist to simulate the browser request

  testUNGSecurity                                    (2 failures, 1 errors)
   testShareDocument (testUNGSecurity.TestUNGSecurity), Test the document sharing between erp5 users
   testBase_getPreferencePathList (testUNGSecurity.TestUNGSecurity), Test if with normal user the paths of preference objects are returned correctly
   testERP5Site_createNewWebDocumentAsAnonymous (testUNGSecurity.TestUNGSecurity), Test use script ERP5Site_createNewWebDocument as Anonymous User

  testWorklist                                       (1 failures)
   test_04_dynamic_variables (testWorklist.TestWorklist)

  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.734s)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: 2815 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110312/e34a7b45/attachment-0001.diff>
-------------- next part --------------

FAIL: test_type_provider (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testBusinessTemplate.py", line 7033, in test_type_provider
    self.assertEquals('OK', instance.getSourceReference())
AssertionError: 'OK' != None


ERROR: test_convertToImageOnTraversal (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testDms.py", line 2039, in test_convertToImageOnTraversal
    web_page_image_size, web_page_file_size = self.getURLSizeList(web_page_document_url, **convert_kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testDms.py", line 249, in getURLSizeList
    image = Image.open(filename)
  File "/usr/lib64/python2.4/site-packages/PIL/Image.py", line 1916, in open
    raise IOError("cannot identify image file")
IOError: cannot identify image file


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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/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_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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/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


ERROR: test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 639, in test_03_UpdateSimpleData
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/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 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1286, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, 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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 701, in test_06_UpdateMultiData
    self.synchronize(self.sub_id1)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 358, in synchronize
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/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 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1286, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, 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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 850, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 9)
AssertionError: 10 != 9

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.ERP5/build/unit_test.1' loaded ... 
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 742, in ?
    sys.exit(main())
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 725, in main
    run_only=run_only,
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 511, in runUnitTestList
    suite = loader.loadTestsFromNames(test_list)
  File "/usr/lib64/python2.4/unittest.py", line 556, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 285, in loadTestsFromName
    return super(ERP5TypeTestLoader, self).loadTestsFromName(name, module)
  File "/usr/lib64/python2.4/unittest.py", line 535, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 291, in loadTestsFromModule
    return self.suiteClass(module.test_suite())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/testERP5Type.py", line 3110, in test_suite
    suite.addTest(unittest.makeSuite(TestInstanceBaseCategoryList))
NameError: global name 'TestInstanceBaseCategoryList' is not defined

FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/tests/testPayroll.py", line 2157, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateBasicModel
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckSourceSectionOnMovements
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/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/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: testERP5Site_checkIfUserExistUsingHttpRequest (testUNG.TestUNG), Test script ERP5Site_checkIfUserExist to simulate the browser request
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py", line 305, in testERP5Site_checkIfUserExistUsingHttpRequest
    self.assertEquals(response, {'response': False})
AssertionError: {u'response': True} != {'response': False}


ERROR: testShareDocument (testUNGSecurity.TestUNGSecurity), Test the document sharing between erp5 users
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1091, in tearDown
    PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/bt5/erp5_web_ung_role/TestTemplateItem/testUNGSecurity.py", line 75, in beforeTearDown
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 554, in stepTic
    transaction.commit()
  File "/usr/lib/erp5/lib/python/transaction/_manager.py", line 84, in commit
    self.get().commit(sub)
  File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 373, in commit
    self._callBeforeCommitHooks()
  File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 413, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/InteractionWorkflow.py", line 311, in _before_commit
    self.scripts[script_name](sci)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in updateLocalRoles
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Base.py", line 3145, in updateLocalRolesOnSecurityGroups
    self._getTypesTool().getTypeInfo(self) \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/ERP5Type.py", line 74, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/ERP5Type.py", line 99, in getLocalRolesFor
    for group_id, role_list \
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Core/RoleInformation.py", line 173, in getLocalRolesFor
    group_id_list = group_id_generator(**category_value_dict)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 71, in ERP5Type_asSecurityGroupId
RuntimeError: Security definition error (category 'follow_up/person_module/9' not found)


FAIL: testBase_getPreferencePathList (testUNGSecurity.TestUNGSecurity), Test if with normal user the paths of preference objects are returned correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/bt5/erp5_web_ung_role/TestTemplateItem/testUNGSecurity.py", line 195, in testBase_getPreferencePathList
    self.assertEquals(preference_dict, {u'preference': u'portal_preferences/1'})
AssertionError: {} != {u'preference': u'portal_preferences/1'}


FAIL: testERP5Site_createNewWebDocumentAsAnonymous (testUNGSecurity.TestUNGSecurity), Test use script ERP5Site_createNewWebDocument as Anonymous User
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/bt5/erp5_web_ung_role/TestTemplateItem/testUNGSecurity.py", line 92, in testERP5Site_createNewWebDocumentAsAnonymous
    ("web_page_template"))
AssertionError: Unauthorized not raised


FAIL: test_04_dynamic_variables (testWorklist.TestWorklist)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testWorklist.py", line 525, in test_04_dynamic_variables
    url_parameter_dict=url_parameter_dict)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testWorklist.py", line 212, in checkWorklist
    self.assertEquals(len(entry_list), count and 1)
AssertionError: 0 != 1


FAIL: test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testXHTML.py", line 251, in test_duplicatingSelectionNameInListbox
    "Repeated listbox selection names:\n" +
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