[Erp5-report] ERP5-MASTER rNone : 3984 Tests, 9 Errors, 24 Failures, 188 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 16 10:33:46 CEST 2011


Test Suite: ERP5-MASTER
Revision: slapos=330-65070ba9f3d8f0d4919a612f1442c614bc6dbd45,erp5=38879-d54465f0b6f96bad6946af5ceb194aa7ae77e72d
Result: FAIL

Building Failed

All tests: 3984
Failures: 24
Errors: 9
Skips: 188

 http://erp5.nexedi.com/test_result_module/20110616-3140CE6A/view


The following tests failed:

  testBusinessTemplateInstallation                   (1 errors)
   test_skins (testBusinessTemplateInstallation.TestPackaging), Test skins are present.

  testCacheTool                                      (2 failures)
   test_01_CacheFactoryOnePlugin (testCacheTool.TestCacheTool), Test cache factory containing only one cache plugin.
   test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins

  testContentTranslation                             (1 failures)
   testCatalogSearch (testContentTranslation.TestContentTranslation)

  testDms                                            (6 failures, 1 errors, 1 skips)
   test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
   test_CMYKImageTextContent (testDms.TestDocument)
   test_Document_getOtherVersionDocumentList (testDms.TestDocument)
   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)
   test_convertToImageOnTraversal (testDms.TestDocument)
   test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)

  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)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog), Test has everything

  testERP5WebWithCRM                                 (2 failures)
   test_01_Contact_Us_with_Anonymous_user (testERP5WebWithCRM.TestERP5WebWithCRM), Test creation of Web Message with Anonymous User
   test_02_Contact_Us_with_Aunthenticated_user (testERP5WebWithCRM.TestERP5WebWithCRM), Test creation of Web Message with Authenticted User

  testFormPrintoutAsODT                              (1 errors, 1 skips)
   test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents

  testImmobilisation                                 (1 failures, 2 skips)
   test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)

  testInternalOrder                                  (2 failures)
   test_15_deliveryBuilder (testInternalOrder.TestInternalOrder)
   test_16_deliveryBuilderWithNoTic (testInternalOrder.TestInternalOrder)

  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

  testOOoStyle                                       (1 failures)
   test_form_view_format (testOOoStyle.TestODSStyle)

  testPayroll                                        (1 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)

  testSpellChecking                                  (1 failures)
   test_checkSpellChecker (testSpellChecking.TestSpellChecking)

  testStandardConfigurationWorkflow                  (1 errors)
   test_after_configuration_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the after configuration script

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testUNG                                            (1 errors)
   testWebPage_updateWebDocument (testUNG.TestUNG), Test if script load correctly the Web Page with data of one document

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)

  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: 2356 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110616/f7fe3276/attachment-0001.diff>
-------------- next part --------------

ERROR: test_skins (testBusinessTemplateInstallation.TestPackaging), Test skins are present.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 847, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 972, in setUpERP5Site
    self._getBTPathAndIdList(business_template_list)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 781, in _getBTPathAndIdList
    % ', '.join(not_found_list))
RuntimeError: Following BT can't be found on your system : erp5_tiosafe_test, erp5_tiosafe_accounting, erp5_tiosafe_prestashop, erp5_oauth


FAIL: test_01_CacheFactoryOnePlugin (testCacheTool.TestCacheTool), Test cache factory containing only one cache plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 214, in test_01_CacheFactoryOnePlugin
    self._cacheFactoryInstanceTest(my_cache, cf_name, clear_allowed)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 262, in _cacheFactoryInstanceTest
    self.assert_(1.0 > calculation_time)
AssertionError


FAIL: test_06_CheckCacheExpiration (testCacheTool.TestCacheTool), Check that expiracy is well handle by Cache Plugins
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/testCacheTool.py", line 497, in test_06_CheckCacheExpiration
    self.assertTrue(calculation_time < 1.0)
AssertionError


