[Erp5-report] ERP5 r26159: 2356 Tests, 3 Errors, 10 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 26 13:00:29 CET 2009


Test Suite: ERP5
Revision: 26159
Result: FAIL

All tests: 2356
Failures: 10
Errors: 3


The following tests failed:

  testSQLCachedWorklist                              (1 failures)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)

  testXHTML                                          (6 failures)
   test.erp5_budget.Budget Cell.BudgetCell_view (testXHTML.TestXHTML)
   test.erp5_project.Project Cell.BudgetCell_view (testXHTML.TestXHTML)
   test.erp5_web.Web Section.Predicate_view (testXHTML.TestXHTML)
   test.erp5_web.Web Section.WebSection_viewContent (testXHTML.TestXHTML)
   test.erp5_web.Web Section.WebSection_viewContentList (testXHTML.TestXHTML)
   test.erp5_web.Web Site.Predicate_view (testXHTML.TestXHTML)

  testPerson                                         (1 failures)
   testSetPasswordSecurity (testPerson.TestPerson)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testTask                                           (1 errors)
   test_04_checkNotMergedTaskReportLine (testTask.TestTask)

  testERP5Catalog                                    (1 failures, 1 errors)
   Tests SearchableText is working in ERP5Catalog
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog)

  testDms                                            (1 errors)
   test_09_ScriptableKeys (testDms.TestDocument)
-------------- 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 564, 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 530, 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 1021, 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 2171, 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 533 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 530 column 114 : there is no attribute "align"



FAIL: test.erp5_web.Web Section.Predicate_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 "Predicate_view" (from erp5_web bt) with warning  displayed :
Error: line 647 column 19 : end tag for "tbody" which is not finished



FAIL: test.erp5_web.Web Section.WebSection_viewContent (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 "WebSection_viewContent" (from erp5_web bt) with warning  displayed :
Error: line 445 column 19 : end tag for "tbody" which is not finished



FAIL: test.erp5_web.Web Section.WebSection_viewContentList (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 "WebSection_viewContentList" (from erp5_web bt) with warning  displayed :
Error: line 476 column 19 : end tag for "tbody" which is not finished



FAIL: test.erp5_web.Web Site.Predicate_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 "Predicate_view" (from erp5_web bt) with warning  displayed :
Error: line 647 column 19 : end tag for "tbody" which is not finished



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'))]



ERROR: test_04_checkNotMergedTaskReportLine (testTask.TestTask)
----------------------------------------------------------------------
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/testTask.py", line 609, in test_04_checkNotMergedTaskReportLine
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/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
      CreateResource
      CreateSimpleTask
      SetTaskValues
      CreateTaskLine
      FillTaskLineWithData
      CreateTaskLine
      FillTaskLineWithData
      ConfirmTask
      Tic
    > SetTaskReport
      VerifyMergedTaskLine
      StartTaskReport
      FinishTaskReport
      CloseTaskReport
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTask.py", line 471, in stepSetTaskReport
    task_report = task.getCausalityRelatedValueList(
IndexError: list index out of range



ERROR: Tests SearchableText is working in ERP5Catalog
----------------------------------------------------------------------
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 1320, in test_42_SearchableText
    [x.getObject() for x in self.getCatalogTool()(
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 691, in searchResults
    return ZCatalog.searchResults(self, query=query, sql_catalog_id=catalog_id, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1053, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2254, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2249, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/DA.py", line 224, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 393, in _query
    self.db.query(query)
OperationalError: (1241, 'Operand should contain 1 column(s)')



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



ERROR: test_09_ScriptableKeys (testDms.TestDocument)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 730, in test_09_ScriptableKeys
    self.portal.portal_catalog(advanced_search_text='a search text')
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 691, in searchResults
    return ZCatalog.searchResults(self, query=query, sql_catalog_id=catalog_id, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1053, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2254, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2249, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/DA.py", line 224, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 393, in _query
    self.db.query(query)
OperationalError: (1241, 'Operand should contain 1 column(s)')



More information about the Erp5-report mailing list