[Erp5-report] ERP5_z28 r18294: 1365 Tests, 3 Errors, 5 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 13 17:35:02 CET 2007


Test Suite: ERP5_z28
Revision: 18294
Result: FAIL

All tests: 1365
Failures: 5
Errors: 3


The following tests failed:

  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)

  testIngestion                                      (1 failures, 1 errors)
   test_041_MetadataEditing (testIngestion.TestIngestion)
   test_11_EmailIngestion (testIngestion.TestIngestion)

  testPlanningBox                                    (1 errors)
   test_01 (testPlanningBox.TestPlanningBox)

  testERP5Catalog                                    (1 errors)
   test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

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_041_MetadataEditing (testIngestion.TestIngestion)
----------------------------------------------------------------------
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/ERP5OOo/tests/testIngestion.py", line 1027, in test_041_MetadataEditing
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 917, in playSequence
    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:
      CleanUp
      CreateTextDocument
      DialogUpload
    > EditMetadata
      CheckChangedMetadata
  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/ERP5OOo/tests/testIngestion.py", line 654, in stepEditMetadata
    context.updateBaseMetadata(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 503, in updateBaseMetadata
    raise ConversionError("OOoDocument: error getting document metadata %s:%s"
ConversionError: OOoDocument: error getting document metadata 402:



FAIL: test_11_EmailIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
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/ERP5OOo/tests/testIngestion.py", line 1177, in test_11_EmailIngestion
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 917, in playSequence
    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:
      CleanUp
      ReceiveEmailFromUnknown
      CreatePerson
      ReceiveEmailFromJohn
    > VerifyEmailedDocuments
  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/ERP5OOo/tests/testIngestion.py", line 899, in stepVerifyEmailedDocuments
    self.assertEqual(len(result), 1)
AssertionError: 0 != 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