[Erp5-report] ERP5 r25841: 2345 Tests, 0 Errors, 12 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 4 05:01:33 CET 2009


Test Suite: ERP5
Revision: 25841
Result: FAIL

All tests: 2345
Failures: 12
Errors: 0


The following tests failed:

  testTranslation                                    (4 failures)
   test_01_EnglishTranslation (testTranslation.TestTranslation)
   test_02_FrenchTranslation (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)

  testSQLCatalog                                     (2 failures)
   test_relatedDateTimeKey (testSQLCatalog.TestSQLCatalog)
   test_relatedKeywordKey (testSQLCatalog.TestSQLCatalog)
-------------- 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_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 2152, 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 103, 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 151, in registerColumnMap
    column_map.registerCatalog()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ColumnMap.py", line 156, 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



FAIL: test_relatedDateTimeKey (testSQLCatalog.TestSQLCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 294, in test_relatedDateTimeKey
    self._testDateTimeKey('related_date')
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 232, in _testDateTimeKey
    {column: '2008/10/01 UTC'})
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 166, in catalog
    'Query: %r\nSearchText: %r\nReference: %r\nSecond rendering: %r' % \
AssertionError: Query: <ComplexQuery of 'and'.join([<RelatedQuery on 'related_date' with <ComplexQuery of 'and'.join([<SimpleQuery 'date' >= DateTime('2008/10/01')>, <SimpleQuery 'date' < DateTime('2008/10/02')>])>>])>
SearchText: 'related_date:(>="2008-10-01 02:00:00" AND <"2008-10-02 02:00:00")'
Reference: {'limit_expression': '', 'select_expression': '', 'where_expression': '((`related_related_date_1_foo`.`date` >= "2008-10-01 00:00:00"\n  AND `related_related_date_1_foo`.`date` < "2008-10-02 00:00:00")\n  AND (related_related_date_bar.uid = foo.uid AND related_related_date_bar.other_uid = related_related_date_1_foo))', 'sort_on': '', 'from_expression': None, 'group_by_expression': '', 'from_table_list': [('related_related_date_bar', 'bar'), ('foo', 'foo'), ('related_related_date_1_foo', 'foo')]}
Second rendering: {'limit_expression': '', 'select_expression': '', 'where_expression': '((`related_related_date_1_foo`.`date` >= "2008-10-01 00:00:00"\n  AND `related_related_date_2_foo`.`date` < "2008-10-02 00:00:00")\n  AND (related_related_date_bar.uid = foo.uid AND related_related_date_bar.other_uid = related_related_date_1_foo)\n  AND (related_related_date_bar_1.uid = foo.uid AND related_related_date_bar_1.other_uid = related_related_date_2_foo))', 'sort_on': '', 'from_expression': None, 'group_by_expression': '', 'from_table_list': [('related_related_date_bar_1', 'bar'), ('related_related_date_bar', 'bar'), ('foo', 'foo'), ('related_related_date_2_foo', 'foo'), ('related_related_date_1_foo', 'foo')]}



FAIL: test_relatedKeywordKey (testSQLCatalog.TestSQLCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 335, in test_relatedKeywordKey
    self._testKeywordKey('related_keyword')
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 324, in _testKeywordKey
    {column: ['a', '<b']})
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 166, in catalog
    'Query: %r\nSearchText: %r\nReference: %r\nSecond rendering: %r' % \
AssertionError: Query: <ComplexQuery of 'and'.join([<RelatedQuery on 'related_keyword' with <ComplexQuery of 'or'.join([<SimpleQuery 'keyword' like '%a%'>, <SimpleQuery 'keyword' < 'b'>])>>])>
SearchText: 'related_keyword:("a" OR <"b")'
Reference: {'limit_expression': '', 'select_expression': '', 'where_expression': "((`related_related_keyword_1_foo`.`keyword` LIKE '%a%'\n  OR `related_related_keyword_1_foo`.`keyword` < 'b')\n  AND (related_related_keyword_bar.uid = foo.uid AND related_related_keyword_bar.other_uid = related_related_keyword_1_foo))", 'sort_on': '', 'from_expression': None, 'group_by_expression': '', 'from_table_list': [('related_related_keyword_bar', 'bar'), ('foo', 'foo'), ('related_related_keyword_1_foo', 'foo')]}
Second rendering: {'limit_expression': '', 'select_expression': '', 'where_expression': "((`related_related_keyword_1_foo`.`keyword` LIKE '%a%'\n  OR `related_related_keyword_2_foo`.`keyword` < 'b')\n  AND (related_related_keyword_bar.uid = foo.uid AND related_related_keyword_bar.other_uid = related_related_keyword_1_foo)\n  AND (related_related_keyword_bar_1.uid = foo.uid AND related_related_keyword_bar_1.other_uid = related_related_keyword_2_foo))", 'sort_on': '', 'from_expression': None, 'group_by_expression': '', 'from_table_list': [('related_related_keyword_bar', 'bar'), ('foo', 'foo'), ('related_related_keyword_2_foo', 'foo'), ('related_related_keyword_bar_1', 'bar'), ('related_related_keyword_1_foo', 'foo')]}



More information about the Erp5-report mailing list