[Erp5-report] ERP5_z28 r18323: 1367 Tests, 4 Errors, 4 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 14 13:05:53 CET 2007
Test Suite: ERP5_z28
Revision: 18323
Result: FAIL
All tests: 1367
Failures: 4
Errors: 4
The following tests failed:
testTaskReportDivergence (1 errors)
test_02_TestReportListChangeDestination (testTaskReportDivergence.TestTaskReportDivergence)
testTask (1 errors)
Test creation of task and (automatic) task_report with strict
testDomainTool (2 failures)
test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
testERP5Web (1 failures)
test_04_WebPageTranslation (testERP5Web.TestERP5Web)
testSQLCachedWorklist (1 failures)
test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)
testPlanningBox (1 errors)
test_01 (testPlanningBox.TestPlanningBox)
testERP5Catalog (1 errors)
test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------
ERROR: test_02_TestReportListChangeDestination (testTaskReportDivergence.TestTaskReportDivergence)
----------------------------------------------------------------------
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/testTaskReportDivergence.py", line 152, in test_02_TestReportListChangeDestination
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, 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:
> CreateOrganisation
Login
CreateOrganisation
CreateOrganisation
CreateResource
CreateProject
CreateRequirement
CreateSimpleTask
FillTaskWithData
ConfirmTask
Tic
SetTaskReport
CheckTaskReportIsSolved
ChangeTaskReportDestination
CheckTaskReportIsCalculating
Tic
CheckTaskReportIsDiverged
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/testTask.py", line 204, in stepCreateOrganisation
title='Organization%s' % len(organisation_list),
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 145, in newContent
is_indexable=is_indexable
File "/usr/lib/erp5/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/ERP5Type.py", line 276, in constructInstance
raise AccessControl_Unauthorized('Cannot create %s' % self.getId())
Unauthorized: Cannot create Organisation
ERROR: Test creation of task and (automatic) task_report with strict
----------------------------------------------------------------------
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/testTask.py", line 577, in test_05_testStrictSimulationSecurity
sequence_list.play(self)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, 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:
Login
CreateOrganisation
CreateOrganisation
CreateResource
CreateProject
CreateRequirement
CreateSimpleTask
FillTaskWithData
ConfirmTask
> Tic
SetTaskReport
VerifyGeneratedByBuilderTaskReport
StartTaskReport
FinishTaskReport
CloseTaskReport
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/testTask.py", line 147, in stepTic
self.tic()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5b804c5b31c4569bb4c49764b8e724c6/portal_deliveries/task_report_builder', 'build', -1, 1), ('/erp5_portal_5b804c5b31c4569bb4c49764b8e724c6/task_module/4', 'updateAppliedRule', -2, 6)]
FAIL: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
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/testDomainTool.py", line 291, in test_01_SearchPredidateListWithNoTest
self.checkPredicate(test=0)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 5 != 1
FAIL: test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
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/testDomainTool.py", line 298, in test_02_SearchPredidateListWithTest
self.checkPredicate(test=1)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 5 != 1
FAIL: test_04_WebPageTranslation (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 254, in test_04_WebPageTranslation
self.assertEquals(1, len(websection.WebSection_getDocumentValueList()))
AssertionError: 1 != 4
FAIL: 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 193, in test_01_worklist
self.assertEquals(
AssertionError: 2 != 1
ERROR: test_01 (testPlanningBox.TestPlanningBox)
----------------------------------------------------------------------
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/ERP5Form/tests/testPlanningBox.py", line 162, in test_01
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, 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:
CreateObjects
Tic
CreateObjectLines
Tic
RenderStructure
CheckPlanning
> CheckBasic
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/ERP5Form/tests/testPlanningBox.py", line 130, in stepCheckBasic
self.assertEquals(len(basic.report_groups), 1)
AttributeError: BasicStructure instance has no attribute 'report_groups'
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 2527, 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 2508, 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 2417, in buildSQLQuery
stat__=stat__)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 445, 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',), {}
More information about the Erp5-report
mailing list