[Erp5-report] ERP5 r26085: 2354 Tests, 0 Errors, 7 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 18 12:06:15 CET 2009


Test Suite: ERP5
Revision: 26085
Result: FAIL

All tests: 2354
Failures: 7
Errors: 0


The following tests failed:

  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)

  testERP5Type                                       (1 failures)
   Tests for workflow state. assumes that validation state is chained to
-------------- next part --------------

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 1038, 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 2167, 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 136, 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 136, 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 136, 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 136, 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 136, 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 136, 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 136, 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 136, 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 136, 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 144, in registerColumnMap
    column_map.registerCatalog()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ColumnMap.py", line 154, 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: Tests for workflow state. assumes that validation state is chained to
----------------------------------------------------------------------
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/ERP5Type/tests/testERP5Type.py", line 1019, in test_17_WorkflowStateAccessor
    person.getTranslatedValidationStateTitle())
AssertionError: 'Draft' != 'Draft [state in validation_workflow]'



More information about the Erp5-report mailing list