[Erp5-report] ERP5_z28 r19423: 1504 Tests, 5 Errors, 2 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 20 17:23:23 CET 2008
Test Suite: ERP5_z28
Revision: 19423
Result: FAIL
All tests: 1504
Failures: 2
Errors: 5
The following tests failed:
testXHTML (3 errors)
testApparel ComponentResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
testApparel FabricResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
testApparel ModelResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
testSQLCachedWorklist (1 errors)
test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)
testConstraint (1 failures)
test_RegisterWithPropertySheet (testConstraint.TestConstraint)
testERP5Catalog (1 failures)
test_complex_query (testERP5Catalog.TestERP5Catalog)
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_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: test_RegisterWithPropertySheet (testConstraint.TestConstraint)
----------------------------------------------------------------------
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/Products/ERP5Type/tests/testConstraint.py", line 1384, in test_RegisterWithPropertySheet
self.assertEquals(1, len(consistency_message_list))
AssertionError: 1 != 0
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_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