From nobody at svn.erp5.org Fri Aug 21 16:53:13 2015 From: nobody at svn.erp5.org (nobody at svn.erp5.org) Date: Fri, 21 Aug 2015 14:53:13 +0000 Subject: [Erp5-report] =?utf-8?q?ERP5-WORKFLOW-WENJIE_=3A_0_Tests=2C_0_Err?= =?utf-8?q?ors=2C_0_Failures=2C_0_Skips?= Message-ID: <20150821145313.5DCF7BF02FF@mail2.tiolive.com> Test Suite: ERP5-WORKFLOW-WENJIE Revision: erp5=45293-2ed0290a04adbb36b159e4db8e007ac1dc752e99,slapos=8260-378b7a36f60f9311e263c2be6bc02bd7f543100e Result: PASS Building Failed All tests: 0 Failures: 0 Errors: 0 Skips: 0 From nobody at svn.erp5.org Fri Aug 21 23:50:32 2015 From: nobody at svn.erp5.org (nobody at svn.erp5.org) Date: Fri, 21 Aug 2015 21:50:32 +0000 Subject: [Erp5-report] =?utf-8?q?ERP5-Security-Merge_=3A_4984_Tests=2C_2_E?= =?utf-8?q?rrors=2C_15_Failures=2C_203_Skips?= Message-ID: <20150821215032.AD190BF02F9@mail2.tiolive.com> Test Suite: ERP5-Security-Merge Revision: slapos=8260-378b7a36f60f9311e263c2be6bc02bd7f543100e,erp5=44791-16531b4c46dbcbc0527a2ba80a9f3d5d79b7e251 Result: FAIL All tests: 4984 Failures: 15 Errors: 2 Skips: 203 The following tests failed: erp5_hal_json_style:testHalJsonStyle (2 errors, 4 skips) test_getHateoasBulk_default_view (erp5.component.test.erp5_version.testHalJsonStyle.TestERP5Document_getHateoas_mode_bulk) test_getHateoasDocument_default_view (erp5.component.test.erp5_version.testHalJsonStyle.TestERP5Document_getHateoas_mode_traverse) erp5_web_renderjs_ui_test:testFunctionalRJS (13 failures) testFunctionalTestRunner (erp5.component.test.erp5_version.testFunctionalRJS.TestZeleniumCore) testERP5BankingVaultTransfer (1 failures) test_01_ERP5BankingVaultTransfer (testERP5BankingVaultTransfer.TestERP5BankingVaultTransfer) testFunctionalKM (1 failures, 3 skips) testFunctionalTestRunner (testFunctionalKM.TestZeleniumKM) 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' 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.' 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: 4835 bytes Desc: not available URL: -------------- next part -------------- ERROR: test_getHateoasBulk_default_view (erp5.component.test.erp5_version.testHalJsonStyle.TestERP5Document_getHateoas_mode_bulk) ---------------------------------------------------------------------- Traceback (most recent call last): File "", line 41, in decorated result = f(self, *args, **kw) File "", line 41, in decorated result = f(self, *args, **kw) File "", line 23, in wrapped v = func(self, *args, **kwargs) File "", line 717, in test_getHateoasBulk_default_view bulk_list=json.dumps([{"relative_url": document.getRelativeUrl(), "view": "view"}]) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/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/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/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/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1275, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/patches/PythonScript.py", line 173, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/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 993, in ERP5Document_getHateoas form_relative_url=form_relative_url) File "Script (Python)", line 979, in calculateHateoas result_dict["result_list"] = [calculateHateoas(mode="traverse", **x) for x in json.loads(bulk_list)] File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/eggs/AccessControl-2.13.13-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 369, in guarded_apply return builtin_guarded_apply(func, args, kws) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/eggs/AccessControl-2.13.13-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 391, in builtin_guarded_apply return func(*arglist, **argdict) File "Script (Python)", line 700, in calculateHateoas renderForm(traversed_document, renderer_form, embedded_dict) File "Script (Python)", line 409, in renderForm response_dict[field.id] = renderField(traversed_document, field, form_relative_url) File "Script (Python)", line 185, in renderField ).asSearchTextExpression(sql_catalog)}) Unauthorized: You are not allowed to access 'buildQuery' in this context ERROR: test_getHateoasDocument_default_view (erp5.component.test.erp5_version.testHalJsonStyle.TestERP5Document_getHateoas_mode_traverse) ---------------------------------------------------------------------- Traceback (most recent call last): File "", line 41, in decorated result = f(self, *args, **kw) File "", line 41, in decorated result = f(self, *args, **kw) File "", line 23, in wrapped v = func(self, *args, **kwargs) File "", 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/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/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/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/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/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1275, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/patches/PythonScript.py", line 173, in _exec return PythonScript_exec(self, *args) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/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 993, in ERP5Document_getHateoas form_relative_url=form_relative_url) File "Script (Python)", line 700, in calculateHateoas renderForm(traversed_document, renderer_form, embedded_dict) File "Script (Python)", line 409, in renderForm response_dict[field.id] = renderField(traversed_document, field, form_relative_url) File "Script (Python)", line 185, 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/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 439, 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 Test RenderJS UI Test RenderJS UI Test RenderJS UI Test RenderJS UI Test RenderJS UI Test RenderJS UI Test RenderJS UI FAIL: test_01_ERP5BankingVaultTransfer (testERP5BankingVaultTransfer.TestERP5BankingVaultTransfer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Banking/tests/testERP5BankingVaultTransfer.py", line 790, in test_01_ERP5BankingVaultTransfer sequence_list.play(self) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play sequence.play(context, sequence_number=i, quiet=quiet) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/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 CreateVaultTransfer CreateValidLine1 CheckSubTotal CreateValidLine2 CheckTotal CheckSource CheckDestination CreateInvalidLine TryPlanVaultTransferWithBadInventory DelInvalidLine Tic CheckTotal PlanVaultTransfer CheckSourceDebitPlanned > CheckDestinationCreditPlanned CheckSourceDebitPlanned CheckDestinationCreditPlanned OrderVaultTransfer ResetSourceInventory Tic DeliverVaultTransferFails Tic DeleteResetInventory Tic ConfirmToDeliverVaultTransfer CheckSourceDebit CheckDestinationCredit File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play method(sequence=sequence) File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Banking/tests/testERP5BankingVaultTransfer.py", line 618, in stepCheckDestinationCreditPlanned self.assertEqual(self.simulation_tool.getFutureInventory(node=self.caisse_courante.getRelativeUrl(), resource = self.billet_10000.getRelativeUrl()), 5.0) AssertionError: 0.0 != 5.0 FAIL: testFunctionalTestRunner (testFunctionalKM.TestZeleniumKM) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart3/srv/testnode/ga/soft/824dcb8a89ecfae945174a0f2626ec73/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 439, in testFunctionalTestRunner self.assertEqual([], error_title_list, '\n'.join(error_title_list)) AssertionError: testDefaultPadAnonymousMode