[Erp5-report] ERP5-MASTER : 5108 Tests, 1 Errors, 4 Failures, 204 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 5 16:49:53 CET 2016


Test Suite: ERP5-MASTER
Revision: slapos=8615-81f31e29f0aeaef521fe827f43b767d82440bad7,erp5=45565-d3d80467e874e4cc2cf879cadb0dd1a1513a4686
Result: FAIL

All tests: 5108
Failures: 4
Errors: 1
Skips: 204

 https://nexedi.erp5.net/test_result_module/20160205-4F825CE3/view


The following tests failed:

  erp5_upgrader:testUpgrader                         (1 failures)
   test_can_not_run_post_upgrade_without_solve_upgrade (erp5.component.test.erp5_version.testUpgrader.TestUpgrader)

  testCRM                                            (1 errors, 1 skips)
   test_EventPath (testCRM.TestCRM)

  testERP5NamingConvention                           (1 failures)
   testNamingConvention (testERP5NamingConvention.TestNamingConvention)

  testFreeSubscription                               (1 failures)
   test_05_UnsubscriptionFromURL (testFreeSubscription.TestFreeSubscription)

  testTranslation                                    (1 failures)
   test_portal_type_and_state_title_translation_on_portal_catalog (testTranslation.TestTranslationWithBusinessTemplate)

