[Erp5-report] ERP5-MASTER : 5110 Tests, 1 Errors, 6 Failures, 204 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 24 23:23:32 CET 2016


Test Suite: ERP5-MASTER
Revision: slapos=8685-cb0758fea6e1859567b249b402e32080032bd2ad,erp5=45645-1e506692267d1206ade6a6336c310b85f739e969
Result: FAIL

All tests: 5110
Failures: 6
Errors: 1
Skips: 204

 https://nexedi.erp5.net/test_result_module/20160224-28175681/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)

  testAcknowledgementTool                            (1 failures)
   test_01_checkAcknowledgementToolWithOneEvent (testAcknowledgementTool.TestAcknowledgementTool)

  testFunctionalAnonymousSelection                   (1 failures, 37 skips)
   testFunctionalTestRunner (testFunctionalAnonymousSelection.TestAnonymousSelection)

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

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

  testMRP                                            (1 errors)
   test (testMRP.TestMRPImplementation)

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: 1514 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20160224/6b258585/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/slappart18/srv/testnode/e/soft/a41c0c49a8568814a8356495e3a3385c/parts/erp5/product/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart18/srv/testnode/e/soft/a41c0c49a8568814a8356495e3a3385c/parts/erp5/product/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/slappart18/srv/testnode/e/soft/a41c0c49a8568814a8356495e3a3385c/parts/erp5/product/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


FAIL: test_01_checkAcknowledgementToolWithOneEvent (testAcknowledgementTool.TestAcknowledgementTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5/tests/testAcknowledgementTool.py", line 85, in test_01_checkAcknowledgementToolWithOneEvent
    self.assertEqual(1, len(event_acknowledgement_list))
AssertionError: 1 != 2


FAIL: testFunctionalTestRunner (testFunctionalAnonymousSelection.TestAnonymousSelection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart18/srv/testnode/e/soft/a41c0c49a8568814a8356495e3a3385c/parts/erp5/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 470, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: Test Bread Crumb


FAIL: testFunctionalTestRunner (testFunctionalCore.TestZeleniumCore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart18/srv/testnode/e/soft/a41c0c49a8568814a8356495e3a3385c/parts/erp5/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 470, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: Test Bread Crumb


FAIL: testFunctionalTestRunner (testFunctionalKM.TestZeleniumKM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart18/srv/testnode/e/soft/a41c0c49a8568814a8356495e3a3385c/parts/erp5/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 470, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: testKMWebSiteDefaultView
testSetUnSetDefaultWebPageOnWebSection


ERROR: test (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5/tests/testMRP.py", line 221, in test
    self.tic()
  File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/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_867660bde7bd9b4b3162ac4ee6e2d600/production_order_module/1', '_updateSimulation', -2, 1)]
Last error message:
AttributeError
'NoneType' object has no attribute 'split'
Traceback (innermost last):
  Module Products.ERP5.Tool.RuleTool, line 156, in updateSimulation
    expandable._updateSimulation(**kw)
  Module Products.ERP5.mixin.rule, line 546, in _updateSimulation
    applied_rule.expand(activate_kw=activate_kw)
  Module Products.ERP5.Document.AppliedRule, line 104, in expand
    self.getSpecialiseValue().expand(self, *args, **kw)
  Module Products.ERP5.mixin.rule, line 207, in expand
    policy_dict[expand_policy](**kw).expand(self, applied_rule)
  Module Products.ERP5Type.UnrestrictedMethod, line 70, in unrestricted_apply
    return function(*args, **kw)
  Module Products.ERP5.ExpandPolicy, line 79, in expand
    self(*args)
  Module Products.ERP5.ExpandPolicy, line 101, in __call__
    args[0]._expandNow(self, *args[1:])
  Module Products.ERP5.mixin.rule, line 217, in _expandNow
    maybe_expand(movement)
  Module Products.ERP5.ExpandPolicy, line 101, in __call__
    args[0]._expandNow(self, *args[1:])
  Module Products.ERP5.Document.SimulationMovement, line 308, in _expandNow
    maybe_expand(rule, rule.constructNewAppliedRule(self))
  Module Products.ERP5.ExpandPolicy, line 101, in __call__
    args[0]._expandNow(self, *args[1:])
  Module Products.ERP5.mixin.rule, line 217, in _expandNow
    maybe_expand(movement)
  Module Products.ERP5.ExpandPolicy, line 101, in __call__
    args[0]._expandNow(self, *args[1:])
  Module Products.ERP5.Document.SimulationMovement, line 308, in _expandNow
    maybe_expand(rule, rule.constructNewAppliedRule(self))
  Module Products.ERP5.ExpandPolicy, line 101, in __call__
    args[0]._expandNow(self, *args[1:])
  Module Products.ERP5.mixin.rule, line 217, in _expandNow
    maybe_expand(movement)
  Module Products.ERP5.ExpandPolicy, line 101, in __call__
    args[0]._expandNow(self, *args[1:])
  Module Products.ERP5.Document.SimulationMovement, line 283, in _expandNow
    for rule in self._getApplicableRuleList():
  Module Products.ERP5.Document.SimulationMovement, line 253, in _getApplicableRuleList
    sort_order='descending')
  Module Products.ERP5.Tool.RuleTool, line 137, in searchRuleList
    tested_base_category_list=tested_base_category_list):
  Module Products.ERP5Type.Core.Predicate, line 181, in test
    result = method(self)
  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 1358, 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 3, in SimulationMovement_testTransformationSourcingSimulationRule
   - <PythonScript at /erp5_portal_867660bde7bd9b4b3162ac4ee6e2d600/SimulationMovement_testTransformationSourcingSimulationRule used for /erp5_portal_867660bde7bd9b4b3162ac4ee6e2d600/portal_simulation/1/1/1/1/1/1>
   - Line 3
    and rule.testTransformationSourcing(context)
  Module Products.ERP5.Document.TransformationSimulationRule, line 75, in testTransformationSourcing
    if context.getReference().split('/', 1)[0] == 'pr':
AttributeError: 'NoneType' object has no attribute 'split'



More information about the Erp5-report mailing list