[Erp5-report] ERP5 r25913: 2345 Tests, 0 Errors, 11 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Mar 7 08:26:24 CET 2009


Test Suite: ERP5
Revision: 25913
Result: FAIL

All tests: 2345
Failures: 11
Errors: 0


The following tests failed:

  testTranslation                                    (5 failures)
   test_01_EnglishTranslation (testTranslation.TestTranslation)
   test_02_FrenchTranslation (testTranslation.TestTranslation)
   test_03_JapaneseTranslation (testTranslation.TestTranslation)
   test_04_PolishTranslation (testTranslation.TestTranslation)
   test_05_PortugueseTranslation (testTranslation.TestTranslation)

  testSQLCachedWorklist                              (1 failures)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)

  testXHTML                                          (2 failures)
   test.erp5_budget.Budget Cell.BudgetCell_view (testXHTML.TestXHTML)
   test.erp5_project.Project Cell.BudgetCell_view (testXHTML.TestXHTML)

  testPerson                                         (1 failures)
   testSetPasswordSecurity (testPerson.TestPerson)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testERP5Catalog                                    (1 failures)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

FAIL: test_01_EnglishTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 209, in test_01_EnglishTranslation
    self.checkWorkflowStateTitle(quiet=quiet, run=run)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
    self.fail(self.message)
AssertionError: 

'Open'
	### Conflicting workflow with common states (ie, what user can see) ###
	'order_workflow'	'open'	'Open'	['confirmed']
	'production_order_workflow'	'open'	'Open'	['confirmed']

	### All conflicting workflows (ie, problems asking to happen) ###
	'assignment_workflow'	'open'	'Open'
	'career_workflow'	'open'	'Open'
	'order_workflow'	'open'	'Open'
	'account_workflow'	'validated'	'Open'
	'accounting_period_workflow'	'started'	'Open'
	'ticket_workflow'	'validated'	'Open'
	'bug_workflow'	'confirmed'	'Open'
	'production_order_workflow'	'open'	'Open'
	'project_workflow'	'validated'	'Open'




FAIL: test_02_FrenchTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 216, in test_02_FrenchTranslation
    self.checkWorkflowStateTitle(quiet=quiet, run=run)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
    self.fail(self.message)
AssertionError: 

'Ouvert'
	### Conflicting workflow with common states (ie, what user can see) ###
	'order_workflow'	'open'	'Open'	['confirmed']
	'production_order_workflow'	'open'	'Open'	['confirmed']

	### All conflicting workflows (ie, problems asking to happen) ###
	'assignment_workflow'	'open'	'Open'
	'career_workflow'	'open'	'Open'
	'order_workflow'	'open'	'Open'
	'account_workflow'	'validated'	'Open'
	'accounting_period_workflow'	'started'	'Open'
	'ticket_workflow'	'validated'	'Open'
	'bug_workflow'	'confirmed'	'Open'
	'production_order_workflow'	'open'	'Open'
	'project_workflow'	'validated'	'Open'




FAIL: test_03_JapaneseTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 223, in test_03_JapaneseTranslation
    self.checkWorkflowStateTitle(quiet=quiet, run=run)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
    self.fail(self.message)
AssertionError: 

'利用可能'
	### Conflicting workflow with common states (ie, what user can see) ###
	'order_workflow'	'open'	'Open'	['confirmed']
	'production_order_workflow'	'open'	'Open'	['confirmed']

	### All conflicting workflows (ie, problems asking to happen) ###
	'assignment_workflow'	'open'	'Open'
	'career_workflow'	'open'	'Open'
	'order_workflow'	'open'	'Open'
	'account_workflow'	'validated'	'Open'
	'accounting_period_workflow'	'started'	'Open'
	'ticket_workflow'	'validated'	'Open'
	'bug_workflow'	'confirmed'	'Open'
	'production_order_workflow'	'open'	'Open'
	'project_workflow'	'validated'	'Open'

