[Erp5-report] ERP5_z212 r45674 : 4552 Tests, 14 Errors, 23 Failures, 189 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 26 03:40:07 CEST 2011


Test Suite: ERP5_z212
Revision: None
Result: FAIL

All tests: 4552
Failures: 23
Errors: 14
Skips: 189



The following tests failed:

  testBusinessTemplate                               (1 errors, 2 skips)
   test_BusinessTemplateWithTest (testBusinessTemplate.TestBusinessTemplate)

  testDms                                            (3 failures, 3 errors, 1 skips)
   test_CMYKImageTextContent (testDms.TestDocument)
   test_Image_conversion_to_base_format_no_original_format_access (testDms.TestDocument), Checks Document.Image
   test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
   test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
   test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
   test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)

  testDmsWithFlare                                   (3 failures, 3 errors, 1 skips)
   test_CMYKImageTextContent (testDmsWithFlare.TestDocumentWithFlare)
   test_Image_conversion_to_base_format_no_original_format_access (testDmsWithFlare.TestDocumentWithFlare), Checks Document.Image
   test_PDFDocument_asTextConversion (testDmsWithFlare.TestDocumentWithFlare), Test a PDF document with embedded images
   test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
   test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
   test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)

  testERP5Core                                       (1 failures)
   test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.

  testERP5DocumentSyncML                             (1 failures, 2 errors)
   test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Type                                       (1 failures, 1 skips)
   test_translated_category_accessors (testERP5Type.TestERP5Type)

  testERP5eGov                                       (4 errors)
   test_01_new_procedure_creation (testERP5eGov.TestEgov)
   test_02_application_creation (testERP5eGov.TestEgov)
   test_03_submit_application (testERP5eGov.TestEgov)
   test_05_process_application (testERP5eGov.TestEgov)

  testIngestion                                      (2 failures, 4 skips)
   test_16_TestMetadataDiscoveryFromUserLogin (testIngestion.TestIngestion)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet

  testIngestionWithFlare                             (2 failures, 4 skips)
   test_16_TestMetadataDiscoveryFromUserLogin (testIngestionWithFlare.TestIngestionWithFlare)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet

  testLegacyProjectAndTask                           (1 failures, 1 skips)
   testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)

  testLegacyTradeModelLine                           (2 failures)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testMaxmaDemoConfigurationWorkflow                 (1 failures)
   test_maxma_demo_workflow (testMaxmaDemoConfigurationWorkflow.TestMaxmaDemoConfiguratorWorkflow), Test the consulting workflow configuration

  testOOoConversionCache                             (1 errors)
   test_08_check_conversion_cache_with_portal_document_type_list (testOOoConversionCache.TestDocumentConversionCache), Check cache conversion for all Portal Document Types

  testPayroll                                        (1 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testUNGConfigurationWorkflow                       (2 failures)
   test_ung_workflow_brazil (testUNGConfigurationWorkflow.TestUNGConfiguratorWorkflowBrazilLanguage), Test the ung workflow with brazilian language
   test_ung_workflow_france (testUNGConfigurationWorkflow.TestUNGConfiguratorWorkflowFranceLanguage), Test the ung workflow with french language

  testXHTML                                          (1 failures)
   test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMEvaluation                                  (40 skips)
   test_confirming (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_confirming (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'

  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)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 skips)

  testERP5Base                                       (1 skips)

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

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 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'

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

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

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

  testMRP                                            (5 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'

  testOpenOrder                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (2 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
   test_04_dynamic_variables (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'

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 551 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110426/0b21b622/attachment-0001.diff>
-------------- next part --------------

ERROR: test_BusinessTemplateWithTest (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testBusinessTemplate.py", line 6784, in test_BusinessTemplateWithTest
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
    > CreateTest
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddTestToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveTest
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckTestExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckTestRemoved
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 81, in play
    method = getattr(context,method_name)
AttributeError: 'TestBusinessTemplate' object has no attribute 'stepCreateTest'


ERROR: test_CMYKImageTextContent (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1333, in test_CMYKImageTextContent
    self.assertEquals('ERP5 is a free software.\n', document.asText())
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/mixin/text_convertable.py", line 49, in asText
    mime, data = self.convert(format='txt', **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/Image.py", line 268, in _convert
    mime_type, data = self._convertToText(format)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/Image.py", line 251, in _convertToText
    mimetype=src_mimetype)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/transforms/tiff_to_text.py", line 38, in convert
    output_file = open(output_file_path + '.txt', 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmpnCX4dz/output.txt'


ERROR: test_Image_conversion_to_base_format_no_original_format_access (testDms.TestDocument), Checks Document.Image
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1900, in test_Image_conversion_to_base_format_no_original_format_access
    'TEST-en-002.png'
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1873, in _test_document_conversion_to_base_format_no_original_format_access
    dummy = document.convert(format='text')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/Image.py", line 268, in _convert
    mime_type, data = self._convertToText(format)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/Image.py", line 251, in _convertToText
    mimetype=src_mimetype)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/transforms/tiff_to_text.py", line 38, in convert
    output_file = open(output_file_path + '.txt', 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmpppUwDK/output.txt'


ERROR: test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1844, in test_PDFDocument_asTextConversion
    self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/mixin/text_convertable.py", line 49, in asText
    mime, data = self.convert(format='txt', **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/PDFDocument.py", line 87, in _convert
    data = self._convertToText()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/PDFDocument.py", line 153, in _convertToText
    mimetype=src_mimetype)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/transforms/tiff_to_text.py", line 38, in convert
    output_file = open(output_file_path + '.txt', 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmprTvq36/output.txt'


FAIL: test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1439, in test_HTML_to_ODT_conversion_keep_enconding
    self.assertTrue(string_to_test in text_content)
AssertionError


FAIL: test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 1478, in test_HTML_to_ODT_conversion_keep_related_image_list
    image.getData(), failure_message)
AssertionError: Expected image not found in ODF zipped archive


FAIL: test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 2261, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


ERROR: test_CMYKImageTextContent (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1333, in test_CMYKImageTextContent
    self.assertEquals('ERP5 is a free software.\n', document.asText())
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/mixin/text_convertable.py", line 49, in asText
    mime, data = self.convert(format='txt', **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/Image.py", line 268, in _convert
    mime_type, data = self._convertToText(format)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/Image.py", line 251, in _convertToText
    mimetype=src_mimetype)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/transforms/tiff_to_text.py", line 38, in convert
    output_file = open(output_file_path + '.txt', 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmp7DfgL0/output.txt'


ERROR: test_Image_conversion_to_base_format_no_original_format_access (testDmsWithFlare.TestDocumentWithFlare), Checks Document.Image
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1900, in test_Image_conversion_to_base_format_no_original_format_access
    'TEST-en-002.png'
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1873, in _test_document_conversion_to_base_format_no_original_format_access
    dummy = document.convert(format='text')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/Image.py", line 268, in _convert
    mime_type, data = self._convertToText(format)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/Image.py", line 251, in _convertToText
    mimetype=src_mimetype)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/transforms/tiff_to_text.py", line 38, in convert
    output_file = open(output_file_path + '.txt', 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmpxCNVZW/output.txt'


ERROR: test_PDFDocument_asTextConversion (testDmsWithFlare.TestDocumentWithFlare), Test a PDF document with embedded images
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1844, in test_PDFDocument_asTextConversion
    self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/mixin/text_convertable.py", line 49, in asText
    mime, data = self.convert(format='txt', **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/PDFDocument.py", line 87, in _convert
    data = self._convertToText()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/Document/PDFDocument.py", line 153, in _convertToText
    mimetype=src_mimetype)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/PortalTransforms/transforms/tiff_to_text.py", line 38, in convert
    output_file = open(output_file_path + '.txt', 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmprBP4WD/output.txt'


FAIL: test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1439, in test_HTML_to_ODT_conversion_keep_enconding
    self.assertTrue(string_to_test in text_content)
AssertionError


FAIL: test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1478, in test_HTML_to_ODT_conversion_keep_related_image_list
    image.getData(), failure_message)
AssertionError: Expected image not found in ODF zipped archive


FAIL: test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 2261, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testERP5Core.py", line 305, in test_view_tools
    str(response)))
AssertionError: portal_categories: 503 (Status: 200 OK
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Content-Length: 163
Content-Type: text/html; charset=utf-8

KeyError('erp5_ui',) (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: erp5_ui))


ERROR: test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 639, in test_03_UpdateSimpleData
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2', 'Document_tryToUpdateBaseMetadata', -2, 1)]
Last error message:
UnsupportedWorkflowMethod
Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>. Current state is 'empty'.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1309, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 27, in Document_tryToUpdateBaseMetadata
   - <PythonScript at /erp5_portal_f5e135ab1569571772452b9867b308c0/Document_tryToUpdateBaseMetadata used for /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>
   - Line 27
  Module Products.ERP5Type.Base, line 220, in __call__
UnsupportedWorkflowMethod: Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>. Current state is 'empty'.



ERROR: test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 701, in test_06_UpdateMultiData
    self.synchronize(self.sub_id1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 358, in synchronize
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 179, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7', 'Document_tryToUpdateBaseMetadata', -2, 1)]
Last error message:
UnsupportedWorkflowMethod
Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>. Current state is 'empty'.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1309, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 27, in Document_tryToUpdateBaseMetadata
   - <PythonScript at /erp5_portal_f5e135ab1569571772452b9867b308c0/Document_tryToUpdateBaseMetadata used for /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>
   - Line 27
  Module Products.ERP5Type.Base, line 220, in __call__
UnsupportedWorkflowMethod: Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>. Current state is 'empty'.



FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 850, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 9)
AssertionError: 10 != 9


FAIL: test_translated_category_accessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/products/ERP5Type/tests/testERP5Type.py", line 2447, in test_translated_category_accessors
    self.assertEquals(['Alpha'], self.portal.Localizer.erp5_content._translated)
AssertionError: ['Alpha'] != []


ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 267, in test_01_new_procedure_creation
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


ERROR: test_02_application_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 286, in test_02_application_creation
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


ERROR: test_03_submit_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 311, in test_03_submit_application
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


ERROR: test_05_process_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 344, in test_05_process_application
    procedure = self.createNewProcedure()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testERP5eGov.py", line 188, in createNewProcedure
    return self.portal.portal_types.newContent(portal_type='EGov Type')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 461, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/Core/Folder.py", line 166, in newContent
    notify_workflow=notify_workflow,
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 408, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 71, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/UnrestrictedMethod.py", line 104, in unrestricted_apply
    return apply(function, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 116, in getLocalRolesFor
    for role in self.getFilteredRoleListFor(ob):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 134, in getFilteredRoleListFor
    self.allowType('Role Definition'):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/ERP5Type.py", line 317, in allowType
    return (not self.getTypeFilterContentType()
AttributeError: getTypeFilterContentType


FAIL: test_16_TestMetadataDiscoveryFromUserLogin (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testIngestion.py", line 1468, in test_16_TestMetadataDiscoveryFromUserLogin
    self.assertEquals('site/arctic/spitsbergen', document.getSite())
AssertionError: 'site/arctic/spitsbergen' != 'arctic/spitsbergen'


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: test_16_TestMetadataDiscoveryFromUserLogin (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 1468, in test_16_TestMetadataDiscoveryFromUserLogin
    self.assertEquals('site/arctic/spitsbergen', document.getSite())
AssertionError: 'site/arctic/spitsbergen' != 'arctic/spitsbergen'


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: testProjectMontlyReport (Products.ERP5.tests.testTaskReporting.TestTaskReporting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTaskReporting.py", line 222, in testProjectMontlyReport
    self.assertEquals(3, len(data_line_list))
AssertionError: 3 != 1


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 1183, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 1183, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_maxma_demo_workflow (testMaxmaDemoConfigurationWorkflow.TestMaxmaDemoConfiguratorWorkflow), Test the consulting workflow configuration
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 239, in test_maxma_demo_workflow
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateBusinessConfiguration
      Tic
      SetMaxmaDemoWorkflow
      Tic
      ConfiguratorNext
      Tic
      CheckBT5ConfiguratorItem
      CheckConfigureInstallationForm
      SetupInstallConfiguration
      ConfiguratorNext
      Tic
      CheckInstallConfiguration
      StartConfigurationInstallation
      Tic
      CheckInstanceIsConfiguredFrance
      CheckMaxmaDemoSampleObjectList
      Tic
      ViewAddGadget
      ViewEventModule
      AddEvent
      SentEventWorkflow
      ViewAccountModule
      AddAccountModule
      ViewAccount
      CopyPasteAccount
      ViewEntityModules
      AddEntityModules
      CopyAndPastePerson
      CopyAndPasteOrganisation
      EntityWorkflow
    > ViewCreatedPersons
      ViewCreatedOrganisations
      ViewCreatedAssignemnts
      AddAccoutingPeriod
      ValidatedAccountingPeriods
      ViewBankAccount
      ViewCreditCard
      ValidateAndModifyBankAccount
      ValidateAndModifyCreditCard
      AddPaymentNodeInPerson
      AddPaymentNodeInOrganisation
      CopyAndPasteBankAccountInPerson
      CopyAndPasteBankAccountInOrganisation
      ViewAccountingTransactionModule
      AddAccountingTransactionModule
      CopyAndPasteAccountingTransactions
      Tic
      AccountingTransaction
      Tic
      SaleInvoiceTransaction
      Tic
      PurchaseInvoiceTransaction
      Tic
      PaymentTransaction
      Tic
      BalanceTransaction
      Tic
      AccountingTransaction_getCausalityGroupedAccountingTransactionList
      AddAssignments
      AssignmentTI
      EditAssignments
      ViewAcessAddPurchaseTradeCondition
      ViewAccessAddSaleTradeCondition
      ViewAccessAddSaleOrder
      ViewAccessAddSalePackingList
      ViewAccessPurchaseOrder
      PurchasePackingList
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 111, in stepViewCreatedPersons
    self.failUnlessUserCanAccessDocument(username, entity)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/SecurityTestCase.py", line 83, in __call__
    ', '.join(groups)))
AssertionError: User demo does NOT have Access contents information permission on Person <Shared.DC.ZRDB.Results.r object at 0x2753ce30> (user roles: [Member, Authenticated], roles needed: [Assignee, Assignor, Associate, Auditor, Author, Manager, Owner], existing local roles:
(('my_group', ('Assignor', 'Assignee', 'Author', 'Auditor', 'Associate')),
 ('test_configurator_user', ('Owner',)))
your user groups: [SALE-AGNT, my_group])


ERROR: test_08_check_conversion_cache_with_portal_document_type_list (testOOoConversionCache.TestDocumentConversionCache), Check cache conversion for all Portal Document Types
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testOOoConversionCache.py", line 327, in test_08_check_conversion_cache_with_portal_document_type_list
    document.convert(format='txt')
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/Image.py", line 268, in _convert
    mime_type, data = self._convertToText(format)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/Document/Image.py", line 251, in _convertToText
    mimetype=src_mimetype)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/PortalTransforms/transforms/tiff_to_text.py", line 38, in convert
    output_file = open(output_file_path + '.txt', 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmpAFq7Il/output.txt'


FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testPayroll.py", line 2157, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateBasicModel
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckSourceSectionOnMovements
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testPayroll.py", line 975, in stepCheckSourceSectionOnMovements
    self.assertEquals(cell1.getSourceSectionValue(), urssaf_roubaix)
AssertionError: <Person at /erp5_portal_fd6f7feb2a645fcd5749c76eaf40962f/person_module/22> != <Organisation at /erp5_portal_fd6f7feb2a645fcd5749c76eaf40962f/organisation_module/43>


FAIL: test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1183, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5/tests/testTradeModelLine.py", line 1183, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_ung_workflow_brazil (testUNGConfigurationWorkflow.TestUNGConfiguratorWorkflowBrazilLanguage), Test the ung workflow with brazilian language
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py", line 501, in test_ung_workflow_brazil
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateBusinessConfiguration
      SetUNGWorkflow
      ConfiguratorNext
      Tic
      CheckBT5ConfiguratorItem
      CheckConfigureOrganisationForm
      SetupOrganisationConfiguratorItem
      ConfiguratorNext
      Tic
      CheckConfigureUserAccountNumberForm
      CheckOrganisationConfiguratorItem
      SetupUserAccountNumberThree
      ConfiguratorNext
      Tic
      CheckConfigureMultipleUserAccountForm
      SetupMultipleUserAccountThree
      ConfiguratorNext
      Tic
      CheckConfigurePreferenceForm
      CheckMultipleUserAccountThreeBrazil
      SetupPreferenceConfigurationBrazil
      ConfiguratorNext
      Tic
      CheckConfigureInstallationForm
      SetupInstallConfiguration
      ConfiguratorNext
      Tic
      CheckInstallConfiguration
      StartConfigurationInstallation
      Tic
    > CheckUNGWebSiteAfterInstallation
      CheckSystemPreferenceAfterInstallation
      CheckUserPreferenceAfterInstallation
      CheckWebSiteRoles
      CheckKnowledgePadRole
      CheckCreateNewEvent
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py", line 554, in stepCheckUNGWebSiteAfterInstallation
    self.assertEquals(assignment.getFunction(), "function/ung_user")
AssertionError: 'ung_user' != 'function/ung_user'


FAIL: test_ung_workflow_france (testUNGConfigurationWorkflow.TestUNGConfiguratorWorkflowFranceLanguage), Test the ung workflow with french language
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py", line 406, in test_ung_workflow_france
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateBusinessConfiguration
      SetUNGWorkflow
      ConfiguratorNext
      Tic
      CheckBT5ConfiguratorItem
      CheckConfigureOrganisationForm
      SetupOrganisationConfiguratorItem
      ConfiguratorNext
      Tic
      CheckConfigureUserAccountNumberForm
      CheckOrganisationConfiguratorItem
      SetupUserAccountNumberThree
      ConfiguratorNext
      Tic
      CheckConfigureMultipleUserAccountForm
      SetupMultipleUserAccountThree
      ConfiguratorNext
      Tic
      CheckConfigurePreferenceForm
      CheckMultipleUserAccountThreeFrance
      SetupPreferenceConfigurationFrance
      ConfiguratorNext
      Tic
      CheckConfigureInstallationForm
      SetupInstallConfiguration
      ConfiguratorNext
      Tic
      CheckInstallConfiguration
      StartConfigurationInstallation
      Tic
    > CheckUNGWebSiteAfterInstallation
      CheckSystemPreferenceAfterInstallation
      CheckUserPreferenceAfterInstallation
      CheckWebSiteRoles
      CheckKnowledgePadRole
      CheckCreateNewEvent
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py", line 459, in stepCheckUNGWebSiteAfterInstallation
    self.assertEquals(assignment.getFunction(), "function/ung_user")
AssertionError: 'ung_user' != 'function/ung_user'


FAIL: test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testXHTML.py", line 252, in test_duplicatingSelectionNameInListbox
    portal_skins.SkinsTool_checkDuplicateSelectionName())
AssertionError: Repeated listbox selection names:
'entity_support_request_selection' 
	'Base_viewEventList/ticket_listbox': ['erp5_crm']
	'Entity_viewEventList/support_request_listbox': ['erp5_crm']
'entity_related_event_selection' 
	'Base_viewEventList/listbox': ['erp5_crm']
	'Entity_viewEventList/listbox': ['erp5_crm']
'project_monthly_report_selection' 
	'Project_viewMonthlySummaryReportData/listbox': ['erp5_project']
	'Project_viewMonthlyReportData/listbox': ['erp5_project']



More information about the Erp5-report mailing list