[Erp5-report] ERP5_z28 r18888: 1411 Tests, 5 Errors, 5 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jan 29 05:00:55 CET 2008
Test Suite: ERP5_z28
Revision: 18888
Result: FAIL
All tests: 1411
Failures: 5
Errors: 5
The following tests failed:
testAlarm (1 errors)
test_16_uncatalog (testAlarm.TestAlarm)
testERP5Web (1 errors)
test_03_CreateWebSiteUser (testERP5Web.TestERP5Web)
testPasswordTool (2 errors)
test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordTool)
test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordTool)
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)
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 501, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7e756eb972f79d46577096e1f775b137/portal_alarms/14', 'Alarm_testSenseMethod', -2, 6)]
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 776, 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)
ERROR: test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordTool)
----------------------------------------------------------------------
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/testPasswordTool.py", line 308, in test_02_checkPasswordToolDateExpired
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CheckPasswordToolExists
> AddUser
Tic
CheckUserLogin
CheckUserNotLoginWithBadPassword
LostPassword
Tic
CheckMailSent
ModifyExpirationDate
GoToRandomAddress
Tic
CheckUserLogin
CheckUserNotLoginWithBadPassword
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 114, in stepAddUser
default_email_text="userA at example.invalid")
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 152, in newContent
if kw != {} : new_instance._edit(force_update=1, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1517, in _edit
self._setProperty(key, kw[key])
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1332, in _setProperty
method(value, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Person.py", line 190, in setReference
raise RuntimeError, 'user id %s already exist' % (value,)
RuntimeError: user id userA already exist
ERROR: test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordTool)
----------------------------------------------------------------------
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/testPasswordTool.py", line 330, in test_03_checkPasswordToolAlarm
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CheckPasswordToolExists
> AddUser
Tic
CheckUserLogin
CheckUserNotLoginWithBadPassword
LostPassword
Tic
CheckMailSent
ModifyExpirationDate
SimulateExpirationAlarm
CheckNoRequestRemains
GoToRandomAddressTwice
Tic
CheckUserLogin
CheckUserNotLoginWithBadPassword
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 114, in stepAddUser
default_email_text="userA at example.invalid")
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 152, in newContent
if kw != {} : new_instance._edit(force_update=1, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1517, in _edit
self._setProperty(key, kw[key])
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1332, in _setProperty
method(value, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Person.py", line 190, in setReference
raise RuntimeError, 'user id %s already exist' % (value,)
RuntimeError: user id userA already exist
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_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