[Erp5-report] ERP5_z28 r20341: 1743 Tests, 18 Errors, 12 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 8 20:02:13 CEST 2008


Test Suite: ERP5_z28
Revision: 20341
Result: FAIL

All tests: 1743
Failures: 12
Errors: 18


The following tests failed:

  testDomainTool                                     (1 errors)
   test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)

  testTransformation                                 (1 errors)
   test_01_getAggregatedAmountList (testTransformation.TestTransformation)

  testPayroll                                        (3 errors)
   test_04_paySheetCalculation (testPayroll.TestPayroll)
   test_05_caculationWithANonNullMinimumValueSlice (testPayroll.TestPayroll)
   test_paysheet_model_consistency (testPayroll.TestPayroll)

  testResource                                       (1 failures, 1 errors)
   test_10_getPriceWithOptions (testResource.TestResource)
   test_05_getVariationCategoryList (testResource.TestResource)

  testInventoryModule                                (3 failures)
   test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
   test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
   test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)

  testXHTML                                          (1 failures)
   test_deadProxyFields (testXHTML.TestXHTML)

  testClassTool                                      (1 errors)
   test_DocumentationHelperExpressionCategory (testClassTool.TestClassTool)

  testERP5Type                                       (1 failures)
   test_03_NewTempObject (testERP5Type.TestERP5Type)

  testOOoStyle                                       (1 failures)
   test_image_field_form_view_bottom_group (testOOoStyle.TestODTStyle)

  testIngestion                                      (5 errors)
   test_05_FormatIngestion (testIngestion.TestIngestion)
   test_06_FormatGeneration (testIngestion.TestIngestion)
   test_07_SnapshotGeneration (testIngestion.TestIngestion)
   test_09_Contribute (testIngestion.TestIngestion)
   test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)

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

  testOOoImport                                      (2 errors)
   test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)

  testGUIwithSecurity                                (1 errors)
   test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)

  testERP5Catalog                                    (1 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
   test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)

  testCMFCategory                                    (1 failures)
   Test if acquired_portal_type works correctly.
-------------- next part --------------

ERROR: test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 365, in test_05_GenerateMappedValueWithVariation
    for range in cell_range[0]:
IndexError: list index out of range



ERROR: test_01_getAggregatedAmountList (testTransformation.TestTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTransformation.py", line 720, in test_01_getAggregatedAmountList
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
    > CreateComponentDict
      CreateOperationDict
      Tic
      CreateVariatedResource
      Tic
      CreateTransformation
      Tic
      CreateTransformationLine
      Tic
      CreateIncludedTransformation
      Tic
      CreateIncludedTransformationLine
      Tic
      VerifyTransformationAggregatedAmountList
      VerifyIncludedTransformationAggregatedAmountList
      IncludeTransformation
      Tic
      VerifySpecialisedTransformationAggregatedAmountList
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTransformation.py", line 140, in stepCreateComponentDict
    base_id='path')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/SupplyLine.py", line 173, in newCell
    return XMLMatrix.newCell(self, *kw, **kwd)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/XMLMatrix.py", line 498, in newCell
    if self.index[base_id][i].has_key(my_id):
  File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 0



