[Erp5-report] ERP5_z28 r19446: 1517 Tests, 8 Errors, 4 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 21 07:41:05 CET 2008


Test Suite: ERP5_z28
Revision: 19446
Result: FAIL

All tests: 1517
Failures: 4
Errors: 8


The following tests failed:

  testXHTML                                          (3 errors)
   testApparel ComponentResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel FabricResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel ModelResource_viewDefaultSupplyLine (testXHTML.TestXHTML)

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

  testSQLCachedWorklist                              (1 errors)
   test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)

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

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

ERROR: testApparel ComponentResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 156, in testMethod
    view = getattr(content, view_name)
AttributeError: Resource_viewDefaultSupplyLine



ERROR: testApparel FabricResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 156, in testMethod
    view = getattr(content, view_name)
AttributeError: Resource_viewDefaultSupplyLine



ERROR: testApparel ModelResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 156, in testMethod
    view = getattr(content, view_name)
AttributeError: Resource_viewDefaultSupplyLine



ERROR: test_PersonModule_CreateRelatedEvent (testCRM.TestCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testWorklist.py", line 222, in test_01_worklist
    result = workflow_tool.listActions(object=document)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 506, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
    value = CachingMethod.factories[self.cache_factory](
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 480, in _getWorklistActionList
    src__=src__)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 825, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 20, in Base_getCountFromWorklistTable
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 341, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 363, in builtin_guarded_apply
    return func(*arglist, **argdict)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/DA.py", line 219, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZMySQLDA/db.py", line 289, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZMySQLDA/db.py", line 280, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZMySQLDA/db.py", line 413, in query
    c = self._query(qs)
  File "/home/buildbot/buildbot_slave/full.bot_28/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")



FAIL: testSaleOpportunityDetailedReport (testCrmReports.TestCrmReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testCrmReports.py", line 1332, in testSaleOpportunityStatus
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 1



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 361, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 361, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/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 "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 596, in _getOb
    return CMFBTreeFolder._getOb(self, id, *args, **kw)
  File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 210, in _getOb
    ob = tree[id]
KeyError: '1'



More information about the Erp5-report mailing list