The following tests were at least partly skipped:

  erp5_configurator_maxma_demo:testMaxmaDemoConfigurationWorkflow (1 skips)

  erp5_hal_json_style:testHalJsonStyle               (4 skips)
   test_getRequestBody_matching_key (erp5.component.test.erp5_version.testHalJsonStyle.TestBase_getRequestBody) ... skipped 'TODO'
   test_getRequestHeader_matching_key (erp5.component.test.erp5_version.testHalJsonStyle.TestBase_getRequestHeader) ... skipped 'TODO'
   test_getRequestUrl_matching_key (erp5.component.test.erp5_version.testHalJsonStyle.TestBase_getRequestUrl) ... skipped 'TODO'
   test_getHateoas_drop_restricted (erp5.component.test.erp5_version.testHalJsonStyle.TestERP5Document_getHateoas_general) ... skipped 'TODO'

  erp5_web_shacache:testShaCache                     (1 skips)

  erp5_web_shadir:testShaDir                         (1 skips)

  networkcache_erp5:testShaCacheExternal             (1 skips)

  testAccountingRulesSimulationLegacy                (22 skips)

  testAdvancedInvoicing                              (1 skips)

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

  testBase                                           (3 skips)
   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'
   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'
   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                               (6 skips)
   test_BusinessTemplateUpgradeDocumentFromFilesystemToZodb (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocument (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentMigrated (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentNonExistingBefore (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'

  testCRM                                            (1 skips)

  testCalendar                                       (5 skips)
   test_2OverlappedLeaveRequestOverlappingAfterGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestOverlappingAfterGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestOverlappingBeforeGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestWithSameDateAsGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestWithSameDateAsRepeatedGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'

  testConstraint                                     (1 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 skips)

  testDmsWithPreConversion                           (1 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   Tests that buildSQLQuery works with another query_table than 'catalog' ... skipped 'TODO ERP5'
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Commerce                                   (1 skips)
   test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

  testERP5DocumentSyncML                             (4 skips)

  testERP5Interfaces                                 (7 skips)

  testERP5SyncML                                     (2 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (3 skips)
   test_03_CreateWebSiteUser (testERP5Web.TestERP5Web) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

  testExternalAccount                                (1 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'

  testFunctionalAnonymousSelection                   (37 skips)
        So this part is skipped -->
        So this part is skipped -->
        So this part is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->

  testFunctionalCore                                 (8 skips)
        So this test is skipped -->
        So this test is skipped -->

  testFunctionalKM                                   (3 skips)

  testI18NSearch                                     (1 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventory                                      (2 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (6 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

  testOpenOrder                                      (3 skips)

  testOxatisSynchronization                          (1 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

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

  testSelectionTool                                  (7 skips)
   testCallSelectionFor (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testCallSelectionFor (testSelectionTool.TestSelectionToolMemcachedStorage) ... 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)

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

FAIL: test_can_not_run_post_upgrade_without_solve_upgrade (erp5.component.test.erp5_version.testUpgrader.TestUpgrader)
Check that if there is something to solve in pre_upgrade and upgrade is
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<portal_components/test.erp5.testUpgrader>", line 532, in test_can_not_run_post_upgrade_without_solve_upgrade
    sequence_list.play(self)
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      UninstallERP5Web
      SetConstraintInPersonModulePortalType
      Tic
    > CheckUpgradeRequired
      CheckPostUpgradeNotRequired
      CreatePerson
      ValidatePerson
      Tic
      CheckPostUpgradeRequired
      RunPostUpgrade
      Tic
      CheckUpgradeRequired
      CheckPostUpgradeRequired
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "<portal_components/test.erp5.testUpgrader>", line 291, in stepCheckUpgradeRequired
    self.assertTrue(sense, detail_list)
AssertionError: False is not true


ERROR: test_EventPath (testCRM.TestCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5/tests/testCRM.py", line 526, in test_EventPath
    self.tic()
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 248, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/organisation_module/1', 'Entity_createEventFromDefaultEventPath', -2, 1)]
Last error message:
NameError
global name 'translateString' is not defined
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1389, in group_method
    m.result = getattr(m.object, method_id)(*m.args, **m.kw)
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
    return self._bindAndExec(args, kw, None)
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1326, in _exec
    return PythonScript_exec(self, *args)
  Module Products.ERP5Type.patches.PythonScript, line 169, in _exec
    return PythonScript_exec(self, *args)
  Module Products.PythonScripts.PythonScript, line 344, in _exec
    result = f(*args, **kw)
  Module script, line 27, in Entity_createEventFromDefaultEventPath
   - <PythonScript at /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/Entity_createEventFromDefaultEventPath used for /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/organisation_module/1>
   - Line 27
    batch_mode=True)
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
    return self._bindAndExec(args, kw, None)
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1326, in _exec
    return PythonScript_exec(self, *args)
  Module Products.ERP5Type.patches.PythonScript, line 169, in _exec
    return PythonScript_exec(self, *args)
  Module Products.PythonScripts.PythonScript, line 344, in _exec
    result = f(*args, **kw)
  Module script, line 71, in Base_addEvent
   - <PythonScript at /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/Base_addEvent used for /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/organisation_module/1>
   - Line 71
    reference=notification_message, language=language)
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
    return self._bindAndExec(args, kw, None)
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1326, in _exec
    return PythonScript_exec(self, *args)
  Module Products.ERP5Type.patches.PythonScript, line 169, in _exec
    return PythonScript_exec(self, *args)
  Module Products.PythonScripts.PythonScript, line 344, in _exec
    result = f(*args, **kw)
  Module script, line 24, in Event_setTextContentFromNotificationMessage
   - <PythonScript at /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/Event_setTextContentFromNotificationMessage used for /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/event_module/2>
   - Line 24
    substitution_method_parameter_dict=substitution_method_parameter_dict)
  Module Products.ERP5.mixin.document, line 84, in convert
    result = self._convert(format, **kw)
  Module Products.ERP5.Document.TextDocument, line 191, in _convert
    **substitution_method_parameter_dict)
  Module Products.ERP5.Document.TextDocument, line 93, in _substituteTextContent
    mapping = method(**kw)
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
    return self._bindAndExec(args, kw, None)
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1326, in _exec
    return PythonScript_exec(self, *args)
  Module Products.ERP5Type.patches.PythonScript, line 169, in _exec
    return PythonScript_exec(self, *args)
  Module Products.PythonScripts.PythonScript, line 344, in _exec
    result = f(*args, **kw)
  Module script, line 59, in NotificationMessage_getSubstitutionMappingDictFromEvent
   - <PythonScript at /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/NotificationMessage_getSubstitutionMappingDictFromEvent used for /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/notification_message_module/1>
   - Line 59
    return getSubstitutionMappingDict()
  Module script, line 25, in getSubstitutionMappingDict
   - <PythonScript at /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/NotificationMessage_getSubstitutionMappingDictFromEvent used for /erp5_portal_d1a9f91cce74f5ae3ee08f2752d50357/notification_message_module/1>
   - Line 25
    kw['social_title'] = str(translateString("Participant"))
NameError: global name 'translateString' is not defined



FAIL: testNamingConvention (testERP5NamingConvention.TestNamingConvention)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/e/soft/c607191e037a0005e9e450349539cb90/parts/erp5/Products/ERP5Type/tests/testERP5NamingConvention.py", line 119, in testNamingConvention
    self.assertEqual(0, len(final_result_list), "\n".join(final_result_list))
AssertionError: erp5_crm/Event_viewCreateResponseDialog : your_response_workflow_action : 'triggered' is not titlecased

erp5_crm/Ticket_viewCreateResponseWorkflowActionDialog : your_response_workflow_action : 'triggered' is not titlecased

erp5_crm/Ticket_viewNewEventDialog : your_event_workflow_action : 'triggered' is not titlecased



FAIL: test_05_UnsubscriptionFromURL (testFreeSubscription.TestFreeSubscription)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/e/soft/c607191e037a0005e9e450349539cb90/parts/erp5/Products/ERP5/tests/testFreeSubscription.py", line 401, in test_05_UnsubscriptionFromURL
    sequence_list.play(self)
  File "/srv/slapgrid/slappart4/srv/testnode/e/soft/c607191e037a0005e9e450349539cb90/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart4/srv/testnode/e/soft/c607191e037a0005e9e450349539cb90/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateReceiver
      CreateSender
      CreateMailingResource
      Tic
      CreateFreeSubscription
      Tic
      CreateNotificationMessage
      CreateCommunicationPlan
      CreateCampaign
      Tic
      ValidateCampaign
      Tic
      CheckEventCreated
      EnableFreeSubscriptionRequestAutomaticApprovalPreferences
      Tic
      ClickUnsubscriptionLinkInEvent
      Tic
    > CheckFreeSubscriptionRequestCreated
      CheckAcceptedFreeSubscriptionRequest
      CheckFreeSubscriptionInvalidated
  File "/srv/slapgrid/slappart4/srv/testnode/e/soft/c607191e037a0005e9e450349539cb90/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart4/srv/testnode/e/soft/c607191e037a0005e9e450349539cb90/parts/erp5/Products/ERP5/tests/testFreeSubscription.py", line 322, in stepCheckFreeSubscriptionRequestCreated
    self.assertEquals(len(request_list), 1)
AssertionError: 0 != 1


FAIL: test_portal_type_and_state_title_translation_on_portal_catalog (testTranslation.TestTranslationWithBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/e/soft/c607191e037a0005e9e450349539cb90/parts/erp5/Products/ERP5/tests/testTranslation.py", line 463, in test_portal_type_and_state_title_translation_on_portal_catalog
    self.portal.portal_catalog(translated_portal_type='Personne')})
AssertionError: Items in the first set but not the second:
<Person at /erp5_portal_ed7276a3ba02ddab6d6b92b53205116d/person_module/3>
<Person at /erp5_portal_ed7276a3ba02ddab6d6b92b53205116d/person_module/4>


More information about the Erp5-report mailing list