[Erp5-report] ERP5-Security-Merge : 4948 Tests, 1 Errors, 8 Failures, 202 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 30 19:42:51 CEST 2015


Test Suite: ERP5-Security-Merge
Revision: slapos=7638-b335b030e37417cbba407abf7395376c0c0f0562,erp5=44398-80c2ab45cf821cf9ff7916a9bc7ddbb4e3222b31
Result: FAIL

All tests: 4948
Failures: 8
Errors: 1
Skips: 202



The following tests failed:

  erp5_hal_json_style:testHalJsonStyle               (1 errors, 4 skips)
   test_getHateoasDocument_default_view (erp5.component.test.erp5_version.testHalJsonStyle.TestERP5Document_getHateoas_mode_traverse)

  erp5_web_renderjs_ui_test:testFunctionalRJS        (6 failures)
   testFunctionalTestRunner (erp5.component.test.erp5_version.testFunctionalRJS.TestZeleniumCore)

  testERP5DocumentSyncML                             (1 failures, 4 skips)
   test_12_OneWaySyncFromServer (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testSecurity                                       (1 failures)
   test_method_protection (testSecurity.TestSecurity)

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)

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

  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'

  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.'

  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                   (36 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: 14064 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20150330/09f7f3ae/attachment-0001.diff>
-------------- next part --------------

ERROR: test_getHateoasDocument_default_view (erp5.component.test.erp5_version.testHalJsonStyle.TestERP5Document_getHateoas_mode_traverse)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<portal_components/test.erp5.testHalJsonStyle>", line 41, in decorated
    result = f(self, *args, **kw)
  File "<portal_components/test.erp5.testHalJsonStyle>", line 41, in decorated
    result = f(self, *args, **kw)
  File "<portal_components/test.erp5.testHalJsonStyle>", line 23, in wrapped
    v = func(self, *args, **kwargs)
  File "<portal_components/test.erp5.testHalJsonStyle>", line 448, in test_getHateoasDocument_default_view
    result = self.portal.web_site_module.hateoas.ERP5Document_getHateoas(REQUEST=fake_request, mode="traverse", relative_url=document.getRelativeUrl(), view="view")
  File "/srv/slapgrid/slappart9/srv/testnode/ga/soft/1cc4372445638619cc0b74ef21a67e8e/eggs/Zope2-2.13.22-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/srv/slapgrid/slappart9/srv/testnode/ga/soft/1cc4372445638619cc0b74ef21a67e8e/eggs/Zope2-2.13.22-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/srv/slapgrid/slappart9/srv/testnode/ga/soft/1cc4372445638619cc0b74ef21a67e8e/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1280, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart9/srv/testnode/ga/soft/1cc4372445638619cc0b74ef21a67e8e/parts/erp5/Products/ERP5Type/patches/PythonScript.py", line 158, in _exec
    return PythonScript_exec(self, *args)
  File "/srv/slapgrid/slappart9/srv/testnode/ga/soft/1cc4372445638619cc0b74ef21a67e8e/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 596, in ERP5Document_getHateoas
    renderForm(renderer_form, embedded_dict)
  File "Script (Python)", line 321, in renderForm
    response_dict[field.id] = renderField(field)
  File "Script (Python)", line 139, in renderField
    ).asSearchTextExpression(sql_catalog)})
Unauthorized: You are not allowed to access 'buildQuery' in this context


FAIL: testFunctionalTestRunner (erp5.component.test.erp5_version.testFunctionalRJS.TestZeleniumCore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/ga/soft/1cc4372445638619cc0b74ef21a67e8e/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 436, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: Test RenderJS UI
Test RenderJS UI
Test RenderJS UI
Test RenderJS UI
Test RenderJS UI
Test RenderJS UI


FAIL: test_12_OneWaySyncFromServer (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart8/srv/testnode/ga/soft/9d048db76644dc2c8ee5eedbb2af642a/parts/erp5/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 858, in test_12_OneWaySyncFromServer
    ignore_processing_status_workflow=True)
  File "/srv/slapgrid/slappart8/srv/testnode/ga/soft/9d048db76644dc2c8ee5eedbb2af642a/parts/erp5/Products/ERP5SyncML/tests/testERP5SyncML.py", line 450, in assertXMLViewIsEqual
    etree.tostring(result, pretty_print=True)))
AssertionError: diff between pub:/erp5_portal_dc1fdcd331f5ca5419ccd80979cb90e2/document_server/2 and sub:/erp5_portal_dc1fdcd331f5ca5419ccd80979cb90e2/document_client_from_server/2 
<xupdate:modifications xmlns:xupdate="http://www.xmldb.org/xupdate" version="1.0">
  <xupdate:remove select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/base_data/block_data[4]"/>
  <xupdate:insert-after select="/erp5/object[@gid='502D53594E434D4C2E546578742D3030312D656E']/base_data/block_data[15]">
    <xupdate:element name="block_data">hYuLi5OTk5qamqOjo6urq7Ozs7q6usLCwszMzNPT09vb2+Pj4+zs7PPz8/7+/gAAAP//////////////</xupdate:element>
  </xupdate:insert-after>
</xupdate:modifications>



FAIL: test_method_protection (testSecurity.TestSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart8/srv/testnode/ga/soft/9d048db76644dc2c8ee5eedbb2af642a/parts/erp5/Products/ERP5/tests/testSecurity.py", line 110, in test_method_protection
    self.fail(message)
AssertionError: 
The following 1 methods have a docstring but have no security assertions.
	/srv/slapgrid/slappart8/srv/testnode/ga/soft/9d048db76644dc2c8ee5eedbb2af642a/parts/erp5/Products/ERP5/Document/Resource.py:575 getNextAlertInventoryDate


More information about the Erp5-report mailing list