[Erp5-report] ERP5-MASTER rNone : 4404 Tests, 7 Errors, 2 Failures, 208 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 25 19:52:39 CEST 2012


Test Suite: ERP5-MASTER
Revision: slapos=3222-902b7a46c00d0088dfa31fb2b292ee34abc6c168,erp5=41287-0e1b5bbd8f94349b47dde77666c1f91640536f0c
Result: FAIL

All tests: 4404
Failures: 2
Errors: 7
Skips: 208

 http://erp5.nexedi.com/test_result_module/20120625-35939B56/view


The following tests failed:

  testDmsWithPreConversion                           (2 errors, 2 skips)
   test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal (testDmsWithPreConversion.TestDocumentWithPreConversion)
   test_document_publication_workflow_archiveVersion (testDmsWithPreConversion.TestDocumentWithPreConversion), Test old versions of a doc are auto archived.

  testERP5Security                                   (1 failures, 3 errors)
   testDynamicLocalRole (testERP5Security.TestLocalRoleManagement), Test simple case of setting a dynamic role.
   testKeyAuthentication (testERP5Security.TestLocalRoleManagement)
   testLocalRoleWithTraverser (testERP5Security.TestLocalRoleManagement), Make sure that local role works correctly when traversing
   testSeveralFunctionsOnASingleAssignment (testERP5Security.TestLocalRoleManagement), Test dynamic role generation when an assignment defines several functions

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

  testOOoConversionCache                             (1 errors)
   test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)

  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:

  testAccountingReports                              (1 skips)
   test_Resource_zGetInventoryList (testAccountingReports.TestAccountingReports) ... skipped 'TODO ERP5'

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMCore                                        (1 skips)
   test_payBeforeDelivery (testBPMCore.TestBPMImplementation) ... skipped 'TODO ERP5'

  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                               (5 skips)
   test_BusinessTemplateWithZodbDocument (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentMigrated (testBusinessTemplate.TestConstraintTemplateItem), Checks that if Business Template defines Document and PropertySheet ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentNonExistingBefore (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'

  testCRM                                            (1 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testDmsWithPreConversion                           (2 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                                   (3 skips)

  testInvoice                                        (6 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

  testLegacyAccountingReports                        (1 skips)
   test_Resource_zGetInventoryList (Products.ERP5.tests.testAccountingReports.TestAccountingReports) ... skipped 'TODO ERP5'

  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                   (3 skips)

  testLegacyTradeModelLine                           (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'

  testMaxmaDemoConfigurationWorkflow                 (1 skips)

  testOpenOrder                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testOxatisSynchronization                          (1 skips)

  testPersonERP5Synchronization                      (7 skips)
   test_PrestashopComplexeUpdateElement (testPersonERP5Synchronization.TestPersonERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeletePerson (testPersonERP5Synchronization.TestPersonERP5Synchronization), Check that the delete during a person's sync invalidate the person. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithAddressNoMappingSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with an address and no mapping. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithMultipleAddressSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithSingleAddressSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with an address. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testPersonERP5Synchronization.TestPersonERP5Synchronization), This test checks the simple update after sync of persons. ... skipped 'must be checked against zope2.12'

  testPersonPrestashopSynchronization                (6 skips)
   test_PrestashopComplexeUpdateElement (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeletePerson (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), Check that the delete during a person's sync invalidate the person. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithMultipleAddressSync (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopPersonWithSingleAddressSync (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the person sync with an address. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the person sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testPersonPrestashopSynchronization.TestPersonPrestashopSynchronization), This test checks the simple update after sync of persons. ... skipped 'must be checked against zope2.12'

  testPreferences                                    (1 skips)

  testProductERP5Synchronization                     (8 skips)
   test_PrestashopComplexeUpdateElement (testProductERP5Synchronization.TestProductERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeleteProduct (testProductERP5Synchronization.TestProductERP5Synchronization), Check that delete during a product's sync invalidate the product. ... skipped 'must be checked against zope2.12'
   test_PrestashopDifferentKindVariationsSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the product sync with the two kind of variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopIndividualVariationSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the product sync with individual variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopMultipleSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the multiple product sync. ... skipped 'must be checked against zope2.12'
   test_PrestashopSharedVariationSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test check the product sync with shared variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testProductERP5Synchronization.TestProductERP5Synchronization), This test checks the product sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testProductERP5Synchronization.TestProductERP5Synchronization), This test checks the simple update after sync of products. ... skipped 'must be checked against zope2.12'

  testProductPrestashopSynchronization               (8 skips)
   test_PrestashopComplexeUpdateElement (testProductPrestashopSynchronization.TestProductPrestashopSynchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDeleteProduct (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), Check that delete during a product's sync invalidate the product. ... skipped 'must be checked against zope2.12'
   test_PrestashopDifferentKindVariationsSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the product sync with the two kind of variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopIndividualVariationSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the product sync with individual variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopMultipleSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the multiple product sync. ... skipped 'must be checked against zope2.12'
   test_PrestashopSharedVariationSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test check the product sync with shared variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test checks the product sync with the simplest XML. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateSimpleElement (testProductPrestashopSynchronization.TestProductPrestashopSynchronization), This test checks the simple update after sync of products. ... skipped 'must be checked against zope2.12'

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

  testResource                                       (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'

  testSQLCatalog                                     (2 skips)

  testSaleOrderERP5Synchronization                   (10 skips)
   test_PrestashopDeleteDoNothing (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopDiscountSync (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with discount. ... skipped 'must be checked against zope2.12'
   test_PrestashopGenerateAccounting (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopSimplestXMLSync (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of the simplest XML for a sale order. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncDifferentKindVariation (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with the two kind of variations. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithIndividualVariation (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithSharedVariation (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with shared variation. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithoutDestination (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order without destination. ... skipped 'must be checked against zope2.12'
   test_PrestashopSyncWithoutProduct (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization), Check the sync of sale order with a non-existant product. ... skipped 'must be checked against zope2.12'
   test_PrestashopUpdateDoNothing (testSaleOrderERP5Synchronization.TestSaleOrderERP5Synchronization) ... skipped 'must be checked against zope2.12'

  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'

  testShaCache                                       (1 skips)

  testShaCacheExternal                               (1 skips)

  testShaDir                                         (1 skips)

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testTradeModelLine                                 (1 skips)

  testTradeModelLinePurchase                         (1 skips)

  testUbercartSynchronisation                        (1 skips)

  testVirtuemartSynchronization                      (1 skips)

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

ERROR: test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2044, in test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal
    self.tic()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 246, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d72c069f2862273b8c33b925049a5f85/web_page_module/13', 'convert', -2, 1)]
Last error message:
timeout
timed out
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 312, in __call__
  Module Products.ERP5.mixin.document, line 83, in convert
  Module Products.ERP5.Document.TextDocument, line 166, in _convert
  Module Products.PortalTransforms.TransformEngine, line 221, in convertToData
  Module Products.PortalTransforms.TransformEngine, line 181, in convertTo
  Module Products.PortalTransforms.chain, line 49, in convert
  Module Products.PortalTransforms.Transform, line 191, in convert
  Module Products.ERP5OOo.transforms.html_to_odt, line 41, in convert
  Module Products.ERP5OOo.transforms.oood_commandtransform, line 234, in convertTo
  Module Products.ERP5OOo.Document.OOoDocument, line 74, in __call__
  Module xmlrpclib, line 1199, in __call__
  Module xmlrpclib, line 1489, in __request
  Module xmlrpclib, line 1237, in request
  Module httplib, line 1064, in getreply
  Module httplib, line 990, in getresponse
  Module httplib, line 391, in begin
  Module httplib, line 349, in _read_status
  Module socket, line 427, in readline
timeout: timed out



ERROR: test_document_publication_workflow_archiveVersion (testDmsWithPreConversion.TestDocumentWithPreConversion), Test old versions of a doc are auto archived.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5OOo/tests/testDms.py", line 2558, in test_document_publication_workflow_archiveVersion
    document_002 = self.portal.Base_contribute(**kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-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/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1338, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 74, in Base_contribute
    input_parameter_dict=document_kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-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/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1338, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 8, in Document_convertToBaseFormatAndDiscoverMetadata
    context.convertToBaseFormat()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/mixin/base_convertable.py", line 62, in convertToBaseFormat
    message = self._convertToBaseFormat() # Call implemetation method
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5OOo/Document/OOoDocument.py", line 440, in _convertToBaseFormat
    self.getContentType())
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5OOo/Document/OOoDocument.py", line 74, in __call__
    return self.__callable(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1237, in request
    errcode, errmsg, headers = h.getreply()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 1064, in getreply
    response = self._conn.getresponse()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
timeout: timed out


ERROR: testDynamicLocalRole (testERP5Security.TestLocalRoleManagement), Test simple case of setting a dynamic role.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5Security/tests/testERP5Security.py", line 599, in testDynamicLocalRole
    obj = self._makeOne()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5Security/tests/testERP5Security.py", line 545, in _makeOne
    return self.getOrganisationModule().newContent(portal_type='Organisation')
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/Core/Folder.py", line 533, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/Core/Folder.py", line 159, in newContent
    **kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/ERP5Type.py", line 400, in constructInstance
    self.updateLocalRolesOnDocument(ob, reindex=False)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/UnrestrictedMethod.py", line 68, in <lambda>
    return lambda *args, **kw: unrestricted_apply(function, args, kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/UnrestrictedMethod.py", line 101, in unrestricted_apply
    return apply(function, args, kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/ERP5Type.py", line 92, in updateLocalRolesOnDocument
    group_id_role_dict = self.getLocalRolesFor(ob, user_name)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/ERP5Type.py", line 118, in getLocalRolesFor
    in role.getLocalRolesFor(ob, user_name).iteritems():
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/Core/RoleInformation.py", line 173, in getLocalRolesFor
    group_id_list = group_id_generator(**category_value_dict)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-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/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1338, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 71, in ERP5Type_asSecurityGroupId
    raise RuntimeError("Security definition error (category %r not found)" % (category_path,))
RuntimeError: Security definition error (category 'function/another_subcat' not found)


ERROR: testKeyAuthentication (testERP5Security.TestLocalRoleManagement)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5Security/tests/testERP5Security.py", line 772, in testKeyAuthentication
    self.tic()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 246, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -1, 0), ('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -1, 0), ('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -1, 0), ('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -2, 1), ('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -2, 1), ('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -2, 1)]
Last error message:
RuntimeError
Security definition error (category 'function/another_subcat' not found)
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 312, in __call__
  Module Products.ERP5Type.Core.Folder, line 1624, in callMethodOnObjectList
  Module Products.ERP5Type.Base, line 3232, in updateLocalRolesOnSecurityGroups
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5Type.ERP5Type, line 92, in updateLocalRolesOnDocument
  Module Products.ERP5Type.ERP5Type, line 118, in getLocalRolesFor
  Module Products.ERP5Type.Core.RoleInformation, line 173, in getLocalRolesFor
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1338, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 71, in ERP5Type_asSecurityGroupId
   - <PythonScript at /erp5_portal_7ae9c8ab6865561a9b53b12846341253/ERP5Type_asSecurityGroupId used for /erp5_portal_7ae9c8ab6865561a9b53b12846341253/web_site_module>
   - Line 71
RuntimeError: Security definition error (category 'function/another_subcat' not found)



ERROR: testLocalRoleWithTraverser (testERP5Security.TestLocalRoleManagement), Make sure that local role works correctly when traversing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5Security/tests/testERP5Security.py", line 713, in testLocalRoleWithTraverser
    self.tic()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 246, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -1, 0), ('/erp5_portal_7ae9c8ab6865561a9b53b12846341253/portal_activities', 'callMethodOnObjectList', -2, 1)]
Last error message:
RuntimeError
Security definition error (category 'function/another_subcat' not found)
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 312, in __call__
  Module Products.ERP5Type.Core.Folder, line 1624, in callMethodOnObjectList
  Module Products.ERP5Type.Base, line 3232, in updateLocalRolesOnSecurityGroups
  Module Products.ERP5Type.UnrestrictedMethod, line 68, in <lambda>
  Module Products.ERP5Type.UnrestrictedMethod, line 101, in unrestricted_apply
  Module Products.ERP5Type.ERP5Type, line 92, in updateLocalRolesOnDocument
  Module Products.ERP5Type.ERP5Type, line 118, in getLocalRolesFor
  Module Products.ERP5Type.Core.RoleInformation, line 173, in getLocalRolesFor
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1338, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 71, in ERP5Type_asSecurityGroupId
   - <PythonScript at /erp5_portal_7ae9c8ab6865561a9b53b12846341253/ERP5Type_asSecurityGroupId used for /erp5_portal_7ae9c8ab6865561a9b53b12846341253/person_module>
   - Line 71
RuntimeError: Security definition error (category 'function/another_subcat' not found)



FAIL: testSeveralFunctionsOnASingleAssignment (testERP5Security.TestLocalRoleManagement), Test dynamic role generation when an assignment defines several functions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5Security/tests/testERP5Security.py", line 623, in testSeveralFunctionsOnASingleAssignment
    self.assertEqual(['Assignee'], obj.__ac_local_roles__.get('F2_G1_S1'))
AssertionError: ['Assignee'] != None


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/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/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: '34343434' != '+(0)-34343434'


ERROR: test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/product/ERP5OOo/tests/testOOoConversionCache.py", line 180, in test_02_VolatileCacheConversionOfTempObject
    document.convert(format=format)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/mixin/document.py", line 83, in convert
    result = self._convert(format, **kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5OOo/Document/OOoDocument.py", line 349, in _convert
    mime, data = self._getConversionFromProxyServer(format)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5OOo/Document/OOoDocument.py", line 265, in _getConversionFromProxyServer
    orig_format)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5OOo/Document/OOoDocument.py", line 74, in __call__
    return self.__callable(*args, **kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1237, in request
    errcode, errmsg, headers = h.getreply()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 1064, in getreply
    response = self._conn.getresponse()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/python2.6/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
timeout: timed out


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/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py", line 538, in testWebPage_updateWebDocument
    web_page.WebPage_updateWebDocument(document.getPath())
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-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/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1338, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/eggs/Zope2-2.12.23-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
    context.setTextContent(document.asStrippedHTML())
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/Document/Document.py", line 703, in asStrippedHTML
    return self._stripHTML(self._asHTML(**kw))
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/Document/Document.py", line 693, in _asHTML
    mime, html = self.convert(**kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/mixin/document.py", line 83, in convert
    result = self._convert(format, **kw)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5OOo/Document/OOoDocument.py", line 303, in _convert
    raise NotConvertedError()
NotConvertedError


More information about the Erp5-report mailing list