[Erp5-report] ERP5-TestRunner1 : 4948 Tests, 2 Errors, 3 Failures, 202 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 10 19:51:52 CEST 2015


Test Suite: ERP5-TestRunner1
Revision: slapos=7677-6ea277642ab4eab91ced4a222ed26eac10672247,erp5=44382-6a595bfa9c8de669429cc1a17c5f43ec3caad0bb
Result: FAIL

All tests: 4948
Failures: 3
Errors: 2
Skips: 202



The following tests failed:

  erp5_test_result:testTaskDistribution              (1 failures)
   test_09_checkCreateTestResultAndAllowRestartWithoutTic (erp5.component.test.erp5_version.testTaskDistribution.TestTaskDistribution)

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

  testERP5WebWithCRM                                 (2 errors)
   test_01_Contact_Us_with_Anonymous_user (testERP5WebWithCRM.TestERP5WebWithCRM)
   test_02_Contact_Us_with_Aunthenticated_user (testERP5WebWithCRM.TestERP5WebWithCRM)

  testFunctionalCore                                 (1 failures, 8 skips)
   testFunctionalTestRunner (testFunctionalCore.TestZeleniumCore)

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

FAIL: test_09_checkCreateTestResultAndAllowRestartWithoutTic (erp5.component.test.erp5_version.testTaskDistribution.TestTaskDistribution)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<portal_components/test.erp5.testTaskDistribution>", line 380, in test_09_checkCreateTestResultAndAllowRestartWithoutTic
    self._checkCreateTestResultAndAllowRestart()
  File "<portal_components/test.erp5.testTaskDistribution>", line 368, in _checkCreateTestResultAndAllowRestart
    self.assertEqual(None, self._createTestResult(test_list=["testFoo"]))
AssertionError: None != ('test_result_module/13', 'r0=a,r1=a')


FAIL: test_12_OneWaySyncFromServer (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/bu/soft/5de5eeeeca05d8aa08eb1797f3740515/parts/erp5/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 858, in test_12_OneWaySyncFromServer
    ignore_processing_status_workflow=True)
  File "/srv/slapgrid/slappart4/srv/testnode/bu/soft/5de5eeeeca05d8aa08eb1797f3740515/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>



ERROR: 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/slappart9/srv/testnode/bu/soft/3f1f753a354463b0284cd32af84fd58e/parts/erp5/Products/ERP5/tests/testERP5WebWithCRM.py", line 111, in test_01_Contact_Us_with_Anonymous_user
    self.tic()
  File "/srv/slapgrid/slappart9/srv/testnode/bu/soft/3f1f753a354463b0284cd32af84fd58e/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_1874e17b362f123713e747514cf3fa2c/event_module/1', 'discoverMetadata', -2, 1)]
Last error message:
TypeError
__init__() got an unexpected keyword argument 'event_reference'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 311, in __call__
    result = method(*self.args, **self.kw)
  Module Products.ERP5.mixin.discoverable, line 188, in discoverMetadata
    self.finishIngestion() # XXX - is this really the right place ?
  Module Products.ERP5.mixin.discoverable, line 205, in finishIngestion
    return method()
  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 1280, in _exec
    return PythonScript_exec(self, *args)
  Module Products.PythonScripts.PythonScript, line 344, in _exec
    result = f(*args, **kw)
  Module script, line 104, in Event_finishIngestion
   - <PythonScript at /erp5_portal_1874e17b362f123713e747514cf3fa2c/Event_finishIngestion used for /erp5_portal_1874e17b362f123713e747514cf3fa2c/event_module/1>
   - Line 104
    person.validate(comment=translateString("Validated when ingesting ${event_reference}", event_reference=context.getReference()))
  Module Products.ERP5Type.Message, line 200, in translateString
    return Message(domain='erp5_ui', message=message, **kw)
TypeError: __init__() got an unexpected keyword argument 'event_reference'



ERROR: test_02_Contact_Us_with_Aunthenticated_user (testERP5WebWithCRM.TestERP5WebWithCRM)
Test creation of Web Message with Authenticated User
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/bu/soft/3f1f753a354463b0284cd32af84fd58e/parts/erp5/Products/ERP5/tests/testERP5WebWithCRM.py", line 191, in test_02_Contact_Us_with_Aunthenticated_user
    self.tic()
  File "/srv/slapgrid/slappart9/srv/testnode/bu/soft/3f1f753a354463b0284cd32af84fd58e/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_1874e17b362f123713e747514cf3fa2c/event_module/2', 'discoverMetadata', -2, 1)]
Last error message:
TypeError
__init__() got an unexpected keyword argument 'event_reference'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 311, in __call__
    result = method(*self.args, **self.kw)
  Module Products.ERP5.mixin.discoverable, line 188, in discoverMetadata
    self.finishIngestion() # XXX - is this really the right place ?
  Module Products.ERP5.mixin.discoverable, line 205, in finishIngestion
    return method()
  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 1280, in _exec
    return PythonScript_exec(self, *args)
  Module Products.PythonScripts.PythonScript, line 344, in _exec
    result = f(*args, **kw)
  Module script, line 104, in Event_finishIngestion
   - <PythonScript at /erp5_portal_1874e17b362f123713e747514cf3fa2c/Event_finishIngestion used for /erp5_portal_1874e17b362f123713e747514cf3fa2c/event_module/2>
   - Line 104
    person.validate(comment=translateString("Validated when ingesting ${event_reference}", event_reference=context.getReference()))
  Module Products.ERP5Type.Message, line 200, in translateString
    return Message(domain='erp5_ui', message=message, **kw)
TypeError: __init__() got an unexpected keyword argument 'event_reference'



FAIL: testFunctionalTestRunner (testFunctionalCore.TestZeleniumCore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/bu/soft/3f1f753a354463b0284cd32af84fd58e/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 436, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: Test Transactions related to an account, with at date parameter


More information about the Erp5-report mailing list