[Erp5-report] ERP5 r21022: 1454 Tests, 16 Errors, 7 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 20 14:34:13 CEST 2008


Test Suite: ERP5
Revision: 21022
Result: FAIL

All tests: 1454
Failures: 7
Errors: 16


The following tests failed:

  testQueryModule                                    (1 errors)
   test_reply_query_with_persons (testQueryModule.TestQueryModule)

  testOrder                                          (1 failures)
   test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)

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

  testPasswordTool                                   (3 errors)
   test_01_checkPasswordTool (testPasswordTool.TestPasswordTool)
   test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordTool)
   test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordTool)

  testPurchaseOrder                                  (1 failures)
   test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testPurchaseOrder.TestPurchaseOrder)

  testNotificationTool                               (7 errors)
   test_02_noSender (testNotificationTool.TestNotificationTool)
   test_04_noRecipient (testNotificationTool.TestNotificationTool)
   test_05_noMessage (testNotificationTool.TestNotificationTool)
   test_06_simpleMessage (testNotificationTool.TestNotificationTool)
   test_07_AttachmentMessage (testNotificationTool.TestNotificationTool)
   test_08_MultiRecipient (testNotificationTool.TestNotificationTool)
   test_10_PersonNotification (testNotificationTool.TestNotificationTool)

  testOOoStyle                                       (1 failures)
   test_image_field_form_view (testOOoStyle.TestODTStyle)

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

  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_reply_query_with_persons (testQueryModule.TestQueryModule)
----------------------------------------------------------------------
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/testQueryModule.py", line 127, in test_reply_query_with_persons
    self.portal.portal_workflow.doActionFor(query, 'answer_action')
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 398, in DCWorkflowDefinition_executeTransition
    script()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Base.py", line 216, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 60, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 324, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  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 840, 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 57, in notifyOwner
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



FAIL: test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1292, in test_07b_OrderLine_getTotalPriceAndQuantityFastParameter
    sequence_list.play(self)
  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:
      CreateOrder
      CreateVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
    > CheckOrderLineTotalPriceAndQuantityFastParameter
  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/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/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_01_checkPasswordTool (testPasswordTool.TestPasswordTool)
----------------------------------------------------------------------
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/testPasswordTool.py", line 289, in test_01_checkPasswordTool
    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:
      CheckPasswordToolExists
      AddUser
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
      TryLostPasswordWithBadUser
      Tic
      CheckNoMailSent
      GoToBadRandomAddress
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      GoToRandomAddress
      Tic
      CheckUserLoginWithNewPassword
      CheckUserNotLoginWithFormerPassword
      GoToRandomAddressTwice
      Tic
      CheckUserLoginWithNewPassword
      CheckUserNotLoginWithFormerPassword
  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/ERP5/tests/testPasswordTool.py", line 153, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/PasswordTool.py", line 102, in mailPasswordResetRequest
    self.portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



ERROR: test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordTool)
----------------------------------------------------------------------
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/testPasswordTool.py", line 309, in test_02_checkPasswordToolDateExpired
    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:
      CheckPasswordToolExists
      AddUser
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      ModifyExpirationDate
      GoToRandomAddress
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
  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/ERP5/tests/testPasswordTool.py", line 153, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/PasswordTool.py", line 102, in mailPasswordResetRequest
    self.portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



ERROR: test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordTool)
----------------------------------------------------------------------
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/testPasswordTool.py", line 331, in test_03_checkPasswordToolAlarm
    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:
      CheckPasswordToolExists
      AddUser
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      ModifyExpirationDate
      SimulateExpirationAlarm
      CheckNoRequestRemains
      GoToRandomAddressTwice
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
  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/ERP5/tests/testPasswordTool.py", line 153, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/PasswordTool.py", line 102, in mailPasswordResetRequest
    self.portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



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



ERROR: test_02_noSender (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 206, in test_02_noSender
    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:
      AddUserA
      Tic
    > CheckNotificationWithoutSender
  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/ERP5/tests/testNotificationTool.py", line 184, in stepCheckNotificationWithoutSender
    self.portal.portal_notifications.sendMessage(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



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 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



ERROR: test_05_noMessage (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 277, in test_05_noMessage
    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:
      AddUserA
      Tic
    > CheckNotificationWithoutMessage
  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/ERP5/tests/testNotificationTool.py", line 255, in stepCheckNotificationWithoutMessage
    self.portal.portal_notifications.sendMessage(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



ERROR: test_06_simpleMessage (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 311, in test_06_simpleMessage
    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:
      AddUserA
      Tic
    > CheckSimpleNotification
  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/ERP5/tests/testNotificationTool.py", line 284, in stepCheckSimpleNotification
    self.portal.portal_notifications.sendMessage(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



ERROR: test_07_AttachmentMessage (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 361, in test_07_AttachmentMessage
    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:
      AddUserA
      Tic
    > CheckNotificationWithAttachment
  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/ERP5/tests/testNotificationTool.py", line 320, in stepCheckNotificationWithAttachment
    attachment_list=[
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



ERROR: test_08_MultiRecipient (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 398, in test_08_MultiRecipient
    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:
      AddUserA
      AddUserB
      Tic
    > CheckMultiRecipientNotification
  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/ERP5/tests/testNotificationTool.py", line 368, in stepCheckMultiRecipientNotification
    self.portal.portal_notifications.sendMessage(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



ERROR: test_10_PersonNotification (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 472, in test_10_PersonNotification
    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:
      AddUserA
      Tic
    > CheckPersonNotification
  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/ERP5/tests/testNotificationTool.py", line 445, in stepCheckPersonNotification
    self.portal.portal_notifications.sendMessage(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 346, in sendMessage
    event.send(**low_level_kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/Event.py", line 120, in send
    attachment_list, download
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Document/EmailDocument.py", line 510, in send
    self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
TypeError: _temp_activate() got an unexpected keyword argument 'activity'



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 403, 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 332, 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 729, in test_ShowPreviewAfterSubmitted
    self.assert_('I use reference to look up TEST' in preview_html)
AssertionError



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



More information about the Erp5-report mailing list