[Erp5-report] ERP5 r19660: 1282 Tests, 7 Errors, 10 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 4 12:40:11 CET 2008


Test Suite: ERP5
Revision: 19660
Result: FAIL

All tests: 1282
Failures: 10
Errors: 7


The following tests failed:

  testERP5Commerce                                   (5 failures)
   test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
   test_02_AddSameResourceToShoppingCart (testERP5Commerce.TestCommerce)
   test_03_AddDifferentResourceToShoppingCart (testERP5Commerce.TestCommerce)
   test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
   test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)

  testDomainTool                                     (2 failures)
   test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
   test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)

  testCRM                                            (1 errors)
   test_PersonModule_CreateRelatedEvent (testCRM.TestCRM)

  testERP5Core                                       (2 errors)
   test_01_ERP5Site_createModule (testERP5Core.TestERP5Core)
   test_03_getDefaultModule (testERP5Core.TestERP5Core)

  testDms                                            (1 failures, 1 errors)
   test_08_EmbeddedDocumentState (testDms.TestDocument)
   test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)

  testERP5Catalog                                    (2 failures)
   test_PercentCharacter (testERP5Catalog.TestERP5Catalog)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
   test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)

  testERP5SyncMLVCard                                (1 errors)
   test_05_basicVCardSynchronization (testERP5SyncMLVCard.TestERP5SyncMLVCard)
-------------- next part --------------

FAIL: test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 115, in test_01_AddResourceToShoppingCart
    self.assertEquals(1, len(shoppping_cart_items))
AssertionError: 1 != 0



FAIL: test_02_AddSameResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 140, in test_02_AddSameResourceToShoppingCart
    self.assertEquals(1, len(shoppping_cart_items))
AssertionError: 1 != 0



FAIL: test_03_AddDifferentResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 165, in test_03_AddDifferentResourceToShoppingCart
    self.assertEquals(2, len(shoppping_cart_items))
AssertionError: 2 != 0



FAIL: test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 194, in test_04_CalculateTotaShoppingCartPrice
    float(shopping_cart.SaleOrder_getShoppingCartTotalPrice()))
AssertionError: 40.0 != 0.0



FAIL: test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 242, in test_05_TestUpdateShoppingCart
    include_taxes = False)))
AssertionError: 40.0 != 0.0



FAIL: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 291, in test_01_SearchPredidateListWithNoTest
    self.checkPredicate(test=0)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
    self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 0 != 1



FAIL: test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 298, in test_02_SearchPredidateListWithTest
    self.checkPredicate(test=1)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
    self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 0 != 1



ERROR: test_PersonModule_CreateRelatedEvent (testCRM.TestCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 115, in test_PersonModule_CreateRelatedEvent
    raise NotImplementedError
NotImplementedError



ERROR: test_01_ERP5Site_createModule (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Core.py", line 101, in test_01_ERP5Site_createModule
    module_title=module_title)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
  File "Script (Python)", line 71, in ERP5Site_createModule
  File "/usr/lib/zope/lib/python/Products/Formulator/Form.py", line 784, in manage_settings
    result = self.settings_form.validate_all(REQUEST)
  File "/usr/lib/zope/lib/python/Products/Formulator/Form.py", line 377, in validate_all
    value = field.validate(REQUEST)
  File "/usr/lib/zope/lib/python/Products/Formulator/Field.py", line 266, in validate
    return self._validate_helper(
  File "/usr/lib/zope/lib/python/Products/Formulator/Field.py", line 255, in _validate_helper
    value = self.validator.validate(self, key, REQUEST)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 507, in LinesValidator_validate
    value = StringBaseValidator.validate(self, field, key, REQUEST)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 448, in StringBaseValidator_validate
    raise KeyError, 'Field %s is not present in request object.' % (repr(field.id), )
KeyError: "Field 'edit_order' is not present in request object."



ERROR: test_03_getDefaultModule (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Core.py", line 239, in test_03_getDefaultModule
    module_title=module_title)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 306, in __call__
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 839, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PythonScripts/PythonScript.py", line 323, in _exec
  File "Script (Python)", line 71, in ERP5Site_createModule
  File "/usr/lib/zope/lib/python/Products/Formulator/Form.py", line 784, in manage_settings
    result = self.settings_form.validate_all(REQUEST)
  File "/usr/lib/zope/lib/python/Products/Formulator/Form.py", line 377, in validate_all
    value = field.validate(REQUEST)
  File "/usr/lib/zope/lib/python/Products/Formulator/Field.py", line 266, in validate
    return self._validate_helper(
  File "/usr/lib/zope/lib/python/Products/Formulator/Field.py", line 255, in _validate_helper
    value = self.validator.validate(self, key, REQUEST)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 507, in LinesValidator_validate
    value = StringBaseValidator.validate(self, field, key, REQUEST)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 448, in StringBaseValidator_validate
    raise KeyError, 'Field %s is not present in request object.' % (repr(field.id), )
KeyError: "Field 'edit_order' is not present in request object."



ERROR: test_08_EmbeddedDocumentState (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 648, in test_08_EmbeddedDocumentState
    document.convert(format='html')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 401, in convert
    mime, data = self._convert(format)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 330, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



FAIL: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 713, in test_ShowPreviewAfterSubmitted
    self.assert_('I use reference to look up TEST' in preview_html)
AssertionError



FAIL: test_PercentCharacter (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2609, in test_PercentCharacter
    title='foo_org%ion_1')))
AssertionError: 1 != 0



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2175, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 719, 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/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 575, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a28a575dea15f29ef51928ed670935d0 already failed, giving up



ERROR: test_05_basicVCardSynchronization (testERP5SyncMLVCard.TestERP5SyncMLVCard)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncMLVCard.py", line 196, in test_05_basicVCardSynchronization
    person1_s = person_server._getOb('1') #The new person is added on the
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 596, in _getOb
    return CMFBTreeFolder._getOb(self, id, *args, **kw)
  File "/usr/lib/zope/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 210, in _getOb
    ob = tree[id]
KeyError: '1'



More information about the Erp5-report mailing list