[Erp5-report] ERP5_z212 r34690 : 3435 Tests, 6 Errors, 6 Failures, 19 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 22 00:00:58 CEST 2010
Test Suite: ERP5_z212
Revision: 34690
Result: FAIL
All tests: 3435
Failures: 6
Errors: 6
Skips: 19
The following tests failed:
testFields (1 errors)
test_render_big_numbers (testFields.TestFloatField)
testKMGadget (5 errors)
test_04WebFrontGadgets (testKMGadget.TestGadgets), Check different Web / KM Gadgets
test_09SubsectionGadget (testKMGadget.TestGadgets), Check Subsection Gadgets
test_11AssignedMembersGadget (testKMGadget.TestGadgets), Check Assigned Members Gadgets
test_15GadgetServerSideFailure (testKMGadget.TestGadgets)
test_16WebSiteBrowserGadget (testKMGadget.TestGadgets)
testOpenOrder (1 failures)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testProxyField (1 failures)
testSkinSelectionTemplateField (testProxyField.TestProxyField)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testTemplate (3 failures)
test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
The following tests were at least partly skipped:
testBase (3 skips)
test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
testERP5Catalog (3 skips)
test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
testFormPrintoutAsODT (1 skips)
test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'
testMRP (4 skips)
test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
testSQLCachedWorklist (1 skips)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
testSelectionTool (7 skips)
skipped 'Test to be written'
testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
skipped 'Test to be written'
testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
-------------- next part --------------
ERROR: test_render_big_numbers (testFields.TestFloatField)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testFields.py", line 156, in test_render_big_numbers
self.field.render(10000000000000000000))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 269, in render
editable=editable,
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 205, in _render_helper
render_prefix=render_prefix)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Widget.py", line 1733, in render_view
value = self.format_value(field, value)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Widget.py", line 1698, in format_value
if i < len(value_list[1]):
IndexError: list index out of range
ERROR: test_04WebFrontGadgets (testKMGadget.TestGadgets), Check different Web / KM Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/business_templates/erp5_km/TestTemplateItem/testKMGadget.py", line 436, in test_04WebFrontGadgets
self.web_front_knowledge_pad.KnowledgePad_addBoxList(**{'uids':[gadget.getUid()]})
AttributeError: KnowledgePad_addBoxList
ERROR: test_09SubsectionGadget (testKMGadget.TestGadgets), Check Subsection Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/business_templates/erp5_km/TestTemplateItem/testKMGadget.py", line 612, in test_09SubsectionGadget
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1103, in stepTic
transaction.commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityBuffer.py", line 132, in tpc_prepare
activity.prepareQueueMessageList(activity_tool, message_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLDict.py", line 88, in prepareQueueMessageList
id_count=len(registered_message_list))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/IdTool.py", line 200, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/IdGenerator.py", line 106, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/IdGenerator.py", line 106, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 122, in generateNewIdList
default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 79, in _generateNewId
raise AttributeError, 'Error while generating Id: ' \
AttributeError: Error while generating Id: idTool_zGenerateId and/or IdTool_zCommit and/or idTool_zGetLastIdcould not be found.
ERROR: test_11AssignedMembersGadget (testKMGadget.TestGadgets), Check Assigned Members Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/business_templates/erp5_km/TestTemplateItem/testKMGadget.py", line 702, in test_11AssignedMembersGadget
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1103, in stepTic
transaction.commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityBuffer.py", line 132, in tpc_prepare
activity.prepareQueueMessageList(activity_tool, message_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLDict.py", line 88, in prepareQueueMessageList
id_count=len(registered_message_list))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/IdTool.py", line 200, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/IdGenerator.py", line 106, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/IdGenerator.py", line 106, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 122, in generateNewIdList
default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 79, in _generateNewId
raise AttributeError, 'Error while generating Id: ' \
AttributeError: Error while generating Id: idTool_zGenerateId and/or IdTool_zCommit and/or idTool_zGetLastIdcould not be found.
ERROR: test_15GadgetServerSideFailure (testKMGadget.TestGadgets)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/business_templates/erp5_km/TestTemplateItem/testKMGadget.py", line 864, in test_15GadgetServerSideFailure
self.web_front_knowledge_pad.KnowledgePad_addBoxList(**{'uids':[gadget.getUid()]})
AttributeError: KnowledgePad_addBoxList
ERROR: test_16WebSiteBrowserGadget (testKMGadget.TestGadgets)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/business_templates/erp5_km/TestTemplateItem/testKMGadget.py", line 923, in test_16WebSiteBrowserGadget
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1103, in stepTic
transaction.commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityBuffer.py", line 132, in tpc_prepare
activity.prepareQueueMessageList(activity_tool, message_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLDict.py", line 88, in prepareQueueMessageList
id_count=len(registered_message_list))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/IdTool.py", line 200, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/IdGenerator.py", line 106, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/IdGenerator.py", line 106, in generateNewIdList
id_count=id_count, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 122, in generateNewIdList
default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 79, in _generateNewId
raise AttributeError, 'Error while generating Id: ' \
AttributeError: Error while generating Id: idTool_zGenerateId and/or IdTool_zCommit and/or idTool_zGetLastIdcould not be found.
FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testOpenOrder.py", line 194, in testPeriodicityDateList
(D(2008,11,1,0,1), DateTime(2008,11,30)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))]
FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testProxyField.py", line 199, in testSkinSelectionTemplateField
self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'
FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}
FAIL: test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 337, in test_DeliveryTemplateNotIndexable
self._testTemplateNotIndexable(document)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 327, in _testTemplateNotIndexable
self.assertEqual(len(preference.objectIds()), 2)
AssertionError: 1 != 2
FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
self._testTemplateNotIndexable(document)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1
FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2
More information about the Erp5-report
mailing list