[Erp5-report] ERP5-MASTER : 5337 Tests, 76 Errors, 2 Failures, 198 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 15 19:14:27 CET 2016


Test Suite: ERP5-MASTER
Revision: slapos.cookbook-repository=9349-0d90b242fbde20a821acab59278b1fcfea9fb6e3,erp5=46635-a82428385d0022f6a97a2f55ce8c7480855b0ac0
Result: FAIL

All tests: 5337
Failures: 2
Errors: 76
Skips: 198

 https://nexedi.erp5.net/test_result_module/20161215-27198AC6/view


The following tests failed:

  erp5_officejs_ui_test:testFunctionalOfficeJS       (1 failures)
   testFunctionalTestRunner (erp5.component.test.erp5_version.testFunctionalOfficeJS.TestZeleniumCore)

  testAccountingReports                              (68 errors)
   testAccountStatement (testAccountingReports.TestAccountingReports)

  testERP5Core                                       (1 errors)
   test_standardErrorMessageShouldNotRaiseUnauthorizeOnUnauthorizeDocument (testERP5Core.TestERP5Core)

  testFunctionalKM                                   (1 failures, 3 skips)
   testFunctionalTestRunner (testFunctionalKM.TestZeleniumKM)

  testTranslation                                    (7 errors)
   test_01_EnglishTranslation (testTranslation.TestWorkflowStateTitleTranslation)

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_renderjs_ui_test:testFunctionalRJSTranslation (1 skips)

  erp5_web_shacache:testShaCache                     (1 skips)

  erp5_web_shadir:testShaDir                         (1 skips)

  networkcache_erp5:testShaCacheExternal             (1 skips)

  testAccountingRulesSimulationLegacy                (22 skips)

  testAdvancedInvoicing                              (1 skips)

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

  testInvoice                                        (6 skips)

  testItem                                           (4 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: 1450 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20161215/8f51bcfc/attachment-0001.diff>
-------------- next part --------------

FAIL: testFunctionalTestRunner (erp5.component.test.erp5_version.testFunctionalOfficeJS.TestZeleniumCore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 466, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: Test OfficeJS UI


ERROR: testAccountStatement (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 829, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 1093, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 978, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Tool/TemplateTool.py", line 381, in download
    bt = self._download_local(os.path.normpath(name), id)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Tool/TemplateTool.py", line 328, in _download_local
    bt.importFile(path)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 5727, in importFile
    vcs_tool = self._getVcsTool(path=path)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/Cache.py", line 373, in wrapper
    cache[subkey] = result = function(*args, **kw)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 5644, in _getVcsTool
    return getVcsTool(vcs, path, restricted).__of__(self)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5VCS/WorkingCopy.py", line 345, in getVcsTool
    return x[1](path, restricted)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5VCS/Git.py", line 131, in __init__
    stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[0]
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5VCS/Git.py", line 79, in _git
    e.strerror)
GitInstallationError: git command cannot be executed: Cannot allocate memory


ERROR: test_standardErrorMessageShouldNotRaiseUnauthorizeOnUnauthorizeDocument (testERP5Core.TestERP5Core)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 1169, in tearDown
    PortalTestCase.tearDown(self)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/eggs/Zope2-2.13.24-py2.7.egg/Testing/ZopeTestCase/base.py", line 101, in tearDown
    self.beforeTearDown()
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/Products/ERP5/tests/testERP5Core.py", line 132, in beforeTearDown
    self.tic()
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ProcessingNodeTestCase.py", line 248, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_8c63206ecab695199b3d763d70d57f23/test_error_message', 'immediateReindexObject', -2, 1), ('/erp5_portal_8c63206ecab695199b3d763d70d57f23/test_error_message/1', 'immediateReindexObject', -2, 1)]
Last error message:
Unauthorized
You are not allowed to access 'isResourceType' in this context
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1338, in invokeGroup
    traverse(method_id)(expanded_object_list)
  Module Products.ERP5Catalog.CatalogTool, line 837, in catalogObjectList
    super(CatalogTool, self).catalogObjectList(tmp_object_list, **m.kw)
  Module Products.ZSQLCatalog.ZSQLCatalog, line 839, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  Module Products.ZSQLCatalog.SQLCatalog, line 1455, in catalogObjectList
    idxs=idxs)
  Module Products.ZSQLCatalog.SQLCatalog, line 1669, in _catalogObjectList
    result = expression(econtext)
  Module Products.CMFCore.Expression, line 47, in __call__
    res = compiled(econtext)
  Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
   - __traceback_info__: context.isResourceType()
    return eval(self._code, vars, {})
  Module PythonExpr, line 1, in <expression>
    
Unauthorized: You are not allowed to access 'isResourceType' in this context



FAIL: testFunctionalTestRunner (testFunctionalKM.TestZeleniumKM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart3/srv/testnode/aai/soft/b922eec80139f0d4db4d319369398ac1/parts/erp5/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 466, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: testAnonymousRegisterAccount


ERROR: test_01_EnglishTranslation (testTranslation.TestWorkflowStateTitleTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 829, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 1093, in setUpERP5Site
    quiet=quiet)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 978, in _installBusinessTemplateList
    bt = template_tool.download(url)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Tool/TemplateTool.py", line 381, in download
    bt = self._download_local(os.path.normpath(name), id)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Tool/TemplateTool.py", line 328, in _download_local
    bt.importFile(path)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 5727, in importFile
    vcs_tool = self._getVcsTool(path=path)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5Type/Cache.py", line 373, in wrapper
    cache[subkey] = result = function(*args, **kw)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 5644, in _getVcsTool
    return getVcsTool(vcs, path, restricted).__of__(self)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5VCS/WorkingCopy.py", line 345, in getVcsTool
    return x[1](path, restricted)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5VCS/Git.py", line 131, in __init__
    stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[0]
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/product/ERP5VCS/Git.py", line 79, in _git
    e.strerror)
GitInstallationError: git command cannot be executed: Cannot allocate memory


More information about the Erp5-report mailing list