[Erp5-report] ERP5_z212 r42776 : 4550 Tests, 11 Errors, 23 Failures, 236 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Jan 30 15:00:34 CET 2011


Test Suite: ERP5_z212
Revision: 42776
Result: FAIL

All tests: 4550
Failures: 23
Errors: 11
Skips: 236



The following tests failed:

  testBusinessTemplate                               (1 errors, 3 skips)
   test_type_provider_2 (testBusinessTemplate.TestBusinessTemplate)

  testCacheTool                                      (1 failures)
   test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins

  testDeferredConnection                             (3 errors)
   test_01_disconnectsCausesError (testDeferredConnection.TestDeferredConnection)
   test_02_disconnectionRobustness (testDeferredConnection.TestDeferredConnection)

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

  testERP5DocumentSyncML                             (1 failures)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

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

  testIngestion                                      (5 failures, 4 skips)
   test_IngestionConfigurationByTypeBasedMethod_usecase1 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase2 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase4 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase5 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet

  testIngestionWithFlare                             (5 failures, 4 skips)
   test_IngestionConfigurationByTypeBasedMethod_usecase1 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase2 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase4 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase5 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet

  testInvalidationBug                                (1 errors)
   testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)

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

  testMemcachedTool                                  (1 failures)
   test_07_checkExpirationTimeOfMemcachedDict (testMemcachedTool.TestMemcachedTool)

  testOOoBatchMode                                   (2 failures)
   test_01_noExcNoFormatNoBatchMode (testOOoBatchMode.TestOoodResponse)
   test_01b_noExcEmptyFormatNoBatchMode (testOOoBatchMode.TestOoodResponse)

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

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testUNG                                            (2 errors)
   testERP5Site_createNewWebDocument (testUNG.TestUNG)

  testWebCrawler                                     (1 failures)
   test_02_crawlWebSite (testWebCrawler.TestWebCrawler), Call portal_contribution to crawl website hosted by itself.