FAIL: testCatalogSearch (testContentTranslation.TestContentTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testContentTranslation.py", line 95, in testCatalogSearch
    self.assertEquals(len(result2), 1)
AssertionError: 0 != 1


ERROR: test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/tests/testDms.py", line 1844, in test_PDFDocument_asTextConversion
    self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/mixin/text_convertable.py", line 49, in asText
    mime, data = self.convert(format='txt', **kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/Document/PDFDocument.py", line 87, in _convert
    data = self._convertToText()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/Document/PDFDocument.py", line 153, in _convertToText
    mimetype=src_mimetype)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/PortalTransforms/TransformEngine.py", line 221, in convertToData
    context, **kwargs)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/PortalTransforms/TransformEngine.py", line 181, in convertTo
    usedby=usedby, **kwargs)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/PortalTransforms/chain.py", line 49, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/PortalTransforms/Transform.py", line 191, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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/tmpoCq3E4/output.txt'


FAIL: test_CMYKImageTextContent (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/tests/testDms.py", line 1333, in test_CMYKImageTextContent
    self.assertEquals('ERP5 is a free software.\n', document.asText())
AssertionError: 'ERP5 is a free software.\n' != 'ERP5 is a free software\n\n'


FAIL: test_Document_getOtherVersionDocumentList (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2132, in test_Document_getOtherVersionDocumentList
    [])
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 528, in failIfDifferentSet
    self.assertEquals(set(a), set(b), msg)
AssertionError: [<Spreadsheet at /erp5_portal_3bbfc3316a662a9e2565ab798e6fff87/document_module/53>] != []


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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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_convertToImageOnTraversal (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2057, in test_convertToImageOnTraversal
    image_document_file_size_no_quality > image_document_file_size_5p)
AssertionError


FAIL: test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2544, in test_01_LargeOOoDocumentToImageConversion
    self.assertTrue(req_time < 30.0)
AssertionError


FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testERP5Core.py", line 307, 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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 639, in test_03_UpdateSimpleData
    self.tic()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, 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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 701, in test_06_UpdateMultiData
    self.synchronize(self.sub_id1)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 358, in synchronize
    self.tic()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, 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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 850, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 9)
