[Erp5-report] ERP5_z28 r18655: 1386 Tests, 5 Errors, 5 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 11 15:38:20 CET 2008


Test Suite: ERP5_z28
Revision: 18655
Result: FAIL

All tests: 1386
Failures: 5
Errors: 5


The following tests failed:

  testCRM                                            (3 failures, 4 errors)
   test_follow_up (testCRM.TestCRMMailIngestion)
   test_recipient (testCRM.TestCRMMailIngestion)
   test_sender (testCRM.TestCRMMailIngestion)
   test_asText (testCRM.TestCRMMailIngestion)
   test_document_creation (testCRM.TestCRMMailIngestion)
   test_findTypeByName_MailMessage (testCRM.TestCRMMailIngestion)
   test_title (testCRM.TestCRMMailIngestion)

  testSQLCachedWorklist                              (1 failures)
   test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)

  testXMLPickle                                      (1 errors)
   test_reduce (testXMLPickle.TestXMLPickle)

  testERP5Catalog                                    (1 errors)
   test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

ERROR: test_follow_up (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 159, in test_follow_up
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_1fe752930fc0e069b6bf2ef69c8a0da7/event_module/1', 'Document_convertToBaseFormatAndDiscoverMetadata', -2, 6)]



ERROR: test_recipient (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 146, in test_recipient
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_1fe752930fc0e069b6bf2ef69c8a0da7/event_module/1', 'Document_convertToBaseFormatAndDiscoverMetadata', -2, 6)]



ERROR: test_sender (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 139, in test_sender
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_1fe752930fc0e069b6bf2ef69c8a0da7/event_module/1', 'Document_convertToBaseFormatAndDiscoverMetadata', -2, 6)]



FAIL: test_asText (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 132, in test_asText
    self.assertEquals('Hello,\nContent of the mail.\n', str(event.asText()))
AssertionError: 'Hello,\nContent of the mail.\n' != ''



FAIL: test_document_creation (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 121, in test_document_creation
    self.assertEquals('Mail Message', event.getPortalType())
AssertionError: 'Mail Message' != 'File'



FAIL: test_findTypeByName_MailMessage (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 114, in test_findTypeByName_MailMessage
    registry.findTypeName('postfix_mail.eml', 'message/rfc822', ''))
AssertionError: 'Mail Message' != 'File'



FAIL: test_title (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 127, in test_title
    self.assertEquals('Simple Mail Test', event.getTitle())
AssertionError: 'Simple Mail Test' != ''



FAIL: 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 220, in test_01_worklist
    self.clearCache()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testSQLCachedWorklist.py", line 42, in clearCache
    self.portal.portal_workflow.refreshWorklistCache()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 586, in WorkflowTool_refreshWorklistCache
    assert criterion_id in table_column_id_set
AssertionError



ERROR: test_reduce (testXMLPickle.TestXMLPickle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testXMLPickle.py", line 61, in test_reduce
    xmldata = str(ppml.ToXMLloads(pickled_string))
  File "/usr/lib/erp5/lib/python/Shared/DC/xml/ppml.py", line 433, in ToXMLloads
    file = StringIO(str)
NameError: global name 'StringIO' is not defined



ERROR: test_53_DateFormat (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 1774, in test_53_DateFormat
    [x.path for x in self.getCatalogTool()(
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 588, in searchResults
    return ZCatalog.searchResults(self, query=query, sql_catalog_id=catalog_id, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1054, in searchResults
    return apply(catalog.searchResults, (REQUEST,used), kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2536, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, used=used, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2517, in queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2426, in buildSQLQuery
    stat__=stat__)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 446, in asSQLExpression
    value = DateTime(value).toZone('UTC')
  File "/usr/lib/erp5/lib/python/DateTime/DateTime.py", line 513, in __init__
    raise SyntaxError('Unable to parse %s, %s' % (args, kw))
SyntaxError: Unable to parse ('2006',), {}



More information about the Erp5-report mailing list