[Erp5-report] ERP5 r34997 : 3468 Tests, 19 Errors, 25 Failures, 39 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 5 12:42:51 CEST 2010


Test Suite: ERP5
Revision: 34997
Result: FAIL

All tests: 3468
Failures: 25
Errors: 19
Skips: 39


The following tests failed:

  testAlarm                                          (1 failures)
   test_18_alarm_activities_execution_order (testAlarm.TestAlarm)

  testDms                                            (3 errors)
   test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
   test_ImageSizePreference (testDms.TestDocumentWithSecurity)
   test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)

  testERP5DocumentSyncML                             (1 failures)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Simulation                                 (5 failures, 1 skips)
   test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)

  testERP5Web                                        (1 failures, 2 errors)
   test_13_DocumentCache (testERP5Web.TestERP5Web)
   test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)
   test_13a_DocumentMovedCache (testERP5Web.TestERP5Web)

  testEditorField                                    (3 failures)
   test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
   test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)

  testFormPrintoutAsODT                              (1 failures, 1 skips)
   test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: make sure that it is enable to use ODF cell format setting in FormPrintout

  testICal                                           (1 failures)
   test_01_renderEvent (testICal.TestICal)

  testLegacyInvoice                                  (1 failures)
   test_Reference (testLegacyInvoice.TestSaleInvoice)

  testLegacyProductionOrder                          (1 failures)
   test_07_testTransformationInteractionProductionOrderLine (testLegacyProductionOrder.TestProductionOrder)

  testNotificationTool                               (11 errors)
   test_01_defaultBehaviour (testNotificationTool.TestNotificationToolWithCRM)
   test_02_noSender (testNotificationTool.TestNotificationToolWithCRM)
   test_03_noSubject (testNotificationTool.TestNotificationToolWithCRM)
   test_04_noRecipient (testNotificationTool.TestNotificationToolWithCRM)
   test_05_noMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_06_simpleMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_07_AttachmentMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_08_MultiRecipient (testNotificationTool.TestNotificationToolWithCRM)
   test_10_PersonNotification (testNotificationTool.TestNotificationToolWithCRM)
   test_11_TextMessage (testNotificationTool.TestNotificationToolWithCRM)
   test_12_HtmlMessage (testNotificationTool.TestNotificationToolWithCRM)

  testOOoConversionCache                             (2 failures)
   test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
   test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)

  testOpenOrder                                      (2 failures)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

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

  testProxyField                                     (1 failures)
   testSkinSelectionTemplateField (testProxyField.TestProxyField)

  testSerializeForm                                  (1 failures)
   test checking if the field values are of the proper type.

  testTemplate                                       (3 failures)
   test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithTargetLevelSetting (testTradeModelLine.TestTradeModelLineSale)

