[Erp5-report] ERP5-MASTER : 5340 Tests, 1 Errors, 1 Failures, 198 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Dec 19 23:01:58 CET 2016


Test Suite: ERP5-MASTER
Revision: slapos.cookbook-repository=9360-3bdc7451463627e9fc1c5cb7139477461a4ba706,erp5=46647-464f65bfdea0c7371f821c14716cf0a5f87fa3d9
Result: FAIL

All tests: 5340
Failures: 1
Errors: 1
Skips: 198

 https://nexedi.erp5.net/test_result_module/20161219-5789D024/view


The following tests failed:

  testERP5Core                                       (1 errors)
   test_standardErrorMessageShouldNotRaiseUnauthorizeOnUnauthorizeDocument (testERP5Core.TestERP5Core)

  testERP5WebWithDms                                 (1 failures)
   test_WebPageAsMhtml_pageWithDifferentHref (testERP5WebWithDms.TestERP5WebWithDms)

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: 4204 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20161219/0ae703cc/attachment.diff>
-------------- next part --------------

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: test_WebPageAsMhtml_pageWithDifferentHref (testERP5WebWithDms.TestERP5WebWithDms)
Test convert one html page with images to mhtml file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/Products/ERP5/tests/testERP5WebWithDms.py", line 106, in wrapped
    func(self, *args, **kwargs)
  File "/srv/slapgrid/slappart9/srv/testnode/aai/soft/08f8010370c519147fe23fed3170be9e/parts/erp5/Products/ERP5/tests/testERP5WebWithDms.py", line 1432, in test_WebPageAsMhtml_pageWithDifferentHref
    self.assertEqual(len(message.get_payload()), 6)
AssertionError: 7 != 6


More information about the Erp5-report mailing list