'却下済み'
	### Conflicting workflow with common states (ie, what user can see) ###
	'open_order_workflow'	'rejected'	'Rejected'	['cancelled']
	'order_workflow'	'rejected'	'Rejected'	['cancelled']
	'sale_opportunity_workflow'	'rejected'	'Rejected'	['cancelled']
	'leave_request_workflow'	'rejected'	'Rejected'	['cancelled']
	'leave_request_workflow'	'cancelled'	'Invalidated'	['rejected']

	### All conflicting workflows (ie, problems asking to happen) ###
	'rule_validation_workflow'	'invalidated'	'Invalidated'
	'validation_workflow'	'invalidated'	'Invalidated'
	'open_order_workflow'	'rejected'	'Rejected'
	'order_workflow'	'rejected'	'Rejected'
	'account_workflow'	'invalidated'	'Invalidated'
	'apparel_validation_workflow'	'invalidated'	'Invalidated'
	'sale_opportunity_workflow'	'rejected'	'Rejected'
	'item_workflow'	'invalidated'	'Invalidated'
	'group_calendar_workflow'	'cancelled'	'Invalidated'
	'leave_request_workflow'	'rejected'	'Rejected'
	'leave_request_workflow'	'cancelled'	'Invalidated'
	'presence_request_workflow'	'cancelled'	'Invalidated'




FAIL: test_04_PolishTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 230, in test_04_PolishTranslation
    self.checkWorkflowStateTitle(quiet=quiet, run=run)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
    self.fail(self.message)
AssertionError: 

'Otwórz'
	### Conflicting workflow with common states (ie, what user can see) ###
	'order_workflow'	'open'	'Open'	['confirmed']
	'production_order_workflow'	'open'	'Open'	['confirmed']

	### All conflicting workflows (ie, problems asking to happen) ###
	'assignment_workflow'	'open'	'Open'
	'career_workflow'	'open'	'Open'
	'order_workflow'	'open'	'Open'
	'account_workflow'	'validated'	'Open'
	'accounting_period_workflow'	'started'	'Open'
	'ticket_workflow'	'validated'	'Open'
	'bug_workflow'	'confirmed'	'Open'
	'production_order_workflow'	'open'	'Open'
	'project_workflow'	'validated'	'Open'




FAIL: test_05_PortugueseTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 237, in test_05_PortugueseTranslation
    self.checkWorkflowStateTitle(quiet=quiet, run=run)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
    self.fail(self.message)
AssertionError: 

'Abrir'
	### Conflicting workflow with common states (ie, what user can see) ###
	'order_workflow'	'open'	'Open'	['confirmed']
	'production_order_workflow'	'open'	'Open'	['confirmed']

	### All conflicting workflows (ie, problems asking to happen) ###
	'assignment_workflow'	'open'	'Open'
	'career_workflow'	'open'	'Open'
	'order_workflow'	'open'	'Open'
	'account_workflow'	'validated'	'Open'
	'accounting_period_workflow'	'started'	'Open'
	'ticket_workflow'	'validated'	'Open'
	'bug_workflow'	'confirmed'	'Open'
	'production_order_workflow'	'open'	'Open'
	'project_workflow'	'validated'	'Open'




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/slave/parts/bot_broken_screen/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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 563, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 202, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 529, 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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1025, 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 3, in Base_getCountFromWorklistTable
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1040, in buildSQLQuery
    return catalog.buildSQLQuery(REQUEST=REQUEST, query_table=query_table, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2158, in buildSQLQuery
    result = query.asSQLExpression(self, only_group_columns).asSQLExpressionDict()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/EntireQuery.py", line 99, in asSQLExpression
    self.query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 131, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/AutoQuery.py", line 129, in registerColumnMap
    return self.wrapped_query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/RelatedQuery.py", line 87, in registerColumnMap
    self.group = self.search_key.registerColumnMap(column_map, table_alias_list=self.table_alias_list)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SearchKey/RelatedKey.py", line 145, in registerColumnMap
    column_map.registerCatalog()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ColumnMap.py", line 155, in registerCatalog
    assert self.catalog_table_name is not None
AssertionError



FAIL: test.erp5_budget.Budget Cell.BudgetCell_view (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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 285, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "BudgetCell_view" (from erp5_budget bt) with warning  displayed :
Error: line 534 column 114 : there is no attribute "align"



FAIL: test.erp5_project.Project Cell.BudgetCell_view (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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 285, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "BudgetCell_view" (from erp5_project bt) with warning  displayed :
Error: line 531 column 114 : there is no attribute "align"



FAIL: testSetPasswordSecurity (testPerson.TestPerson)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testPerson.py", line 141, in testSetPasswordSecurity
    self.assertRaises(Unauthorized, p.edit, password='secret')
AssertionError: Unauthorized not raised



FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 182, in testPeriodicityDateList
    [(DateTime(2008,2,1,0,1), DateTime(2008,2,29)),
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: test_49_IndexInOrderedSearchFolder (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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1664, in test_49_IndexInOrderedSearchFolder
    self.failUnless('use index' in sql)
AssertionError



More information about the Erp5-report mailing list