The following tests were at least partly skipped:

  testAccountingRules                                (26 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMCore                                        (12 skips)

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

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

  testBusinessTemplate                               (3 skips)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDivergenceTester                               (5 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testDynamicClassGeneration                         (1 skips)

  testERP5Base                                       (1 skips)

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

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

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

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

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

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

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

  testOpenOrder                                      (2 skips)

  testOrderBuilder                                   (4 skips)

  testPackingList                                    (16 skips)

  testPackingListRoundingPrecision                   (8 skips)

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

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

  testTaskReportDivergence                           (4 skips)

  testTemplate                                       (1 skips)

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

ERROR: test_type_provider_2 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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/testBusinessTemplate.py", line 7021, in test_type_provider_2
    self.stepTic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 539, in stepTic
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/portal_templates/104', 'immediateReindexObject', -2, 1), ('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/portal_templates/106', 'immediateReindexObject', -2, 1), ('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/test_document', 'immediateReindexObject', -2, 1), ('/erp5_portal_a7c58c31d094d0959dd3f3f4d6a139cc/portal_templates/107', 'immediateReindexObject', -2, 1)]
Last error message:
BrokenModified
Can't change broken objects
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1248, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 769, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1402, in _catalogObjectList
  Module Products.ERP5Catalog.CatalogTool, line 73, in <lambda>
  Module Products.ERP5Type.Base, line 1939, in getUid
  Module ZODB.broken, line 317, in __setattr__
BrokenModified: Can't change broken objects



FAIL: test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins
----------------------------------------------------------------------
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/products/ERP5Type/tests/testCacheTool.py", line 508, in test_06_CheckCacheExpiration
    self.assertTrue(calculation_time > 1.0)
AssertionError


ERROR: test_01_disconnectsCausesError (testDeferredConnection.TestDeferredConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1072, in tearDown
    message_list = portal_activities.getMessageList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/ActivityTool.py", line 1392, in getMessageList
    message_list += activity.getMessageList(aq_inner(self),**kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/CMFActivity/Activity/SQLBase.py", line 85, in getMessageList
    include_processing=include_processing)]
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/DA.py", line 227, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDA/db.py", line 441, in query
    self._use_TM and self._register()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/patches/TM.py", line 25, in TM__register
    transaction.get().register(Surrogate(self))
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 299, in register
    self.join(adapter)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "/home/jm/erp5-2.12/bin/python2.6", line 154, in <module>
    _val, {}, "__main__", alter_sys=True)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 136, in run_module
    fname, loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 54, in _run_module_code
    mod_loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 748, in <module>
    sys.exit(main())
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 731, in main
    run_only=run_only,
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 536, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/jm/slave/full.ERP5_z212/build/Products/ERP5Type/tests/backportUnittest.py", line 270, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 565, in __call__
    self.run(*args, **kw)
  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/ZMySQLDDA/tests/testDeferredConnection.py", line 147, in test_01_disconnectsCausesError
    transaction.commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 424, in _commitResources
    rm.tpc_finish(self)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 524, in tpc_finish
    self.manager.tpc_finish(txn)
  File "/home/jm/erp5-2.12/eggs/Products.ZSQLMethods-2.13.3-py2.6.egg/Shared/DC/ZRDB/TM.py", line 60, in tpc_finish
    try: self._finish()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDDA/db.py", line 438, in _finish
    self._query("SELECT 1", force_reconnect=True)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 61, in fake_db_query
    raise OperationalError, (hosed_connection[0], 'dummy exception')
OperationalError: (2006, 'dummy exception')



ERROR: test_02_disconnectionRobustness (testDeferredConnection.TestDeferredConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 810, in setUp
    use_dummy_mail_host=use_dummy_mail_host)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 932, in setUpERP5Site
    app.test_portal_name = portal_name
  File "/home/jm/erp5-2.12/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1003, in register
    self._register(obj)
  File "/home/jm/erp5-2.12/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1013, in _register
    self.transaction_manager.get().join(self)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "/home/jm/erp5-2.12/bin/python2.6", line 154, in <module>
    _val, {}, "__main__", alter_sys=True)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 136, in run_module
    fname, loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 54, in _run_module_code
    mod_loader, pkg_name)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 748, in <module>
    sys.exit(main())
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 731, in main
    run_only=run_only,
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/runUnitTest.py", line 536, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/jm/slave/full.ERP5_z212/build/Products/ERP5Type/tests/backportUnittest.py", line 270, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/home/jm/erp5-2.12/parts/python2.6/lib/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 565, in __call__
    self.run(*args, **kw)
  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/ZMySQLDDA/tests/testDeferredConnection.py", line 147, in test_01_disconnectsCausesError
    transaction.commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 424, in _commitResources
    rm.tpc_finish(self)
  File "/home/jm/erp5-2.12/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 524, in tpc_finish
    self.manager.tpc_finish(txn)
  File "/home/jm/erp5-2.12/eggs/Products.ZSQLMethods-2.13.3-py2.6.egg/Shared/DC/ZRDB/TM.py", line 60, in tpc_finish
    try: self._finish()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDDA/db.py", line 438, in _finish
    self._query("SELECT 1", force_reconnect=True)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ZMySQLDDA/tests/testDeferredConnection.py", line 61, in fake_db_query
    raise OperationalError, (hosed_connection[0], 'dummy exception')
OperationalError: (2006, 'dummy exception')



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 304, in test_view_tools
    "%s: %s" % (tool, response.getStatus()))
AssertionError: portal_categories: 503


FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 946, in test_08_MultiNodeConflict
    self.assertXMLViewIsEqual(self.sub_id1, document_s, document_c1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 565, in assertXMLViewIsEqual
    etree.tostring(result, pretty_print=True)))