AssertionError: 10 != 9


ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog), Test has everything
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 847, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 1032, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 940, in _installBusinessTemplateList
    update_translation=1)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 4864, in install
    return self._install(**kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 4818, in _install
    catalog.manage_catalogClear()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ZSQLCatalog/SQLCatalog.py", line 1294, in manage_catalogClear
    self.clear()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ZSQLCatalog/SQLCatalog.py", line 890, in clear
    method()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ZLDAPMethods/LM.py", line 457, in __call__
    c = self._connection().GetConnection()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ZLDAPConnection/ZLDAP.py", line 362, in _connection
    if not self.isOpen(): self._open()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ZLDAPConnection/ZLDAP.py", line 404, in _open
    self._v_conn.simple_bind_s(self.bind_as, self.pw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/develop-eggs/python_ldap-2.4.0-py2.6-linux-x86_64.egg/ldap/ldapobject.py", line 208, in simple_bind_s
    msgid = self.simple_bind(who,cred,serverctrls,clientctrls)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/develop-eggs/python_ldap-2.4.0-py2.6-linux-x86_64.egg/ldap/ldapobject.py", line 202, in simple_bind
    return self._ldap_call(self._l.simple_bind,who,cred,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/develop-eggs/python_ldap-2.4.0-py2.6-linux-x86_64.egg/ldap/ldapobject.py", line 97, in _ldap_call
    result = func(*args,**kwargs)
SERVER_DOWN: {'desc': "Can't contact LDAP server"}


FAIL: test_01_Contact_Us_with_Anonymous_user (testERP5WebWithCRM.TestERP5WebWithCRM), Test creation of Web Message with Anonymous User
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testERP5WebWithCRM.py", line 120, in test_01_Contact_Us_with_Anonymous_user
    self.assertEquals(event.getProperty(property_id), value)
AssertionError: '+(0)-34343434' != '34343434'


FAIL: test_02_Contact_Us_with_Aunthenticated_user (testERP5WebWithCRM.TestERP5WebWithCRM), Test creation of Web Message with Authenticted User
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testERP5WebWithCRM.py", line 171, in test_02_Contact_Us_with_Aunthenticated_user
    self.assertEquals(event.getProperty(property_id), value)
AssertionError: '+(0)-34343434' != '34343434'


ERROR: test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1184, in test_09_FieldReplacement
    odf_document = foo_printout(self.portal.REQUEST)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/FormPrintout.py", line 235, in index_html
    format, batch_mode)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/FormPrintout.py", line 289, in _oooConvertByFormat
    True)) # refresh
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/Document/OOoDocument.py", line 78, in __call__
    return self.__callable(*args, **kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1237, in request
    errcode, errmsg, headers = h.getreply()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/httplib.py", line 1064, in getreply
    response = self._conn.getresponse()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/python2.6/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
timeout: timed out


FAIL: test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testImmobilisation.py", line 3295, in test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime
    sequence_list.play(self)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetTest07SequenceData
      CreatePackingListsForContinuousAmortisationPeriodList
      Tic
    > TestDegressiveAmortisationImmobilisationPeriods
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testImmobilisation.py", line 1106, in stepTestDegressiveAmortisationImmobilisationPeriods
    self._testImmobilisationPeriods(c_period_list, e_period_list)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testImmobilisation.py", line 1161, in _testImmobilisationPeriods
    self.assertEquals(c_value,e_value)
AssertionError: DateTime('2002/01/01 00:00:00 GMT+1') != DateTime('2002/07/01 00:00:00 GMT+2')


FAIL: test_15_deliveryBuilder (testInternalOrder.TestInternalOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testOrder.py", line 1967, in test_15_deliveryBuilder
    sequence_list.play(self)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateProject1
      CreateProject2
      CreateOrder
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
    > CheckDeliveryBuilding
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testOrder.py", line 992, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_16_deliveryBuilderWithNoTic (testInternalOrder.TestInternalOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testOrder.py", line 2004, in test_16_deliveryBuilderWithNoTic
    sequence_list.play(self)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateProject1
      CreateProject2
      Tic
      CreateOrder
      SetOrderProfile
      CreateVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CheckOrderLineTotalQuantity
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
      CreateNotVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
    > CheckDeliveryBuilding
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testOrder.py", line 992, in stepCheckDeliveryBuilding
    self.assertEquals(1, len(related_packing_list_list))
AssertionError: 1 != 0


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 239, in test_maxma_demo_workflow
    sequence_list.play(self)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/bt5/erp5_configurator_maxma_demo/TestTemplateItem/testMaxmaDemoConfigurationWorkflow.py", line 111, in stepViewCreatedPersons
    self.failUnlessUserCanAccessDocument(username, entity)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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 0x7f1bd70> (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])


FAIL: test_form_view_format (testOOoStyle.TestODSStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/tests/testOOoStyle.py", line 207, in test_form_view_format
    self.assertEquals(HTTP_OK, response.getStatus())
AssertionError: 200 != 500


FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testPayroll.py", line 2157, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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_checkSpellChecker (testSpellChecking.TestSpellChecking)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testSpellChecking.py", line 143, in test_checkSpellChecker
    self.assertNotEquals(self.validate_spell('canceled'), {})
AssertionError: {} == {}


ERROR: test_after_configuration_standard_workflow_france (testStandardConfigurationWorkflow.TestStandardConfiguratorWorkflow), Test the after configuration script
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py", line 1348, in test_after_configuration_standard_workflow_france
    sequence_list.play(self)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateBusinessConfiguration
      Tic
      SetStandardWorkflow
      Tic
      ConfiguratorNext
      Tic
      CheckBT5ConfiguratorItem
      CheckConfigureOrganisationForm
      SetupOrganisationConfiguratorItemFrance
      ConfiguratorNext
      Tic
      CheckConfigureUserAccountNumberForm
      CheckOrganisationConfiguratorItemFrance
      SetupUserAccounNumberSix
      ConfiguratorNext
      Tic
      CheckConfigureMultipleUserAccountForm
      SetupMultipleUserAccountSix
      ConfiguratorNext
      Tic
      CheckConfigureAccountingForm
      CheckMultiplePersonConfigurationItem
      SetupAccountingConfigurationFrance
      ConfiguratorNext
      Tic
      CheckConfigurePreferenceForm
      CheckAccountingConfigurationItemListFrance
      SetupPreferenceConfigurationFrance
      ConfiguratorNext
      Tic
      CheckConfigureInstallationForm
      CheckPreferenceConfigurationItemListFrance
      SetupInstallConfiguration
      ConfiguratorNext
      Tic
      CheckInstallConfiguration
      StartConfigurationInstallation
      Tic
      CheckInstanceIsConfiguredFrance
      CheckValidAccountList
      CheckAccountReference
      CheckValidPersonList
      CheckValidOrganisationList
      CheckValidCurrencyList
      CheckPublicGadgetList
      CheckPreferenceList
      CheckModulesBusinessApplication
      CheckBaseCategoryList
      CheckOrganisationSite
      CheckAccountingPeriod
      CheckRuleValidation
      CheckBusinessProcess
      CheckSolver
      CheckSaleTradeCondition
      CheckPurchaseTradeCondition
    > CheckSaleOrderSimulation
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py", line 1222, in stepCheckSaleOrderSimulation
    self.stepTic()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in stepTic
    self.tic()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ProcessingNodeTestCase.py", line 232, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5a27c0de58b9a7a9d1a6b94b7d80685c/sale_order_module/1', 'expand', -2, 1)]
Last error message:
KeyError
'No Sale Trade Condition found with the reference STC-General between 2021/06/22 05:34:25.300039 UTC and 2021/06/22 05:34:25.300039 UTC'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.Delivery, line 785, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 407, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
  Module Products.ERP5.Document.AppliedRule, line 112, in expand
  Module Products.ERP5.mixin.rule, line 211, in expand
  Module Products.ERP5.Document.SimulationMovement, line 380, in expand
  Module Products.ERP5.Document.SimulationMovement, line 326, in _asSuccessorContext
  Module Products.ERP5.Document.SimulationMovement, line 301, in _getSuccessorTradePhaseList
  Module Products.ERP5Type.Cache, line 360, in wrapper
  Module Products.ERP5.mixin.composition, line 131, in __new__
  Module Products.ERP5.mixin.composition, line 223, in _findEffectiveAndInitialModelList
  Module Products.ERP5Type.Cache, line 360, in wrapper
  Module Products.ERP5.mixin.composition, line 78, in _getEffectiveModel
KeyError: 'No Sale Trade Condition found with the reference STC-General between 2021/06/22 05:34:25.300039 UTC and 2021/06/22 05:34:25.300039 UTC'



FAIL: test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/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 "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/tests/testTradeModelLine.py", line 1183, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


ERROR: testWebPage_updateWebDocument (testUNG.TestUNG), Test if script load correctly the Web Page with data of one document
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py", line 500, in testWebPage_updateWebDocument
    web_page.WebPage_updateWebDocument(document.getPath())
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/eggs/Zope2-2.12.18-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/eggs/Zope2-2.12.18-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 1309, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/eggs/Zope2-2.12.18-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 6, in WebPage_updateWebDocument
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/Document/Document.py", line 703, in asStrippedHTML
    return self._stripHTML(self._asHTML(**kw))
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/Document/Document.py", line 693, in _asHTML
    mime, html = self.convert(**kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/srv/slapgrid/slappart0/srv/slapos/software/d21be2b7613fc52301e576c5476fea4b/parts/erp5/product/ERP5OOo/Document/OOoDocument.py", line 298, in _convert
    raise NotConvertedError()
NotConvertedError


More information about the Erp5-report mailing list