[Erp5-report] ERP5-Cluster : 4882 Tests, 2 Errors, 3 Failures, 206 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 25 19:07:49 CET 2014
Test Suite: ERP5-Cluster
Revision: slapos=7585-a78c821bebd6484390ea84cc9efeb11f30cdab36,erp5=44029-640f3aeade86c751a39cb20c872ea2e5d03a7f70
Result: FAIL
All tests: 4882
Failures: 3
Errors: 2
Skips: 206
The following tests failed:
erp5_upgrader:testUpgrader (1 failures)
test_add_pre_upgrade_constraint (erp5.component.test.erp5_version.testUpgrader.TestUpgrader)
testIdToolUpgrade (2 errors)
testUpgradeIdToolDicts (testIdToolUpgrade.TestIdToolUpgrade)
testUpgradeIdToolDicts (testIdToolUpgrade.TestIdToolUpgrade)
testXHTML (2 failures)
test_erp5_ui_test_Bar_Bar_viewGadgetField (testXHTML.TestXHTML)
test_javascript_lint (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 -->
testFunctionalKM (3 skips)
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: 1152 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20141125/81ed350c/attachment-0001.diff>
-------------- next part --------------
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/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/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/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/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 0x7f2e9b922b00>
- [<Products.CMFActivity.ActiveResult.ActiveResult instance at 0x7f2e9b922b00>]
+ []
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 807, 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
FAIL: test_erp5_ui_test_Bar_Bar_viewGadgetField (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/tests/testXHTML.py", line 553, in testMethod
bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "Bar_viewGadgetField" (from erp5_ui_test bt) with warnings displayed :
Error: line 631 column 51 : there is no attribute "data-gadget-url"
Error: line 631 column 154 : there is no attribute "editable"
Error: line 631 column 183 : there is no attribute "value"
Error: line 631 column 204 : there is no attribute "data-gadget-scope"
Error: line 631 column 241 : there is no attribute "data-gadget-sandbox"
FAIL: test_javascript_lint (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/tests/testXHTML.py", line 191, in test_javascript_lint
jsl(check_path)
File "/srv/slapgrid/slappart4/srv/testnode/ey/soft/9b86c7a389b4fa94ae3fb1293515fd9f/parts/erp5/Products/ERP5/tests/testXHTML.py", line 187, in jsl
self.assertEqual(stdout, '', 'jsl result of %s : %s' % (check_path, stdout))
AssertionError: jsl result of erp5_portal_ef94b639b61a03fff00b4d1402e723e4/portal_skins/erp5_core/handlebars.js : (103): warning: redeclaration of var isFunction
var isFunction;
......^
(115): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
} else if (string == null) {
.............................^
(260): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
} else if(context === false || context == null) {
....................................................^
(378): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
var level = options.data && options.data.level != null ? parseInt(options.data.level, 10) : 1;
.............................................................^
(469): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (result == null && env.compile) {
.........................^
(474): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (result != null) {
........................^
(497): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (depths[i] && depths[i][name] != null) {
..................................................^
(501): warning: anonymous function does not always return a value
},
......^
(526): lint warning: increment (++) and decrement (--) operators used as part of greater statement
while (data && depth--) {
..............................^
(687): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (open != null && open.charAt) {
.......................^
(982): lint warning: missing default case in switch statement
}
..^
(983): warning: function anonymous does not always return a value
},
..^
(1031): lint warning: block statements containing block statements should use curly braces to resolve ambiguity
if (this.terminals_[p] && p > 2) {
......................^
(1088): lint warning: missing default case in switch statement
}
..........^
(1229): warning: anonymous function does not always return a value
else return;
.........................^
(1232): warning: anonymous function does not always return a value
return this.EOF;
.............................^
(1235): warning: anonymous function does not always return a value
{text: "", token: null, line: this.yylineno});
...................................................................^
(1271): lint warning: missing semicolon
switch($avoiding_name_collisions) {
..^
(1372): lint warning: missing default case in switch statement
}
..^
(1373): warning: function anonymous does not always return a value
};
..^
(1374): lint warning: regular expressions should be preceded by a left parenthesis, assignment, colon, or comma
lexer.rules = [/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{\/)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\()/,/^(?:\))/,/^(
.................^
(1377): lint warning: missing semicolon
parser.lexer = lexer;
..^
(1436): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
&& isNextWhitespace(inverse.statements)) {
..........^
(1546): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
var current = statements[i == null ? 0 : i + 1];
.......................................^
(1564): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
var current = statements[i == null ? statements.length - 1 : i - 1];
.......................................^
(1573): warning: function omitLeft does not always return a value
return current.leftStripped;
...............................^
(1702): lint warning: increment (++) and decrement (--) operators used as part of greater statement
var guid = this.guid++, depth;
............................^
(1767): lint warning: increment (++) and decrement (--) operators used as part of greater statement
while(i--) {
...............^
(1813): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
isBlock = program != null || inverse != null;
....................................^
(1813): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
isBlock = program != null || inverse != null;
......................................................^
(1984): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (input == null || (typeof input !== 'string' && input.constructor !== env.AST.ProgramNode)) {
......................^
(2002): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (input == null || (typeof input !== 'string' && input.constructor !== env.AST.ProgramNode)) {
......................^
(2417): lint warning: increment (++) and decrement (--) operators used as part of greater statement
this.push(this.depthedLookup(parts[i++]));
.................................................^
(2569): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (guid != null) {
......................^
(2633): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
+ (helper.paramsInit ? '),(' + helper.paramsInit : '') + '),'
..........^
(2634): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
+ '(typeof helper === functionType ? helper.call(' + helper.callParams + ') : helper))');
........^
(2715): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if (index == null) {
.........................^
(2737): warning: anonymous function does not always return a value
},
....^
(2889): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
.replace(/\\/g, '\\\\')
........^
(2890): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
.replace(/"/g, '\\"')
........^
(2891): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
.replace(/\n/g, '\\n')
........^
(2892): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
.replace(/\r/g, '\\r')
........^
(2893): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
.replace(/\u2028/g, '\\u2028') // Per Ecma-262 7.3 + 7.8.4
........^
(2894): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
.replace(/\u2029/g, '\\u2029') + '"';
........^
(2957): lint warning: increment (++) and decrement (--) operators used as part of greater statement
while (i--) {
................^
(3017): lint warning: unexpected end of line; it is ambiguous whether these lines are part of the same statement
).split(" ");
..^
(3026): lint warning: regular expressions should be preceded by a left parenthesis, assignment, colon, or comma
return !JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name);
.......................................................^
More information about the Erp5-report
mailing list