[Erp5-report] ERP5_z212 r42784 : 2950 Tests, 11 Errors, 8 Failures, 132 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 31 08:00:57 CET 2011


Test Suite: ERP5_z212
Revision: 42784
Result: FAIL

All tests: 2950
Failures: 8
Errors: 11
Skips: 132



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.

  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)

  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)

  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)

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

  testERP5Base                                       (1 skips)

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

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

  testInvoice                                        (7 skips)

  testPackingList                                    (16 skips)

  testPreferences                                    (1 skips)

  testProductionPackingList                          (1 skips)

  testProxyField                                     (1 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: 8590 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110131/332b8879/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 7018, 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.3/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.1/Products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1072, in tearDown
    message_list = portal_activities.getMessageList()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/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.1/Products/CMFActivity/Activity/SQLBase.py", line 85, in getMessageList
    include_processing=include_processing)]
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/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.1/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.1/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.1/Products/ZMySQLDA/db.py", line 441, in query
    self._use_TM and self._register()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/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 155, 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.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 565, in __call__
    self.run(*args, **kw)
  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/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.1/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.1/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.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 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 155, 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.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 565, in __call__
    self.run(*args, **kw)
  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/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.1/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.1/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.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testERP5Core.py", line 304, in test_view_tools
    "%s: %s" % (tool, response.getStatus()))
AssertionError: portal_categories: 503


ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
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 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.2/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.2/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/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.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 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.2/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.2/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/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.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 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.2/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.2/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/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.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 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.2/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.2/Extensions/SetUpEGovInstance.py", line 162, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Extensions/SetUpEGovInstance.py", line 110, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


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


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"'


ERROR: testERP5Site_createNewWebDocument (testUNG.TestUNG)
----------------------------------------------------------------------
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 939, in setUpERP5Site
    self._getBTPathAndIdList(business_template_list)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/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.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/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