[Erp5-report] ERP5 r21282: 1486 Tests, 8 Errors, 15 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jun 4 00:52:02 CEST 2008
Test Suite: ERP5
Revision: 21282
Result: FAIL
All tests: 1486
Failures: 15
Errors: 8
The following tests failed:
testGadgets (2 errors)
Check that it's properly initialized
Check Gadgets
testERP5Web (1 failures)
Check that when a document is requested within a Web Section we have a chance to
testERP5Base (1 failures)
test_TelephoneWhenTheDefaultCountryAndAreaPreferenceIsBlank (testERP5Base.TestERP5Base)
testERP5Type (3 failures, 1 errors)
test_category_accessor_to_unaccessible_documents (testERP5Type.TestERP5Type)
test_category_accessor_to_unaccessible_documents (testERP5Type.TestERP5Type)
test_copyWithoutModificationRight (testERP5Type.TestERP5Type)
test_edit (testERP5Type.TestERP5Type)
testOOoStyle (1 failures)
test_image_field_form_view (testOOoStyle.TestODTStyle)
testDms (1 failures, 1 errors)
test_08_EmbeddedDocumentState (testDms.TestDocument)
test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
testPreferences (1 failures)
test_SystemPreference (testPreferences.TestPreferences)
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)
testERP5SyncML (6 failures)
test_17_AddSubObject (testERP5SyncML.TestERP5SyncML)
test_18_UpdateSubObject (testERP5SyncML.TestERP5SyncML)
test_20_DeleteSubObject (testERP5SyncML.TestERP5SyncML)
test_21_GetConflictListOnSubObject (testERP5SyncML.TestERP5SyncML)
test_22_ApplyPublisherDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
test_23_ApplySubscriberDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
-------------- next part --------------
ERROR: Check that it's properly initialized
----------------------------------------------------------------------
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 669, in setUpERP5Site
bt = portal.portal_templates.download(url)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 383, in download
bt = self._download_local(name, id)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 333, in _download_local
return self._importBT(path, bt_id)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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/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 579, in setUpERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_0be623d901b481020c4c563a2b71b9cf already failed, giving up
FAIL: Check that when a document is requested within a Web Section we have a chance to
----------------------------------------------------------------------
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/testERP5Web.py", line 363, in test_06_WebSectionAuthorizationForced
self.assertRaises(Unauthorized, websection._getExtensibleContent, request, document_reference)
AssertionError: Unauthorized not raised
FAIL: test_TelephoneWhenTheDefaultCountryAndAreaPreferenceIsBlank (testERP5Base.TestERP5Base)
----------------------------------------------------------------------
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/testERP5Base.py", line 903, in test_TelephoneWhenTheDefaultCountryAndAreaPreferenceIsBlank
self.assertEquals('+(0)-12345678/',tel.asText())
AssertionError: '+(0)-12345678/' != '+33(0)2-12345678/'
ERROR: test_category_accessor_to_unaccessible_documents (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
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/Products/ERP5Type/tests/testERP5Type.py", line 1826, in test_category_accessor_to_unaccessible_documents
self.tic()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 521, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_c7320eb496224a747fda62ecf1eddd88/portal_classes', 'immediateReindexObject', -2, 6), ('/erp5_portal_c7320eb496224a747fda62ecf1eddd88/portal_categories/region/beta', 'immediateReindexObject', -2, 6), ('/erp5_portal_c7320eb496224a747fda62ecf1eddd88/portal_categories/region/beta', 'recursiveImmediateReindexObject', -2, 6), ('/erp5_portal_c7320eb496224a747fda62ecf1eddd88/portal_categories/region/gamma', 'immediateReindexObject', -2, 6), ('/erp5_portal_c7320eb496224a747fda62ecf1eddd88/portal_categories/region/gamma', 'recursiveImmediateReindexObject', -2, 6)]
ERROR: test_category_accessor_to_unaccessible_documents (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 93, in __call__
self.tearDown()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/Products/ERP5Type/tests/testERP5Type.py", line 84, in tearDown
ERP5TypeTestCase.tearDown(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/base.py", line 90, in tearDown
self.beforeTearDown()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/Products/ERP5Type/tests/testERP5Type.py", line 165, in beforeTearDown
self.tic()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 521, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_c7320eb496224a747fda62ecf1eddd88/portal_classes', 'immediateReindexObject', -2, 6)]
ERROR: test_copyWithoutModificationRight (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 93, in __call__
self.tearDown()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/Products/ERP5Type/tests/testERP5Type.py", line 84, in tearDown
ERP5TypeTestCase.tearDown(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/base.py", line 90, in tearDown
self.beforeTearDown()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/Products/ERP5Type/tests/testERP5Type.py", line 165, in beforeTearDown
self.tic()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 521, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_c7320eb496224a747fda62ecf1eddd88/portal_classes', 'immediateReindexObject', -2, 6)]
FAIL: test_edit (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
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/Products/ERP5Type/tests/testERP5Type.py", line 2240, in test_edit
self.assertRaises(Unauthorized, obj.edit, foo_bar="v2")
AssertionError: Unauthorized not raised
FAIL: test_image_field_form_view (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
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/testOOoStyle.py", line 239, in test_image_field_form_view
self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500
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 650, 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 404, 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 333, 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 740, in test_ShowPreviewAfterSubmitted
self.assert_('I use reference to look up TEST' in preview_html)
AssertionError
FAIL: test_SystemPreference (testPreferences.TestPreferences)
----------------------------------------------------------------------
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/ERP5Form/tests/testPreferences.py", line 473, in test_SystemPreference
self.assertRaises(Unauthorized, user_pref.edit, preferred_ooodoc_server_address="localhost")
AssertionError: Unauthorized not raised
FAIL: test_SearchedStringIsNotStripped (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 2629, in test_SearchedStringIsNotStripped
compareSet(' foo', [second_doc])
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2627, in compareSet
self.assertSameSet(document_list, [x.getObject() for x in result])
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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/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
FAIL: test_sortOnRelatedKeyWithUnsetRelation (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 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/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 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/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 579, in setUpERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a28a575dea15f29ef51928ed670935d0 already failed, giving up
FAIL: test_17_AddSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/testERP5SyncML.py", line 807, in test_17_AddSubObject
self.assertEquals(sub_sub_person1.getDefaultTelephoneText(), '+(0)-0689778308')
AssertionError: '+(0)-0689778308/' != '+(0)-0689778308'
FAIL: test_18_UpdateSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/testERP5SyncML.py", line 821, in test_18_UpdateSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 807, in test_17_AddSubObject
self.assertEquals(sub_sub_person1.getDefaultTelephoneText(), '+(0)-0689778308')
AssertionError: '+(0)-0689778308/' != '+(0)-0689778308'
FAIL: test_20_DeleteSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/testERP5SyncML.py", line 881, in test_20_DeleteSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 807, in test_17_AddSubObject
self.assertEquals(sub_sub_person1.getDefaultTelephoneText(), '+(0)-0689778308')
AssertionError: '+(0)-0689778308/' != '+(0)-0689778308'
FAIL: test_21_GetConflictListOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/testERP5SyncML.py", line 907, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 807, in test_17_AddSubObject
self.assertEquals(sub_sub_person1.getDefaultTelephoneText(), '+(0)-0689778308')
AssertionError: '+(0)-0689778308/' != '+(0)-0689778308'
FAIL: test_22_ApplyPublisherDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/testERP5SyncML.py", line 940, in test_22_ApplyPublisherDocumentOnSubObject
self.test_21_GetConflictListOnSubObject(quiet=1,run=1)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 907, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 807, in test_17_AddSubObject
self.assertEquals(sub_sub_person1.getDefaultTelephoneText(), '+(0)-0689778308')
AssertionError: '+(0)-0689778308/' != '+(0)-0689778308'
FAIL: test_23_ApplySubscriberDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
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/testERP5SyncML.py", line 970, in test_23_ApplySubscriberDocumentOnSubObject
self.test_21_GetConflictListOnSubObject(quiet=1,run=1)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 907, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 807, in test_17_AddSubObject
self.assertEquals(sub_sub_person1.getDefaultTelephoneText(), '+(0)-0689778308')
AssertionError: '+(0)-0689778308/' != '+(0)-0689778308'
More information about the Erp5-report
mailing list