[Erp5-report] ERP5-Cluster : 4824 Tests, 761 Errors, 2 Failures, 203 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 18 13:48:45 CET 2014
Test Suite: ERP5-Cluster
Revision: slapos=7456-6f11404d3f7feb8b57ff99c35cc6041dd58f3824,erp5=43993-a37abd0035d6c688b4ffcc37d675dfdab5c14a42
Result: FAIL
All tests: 4824
Failures: 2
Errors: 761
Skips: 203
The following tests have an unknown status:
runUnitTest --verbose '--erp5_sql_connection_string=erp5_test_6 at 10.0.165.254:2099 testuser_6 testpassword6' --xvfb_bin=/srv/slapgrid/slappart9/srv/slapos/soft/aaadf85c9e4385dc6d50e68b0c9cf13a/parts/xserver/bin/Xvfb --firefox_bin=/srv/slapgrid/slappart9/srv/slapos/soft/aaadf85c9e4385dc6d50e68b0c9cf13a/parts/firefox/firefox-slapos '--extra_sql_connection_string_list=erp5_test_7 at 10.0.165.254:2099 testuser_7 testpassword7,erp5_test_8 at 10.0.165.254:2099 testuser_8 testpassword8' --bt5_path=None --instance_home=unit_test.3 erp5_test_result:testTaskDistribution
The following tests failed:
erp5_upgrader:testUpgrader (1 failures)
test_add_pre_upgrade_constraint (erp5.component.test.erp5_version.testUpgrader.TestUpgrader)
testERP5Catalog (1 failures, 4 skips)
test_getParentUid (testERP5Catalog.TestERP5Catalog)
testFunctionalKM (1 errors)
testFunctionalTestRunner (testFunctionalKM.TestZeleniumKM)
testFunctionalRunMyDocSample (1 errors)
testFunctionalTestRunner (testFunctionalRunMyDocSample.TestZeleniumRunMyDocSample)
testIdToolUpgrade (2 errors)
testUpgradeIdToolDicts (testIdToolUpgrade.TestIdToolUpgrade)
testUpgradeIdToolDicts (testIdToolUpgrade.TestIdToolUpgrade)
testXHTML (757 errors)
test_PythonScriptSyntax (testXHTML.TestXHTML)
The following tests were at least partly skipped:
erp5_configurator_maxma_demo:testMaxmaDemoConfigurationWorkflow (1 skips)
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'
testAccountingRules (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 -->
testIngestion (4 skips)
testIngestionWithFlare (4 skips)
testInventory (2 skips)
testInventoryAPI (2 skips)
testInvoice (6 skips)
testItem (13 skips)
testKM (3 skips)
testMRP (5 skips)
test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
testOpenOrder (3 skips)
testOrderBuilder (4 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: 2674 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20141118/7ad7d3e3/attachment-0001.diff>
-------------- next part --------------
Loading Zope ...
Instance at '/srv/slapgrid/slappart9/srv/testnode/ey/test_suite/unit_test.3' loaded ...
Adding ERP5TypeTestCase user ...
Adding erp5_portal_af5f951d72247099ca241fa5684c6aa7 ERP5 Site ... done (52.838s)
Running HTTP server at localhost:55287
Running WebDAV server at localhost:55236
Adding Promise at /srv/slapgrid/slappart9/srv/testnode/ey/test_suite/unit_test.3/promise.cfg...
Adding erp5_core_proxy_field_legacy business template ... (imported in 0.793s) done (1.769s)
Adding erp5_full_text_mroonga_catalog business template ... (imported in 0.288s) done (1.793s)
Adding erp5_stock_cache business template ... (imported in 0.305s) done (1.741s)
Adding erp5_base business template ... (imported in 6.052s) done (13.417s)
Adding erp5_pdm business template ... (imported in 14.094s) done (22.274s)
Adding erp5_trade business template ... (imported in 9.816s) done (18.421s)
Adding erp5_project business template ... (imported in 4.456s) done (10.184s)
Adding erp5_test_result business template ... Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1012, in setUpERP5Site
quiet=quiet)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 421, in _installBusinessTemplateList
*args, **kwargs)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 901, in _installBusinessTemplateList
bt = template_tool.download(url)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 361, in download
bt = self._download_local(os.path.normpath(name), id)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 308, in _download_local
bt.importFile(path)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5544, in importFile
item_object.importFile(bta)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 539, in importFile
bta.importFiles(self)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 385, in importFiles
item._importFile(file_name, f)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 819, in _importFile
obj = connection.importFile(file_obj, customImporters=customImporters)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/eggs/ZODB3-3.10.5_ZMinitagePatched_ZODB33105-py2.7-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
return customImporters[magic](self, f, clue)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 805, in importXML
r=p.Parse(data)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 740, in unknown_endtag
top = end[tag](self, tag, top)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 676, in save_string
v=unconvert(encoding,v)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 81, in unconvert
original = eval("'"+x+"'")
File "<string>", line 1
'test_result = sci[\'object\']\nkw = sci[\'kwargs\']\nstop_date = kw.get(\'date\') or DateTime()\ntest_result.setStopDate(stop_date)\nif test_result.getPortalType() == \'Test Result\':\n has_unknown_result = False\n edit_kw = dict(duration=0,\n all_tests=0,\n errors=0,\n failures=0,\n skips=0)\n for line in test_result.objectValues(portal_type=\'Test Result Line\'):\n for prop in edit_kw:\n edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)\n has_unknown_result = has_unknown_result or line.getStringIndex() == 'UNKNOWN'\n if has_unknown_result or edit_kw[\'errors\'] or edit_kw[\'failures\']:\n status = \'FAIL\'\n else:\n status = \'PASS\'\n test_result.edit(string_index=status, **edit_kw)\n test_result.activate().TestResult_afterComplete()\nelif test_result.getPortalType() == \'Test Result Line\':\n all_tests = kw.get(\'test_count\')\n errors = kw.get(\'error_count\', 0)\n failures = kw.get(\'failure_count\', 0)\n skips = kw.get(\'skip_count\', 0)\n if all_tests is None:\n status = \'UNKNOWN\'\n all_tests = 0\n elif errors or failures:\n status = \'FAILED\'\n else:\n status = \'PASSED\'\n duration = kw.get(\'duration\') or (\n stop_date - test_result.getStartDate()) * (24*60*60)\n cmdline = kw.get(\'command\', getattr(test_result, \'cmdline\', \'\'))\n if same_type(cmdline, []):\n cmdline = \' \'.join(map(repr, cmdline))\n stdout = kw.get(\'stdout\', getattr(test_result, \'stdout\', \'\'))\n stderr = kw.get(\'stderr\', getattr(test_result, \'stderr\', \'\'))\n html_test_result = kw.get(\'html_test_result\', getattr(test_result, \'html_test_result\', \'\'))\n test_result.edit(cmdline=cmdline,\n stdout=stdout,\n stderr=stderr,\n string_index=status,\n duration=duration,\n all_tests=all_tests,\n errors=errors,\n failures=failures,\n skips=skips,\n html_test_result=html_test_result)\nelse:\n raise NotImplementedError("unknown type : %r" % test_result.getPortalType())\n'
^
SyntaxError: invalid syntax
Ran Unit test of <class 'runUnitTest._ZodbTestComponentBootstrapOnly'> (installation failed)
Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 658, in runUnitTestList
suite = loader.loadTestsFromNames(test_list)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 423, in loadTestsFromNames
_ZodbTestComponentBootstrapOnly(test_list).setUp()
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 807, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1012, in setUpERP5Site
quiet=quiet)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 421, in _installBusinessTemplateList
*args, **kwargs)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 901, in _installBusinessTemplateList
bt = template_tool.download(url)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 361, in download
bt = self._download_local(os.path.normpath(name), id)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 308, in _download_local
bt.importFile(path)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5544, in importFile
item_object.importFile(bta)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 539, in importFile
bta.importFiles(self)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 385, in importFiles
item._importFile(file_name, f)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 819, in _importFile
obj = connection.importFile(file_obj, customImporters=customImporters)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/eggs/ZODB3-3.10.5_ZMinitagePatched_ZODB33105-py2.7-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
return customImporters[magic](self, f, clue)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 805, in importXML
r=p.Parse(data)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 740, in unknown_endtag
top = end[tag](self, tag, top)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 676, in save_string
v=unconvert(encoding,v)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 81, in unconvert
original = eval("'"+x+"'")
File "<string>", line 1
'test_result = sci[\'object\']\nkw = sci[\'kwargs\']\nstop_date = kw.get(\'date\') or DateTime()\ntest_result.setStopDate(stop_date)\nif test_result.getPortalType() == \'Test Result\':\n has_unknown_result = False\n edit_kw = dict(duration=0,\n all_tests=0,\n errors=0,\n failures=0,\n skips=0)\n for line in test_result.objectValues(portal_type=\'Test Result Line\'):\n for prop in edit_kw:\n edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)\n has_unknown_result = has_unknown_result or line.getStringIndex() == 'UNKNOWN'\n if has_unknown_result or edit_kw[\'errors\'] or edit_kw[\'failures\']:\n status = \'FAIL\'\n else:\n status = \'PASS\'\n test_result.edit(string_index=status, **edit_kw)\n test_result.activate().TestResult_afterComplete()\nelif test_result.getPortalType() == \'Test Result Line\':\n all_tests = kw.get(\'test_count\')\n errors = kw.get(\'error_count\', 0)\n failures = kw.get(\'failure_count\', 0)\n skips = kw.get(\'skip_count\', 0)\n if all_tests is None:\n status = \'UNKNOWN\'\n all_tests = 0\n elif errors or failures:\n status = \'FAILED\'\n else:\n status = \'PASSED\'\n duration = kw.get(\'duration\') or (\n stop_date - test_result.getStartDate()) * (24*60*60)\n cmdline = kw.get(\'command\', getattr(test_result, \'cmdline\', \'\'))\n if same_type(cmdline, []):\n cmdline = \' \'.join(map(repr, cmdline))\n stdout = kw.get(\'stdout\', getattr(test_result, \'stdout\', \'\'))\n stderr = kw.get(\'stderr\', getattr(test_result, \'stderr\', \'\'))\n html_test_result = kw.get(\'html_test_result\', getattr(test_result, \'html_test_result\', \'\'))\n test_result.edit(cmdline=cmdline,\n stdout=stdout,\n stderr=stderr,\n string_index=status,\n duration=duration,\n all_tests=all_tests,\n errors=errors,\n failures=failures,\n skips=skips,\n html_test_result=html_test_result)\nelse:\n raise NotImplementedError("unknown type : %r" % test_result.getPortalType())\n'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/bin/runUnitTest", line 199, in <module>
sys.exit(runUnitTest.main())
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 878, in main
run_only=run_only,
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 658, in runUnitTestList
suite = loader.loadTestsFromNames(test_list)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 423, in loadTestsFromNames
_ZodbTestComponentBootstrapOnly(test_list).setUp()
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 807, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1012, in setUpERP5Site
quiet=quiet)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 421, in _installBusinessTemplateList
*args, **kwargs)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 901, in _installBusinessTemplateList
bt = template_tool.download(url)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 361, in download
bt = self._download_local(os.path.normpath(name), id)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 308, in _download_local
bt.importFile(path)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5544, in importFile
item_object.importFile(bta)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 539, in importFile
bta.importFiles(self)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 385, in importFiles
item._importFile(file_name, f)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 819, in _importFile
obj = connection.importFile(file_obj, customImporters=customImporters)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/eggs/ZODB3-3.10.5_ZMinitagePatched_ZODB33105-py2.7-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
return customImporters[magic](self, f, clue)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 805, in importXML
r=p.Parse(data)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 740, in unknown_endtag
top = end[tag](self, tag, top)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 676, in save_string
v=unconvert(encoding,v)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 81, in unconvert
original = eval("'"+x+"'")
File "<string>", line 1
'test_result = sci[\'object\']\nkw = sci[\'kwargs\']\nstop_date = kw.get(\'date\') or DateTime()\ntest_result.setStopDate(stop_date)\nif test_result.getPortalType() == \'Test Result\':\n has_unknown_result = False\n edit_kw = dict(duration=0,\n all_tests=0,\n errors=0,\n failures=0,\n skips=0)\n for line in test_result.objectValues(portal_type=\'Test Result Line\'):\n for prop in edit_kw:\n edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)\n has_unknown_result = has_unknown_result or line.getStringIndex() == 'UNKNOWN'\n if has_unknown_result or edit_kw[\'errors\'] or edit_kw[\'failures\']:\n status = \'FAIL\'\n else:\n status = \'PASS\'\n test_result.edit(string_index=status, **edit_kw)\n test_result.activate().TestResult_afterComplete()\nelif test_result.getPortalType() == \'Test Result Line\':\n all_tests = kw.get(\'test_count\')\n errors = kw.get(\'error_count\', 0)\n failures = kw.get(\'failure_count\', 0)\n skips = kw.get(\'skip_count\', 0)\n if all_tests is None:\n status = \'UNKNOWN\'\n all_tests = 0\n elif errors or failures:\n status = \'FAILED\'\n else:\n status = \'PASSED\'\n duration = kw.get(\'duration\') or (\n stop_date - test_result.getStartDate()) * (24*60*60)\n cmdline = kw.get(\'command\', getattr(test_result, \'cmdline\', \'\'))\n if same_type(cmdline, []):\n cmdline = \' \'.join(map(repr, cmdline))\n stdout = kw.get(\'stdout\', getattr(test_result, \'stdout\', \'\'))\n stderr = kw.get(\'stderr\', getattr(test_result, \'stderr\', \'\'))\n html_test_result = kw.get(\'html_test_result\', getattr(test_result, \'html_test_result\', \'\'))\n test_result.edit(cmdline=cmdline,\n stdout=stdout,\n stderr=stderr,\n string_index=status,\n duration=duration,\n all_tests=all_tests,\n errors=errors,\n failures=failures,\n skips=skips,\n html_test_result=html_test_result)\nelse:\n raise NotImplementedError("unknown type : %r" % test_result.getPortalType())\n'
^
SyntaxError: invalid syntax
FAIL: test_add_pre_upgrade_constraint (erp5.component.test.erp5_version.testUpgrader.TestUpgrader)
Check that is possible fix consistency before the upgrade
----------------------------------------------------------------------
Traceback (most recent call last):
File "<portal_components/test.erp5.testUpgrader>", line 512, in test_add_pre_upgrade_constraint
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreatePerson
Tic
CreateScriptCheckPreUpgradeReferenceConsistency
CreatePersonPropertySheet
SetConstraintInPersonPortalType
Tic
ActiveSensePreUpgradeAlarm
Tic
CheckPersonPreUpgradeConstraintList
RemoveConstraintFromPersonPortalType
ActiveSensePreUpgradeAlarm
Tic
> CheckPreUpgradeEmptyConstraintList
SetConstraintInPersonPortalType
RunPreUpgrade
Tic
CheckPersonPreUpgradeConstraintListAfterUpgrade
ActiveSensePreUpgradeAlarm
Tic
CheckPreUpgradeEmptyConstraintList
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
method(sequence=sequence)
File "<portal_components/test.erp5.testUpgrader>", line 211, in stepCheckPreUpgradeEmptyConstraintList
File "<portal_components/test.erp5.testUpgrader>", line 179, in _checkEmptyConstraintList
AssertionError: Lists differ: [<Products.CMFActivity.ActiveR... != []
First list contains 1 additional elements.
First extra element 0:
<Products.CMFActivity.ActiveResult.ActiveResult instance at 0x7fbd9e0c13f8>
- [<Products.CMFActivity.ActiveResult.ActiveResult instance at 0x7fbd9e0c13f8>]
+ []
FAIL: test_getParentUid (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Catalog/tests/testERP5Catalog.py", line 3899, in test_getParentUid
self.assertEqual(person_uid_list[0], None)
AssertionError: 8294L != None
ERROR: testFunctionalTestRunner (testFunctionalKM.TestZeleniumKM)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 411, in testFunctionalTestRunner
self.runner.test(debug=debug)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 321, in test
self.browser.quit()
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 124, in quit
self.process.kill()
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/python2.7/lib/python2.7/subprocess.py", line 1556, in kill
self.send_signal(signal.SIGKILL)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/python2.7/lib/python2.7/subprocess.py", line 1546, in send_signal
os.kill(self.pid, sig)
OSError: [Errno 3] No such process
ERROR: testFunctionalTestRunner (testFunctionalRunMyDocSample.TestZeleniumRunMyDocSample)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 411, in testFunctionalTestRunner
self.runner.test(debug=debug)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 321, in test
self.browser.quit()
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 124, in quit
self.process.kill()
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/python2.7/lib/python2.7/subprocess.py", line 1556, in kill
self.send_signal(signal.SIGKILL)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/python2.7/lib/python2.7/subprocess.py", line 1546, in send_signal
os.kill(self.pid, sig)
OSError: [Errno 3] No such process
ERROR: testUpgradeIdToolDicts (testIdToolUpgrade.TestIdToolUpgrade)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/tests/testIdToolUpgrade.py", line 150, in testUpgradeIdToolDicts
id_list = id_tool.generateNewLengthIdList(id_group='foo', store=1)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/Tool/IdTool.py", line 191, in generateNewIdList
last_generator = self._getLatestGeneratorValue(id_generator)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/Tool/IdTool.py", line 109, in _getLatestGeneratorValue
last_generator = id_tool._getOb(last_id_generator)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5Type/Core/Folder.py", line 800, in _getOb
return CMFBTreeFolder._getOb(self, id, *args, **kw)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/eggs/Products.BTreeFolder2-2.13.4-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 212, in _getOb
return self._tree[id].__of__(self)
KeyError: '4'
ERROR: testUpgradeIdToolDicts (testIdToolUpgrade.TestIdToolUpgrade)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1086, in tearDown
PortalTestCase.tearDown(self)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/eggs/Zope2-2.13.22-py2.7.egg/Testing/ZopeTestCase/base.py", line 101, in tearDown
self.beforeTearDown()
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/tests/testIdToolUpgrade.py", line 63, in beforeTearDown
self.id_tool.clearGenerator(all=True)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/Tool/IdTool.py", line 278, in clearGenerator
self.getPortalObject().IdTool_zDropTable()
AttributeError: IdTool_zDropTable
ERROR: test_PythonScriptSyntax (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 807, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1012, in setUpERP5Site
quiet=quiet)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 901, in _installBusinessTemplateList
bt = template_tool.download(url)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 361, in download
bt = self._download_local(os.path.normpath(name), id)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Tool/TemplateTool.py", line 308, in _download_local
bt.importFile(path)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 5544, in importFile
item_object.importFile(bta)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 539, in importFile
bta.importFiles(self)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 385, in importFiles
item._importFile(file_name, f)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5/Document/BusinessTemplate.py", line 819, in _importFile
obj = connection.importFile(file_obj, customImporters=customImporters)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/eggs/ZODB3-3.10.5_ZMinitagePatched_ZODB33105-py2.7-linux-x86_64.egg/ZODB/ExportImport.py", line 82, in importFile
return customImporters[magic](self, f, clue)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 805, in importXML
r=p.Parse(data)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 740, in unknown_endtag
top = end[tag](self, tag, top)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 676, in save_string
v=unconvert(encoding,v)
File "/srv/slapgrid/slappart9/srv/testnode/ey/soft/632558aeecf90cbd9e5b1e8b65553f6f/parts/erp5/Products/ERP5Type/patches/ppml.py", line 81, in unconvert
original = eval("'"+x+"'")
File "<string>", line 1
'test_result = sci[\'object\']\nkw = sci[\'kwargs\']\nstop_date = kw.get(\'date\') or DateTime()\ntest_result.setStopDate(stop_date)\nif test_result.getPortalType() == \'Test Result\':\n has_unknown_result = False\n edit_kw = dict(duration=0,\n all_tests=0,\n errors=0,\n failures=0,\n skips=0)\n for line in test_result.objectValues(portal_type=\'Test Result Line\'):\n for prop in edit_kw:\n edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)\n has_unknown_result = has_unknown_result or line.getStringIndex() == 'UNKNOWN'\n if has_unknown_result or edit_kw[\'errors\'] or edit_kw[\'failures\']:\n status = \'FAIL\'\n else:\n status = \'PASS\'\n test_result.edit(string_index=status, **edit_kw)\n test_result.activate().TestResult_afterComplete()\nelif test_result.getPortalType() == \'Test Result Line\':\n all_tests = kw.get(\'test_count\')\n errors = kw.get(\'error_count\', 0)\n failures = kw.get(\'failure_count\', 0)\n skips = kw.get(\'skip_count\', 0)\n if all_tests is None:\n status = \'UNKNOWN\'\n all_tests = 0\n elif errors or failures:\n status = \'FAILED\'\n else:\n status = \'PASSED\'\n duration = kw.get(\'duration\') or (\n stop_date - test_result.getStartDate()) * (24*60*60)\n cmdline = kw.get(\'command\', getattr(test_result, \'cmdline\', \'\'))\n if same_type(cmdline, []):\n cmdline = \' \'.join(map(repr, cmdline))\n stdout = kw.get(\'stdout\', getattr(test_result, \'stdout\', \'\'))\n stderr = kw.get(\'stderr\', getattr(test_result, \'stderr\', \'\'))\n html_test_result = kw.get(\'html_test_result\', getattr(test_result, \'html_test_result\', \'\'))\n test_result.edit(cmdline=cmdline,\n stdout=stdout,\n stderr=stderr,\n string_index=status,\n duration=duration,\n all_tests=all_tests,\n errors=errors,\n failures=failures,\n skips=skips,\n html_test_result=html_test_result)\nelse:\n raise NotImplementedError("unknown type : %r" % test_result.getPortalType())\n'
^
SyntaxError: invalid syntax
More information about the Erp5-report
mailing list