[Erp5-report] ERP5 r44327 : 4516 Tests, 5 Errors, 13 Failures, 233 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 16 11:01:15 CET 2011


Test Suite: ERP5
Revision: None
Result: FAIL

All tests: 4516
Failures: 13
Errors: 5
Skips: 233


The following tests have an unknown status:
extra_sql_connection_string_list='test6a test,test6b test' Products/ERP5Type/tests/runUnitTest.py --verbose '--erp5_sql_connection_string=test6 test' --instance_home=unit_test.6 testERP5Type

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)

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

  testIngestionWithFlare                             (1 errors, 4 skips)
   test_12_UploadTextFromContributionTool (testIngestionWithFlare.TestIngestionWithFlare)

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

  testPayroll                                        (1 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)

  testStandardConfigurationWorkflow                  (1 errors)
   test_consulting_workflow (testStandardConfigurationWorkflow.TestConsultingConfiguratorWorkflow), Test the consulting workflow configuration

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

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

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

  testUNGSecurity                                    (1 failures)
   testBase_getPreferencePathList (testUNGSecurity.TestUNGSecurity), Test if with normal user the paths of preference objects are returned correctly

  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.665s)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                                             (2 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                           (1 skips)

  testTemplate                                       (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 1808 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110316/44c3f982/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


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.6/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.6/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.2/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 639, in test_03_UpdateSimpleData
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/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.2/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.2/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 358, in synchronize
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/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.2/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.6' 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.1/Products/ERP5Type/tests/testERP5Type.py", line 3110, in test_suite
    suite.addTest(unittest.makeSuite(TestInstanceBaseCategoryList))
NameError: global name 'TestInstanceBaseCategoryList' is not defined

ERROR: test_12_UploadTextFromContributionTool (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
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/testIngestion.py", line 1360, in test_12_UploadTextFromContributionTool
    self.playSequence(step_list)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/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.6/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
      UploadTextFromContributionTool
      CheckConvertingState
      Tic
      CheckConvertedState
    > DiscoverFromFilename
      Tic
      ReuploadTextFromContributionTool
      UploadAnotherTextFromContributionTool
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testIngestion.py", line 593, in stepDiscoverFromFilename
    self.assertEquals(property_dict['title'], 'title')
KeyError: 'title'


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.1/Products/ERP5/tests/testPayroll.py", line 2157, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/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.6/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.6/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/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>


ERROR: test_consulting_workflow (testStandardConfigurationWorkflow.TestConsultingConfiguratorWorkflow), Test the consulting workflow configuration
----------------------------------------------------------------------
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.6/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py", line 826, in test_consulting_workflow
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/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.6/Products/ERP5Type/tests/Sequence.py", line 127, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateBusinessConfiguration
      Tic
      SetConsultingWorkflow
      Tic
      ConfiguratorNext
      Tic
      CheckBT5ConfiguratorItem
      CheckConfigureCategoriesForm
      SetupCategoriesConfiguratorItem
    > ConfiguratorNext
      Tic
      CheckConfigureRolesForm
      CheckCategoriesConfiguratorItem
      SetupRolesConfiguratorItem
      ConfiguratorNext
      Tic
      CheckConfigureOrganisationForm
      SetupOrganisationConfiguratorItem
      ConfiguratorNext
      Tic
      CheckConfigureUserAccountNumberForm
      CheckOrganisationConfiguratorItem
      SetupUserAccounNumberSix
      ConfiguratorNext
      Tic
      CheckConfigureMultipleUserAccountForm
      SetupMultipleUserAccountSix
      ConfiguratorNext
      Tic
      CheckConfigureAccountingForm
      CheckMultiplePersonConfigurationItem
      SetupAccountingConfigurationFrance
      ConfiguratorNext
      Tic
      CheckConfigurePreferenceForm
      CheckAccountingConfigurationItemListFrance
      SetupPreferenceConfigurationFrance
      ConfiguratorNext
      Tic
      CheckPreferenceConfigurationItemListFrance
      CheckConfigureInstallationForm
      SetupInstallConfiguration
      ConfiguratorNext
      Tic
      CheckInstallConfiguration
      StartConfigurationInstallation
      Tic
      CheckInstanceIsConfiguredFrance
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py", line 140, in stepConfiguratorNext
    response_dict = self.portal.portal_configurator._next(
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Configurator/Tool/ConfiguratorTool.py", line 344, in _next
    business_configuration._executeTransition(form_kw=form_kw, request_kw=kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Configurator/Document/BusinessConfiguration.py", line 141, in _executeTransition
    current_state.executeTransition(transition, self, form_kw=form_kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Workflow/Document/State.py", line 82, in executeTransition
    transition.execute(document, form_kw=form_kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Workflow/Document/Transition.py", line 104, in execute
    self._executeAfterScript(document, form_kw=form_kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5Workflow/Document/Transition.py", line 126, in _executeAfterScript
    script(**form_kw)
  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 7, in BusinessConfiguration_configureCategories
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Configurator/Document/ConfigurationSave.py", line 60, in addConfigurationItem
    conf_item = self.newContent(portal_type = configuration_item_class_name, **kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Core/Folder.py", line 172, in newContent
    new_instance._edit(force_update=1, **kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/Base.py", line 1430, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/Base.py", line 1414, in setChangedPropertyList
    modified_object_list = _setProperty(key, kw[key])
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/Base.py", line 1218, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Accessor/AcquiredProperty.py", line 197, in __call__
    portal_type=self._portal_type[0])
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/Core/Folder.py", line 151, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Embedded File


ERROR: testUpdateBT5FromRepository (testTemplateTool.TestTemplateTool), Test the list of bt5 returned for upgrade
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testTemplateTool.py", line 62, in testUpdateBT5FromRepository
    erp5_base.edit(revision=int(erp5_base.getRevision()) - 10)
ValueError: invalid literal for int(): <<<<<<< .mine
956=======
957>>>>>>> .r44291



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.6/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py", line 305, in testERP5Site_checkIfUserExistUsingHttpRequest
    self.assertEquals(response, {'response': False})
AssertionError: {u'response': True} != {'response': False}


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.2/bt5/erp5_web_ung_role/TestTemplateItem/testUNGSecurity.py", line 199, in testBase_getPreferencePathList
    self.assertEquals(preference_dict, {u'preference': u'portal_preferences/1'})
AssertionError: {} != {u'preference': u'portal_preferences/1'}


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.1/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.1/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