The following tests were at least partly skipped:

  testBase                                           (3 skips)
   test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (2 skips)

  testCMFActivity                                    (1 skips)

  testERP5Catalog                                    (3 skips)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Interfaces                                 (13 skips)

  testERP5Simulation                                 (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testFormPrintoutAsODT                              (1 skips)
   test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'

  testMRP                                            (4 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testSQLCachedWorklist                              (1 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testTranslation                                    (1 skips)

  testXHTML                                          (1 skips)
-------------- next part --------------

FAIL: test_18_alarm_activities_execution_order (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testAlarm.py", line 601, in test_18_alarm_activities_execution_order
    self.assertEqual(expected_tag, m.activity_kw.get('tag'))
AssertionError: 'portal_alarms/18_0' != 'portal_alarms/18_3'


ERROR: test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 136, in setSystemPreference
    preference = self.portal.portal_preferences.newContent(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


ERROR: test_ImageSizePreference (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 136, in setSystemPreference
    preference = self.portal.portal_preferences.newContent(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


ERROR: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 136, in setSystemPreference
    preference = self.portal.portal_preferences.newContent(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 910, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 6)
AssertionError: 5 != 6


FAIL: test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1011, in test_03_PackingListChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ChangePackingListStartDate
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithDecision
      Tic
      CheckPackingListIsSolved
      CheckPackingListIsNotDivergent
    > CheckSimulationStartDateUpdated
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 433, in stepCheckSimulationStartDateUpdated
    self.assertEquals(simulation_movement.getStartDate(),self.datetime + 15)
AssertionError: DateTime('2010/05/15 03:53:04.891 GMT-4') != DateTime('2010/05/20 03:53:04.891 GMT-4')


FAIL: test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1189, in test_06_SimulationChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/15 03:53:04.891 GMT-4') != DateTime('2010/05/20 03:53:04.891 GMT-4')


FAIL: test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1210, in test_07_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/15 03:53:04.891 GMT-4') != DateTime('2010/05/20 03:53:04.891 GMT-4')


FAIL: test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1231, in test_07a_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifyOneSimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/15 03:53:04.891 GMT-4') != DateTime('2010/05/20 03:53:04.891 GMT-4')


FAIL: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2830, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 116, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
    > CheckPackingListIsDivergent
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 189, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


ERROR: test_13_DocumentCache (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 969, in test_13_DocumentCache
    document.edit(text_content=new_content)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Document/TextDocument.py", line 124, in _edit
    Document._edit(self, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
    modified_object_list = self._setProperty(key, kw[key])
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 1470, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 1071, in test_13b_DocumentEditCacheKey
    web_document.edit(text_content=new_content)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Document/TextDocument.py", line 124, in _edit
    Document._edit(self, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
    modified_object_list = self._setProperty(key, kw[key])
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 1470, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


FAIL: test_13a_DocumentMovedCache (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 1023, in test_13a_DocumentMovedCache
    self.assertTrue(document.hasConversion(format='txt'))
AssertionError


FAIL: test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testEditorField.py", line 240, in test_EditSimpleEmailEventFCKEditorText
    self.assertTrue(self._isTextAreaEditor(html_text, 'my_text_content', text_content))
AssertionError


FAIL: test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testEditorField.py", line 271, in test_EditSimpleEmailEventTextAreaHTML
    self.assertTrue(self._isTextAreaEditor(html_text, 'my_text_content', text_content))
AssertionError


FAIL: test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testEditorField.py", line 299, in test_EditSimpleEmailEventTextAreaText
    self.assertTrue(self._isTextAreaEditor(html_text, 'my_text_content', text_content))
AssertionError


FAIL: test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: make sure that it is enable to use ODF cell format setting in FormPrintout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 633, in test_02_Table_07_CellFormat
    self.assertEqual(date_column.attrib[date_value_attrib], '2009-04-20')
AssertionError: '2009-04-19' != '2009-04-20'


FAIL: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testICal.py", line 151, in test_01_renderEvent
    self.assertEquals( # if this fail for you, try to set $TZ to Europe/Paris
AssertionError: '20070815T143000Z' != '20070815T083000Z'


FAIL: test_Reference (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Legacy/tests/testLegacyInvoice.py", line 3301, in test_Reference
    self.assertEquals('1', invoice.getReference())
AssertionError: '1' != '3'


FAIL: test_07_testTransformationInteractionProductionOrderLine (testLegacyProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Legacy/tests/testLegacyProductionOrder.py", line 1571, in test_07_testTransformationInteractionProductionOrderLine
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      ClearActivities
      CreateNotVariatedResource
      CreateOrder
      CreateTransformation
      Tic
      CreateOrderLineWithoutTransformation
      Tic
      CheckOrderLineTransformationIsSet
      RemoveResourceFromOrderLine
      Tic
    > CheckOrderLineTransformationIsNotSet
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Legacy/tests/testLegacyProductionOrder.py", line 672, in stepCheckOrderLineTransformationIsNotSet
    self.assertEquals(order_line.getSpecialiseValue(), None)
AssertionError: <Transformation at /erp5_portal_f9d5a9e0588ba4ee252164b55d086e03/transformation_module/8> != None


ERROR: test_01_defaultBehaviour (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 182, in test_01_defaultBehaviour
    self.portal.portal_notifications.sendMessage,
  File "/usr/lib64/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_02_noSender (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 210, in test_02_noSender
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationWithoutSender
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 194, in stepCheckNotificationWithoutSender
    self.portal.portal_notifications.sendMessage(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_03_noSubject (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 231, in test_03_noSubject
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationFailsWithoutSubject
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 220, in stepCheckNotificationFailsWithoutSubject
    recipient='userA', message='Message'
  File "/usr/lib64/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_04_noRecipient (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 234, in test_04_noRecipient
    self.portal.portal_notifications.sendMessage(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_05_noMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 263, in test_05_noMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationWithoutMessage
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 247, in stepCheckNotificationWithoutMessage
    self.portal.portal_notifications.sendMessage(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_06_simpleMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 291, in test_06_simpleMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckSimpleNotification
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 270, in stepCheckSimpleNotification
    self.portal.portal_notifications.sendMessage(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_07_AttachmentMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 335, in test_07_AttachmentMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationWithAttachment
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 300, in stepCheckNotificationWithAttachment
    attachment_list=[
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_08_MultiRecipient (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 366, in test_08_MultiRecipient
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      AddUserB
      Tic
    > CheckMultiRecipientNotification
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 342, in stepCheckMultiRecipientNotification
    self.portal.portal_notifications.sendMessage(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_10_PersonNotification (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 423, in test_10_PersonNotification
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckPersonNotification
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 402, in stepCheckPersonNotification
    self.portal.portal_notifications.sendMessage(
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_11_TextMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 457, in test_11_TextMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationPlainTextFormat
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 437, in stepCheckNotificationPlainTextFormat
    message_text_format='text/plain', message=message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_12_HtmlMessage (testNotificationTool.TestNotificationToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 489, in test_12_HtmlMessage
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      AddUserA
      Tic
    > CheckNotificationHtmlFormat
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testNotificationTool.py", line 469, in stepCheckNotificationHtmlFormat
    message_text_format='text/html', message=message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


FAIL: test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 268, in test_05_checksum_conversion
    self.assertTrue(md5sum)
AssertionError


FAIL: test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 289, in test_06_check_md5_is_updated
    self.assertTrue(md5sum)
AssertionError


FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 303, in testOpenOrderRule
    [(DateTime(3000,2,10,10,0), DateTime(3000,2,11,10,0)),
AssertionError: [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 US/Eastern'), DateTime('3000/03/11 10:00:00 US/Eastern'))] != [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 GMT-4'), DateTime('3000/03/11 10:00:00 GMT-4'))]


FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 185, in testPeriodicityDateList
    [(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]


ERROR: test_01_checkPasswordTool (testPasswordTool.TestPasswordToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 291, in test_01_checkPasswordTool
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CheckPasswordToolExists
      AddUser
      Tic
      Logout
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
      TryLostPasswordWithBadUser
      Tic
      CheckNoMailSent
      GoToBadRandomAddress
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      GoToRandomAddress
      Tic
      CheckUserLoginWithNewPassword
      CheckUserNotLoginWithFormerPassword
      GoToRandomAddressTwice
      Tic
      CheckUserLoginWithNewPassword
      CheckUserNotLoginWithFormerPassword
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 152, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/PasswordTool.py", line 120, in mailPasswordResetRequest
    self.getPortalObject().portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 312, in test_02_checkPasswordToolDateExpired
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CheckPasswordToolExists
      AddUser
      Tic
      Logout
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      ModifyExpirationDate
      GoToRandomAddress
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 152, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/PasswordTool.py", line 120, in mailPasswordResetRequest
    self.getPortalObject().portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


ERROR: test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordToolWithCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 335, in test_03_checkPasswordToolAlarm
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CheckPasswordToolExists
      AddUser
      Tic
      Logout
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
    > LostPassword
      Tic
      CheckMailSent
      ModifyExpirationDate
      SimulateExpirationAlarm
      CheckNoRequestRemains
      GoToRandomAddressTwice
      Tic
      CheckUserLogin
      CheckUserNotLoginWithBadPassword
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPasswordTool.py", line 152, in stepLostPassword
    self.portal.portal_password.mailPasswordResetRequest(user_login="userA")
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/PasswordTool.py", line 120, in mailPasswordResetRequest
    self.getPortalObject().portal_notifications.sendMessage(sender=None, recipient=[user,], subject=subject, message=message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 354, in sendMessage
    event.setTextContent(message)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Accessor/Alias.py", line 57, in __call__
    modified_object_list = method(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
Unauthorized: You are not allowed to access 'updateContentMd5' in this context


FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Form/tests/testProxyField.py", line 199, in testSkinSelectionTemplateField
    self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'


FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
    self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}


FAIL: test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 337, in test_DeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 327, in _testTemplateNotIndexable
    self.assertEqual(len(preference.objectIds()), 2)
AssertionError: 1 != 2


FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
    self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1


FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
    self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2


FAIL: test_tradeModelLineWithTargetLevelSetting (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2536, in test_tradeModelLineWithTargetLevelSetting
    self.assertEqual(8, len(amount_list))
AssertionError: 8 != 7


More information about the Erp5-report mailing list