From nobody at svn.erp5.org Tue Dec 15 12:58:56 2015 From: nobody at svn.erp5.org (nobody at svn.erp5.org) Date: Tue, 15 Dec 2015 11:58:56 +0000 Subject: [Erp5-report] =?utf-8?q?ERP5-MASTER_=3A_5086_Tests=2C_2_Errors=2C?= =?utf-8?q?_5_Failures=2C_204_Skips?= Message-ID: <20151215115857.EAB75BF0097@mail2.tiolive.com> Test Suite: ERP5-MASTER Revision: slapos=8509-392f3eadfcb8ddc7b88705207ce90da0a88cde34,erp5=45236-25f57d1c8ee5d0d56008403937f8c99e08db3eed Result: FAIL All tests: 5086 Failures: 5 Errors: 2 Skips: 204 https://nexedi.erp5.net/test_result_module/20151215-4BA446A3/view The following tests failed: testERP5BankingUsualCashRendering (1 failures) test_01_ERP5BankingUsualCashRendering (testERP5BankingUsualCashRendering.TestERP5BankingUsualCashRendering) testERP5Discussion (2 errors) test_03_createDiscussionThread (testERP5Discussion.TestERP5Discussion) test_MultipleForum (testERP5Discussion.TestERP5Discussion) testFunctionalStandaloneUserTutorial (4 failures) 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: 1041 bytes Desc: not available URL: -------------- next part -------------- FAIL: test_01_ERP5BankingUsualCashRendering (testERP5BankingUsualCashRendering.TestERP5BankingUsualCashRendering) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py", line 580, in test_01_ERP5BankingUsualCashRendering sequence_list.play(self) File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play sequence.play(context, sequence_number=i, quiet=quiet) File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play .play(context, sequence=self, quiet=quiet) Current Sequence: Tic CheckObjects Tic CheckInitialInventory CheckSource CheckDestination CreateUsualCashRendering CreateValidLine1 CheckSubTotal CreateValidLine2 CheckTotal CheckSource CheckDestination CreateInvalidLine TryPlanUsualCashRenderingWithBadInventory DelInvalidLine Tic CheckTotal PlanUsualCashRendering > CheckSourceDebitPlanned CheckDestinationCreditPlanned CheckSourceDebitPlanned CheckDestinationCreditPlanned OrderUsualCashRendering ResetSourceInventory Tic DeliverUsualCashRenderingFails Tic DeleteResetInventory Tic DeliverUsualCashRendering CheckSourceDebit CheckDestinationCredit File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play method(sequence=sequence) File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py", line 433, in stepCheckSourceDebitPlanned self.assertEqual(self.simulation_tool.getFutureInventory(node=self.caisse_courante.getRelativeUrl(), resource = self.billet_10000.getRelativeUrl()), 0.0) AssertionError: 5.0 != 0.0 ERROR: test_03_createDiscussionThread (testERP5Discussion.TestERP5Discussion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5/tests/testERP5Discussion.py", line 124, in test_03_createDiscussionThread web_section1.WebSection_createNewDiscussionThread('test1-new', 'test1 body') File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/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/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/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/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/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 149, in WebSection_createNewDiscussionThread return context.Base_redirect(redirect_url=predecessor_absolute_url or context.getAbsoluteUrl(), UnboundLocalError: local variable 'predecessor_absolute_url' referenced before assignment ERROR: test_MultipleForum (testERP5Discussion.TestERP5Discussion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5/tests/testERP5Discussion.py", line 175, in test_MultipleForum web_section1.WebSection_createNewDiscussionThread('test1', 'test1 body') File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/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/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/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/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart9/srv/testnode/e/soft/a6ae7faaa96eeb912fc572cee7a1bf0c/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 149, in WebSection_createNewDiscussionThread return context.Base_redirect(redirect_url=predecessor_absolute_url or context.getAbsoluteUrl(), UnboundLocalError: local variable 'predecessor_absolute_url' referenced before assignment From nobody at svn.erp5.org Tue Dec 15 16:10:09 2015 From: nobody at svn.erp5.org (nobody at svn.erp5.org) Date: Tue, 15 Dec 2015 15:10:09 +0000 Subject: [Erp5-report] =?utf-8?q?ERP5-MASTER_=3A_5086_Tests=2C_2_Errors=2C?= =?utf-8?q?_4_Failures=2C_204_Skips?= Message-ID: <20151215151009.6F7A8BF0097@mail2.tiolive.com> Test Suite: ERP5-MASTER Revision: slapos=8509-392f3eadfcb8ddc7b88705207ce90da0a88cde34,erp5=45238-34594025de9d02da052f7bec08f47b8649697975 Result: FAIL All tests: 5086 Failures: 4 Errors: 2 Skips: 204 https://nexedi.erp5.net/test_result_module/20151215-3B6221FB/view The following tests failed: testERP5Discussion (2 errors) test_03_createDiscussionThread (testERP5Discussion.TestERP5Discussion) test_MultipleForum (testERP5Discussion.TestERP5Discussion) testFunctionalStandaloneUserTutorial (4 failures) 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: 875 bytes Desc: not available URL: -------------- next part -------------- ERROR: test_03_createDiscussionThread (testERP5Discussion.TestERP5Discussion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5/tests/testERP5Discussion.py", line 124, in test_03_createDiscussionThread web_section1.WebSection_createNewDiscussionThread('test1-new', 'test1 body') File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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 149, in WebSection_createNewDiscussionThread return context.Base_redirect(redirect_url=predecessor_absolute_url or context.getAbsoluteUrl(), UnboundLocalError: local variable 'predecessor_absolute_url' referenced before assignment ERROR: test_MultipleForum (testERP5Discussion.TestERP5Discussion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5/tests/testERP5Discussion.py", line 175, in test_MultipleForum web_section1.WebSection_createNewDiscussionThread('test1', 'test1 body') File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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 149, in WebSection_createNewDiscussionThread return context.Base_redirect(redirect_url=predecessor_absolute_url or context.getAbsoluteUrl(), UnboundLocalError: local variable 'predecessor_absolute_url' referenced before assignment From nobody at svn.erp5.org Tue Dec 15 19:09:05 2015 From: nobody at svn.erp5.org (nobody at svn.erp5.org) Date: Tue, 15 Dec 2015 18:09:05 +0000 Subject: [Erp5-report] =?utf-8?q?ERP5-MASTER_=3A_5086_Tests=2C_2_Errors=2C?= =?utf-8?q?_4_Failures=2C_204_Skips?= Message-ID: <20151215180906.076C2BF0097@mail2.tiolive.com> Test Suite: ERP5-MASTER Revision: slapos=8509-392f3eadfcb8ddc7b88705207ce90da0a88cde34,erp5=45239-a5e11f86ff8a37bbfe494b51fbc3f3280603a6a3 Result: FAIL All tests: 5086 Failures: 4 Errors: 2 Skips: 204 https://nexedi.erp5.net/test_result_module/20151215-4B7DCEB9/view The following tests failed: testERP5Discussion (2 errors) test_03_createDiscussionThread (testERP5Discussion.TestERP5Discussion) test_MultipleForum (testERP5Discussion.TestERP5Discussion) testFunctionalStandaloneUserTutorial (4 failures) 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: 540 bytes Desc: not available URL: -------------- next part -------------- ERROR: test_03_createDiscussionThread (testERP5Discussion.TestERP5Discussion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5/tests/testERP5Discussion.py", line 124, in test_03_createDiscussionThread web_section1.WebSection_createNewDiscussionThread('test1-new', 'test1 body') File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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 149, in WebSection_createNewDiscussionThread return context.Base_redirect(redirect_url=predecessor_absolute_url or context.getAbsoluteUrl(), UnboundLocalError: local variable 'predecessor_absolute_url' referenced before assignment ERROR: test_MultipleForum (testERP5Discussion.TestERP5Discussion) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5/tests/testERP5Discussion.py", line 175, in test_MultipleForum web_section1.WebSection_createNewDiscussionThread('test1', 'test1 body') File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1286, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart2/srv/testnode/e/soft/13067cb26121cd976dee219f0770e429/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 149, in WebSection_createNewDiscussionThread return context.Base_redirect(redirect_url=predecessor_absolute_url or context.getAbsoluteUrl(), UnboundLocalError: local variable 'predecessor_absolute_url' referenced before assignment