[Erp5-report] ERP5 r24912: 2311 Tests, 6 Errors, 9 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Dec 17 17:47:56 CET 2008
Test Suite: ERP5
Revision: 24912
Result: FAIL
All tests: 2311
Failures: 9
Errors: 6
The following tests failed:
testTradeReports (1 failures)
testStockReport (testTradeReports.TestTradeReports)
testSQLCachedWorklist (1 failures)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)
testERP5Catalog (5 failures)
test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog)
test_complex_query (testERP5Catalog.TestERP5Catalog)
test_multipleRelatedKeyDoMultipleJoins (testERP5Catalog.TestERP5Catalog)
test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog)
testCMFCategory (1 failures)
test_getSingleCategoryAcquiredMembershipListOnParent (testCMFCategory.TestCMFCategory)
testOOoImport (1 failures, 6 errors)
test_Base_getCategoriesSpreadSheetMapping (testOOoImport.TestOOoImport)
test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)
test_CategoryTool_importCategoryFile_DuplicateIds (testOOoImport.TestOOoImport)
test_CategoryTool_importCategoryFile_PathStars (testOOoImport.TestOOoImport)
test_CategoryTool_importCategoryFile_PathStars_noID (testOOoImport.TestOOoImport)
test_Base_getCategoriesSpreadSheetMapping_DuplicateIdsAtSameLevel (testOOoImport.TestOOoImport)
-------------- next part --------------
FAIL: testStockReport (testTradeReports.TestTradeReports)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testTradeReports.py", line 626, in testStockReport
self.assertEquals(1, len(data_line_list))
AssertionError: 1 != 0
FAIL: test_02_related_key (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.ERP5/build/unit_test/Products/ERP5/tests/testWorklist.py", line 367, in test_02_related_key
result = workflow_tool.listActions(object=document)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 554, in WorkflowTool_listActions
actions.extend(_getWorklistActionList())
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 202, in __call__
value = cache_factory(
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 520, 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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 15, in Base_getCountFromWorklistTable
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 1, in Base_refreshWorklistTableContent
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 594, in WorkflowTool_refreshWorklistCache
assert criterion_id in table_column_id_set
AssertionError
FAIL: test_SearchedStringIsNotStripped (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.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2715, in test_SearchedStringIsNotStripped
compareSet(' foo', [second_doc])
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2713, in compareSet
self.assertSameSet(document_list, [x.getObject() for x in result])
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 558, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/90>] != [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/89>]
FAIL: test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (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.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1974, in test_SubDocumentsWithAcquireLocalRoleSecurityIndexing
self.assertSameSet([obj, ], [x.getObject() for x in result])
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 558, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<Url at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/92/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.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2261, in test_complex_query
self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3
FAIL: test_multipleRelatedKeyDoMultipleJoins (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.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2821, in test_multipleRelatedKeyDoMultipleJoins
operator='AND'))
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2779, in check
'%s:\nExpected: %r\nGot: %r' % (description,
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 558, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: site_reference="foo" AND site_description="bar":
Expected: ['object_1', 'object_12', 'object_13', 'object_14', 'object_23']
Got: ['object_14', 'object_13', 'object_12', 'object_1']
FAIL: test_sortOnRelatedKeyWithUnsetRelation (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.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2756, in test_sortOnRelatedKeyWithUnsetRelation
len(person_module.searchFolder(sort_on=[('subordination_title', 'ascending')])))
AssertionError: 2 != 1
FAIL: test_getSingleCategoryAcquiredMembershipListOnParent (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 973, in test_getSingleCategoryAcquiredMembershipListOnParent
portal_type='Person Module'))
AssertionError: ['person_module'] != [<Folder at /erp5_portal_375fd2e06bb46325945c05a27d83aefb/person_module>]
ERROR: test_Base_getCategoriesSpreadSheetMapping (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 195, in test_Base_getCategoriesSpreadSheetMapping
mapping = self.portal.Base_getCategoriesSpreadSheetMapping(
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 113, in Base_getCategoriesSpreadSheetMapping
File "Script (Python)", line 79, in getIDFromString
File "Script (Python)", line 31, in default_invalid_spreadsheet_error_handler
ValueError: The ID title is invalid, it's a reserved property name
ERROR: test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 223, in test_CategoryTool_importCategoryFile
self.portal.portal_categories.CategoryTool_importCategoryFile(
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 53, in CategoryTool_importCategoryFile
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 113, in Base_getCategoriesSpreadSheetMapping
File "Script (Python)", line 79, in getIDFromString
File "Script (Python)", line 50, in invalid_category_spreadsheet_handler
Redirect: http://nohost/erp5_portal_afa02331b0c583b85f5ed7d94a6ae859/portal_categories/view?portal_status_message=The ID title is invalid, it's a reserved property name
ERROR: test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 240, in test_CategoryTool_importCategoryFileXLS
self.portal.portal_categories.CategoryTool_importCategoryFile(
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 53, in CategoryTool_importCategoryFile
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 113, in Base_getCategoriesSpreadSheetMapping
File "Script (Python)", line 79, in getIDFromString
File "Script (Python)", line 50, in invalid_category_spreadsheet_handler
Redirect: http://nohost/erp5_portal_afa02331b0c583b85f5ed7d94a6ae859/portal_categories/view?portal_status_message=The ID title is invalid, it's a reserved property name
ERROR: test_CategoryTool_importCategoryFile_DuplicateIds (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 295, in test_CategoryTool_importCategoryFile_DuplicateIds
self.portal.portal_categories.CategoryTool_importCategoryFile(
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 53, in CategoryTool_importCategoryFile
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 113, in Base_getCategoriesSpreadSheetMapping
File "Script (Python)", line 79, in getIDFromString
File "Script (Python)", line 50, in invalid_category_spreadsheet_handler
Redirect: http://nohost/erp5_portal_afa02331b0c583b85f5ed7d94a6ae859/portal_categories/view?portal_status_message=The ID id is invalid, it's a reserved property name
ERROR: test_CategoryTool_importCategoryFile_PathStars (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 257, in test_CategoryTool_importCategoryFile_PathStars
self.portal.portal_categories.CategoryTool_importCategoryFile(
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 53, in CategoryTool_importCategoryFile
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 113, in Base_getCategoriesSpreadSheetMapping
File "Script (Python)", line 79, in getIDFromString
File "Script (Python)", line 50, in invalid_category_spreadsheet_handler
Redirect: http://nohost/erp5_portal_afa02331b0c583b85f5ed7d94a6ae859/portal_categories/view?portal_status_message=The ID id is invalid, it's a reserved property name
ERROR: test_CategoryTool_importCategoryFile_PathStars_noID (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 275, in test_CategoryTool_importCategoryFile_PathStars_noID
self.portal.portal_categories.CategoryTool_importCategoryFile(
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 53, in CategoryTool_importCategoryFile
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.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 999, 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 113, in Base_getCategoriesSpreadSheetMapping
File "Script (Python)", line 79, in getIDFromString
File "Script (Python)", line 50, in invalid_category_spreadsheet_handler
Redirect: http://nohost/erp5_portal_afa02331b0c583b85f5ed7d94a6ae859/portal_categories/view?portal_status_message=The ID title is invalid, it's a reserved property name
FAIL: test_Base_getCategoriesSpreadSheetMapping_DuplicateIdsAtSameLevel (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 317, in test_Base_getCategoriesSpreadSheetMapping_DuplicateIdsAtSameLevel
self.assertTrue('france' in str(error), str(error))
AssertionError: The ID id is invalid, it's a reserved property name
More information about the Erp5-report
mailing list