[Erp5-report] ERP5 r19221: 1222 Tests, 8 Errors, 6 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 11 18:33:59 CET 2008


Test Suite: ERP5
Revision: 19221
Result: FAIL

All tests: 1222
Failures: 6
Errors: 8


The following tests failed:

  testXHTML                                          (1 failures)
   test_deadProxyFields (testXHTML.TestXHTML)

  testCRM                                            (2 failures)
   test_recipient (testCRM.TestCRMMailIngestion)
   test_sender (testCRM.TestCRMMailIngestion)

  testERP5Web                                        (4 errors)
   test_01_WebSiteRecatalog (testERP5Web.TestERP5Web)
   test_03_CreateWebSiteUser (testERP5Web.TestERP5Web)
   test_04_WebPageTranslation (testERP5Web.TestERP5Web)
   test_05_WebPageVersioning (testERP5Web.TestERP5Web)

  testNotificationTool                               (2 errors)
   test_01_defaultBehaviour (testNotificationTool.TestNotificationTool)
   test_04_noRecipient (testNotificationTool.TestNotificationTool)

  testIngestion                                      (1 failures)
   test_11_EmailIngestion (testIngestion.TestIngestion)

  testDms                                            (2 failures, 1 errors)
   test_05_UniqueReference (testDms.TestDocument)
   test_08_EmbeddedDocumentState (testDms.TestDocument)
   test_07_testImplicitRelations (testDms.TestDocument)

  testERP5Catalog                                    (1 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

FAIL: test_deadProxyFields (testXHTML.TestXHTML)
----------------------------------------------------------------------
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/testXHTML.py", line 129, in test_deadProxyFields
    '%s\nform_id:%s\nfield_id:%s\n' % (field_path,
AssertionError: erp5_payroll/PayrollService_view/my_description
form_id:BasePdm_FieldLibrary
field_id:my_description




FAIL: 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 143, in test_recipient
    self.assertEquals('person_module/me', event.getDestination())
AssertionError: 'person_module/me' != None



FAIL: 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 136, in test_sender
    self.assertEquals('person_module/sender', event.getSource())
AssertionError: 'person_module/sender' != None



ERROR: test_01_WebSiteRecatalog (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 163, in test_01_WebSiteRecatalog
    self.setupWebSite()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 88, in setupWebSite
    id = self.website_id,
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 145, in newContent
    is_indexable=is_indexable
  File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/ERP5Type.py", line 307, in constructInstance
    init_script(*args, **kw)
  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 788, 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 11, in WebSite_init
AttributeError: setWebmaster



ERROR: test_03_CreateWebSiteUser (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 200, in test_03_CreateWebSiteUser
    self.setupWebSite()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 88, in setupWebSite
    id = self.website_id,
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 145, in newContent
    is_indexable=is_indexable
  File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/ERP5Type.py", line 307, in constructInstance
    init_script(*args, **kw)
  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 788, 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 11, in WebSite_init
AttributeError: setWebmaster



ERROR: test_04_WebPageTranslation (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 240, in test_04_WebPageTranslation
    website = self.setupWebSite()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 88, in setupWebSite
    id = self.website_id,
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 145, in newContent
    is_indexable=is_indexable
  File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/ERP5Type.py", line 307, in constructInstance
    init_script(*args, **kw)
  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 788, 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 11, in WebSite_init
AttributeError: setWebmaster



ERROR: test_05_WebPageVersioning (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 279, in test_05_WebPageVersioning
    website = self.setupWebSite()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 88, in setupWebSite
    id = self.website_id,
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Core/Folder.py", line 145, in newContent
    is_indexable=is_indexable
  File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/ERP5Type.py", line 307, in constructInstance
    init_script(*args, **kw)
  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 788, 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 11, in WebSite_init
AttributeError: setWebmaster



ERROR: test_01_defaultBehaviour (testNotificationTool.TestNotificationTool)
----------------------------------------------------------------------
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/testNotificationTool.py", line 176, in test_01_defaultBehaviour
    self.portal.portal_notifications.sendMessage,
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 205, in sendMessage
    email_value = person.getDefaultEmailValue()
AttributeError: 'NoneType' object has no attribute 'getDefaultEmailValue'



ERROR: test_04_noRecipient (testNotificationTool.TestNotificationTool)
----------------------------------------------------------------------
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/testNotificationTool.py", line 242, in test_04_noRecipient
    self.portal.portal_notifications.sendMessage(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 205, in sendMessage
    email_value = person.getDefaultEmailValue()
AttributeError: 'NoneType' object has no attribute 'getDefaultEmailValue'



FAIL: 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 1266, 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 982, 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 964, in stepVerifyEmailedDocuments
    self.assertEqual(len(result), 1)
AssertionError: 0 != 1



ERROR: test_05_UniqueReference (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 334, in test_05_UniqueReference
    raise NotImplementedError
NotImplementedError



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 638, 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 398, 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 327, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



FAIL: test_07_testImplicitRelations (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 431, in test_07_testImplicitRelations
    document1.getImplicitPredecessorValueList())
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 528, in failIfDifferentSet
    self.failUnless(i in a, msg)
AssertionError: [<OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/21>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/23>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/24>] != [<OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/22>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/21>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/24>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/23>]



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



More information about the Erp5-report mailing list