[Erp5-report] ERP5_z28 r18959: 1418 Tests, 6 Errors, 6 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 1 12:34:44 CET 2008


Test Suite: ERP5_z28
Revision: 18959
Result: FAIL

All tests: 1418
Failures: 6
Errors: 6


The following tests failed:

  testAlarm                                          (1 errors)
   test_16_uncatalog (testAlarm.TestAlarm)

  testERP5Web                                        (1 errors)
   test_03_CreateWebSiteUser (testERP5Web.TestERP5Web)

  testOOoStyle                                       (4 failures)
   test_form_view_empty_listbox (testOOoStyle.TestODSStyle)
   test_form_view_format (testOOoStyle.TestODSStyle)
   test_form_view_non_empty_listbox (testOOoStyle.TestODSStyle)
   test_list_view (testOOoStyle.TestODSStyle)

  testDms                                            (3 failures, 1 errors)
   test_05_UniqueReference (testDms.TestDocument)
   test_06_testExplicitRelations (testDms.TestDocument)
   test_07_testImplicitRelations (testDms.TestDocument)
   test_06_ProcessingStateOfAClonedDocument (testDms.TestDocument)

  testERP5Catalog                                    (1 failures, 1 errors)
   test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

ERROR: test_16_uncatalog (testAlarm.TestAlarm)
----------------------------------------------------------------------
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/testAlarm.py", line 466, in test_16_uncatalog
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 511, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7e756eb972f79d46577096e1f775b137/portal_alarms/14', 'Alarm_testSenseMethod', -2, 6)] 
Last error message:
Exception

Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 196, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 788, in _exec
  Module Products.PythonScripts.PythonScript, line 324, in _exec
  Module None, line 1, in Alarm_testSenseMethod
   - <PythonScript at /erp5_portal_7e756eb972f79d46577096e1f775b137/Alarm_testSenseMethod used for /erp5_portal_7e756eb972f79d46577096e1f775b137/portal_alarms/14>
   - Line 1
Exception





ERROR: test_03_CreateWebSiteUser (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
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/testERP5Web.py", line 212, in test_03_CreateWebSiteUser
    website.WebSite_createWebSiteAccount()
  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 788, 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)
TypeError: WebSite_createWebSiteAccount() takes exactly 1 argument (0 given)



FAIL: test_form_view_empty_listbox (testOOoStyle.TestODSStyle)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoStyle.py", line 98, in test_form_view_empty_listbox
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500



FAIL: test_form_view_format (testOOoStyle.TestODSStyle)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoStyle.py", line 122, in test_form_view_format
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500



FAIL: test_form_view_non_empty_listbox (testOOoStyle.TestODSStyle)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoStyle.py", line 110, in test_form_view_non_empty_listbox
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500



FAIL: test_list_view (testOOoStyle.TestODSStyle)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoStyle.py", line 71, in test_list_view
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500



ERROR: test_05_UniqueReference (testDms.TestDocument)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 334, in test_05_UniqueReference
    raise NotImplementedError
NotImplementedError



ERROR: test_06_testExplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 349, in test_06_testExplicitRelations
    raise NotImplementedError
NotImplementedError



ERROR: test_07_testImplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 366, in test_07_testImplicitRelations
    raise NotImplementedError
NotImplementedError



FAIL: test_06_ProcessingStateOfAClonedDocument (testDms.TestDocument)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 510, in test_06_ProcessingStateOfAClonedDocument
    self.assertEquals('uploaded', new_document.getExternalProcessingState())
AssertionError: 'uploaded' != 'empty'



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',), {}



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 2152, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



More information about the Erp5-report mailing list