AssertionError: diff between document_server/2 and document_client1/2 
xupdate:
<xupdate:modifications xmlns:xupdate="http://www.xmldb.org/xupdate" version="1.0">
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/base_data/block_data[166]"/>
  <xupdate:insert-after select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/base_data/block_data[71]">
    <xupdate:element name="block_data">aWNlLm9yZy8zLjIkVW5peCBPcGVuT2ZmaWNlLm9yZ19wcm9qZWN0LzMyMG0xOCRCdWlsZC05NTAyPC9t</xupdate:element>
  </xupdate:insert-after>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][4]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][5]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][6]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='edit_workflow'][4]"/>
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='edit_workflow'][5]"/>
  <xupdate:insert-after select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='processing_status_workflow'][9]">
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">processing_status_workflow</xupdate:attribute>
      <action type="string">process_file</action>
      <actor type="string">daniele</actor>
      <comment type="string"/>
      <error_message type="string"/>
      <external_processing_state type="string">converting</external_processing_state>
      <serial type="string">907.61827.54772.54920</serial>
      <time type="date">2011/01/30 13:19:57.489088 GMT+1</time>
    </xupdate:element>
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">processing_status_workflow</xupdate:attribute>
      <action type="string">convert_file</action>
      <actor type="string">daniele</actor>
      <comment type="string">Converted to application/vnd.oasis.opendocument.presentation.</comment>
      <error_message type="string"/>
      <external_processing_state type="string">converted</external_processing_state>
      <serial type="string">907.61827.62827.48571</serial>
      <time type="date">2011/01/30 13:20:1.316075 GMT+1</time>
    </xupdate:element>
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">processing_status_workflow</xupdate:attribute>
      <action type="string">update_file_metadata</action>
      <actor type="string">daniele</actor>
      <comment type="string"/>
      <error_message type="string"/>
      <external_processing_state type="string">converted</external_processing_state>
      <serial type="string">907.61828.1455.33553</serial>
      <time type="date">2011/01/30 13:20:3.832182 GMT+1</time>
    </xupdate:element>
  </xupdate:insert-after>
  <xupdate:insert-after select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/workflow_action[@id='edit_workflow'][7]">
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">edit_workflow</xupdate:attribute>
      <action type="string">edit</action>
      <actor type="string">daniele</actor>
      <comment type="None"/>
      <error_message type="string"/>
      <serial type="string">907.61827.54772.54920</serial>
      <state type="string">current</state>
      <time type="date">2011/01/30 13:19:57.479917 GMT+1</time>
    </xupdate:element>
    <xupdate:element name="workflow_action">
      <xupdate:attribute name="id">edit_workflow</xupdate:attribute>
      <action type="string">edit</action>
      <actor type="string">daniele</actor>
      <comment type="None"/>
      <error_message type="string"/>
      <serial type="string">907.61827.54772.54920</serial>
      <state type="string">current</state>
      <time type="date">2011/01/30 13:19:57.496429 GMT+1</time>
    </xupdate:element>
  </xupdate:insert-after>
</xupdate:modifications>



ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 110, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


ERROR: test_02_application_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 110, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


ERROR: test_03_submit_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 110, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


ERROR: test_05_process_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/jm/erp5-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Extensions/SetUpEGovInstance.py", line 110, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase1 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1520, in test_IngestionConfigurationByTypeBasedMethod_usecase1
    self.assertEquals(first_doc.getReference(), first_doc.asNormalisedURL())
AssertionError: None != ''


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase2 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1604, in test_IngestionConfigurationByTypeBasedMethod_usecase2
    self.assertEquals(first_doc.getReference(), first_doc.asNormalisedURL())
AssertionError: None != ''


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase4 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1765, in test_IngestionConfigurationByTypeBasedMethod_usecase4
    self.assertEquals(first_doc.getReference(), 'I CHOOSED THIS REFERENCE 1')
AssertionError: 'I CHOOSED THIS REFERENCE 5' != 'I CHOOSED THIS REFERENCE 1'


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase5 (testIngestion.TestIngestion), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1861, in test_IngestionConfigurationByTypeBasedMethod_usecase5
    self.assertEquals(first_doc.getReference(), 'I CHOOSED THIS REFERENCE 1')
AssertionError: 'I CHOOSED THIS REFERENCE 5' != 'I CHOOSED THIS REFERENCE 1'


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


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase1 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1520, in test_IngestionConfigurationByTypeBasedMethod_usecase1
    self.assertEquals(first_doc.getReference(), first_doc.asNormalisedURL())
AssertionError: None != ''


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase2 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1604, in test_IngestionConfigurationByTypeBasedMethod_usecase2
    self.assertEquals(first_doc.getReference(), first_doc.asNormalisedURL())