ERROR: test_04_paySheetCalculation (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPayroll.py", line 652, in test_04_paySheetCalculation
    pay_sheet_line_list = self.calculatePaySheet(paysheet=paysheet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPayroll.py", line 471, in calculatePaySheet
    paysheet_line_list = \
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/PaySheetTransaction.py", line 455, in createPaySheetLineList
    cell=cell,)
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in PaySheetTransaction_defaultCalculationScript
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/DeliveryCell.py", line 166, in getPrice
    return self.getParentValue().getProperty('price') # Price is acquired
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1322, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 36, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: test_05_caculationWithANonNullMinimumValueSlice (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPayroll.py", line 723, in test_05_caculationWithANonNullMinimumValueSlice
    pay_sheet_line_list = self.calculatePaySheet(paysheet=paysheet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPayroll.py", line 471, in calculatePaySheet
    paysheet_line_list = \
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/PaySheetTransaction.py", line 455, in createPaySheetLineList
    cell=cell,)
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in PaySheetTransaction_defaultCalculationScript
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/DeliveryCell.py", line 166, in getPrice
    return self.getParentValue().getProperty('price') # Price is acquired
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1322, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 36, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: test_paysheet_model_consistency (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPayroll.py", line 1253, in test_paysheet_model_consistency
    self.assertEquals([], model.checkConsistency())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1196, in checkConsistency
    extra_errors = obj.checkConsistency()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1186, in checkConsistency
    error_list += Base.checkConsistency(self, fixit=fixit)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 2640, in checkConsistency
    error_list += constraint_instance.checkConsistency(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Constraint/PropertyTypeValidity.py", line 110, in checkConsistency
    value = obj.getProperty(property_id)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1322, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 36, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testResource.py", line 594, in test_10_getPriceWithOptions
    portal_type=self.sale_supply_cell_portal_type)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/SupplyLine.py", line 173, in newCell
    return XMLMatrix.newCell(self, *kw, **kwd)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/XMLMatrix.py", line 498, in newCell
    if self.index[base_id][i].has_key(my_id):
  File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 0



FAIL: test_05_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testResource.py", line 363, in test_05_getVariationCategoryList
    self.genericTest('CheckGetVariationCategoryListWithoutOmit')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testResource.py", line 292, in genericTest
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateResource
      SetIndividualVariationWithEmptyBase
      Tic
    > CheckGetVariationCategoryListWithoutOmit
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testResource.py", line 355, in stepCheckGetVariationCategoryListWithoutOmit
    self.failIfDifferentSet(correct_vcl, vcl)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 536, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: ['morphology/apparel_model_module/19/1', 'morphology/apparel_model_module/19/2'] != []



FAIL: test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 374, in test_02_VariatedInventory
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateVariatedResource
      CreateOrganisation1
      CreateInitialMovements
      Tic
    > CreateFirstVariatedInventory
      Tic
      CheckFirstVariatedInventory
      CreateSecondVariatedInventory
      Tic
      CheckSecondVariatedInventory
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 284, in stepCreateFirstVariatedInventory
    sequence=sequence, quantity=quantity)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 255, in createVariatedInventoryLine
    self.assertEquals(len(resource_vcl),2)
AssertionError: 4 != 2



FAIL: test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 536, in test_03_VariatedAggregatedInventory
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateVariatedResource
      CreateOrganisation1
      CreateInitialMovements
      Tic
      CreateItem
      CreateItem
    > CreateFirstVariatedAggregatedInventory
      Tic
      CheckFirstVariatedAggregatedInventory
      CreateSecondVariatedAggregatedInventory
      Tic
      CheckSecondVariatedAggregatedInventory
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 402, in stepCreateFirstVariatedAggregatedInventory
    sequence=sequence, quantity=quantity)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 255, in createVariatedInventoryLine
    self.assertEquals(len(resource_vcl),2)
AssertionError: 4 != 2



FAIL: test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 564, in test_04_VariatedAggregatedInventoryGetInventoryList
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateVariatedResource
      CreateOrganisation1
      CreateInitialMovements
      Tic
      CreateItem
      CreateItem
    > CreateFirstVariatedAggregatedInventory
      Tic
      CheckFirstVariatedAggregatedInventory
      CheckExplanationTextInInventoryList
      CreateSecondVariatedAggregatedInventory
      Tic
      CheckSecondVariatedAggregatedInventory
      CheckExplanationTextInInventoryList
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 402, in stepCreateFirstVariatedAggregatedInventory
    sequence=sequence, quantity=quantity)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 255, in createVariatedInventoryLine
    self.assertEquals(len(resource_vcl),2)
AssertionError: 4 != 2



