[Erp5-report] ERP5 r19446: 1266 Tests, 6 Errors, 4 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 21 02:33:00 CET 2008


Test Suite: ERP5
Revision: 19446
Result: FAIL

All tests: 1266
Failures: 4
Errors: 6


The following tests failed:

  testCrmReports                                     (2 failures)
   testSaleOpportunityDetailedReport (testCrmReports.TestCrmReports)
   testSaleOpportunityStatus (testCrmReports.TestCrmReports)

  testCRM                                            (1 failures, 1 errors)
   test_PersonModule_CreateRelatedEvent (testCRM.TestCRM)
   test_MailMessageHTML (testCRM.TestCRMMailSend)

  testSQLCachedWorklist                              (1 errors)
   test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)

  testDms                                            (1 errors)
   test_08_EmbeddedDocumentState (testDms.TestDocument)

  testERP5Catalog                                    (1 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
   test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)

  testERP5SyncMLVCard                                (1 errors)
   test_05_basicVCardSynchronization (testERP5SyncMLVCard.TestERP5SyncMLVCard)
-------------- next part --------------

FAIL: testSaleOpportunityDetailedReport (testCrmReports.TestCrmReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCrmReports.py", line 1477, in testSaleOpportunityDetailedReport
    self.assertEquals(7, len(data_line_list))
AssertionError: 7 != 1



FAIL: testSaleOpportunityStatus (testCrmReports.TestCrmReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCrmReports.py", line 1332, in testSaleOpportunityStatus
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 1



ERROR: test_PersonModule_CreateRelatedEvent (testCRM.TestCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 115, in test_PersonModule_CreateRelatedEvent
    raise NotImplementedError
NotImplementedError



FAIL: test_MailMessageHTML (testCRM.TestCRMMailSend)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 441, in test_MailMessageHTML
    self.assertEqual('Hello\nWorld', part.get_payload(decode=True))
AssertionError: 'Hello\nWorld' != 'HelloWorld'



ERROR: test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testWorklist.py", line 222, in test_01_worklist
    result = workflow_tool.listActions(object=document)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 506, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
    value = CachingMethod.factories[self.cache_factory](
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
    value = callable_object(*args, **kwd)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 480, in _getWorklistActionList
    src__=src__)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 825, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
  File "Script (Python)", line 20, in Base_getCountFromWorklistTable
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 312, in guarded_apply
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 334, in builtin_guarded_apply
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/patches/DA.py", line 219, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZMySQLDA/db.py", line 289, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZMySQLDA/db.py", line 280, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZMySQLDA/db.py", line 413, in query
    c = self._query(qs)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZMySQLDA/db.py", line 390, in _query
    raise OperationalError(m[0], '%s: %s' % (m[1], query))
OperationalError: (1054, "Unknown column 'viewable_owner' in 'field list': SELECT\n  sum(`count`) as count, viewable_owner, portal_type, int_index, security_uid\nFROM\n  worklist_cache\nWHERE\n  ((((security_uid IN (1, 2, 3, 4)) AND (((((int_index = '1') AND (((((portal_type = 'Organisation') AND ((((((NOT (viewable_owner = 'manager'))))))))))))))))))\nGROUP BY\n  viewable_owner, portal_type, int_index, security_uid LIMIT 1000")



ERROR: test_08_EmbeddedDocumentState (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 648, in test_08_EmbeddedDocumentState
    document.convert(format='html')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 398, in convert
    mime, data = self._convert(format)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 327, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2175, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 361, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 706, in setupERP5Site
    raise RuntimeError, \
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6), ('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6)]



ERROR: test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 361, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 576, in setupERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a28a575dea15f29ef51928ed670935d0 already failed, giving up



ERROR: test_05_basicVCardSynchronization (testERP5SyncMLVCard.TestERP5SyncMLVCard)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncMLVCard.py", line 196, in test_05_basicVCardSynchronization
    person1_s = person_server._getOb('1') #The new person is added on the
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 596, in _getOb
    return CMFBTreeFolder._getOb(self, id, *args, **kw)
  File "/usr/lib/zope/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 210, in _getOb
    ob = tree[id]
KeyError: '1'



More information about the Erp5-report mailing list