AssertionError: None != ''


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase4 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1765, in test_IngestionConfigurationByTypeBasedMethod_usecase4
    self.assertEquals(first_doc.getReference(), 'I CHOOSED THIS REFERENCE 1')
AssertionError: 'I CHOOSED THIS REFERENCE 5' != 'I CHOOSED THIS REFERENCE 1'


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase5 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that each time a file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5OOo/tests/testIngestion.py", line 1861, in test_IngestionConfigurationByTypeBasedMethod_usecase5
    self.assertEquals(first_doc.getReference(), 'I CHOOSED THIS REFERENCE 1')
AssertionError: 'I CHOOSED THIS REFERENCE 5' != 'I CHOOSED THIS REFERENCE 1'


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


ERROR: testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
----------------------------------------------------------------------
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/testInvalidationBug.py", line 145, in testLateInvalidationFromZEO
    del socket_map[zeo_connection.fileno()]
KeyError: 16


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


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


FAIL: test_07_checkExpirationTimeOfMemcachedDict (testMemcachedTool.TestMemcachedTool)
----------------------------------------------------------------------
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/products/ERP5Type/tests/testMemcachedTool.py", line 207, in test_07_checkExpirationTimeOfMemcachedDict
    self.assertRaises(KeyError, tested_dict.__getitem__, key)
AssertionError: KeyError not raised


FAIL: test_01_noExcNoFormatNoBatchMode (testOOoBatchMode.TestOoodResponse)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoBatchMode.py", line 82, in test_01_noExcNoFormatNoBatchMode
    request.RESPONSE.getHeader('content-disposition'))
AssertionError: 'attachment; filename="ERP5Site_viewNothingAsOdt.odt"' != 'attachment; filename="ERP5Site_viewNothingAsOdt.ods"'


FAIL: test_01b_noExcEmptyFormatNoBatchMode (testOOoBatchMode.TestOoodResponse)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoBatchMode.py", line 92, in test_01b_noExcEmptyFormatNoBatchMode
    request.RESPONSE.getHeader('content-disposition'))
AssertionError: 'attachment; filename="ERP5Site_viewNothingAsOdt.odt"' != 'attachment; filename="ERP5Site_viewNothingAsOdt.ods"'


FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
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/testPayroll.py", line 2246, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 116, 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.2/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testPayroll.py", line 1060, in stepCheckSourceSectionOnMovements
    self.assertEquals(paysheet_line.getSourceSectionValue(), urssaf_roubaix)
AssertionError: <Person at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/person_module/22> != <Organisation at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/organisation_module/43>


FAIL: test_updatePaysheetAfterModelModification (testPayroll.TestPayroll), generate a paysheet using a model, modify the model by adding a new
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/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/testPayroll.py", line 3432, in test_updatePaysheetAfterModelModification
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 116, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturn
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreated
      CheckPaysheetLineAmounts
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmounts
      ModelCreateUrssafModelLineWithSlices
      Tic
      UrssafModelLineWithSlicesCreateMovements
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckPaysheetLineAreCreatedAfterUpdateWithLinesWithSameResource
      CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testPayroll.py", line 744, in stepCheckPaysheetLineAreCreatedAfterUpdateWithLinesWithSameResource
    self.assertEqual(len(paysheet_line_list), 9)
AssertionError: 7 != 9


FAIL: test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
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/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


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


ERROR: testERP5Site_createNewWebDocument (testUNG.TestUNG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 810, in setUp
    use_dummy_mail_host=use_dummy_mail_host)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 939, in setUpERP5Site
    self._getBTPathAndIdList(business_template_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 742, in _getBTPathAndIdList
    % ', '.join(not_found_list))
RuntimeError: Following BT can't be found on your system : erp5_view_style, erp5_jquery_plugin_wdcalendarerp5_jquery_sheet_editor


FAIL: test_02_crawlWebSite (testWebCrawler.TestWebCrawler), Call portal_contribution to crawl website hosted by itself.
----------------------------------------------------------------------
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/testWebCrawler.py", line 259, in test_02_crawlWebSite
    self.assertEquals(len(web_crawler), 6)
AssertionError: 0 != 6


More information about the Erp5-report mailing list