[Erp5-report] ERP5_z28 r21004: 1942 Tests, 6 Errors, 6 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sat May 17 14:37:50 CEST 2008


Test Suite: ERP5_z28
Revision: 21004
Result: FAIL

All tests: 1942
Failures: 6
Errors: 6


The following tests failed:

  testXHTML                                          (1 errors)
   test.erp5_project.Project.Project_viewLineList (testXHTML.TestXHTML)

  testOrder                                          (1 failures)
   test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)

  testGadgets                                        (2 errors)
   Check that it's properly initialized
   Check Gadgets

  testPurchaseOrder                                  (1 failures)
   test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testPurchaseOrder.TestPurchaseOrder)

  testOOoStyle                                       (1 failures)
   test_image_field_form_view (testOOoStyle.TestODTStyle)

  testIngestion                                      (1 errors)
   test_05_FormatIngestionText (testIngestion.TestIngestion)

  testERP5Catalog                                    (3 failures)
   test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
   test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)
-------------- next part --------------

ERROR: test.erp5_project.Project.Project_viewLineList (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 277, in testMethod
    view = getattr(object, view_name)
AttributeError: Project_viewLineList



FAIL: test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1292, in test_07b_OrderLine_getTotalPriceAndQuantityFastParameter
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, 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:
      CreateOrder
      CreateVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
    > CheckOrderLineTotalPriceAndQuantityFastParameter
  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/ERP5/tests/testOrder.py", line 521, in stepCheckOrderLineTotalPriceAndQuantityFastParameter
    self.assertEquals(0, order_line.getTotalPrice(fast=1))
AssertionError: 0 != 103030.0



ERROR: Check that it's properly initialized
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 669, in setUpERP5Site
    bt = portal.portal_templates.download(url)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 383, in download
    bt = self._download_local(name, id)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 333, in _download_local
    return self._importBT(path, bt_id)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 228, in _importBT
    file = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 'erp5_knowledge_pad.bt5'



ERROR: Check Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 579, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_0be623d901b481020c4c563a2b71b9cf already failed, giving up



FAIL: test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1292, in test_07b_OrderLine_getTotalPriceAndQuantityFastParameter
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, 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:
      CreateOrder
      CreateVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
    > CheckOrderLineTotalPriceAndQuantityFastParameter
  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/ERP5/tests/testOrder.py", line 521, in stepCheckOrderLineTotalPriceAndQuantityFastParameter
    self.assertEquals(0, order_line.getTotalPrice(fast=1))
AssertionError: 0 != 103030.0



FAIL: test_image_field_form_view (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
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/testOOoStyle.py", line 239, in test_image_field_form_view
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500



ERROR: test_05_FormatIngestionText (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 1108, in test_05_FormatIngestionText
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, 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 166, 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
    > IngestTextFormats
  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 742, in stepIngestTextFormats
    self.ingestFormatList('one', format_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 303, in ingestFormatList
    context.convertToBaseFormat()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 1277, in convertToBaseFormat
    message = self._convertToBaseFormat() # Call implemetation method
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 527, in _convertToBaseFormat
    raise ConversionError(
ConversionError: OOoDocument: Error converting document to base format 402::



FAIL: test_SearchedStringIsNotStripped (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 2629, in test_SearchedStringIsNotStripped
    compareSet(' foo', [second_doc])
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2627, in compareSet
    self.assertSameSet(document_list, [x.getObject() for x in result])
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 536, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/83>] != [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/82>]



FAIL: test_complex_query (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 2175, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



FAIL: test_sortOnRelatedKeyWithUnsetRelation (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 2664, in test_sortOnRelatedKeyWithUnsetRelation
    len(person_module.searchFolder(sort_on=[('subordination_title', 'ascending')])))
AssertionError: 2 != 1



ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 723, in setUpERP5Site
    raise RuntimeError, \
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6), ('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6)]



ERROR: test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 579, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a28a575dea15f29ef51928ed670935d0 already failed, giving up



More information about the Erp5-report mailing list