[Erp5-report] ERP5 r21560: 1503 Tests, 18 Errors, 4 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 13 04:44:44 CEST 2008


Test Suite: ERP5
Revision: 21560
Result: FAIL

All tests: 1503
Failures: 4
Errors: 18


The following tests failed:

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

  testCRM                                            (9 errors)
   test_asText (testCRM.TestCRMMailIngestion)
   test_document_creation (testCRM.TestCRMMailIngestion)
   test_findTypeByName_MailMessage (testCRM.TestCRMMailIngestion)
   test_follow_up (testCRM.TestCRMMailIngestion)
   test_forwarder_mail (testCRM.TestCRMMailIngestion)
   test_portal_type_determination (testCRM.TestCRMMailIngestion)
   test_recipient (testCRM.TestCRMMailIngestion)
   test_sender (testCRM.TestCRMMailIngestion)
   test_title (testCRM.TestCRMMailIngestion)

  testERP5Web                                        (1 errors)
   test_07_WebPageTextContentSubstituions (testERP5Web.TestERP5Web)

  testIngestion                                      (2 errors)
   test_11_EmailIngestion (testIngestion.TestIngestion)
   test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)

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

  testScribusUtils                                   (1 errors)
   Just create a module using scribus file and pdf file with DateTimeField

  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: 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



ERROR: test_asText (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 376, in test_asText
    event = self._ingestMail('simple')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_document_creation (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 363, in test_document_creation
    event = self._ingestMail('simple')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_findTypeByName_MailMessage (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 357, in test_findTypeByName_MailMessage
    self.portal.portal_contribution_registry.findPortalTypeName(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_follow_up (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 402, in test_follow_up
    event = self._ingestMail('simple')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_forwarder_mail (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 476, in test_forwarder_mail
    document = self._ingestMail(filename='forwarded')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_portal_type_determination (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 415, in test_portal_type_determination
    document = self._ingestMail(data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_recipient (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 389, in test_recipient
    event = self._ingestMail('simple')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_sender (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 381, in test_sender
    event = self._ingestMail('simple')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_title (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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 371, in test_title
    event = self._ingestMail('simple')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testCRM.py", line 351, in _ingestMail
    data=data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 246, in newContent
    ob = self.PUT_factory(file_name, mime_type, data)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/WebDAVSupport.py", line 220, in PUT_factory
    portal_type = findPortalTypeName(name, typ, body)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/ContributionRegistryTool.py", line 50, in findPortalTypeName
    result = predicate.test(ingestion_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/ContributionPredicate.py", line 133, in test
    result = result and method(self)
  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 877, 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 4, in IngestionFile_findTypeNameForEvent
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/AccessControl/ZopeGuards.py", line 67, in guarded_getitem
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/OFS/ObjectManager.py", line 670, in __getitem__
KeyError: <TempDocument at /erp5_portal_70a2e692a2b1312c6d7e7ecf61116aa9/portal_contribution_registry/id/subobject>



ERROR: test_07_WebPageTextContentSubstituions (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
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 388, in test_07_WebPageTextContentSubstituions
    self.assertEquals(document.asStrippedHTML(), content)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Document.py", line 1256, in asStrippedHTML
    mime, html = self.convert(**kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/TextDocument.py", line 222, in convert
    result = self._substituteText(result, **substitution_method_parameter_dict)
AttributeError: _substituteText



ERROR: test_11_EmailIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
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/testIngestion.py", line 1327, in test_11_EmailIngestion
    self.playSequence(step_list, quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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 "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 934, in stepReceiveEmailFromUnknown
    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_9123d6aaa7e1ac41fe394227d787a676/document_ingestion_module/1', 'Document_convertToBaseFormatAndDiscoverMetadata', -2, 6)] 
Last error message:
AttributeError
_substituteText
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 235, in __call__
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 877, in _exec
  Module Products.PythonScripts.PythonScript, line 323, in _exec
  Module None, line 10, in Document_convertToBaseFormatAndDiscoverMetadata
   - <PythonScript at /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/Document_convertToBaseFormatAndDiscoverMetadata used for /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/document_ingestion_module/1>
   - Line 10
  Module Products.ERP5.Document.Document, line 1121, in discoverMetadata
  Module Products.ERP5.Document.Document, line 1040, in getPropertyDictFromContent
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 877, in _exec
  Module Products.PythonScripts.PythonScript, line 323, in _exec
  Module None, line 28, in DocumentIngestionMessage_getPropertyDictFromContent
   - <PythonScript at /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/DocumentIngestionMessage_getPropertyDictFromContent used for /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/document_ingestion_module/1>
   - Line 28
  Module Products.ERP5.Document.Document, line 654, in getSearchableReferenceList
  Module Products.ERP5.Document.Document, line 631, in getSearchableText
  Module Products.ERP5.Document.Document, line 630, in <lambda>
  Module Products.ERP5.Document.Document, line 615, in getPropertyListOrValue
  Module Products.ERP5.Document.Document, line 1200, in asText
  Module Products.ERP5.Document.TextDocument, line 222, in convert
AttributeError: _substituteText





ERROR: test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)
----------------------------------------------------------------------
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 360, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
    self.afterSetUp()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 108, in afterSetUp
    self.createDefaultCategoryList()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 226, in createDefaultCategoryList
    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_9123d6aaa7e1ac41fe394227d787a676/document_ingestion_module/1', 'Document_convertToBaseFormatAndDiscoverMetadata', -2, 6)] 
Last error message:
AttributeError
_substituteText
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 235, in __call__
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 877, in _exec
  Module Products.PythonScripts.PythonScript, line 323, in _exec
  Module None, line 10, in Document_convertToBaseFormatAndDiscoverMetadata
   - <PythonScript at /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/Document_convertToBaseFormatAndDiscoverMetadata used for /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/document_ingestion_module/1>
   - Line 10
  Module Products.ERP5.Document.Document, line 1121, in discoverMetadata
  Module Products.ERP5.Document.Document, line 1040, in getPropertyDictFromContent
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 877, in _exec
  Module Products.PythonScripts.PythonScript, line 323, in _exec
  Module None, line 28, in DocumentIngestionMessage_getPropertyDictFromContent
   - <PythonScript at /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/DocumentIngestionMessage_getPropertyDictFromContent used for /erp5_portal_9123d6aaa7e1ac41fe394227d787a676/document_ingestion_module/1>
   - Line 28
  Module Products.ERP5.Document.Document, line 654, in getSearchableReferenceList
  Module Products.ERP5.Document.Document, line 631, in getSearchableText
  Module Products.ERP5.Document.Document, line 630, in <lambda>
  Module Products.ERP5.Document.Document, line 615, in getPropertyListOrValue
  Module Products.ERP5.Document.Document, line 1200, in asText
  Module Products.ERP5.Document.TextDocument, line 222, in convert
AttributeError: _substituteText





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



ERROR: Just create a module using scribus file and pdf file with DateTimeField
----------------------------------------------------------------------
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/testScribusUtils.py", line 324, in test_07_DateTimeFieldWithModuleCreation
    authorisation.setStartDate('2008/06/11')
AttributeError: setStartDate



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 2631, 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 2629, 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 2177, 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 2666, 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



More information about the Erp5-report mailing list