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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 25 00:58:42 CEST 2012


Test Suite: ERP5-MASTER
Revision: slapos=3220-913826a360b5691c26c1c76208a5856ede84d5a9,erp5=41287-0e1b5bbd8f94349b47dde77666c1f91640536f0c
Result: FAIL

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

 http://erp5.nexedi.com/test_result_module/20120624-4D6349BC/view


The following tests failed:

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

  testLegacySimulationOrderBuilder                   (4 failures)
   test_01_simpleOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
   test_01a_simpleOrderBuilderVariatedResource (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
   test_02_maxDelayResourceOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
   test_03_minFlowResourceOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)

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

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/person_module/4>
   - 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'


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/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 172, in test_02_Contact_Us_with_Aunthenticated_user
    self.assertEquals(event.getProperty(property_id), value)
AssertionError: '34343434' != '+(0)-34343434'


FAIL: test_01_simpleOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
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/Products/ERP5/tests/testOrderBuilder.py", line 298, in test_01_simpleOrderBuilder
    sequence_list.play(self)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation
      CreateNotVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantity
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentList
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/tests/testOrderBuilder.py", line 159, in stepCheckGeneratedDocumentList
    self.assertEqual(order.getStartDate(), self.wanted_start_date)
AssertionError: DateTime('2012/07/05 00:00:00 GMT+2') != DateTime('2012/07/04 00:00:00 GMT+2')


FAIL: test_01a_simpleOrderBuilderVariatedResource (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
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/Products/ERP5/tests/testOrderBuilder.py", line 339, in test_01a_simpleOrderBuilderVariatedResource
    sequence_list.play(self)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation
      CreateVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantityVariated
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentListVariated
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/tests/testOrderBuilder.py", line 133, in stepCheckGeneratedDocumentListVariated
    self.assertEqual(order.getStartDate(), self.wanted_start_date)
AssertionError: DateTime('2012/07/05 00:00:00 GMT+2') != DateTime('2012/07/04 00:00:00 GMT+2')


FAIL: test_02_maxDelayResourceOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
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/Products/ERP5/tests/testOrderBuilder.py", line 362, in test_02_maxDelayResourceOrderBuilder
    sequence_list.play(self)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation
      CreateNotVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantity
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentList
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/tests/testOrderBuilder.py", line 159, in stepCheckGeneratedDocumentList
    self.assertEqual(order.getStartDate(), self.wanted_start_date)
AssertionError: DateTime('2012/06/21 00:00:00 GMT+2') != DateTime('2012/06/20 00:00:00 GMT+2')


FAIL: test_03_minFlowResourceOrderBuilder (Products.ERP5.tests.testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
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/Products/ERP5/tests/testOrderBuilder.py", line 387, in test_03_minFlowResourceOrderBuilder
    sequence_list.play(self)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation
      CreateNotVariatedResource
      SetMaxDelayOnResource
      SetMinFlowOnResource
      Tic
      DecreaseOrganisationResourceQuantity
      Tic
      CreateOrderBuilder
      FillOrderBuilder
      Tic
      BuildOrderBuilder
      Tic
    > CheckGeneratedDocumentList
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart1/srv/slapos/software/ca64c4841e4168f2e3549dd29719fad0/parts/erp5/Products/ERP5/tests/testOrderBuilder.py", line 159, in stepCheckGeneratedDocumentList
    self.assertEqual(order.getStartDate(), self.wanted_start_date)
AssertionError: DateTime('2012/07/05 00:00:00 GMT+2') != DateTime('2012/07/04 00:00:00 GMT+2')


More information about the Erp5-report mailing list