FAIL: test_deadProxyFields (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 138, in test_deadProxyFields
    '%s\nform_id:%s\nfield_id:%s\n' % (field_path,
AssertionError: erp5_payroll/PayrollService_viewFieldLibrary/my_quantity_unit
form_id:Resource_viewFieldLibrary
field_id:my_quantity_unit




ERROR: test_DocumentationHelperExpressionCategory (testClassTool.TestClassTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testClassTool.py", line 149, in test_DocumentationHelperExpressionCategory
    self.assertNotEquals(None, movement.asDocumentationHelper())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 3503, in asDocumentationHelper
    content=pformat(documented_item.getProperty(property['id'])))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1322, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 36, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



FAIL: test_03_NewTempObject (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testERP5Type.py", line 304, in test_03_NewTempObject
    raise self.failureException, "Container last ID modified"
AssertionError: Container last ID modified



FAIL: test_image_field_form_view_bottom_group (testOOoStyle.TestODTStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 257, in test_image_field_form_view_bottom_group
    self._validate(response.getBody())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 75, in _validate
    self.fail(''.join(error_list))
AssertionError: content.xml:103: Element text has extra content: sequence-decls




ERROR: test_05_FormatIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1118, in test_05_FormatIngestion
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CleanUp
      CreateTextDocument
    > IngestTextFormats
      CreateSpreadsheetDocument
      IngestSpreadsheetFormats
      CreatePresentationDocument
      IngestPresentationFormats
      CreateDrawingDocument
      IngestDrawingFormats
      CreatePDFDocument
      IngestPDFFormats
      CreateImageDocument
      IngestImageFormats
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 742, in stepIngestTextFormats
    self.ingestFormatList('one', format_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 314, in ingestFormatList
    self.assert_('magic' in context.SearchableText())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 617, in getSearchableText
    self.searchable_property_list))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 616, in <lambda>
    searchable_text = reduce(add, map(lambda x: getPropertyListOrValue(x),
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 601, in getPropertyListOrValue
    val = method()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 1172, in asText
    mime, data = self.convert(format='txt')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 423, in convert
    self.setConversion(data, mime, format=format)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



ERROR: test_06_FormatGeneration (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1143, in test_06_FormatGeneration
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CleanUp
      CreateTextDocument
      CheckTextDocumentExportList
      CreateSpreadsheetDocument
      CheckSpreadsheetDocumentExportList
      CreatePresentationDocument
      CheckPresentationDocumentExportList
      CreateDrawingDocument
      CheckDrawingDocumentExportList
      CreatePDFDocument
    > ExportPDF
      CreateImageDocument
      ExportImage
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 810, in stepExportPDF
    mime, text = document.convert('text')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/PDFDocument.py", line 110, in convert
    self.setConversion(data, mime='text/plain', format='txt')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



ERROR: test_07_SnapshotGeneration (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1167, in test_07_SnapshotGeneration
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CleanUp
      CreateTextDocument
      UploadFromViewForm
      CheckConvertingState
      Tic
      CheckConvertedState
      CheckHasNoSnapshot
    > CreateSnapshot
      TryRecreateSnapshot
      CheckHasSnapshot
      DeleteSnapshot
      CheckHasNoSnapshot
      CreateSnapshot
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 835, in stepCreateSnapshot
    context.createSnapshot()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 90, in createSnapshot
    self._setSnapshotData(self.convert(format='pdf'))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 423, in convert
    self.setConversion(data, mime, format=format)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



ERROR: test_09_Contribute (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1191, in test_09_Contribute
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CleanUp
    > ContributeFileListWithNoType
      CleanUp
      ContributeFileListWithType
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 866, in stepContributeFileListWithNoType
    self.contributeFileList(with_portal_type=False)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 390, in contributeFileList
    self.assert_('magic' in ob.SearchableText())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 617, in getSearchableText
    self.searchable_property_list))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 616, in <lambda>
    searchable_text = reduce(add, map(lambda x: getPropertyListOrValue(x),
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 601, in getPropertyListOrValue
    val = method()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 1172, in asText
    mime, data = self.convert(format='txt')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 423, in convert
    self.setConversion(data, mime, format=format)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



ERROR: test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1277, in test_12_UploadTextFromContributionTool
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CleanUp
      UploadTextFromContributionTool
      CheckConvertingState
      Tic
      CheckConvertedState
      DiscoverFromFilename
      Tic
    > ReuploadTextFromContributionTool
      UploadAnotherTextFromContributionTool
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 599, in stepReuploadTextFromContributionTool
    self.assert_('This document is modified.' not in context.asText())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 1172, in asText
    mime, data = self.convert(format='txt')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 423, in convert
    self.setConversion(data, mime, format=format)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



ERROR: test_08_EmbeddedDocumentState (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 650, in test_08_EmbeddedDocumentState
    document.convert(format='html')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 417, in convert
    self._populateConversionCacheWithHTML(zip_file=z) # Maybe some parts should be asynchronous for
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 485, in _populateConversionCacheWithHTML
    self.setConversion(data, mime, format='_embedded', file_name=file_name)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



FAIL: test_07_testImplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 431, in test_07_testImplicitRelations
    sqlresult_to_document_list(document1.getImplicitPredecessorValueList()))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 536, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [<OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/27>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/28>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/29>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/30>] != []



FAIL: test_Member_download_pdf_format (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 535, in test_Member_download_pdf_format
    self.assertEquals('application/pdf', response.headers['content-type'])
AssertionError: 'application/pdf' != 'text/html; charset=utf-8'



FAIL: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/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



ERROR: test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 201, in test_CategoryTool_importCategoryFile
    self.portal.portal_categories.CategoryTool_importCategoryFile(
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 82, in CategoryTool_importCategoryFile
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 423, in convert
    self.setConversion(data, mime, format=format)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



ERROR: test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testOOoImport.py", line 218, in test_CategoryTool_importCategoryFileXLS
    self.portal.portal_categories.CategoryTool_importCategoryFile(
  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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 840, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 82, in CategoryTool_importCategoryFile
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 423, in convert
    self.setConversion(data, mime, format=format)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 180, in setConversion
    self._cached_mime[tformat] = mime
TypeError: object does not support item assignment



ERROR: test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 158, in test_01_relationFieldToInaccessibleObject
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateObjects
      CreateTestFoo
      Tic
      AccessFoo
      ChangeCategorySecurity
    > AccessFoo
      ResetCategorySecurity
      AccessFoo
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 99, in stepAccessFoo
    self.getPortal().foo_module.foo.Foo_view()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 564, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 653, in do_loop_tal
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 677, in do_condition
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 653, in do_loop_tal
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 677, in do_condition
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 477, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "field.render_htmlgrid(value, request)"", line 1, in <expression>
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 1430, in Field_render_htmlgrid
    value = self._get_default(widget_key, value, REQUEST)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 312, in _get_default
    return self.get_value('default', REQUEST=REQUEST) # It was missing on Formulator
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/RelationField.py", line 179, in get_value
    result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 293, in get_value
    return value(field, id, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 202, in __call__
    value = ob.getProperty(self.key)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1338, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Accessor/Value.py", line 203, in __call__
    o = instance._getDefaultAcquiredValue(self._key, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1998, in _getDefaultAcquiredValue
    return self._getCategoryTool().resolveCategory(path)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1651, in resolveCategory
    obj = restrictedGetOb(container, key)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1631, in restrictedGetOb
    if not validate(container, container, key, obj):
Unauthorized: You are not allowed to access 'a' in this context



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2175, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/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/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 579, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a28a575dea15f29ef51928ed670935d0 already failed, giving up



FAIL: Test if acquired_portal_type works correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 791, in test_21_AcquiredPortalType
    self.assertEquals(packing_list.getDestinationAdministrationPersonTitle(), 'toto')
AssertionError: None != 'toto'



More information about the Erp5-report mailing list