[Erp5-report] ERP5-TestRunner1 : 4894 Tests, 1 Errors, 3 Failures, 206 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 12 07:44:23 CET 2014
Test Suite: ERP5-TestRunner1
Revision: slapos=7418-dfa7e8085cdd791c6343312587bba824bf65c7c7,erp5=44064-a0853ec2a400ed12a0be6a715aad9ded53e268cb
Result: FAIL
All tests: 4894
Failures: 3
Errors: 1
Skips: 206
The following tests failed:
erp5_upgrader:testUpgrader (1 failures)
test_add_pre_upgrade_constraint (erp5.component.test.erp5_version.testUpgrader.TestUpgrader)
testPayroll (1 errors)
test_AccountingLineGeneration (testPayroll.TestPayroll)
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: 2870 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20141212/ae8dd8ff/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/slappart3/srv/testnode/bu/soft/1f179a120783bff3f70e97cb69c5d8d2/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/bu/soft/1f179a120783bff3f70e97cb69c5d8d2/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/slappart3/srv/testnode/bu/soft/1f179a120783bff3f70e97cb69c5d8d2/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 0x7f182bd28518>
- [<Products.CMFActivity.ActiveResult.ActiveResult instance at 0x7f182bd28518>]
+ []
ERROR: test_AccountingLineGeneration (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart9/srv/testnode/bu/soft/3f1f753a354463b0284cd32af84fd58e/parts/erp5/Products/ERP5/tests/testPayroll.py", line 3219, in test_AccountingLineGeneration
self.tic()
File "/srv/slapgrid/slappart9/srv/testnode/bu/soft/3f1f753a354463b0284cd32af84fd58e/parts/erp5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 248, in tic
raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_e6eb79ec922fda42fcb5f3f9196a3508/accounting_module/1', '_localBuild', -2, 1)]
Last error message:
AttributeError
'NoneType' object has no attribute 'getAccountType'
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 322, in __call__
result = method(*self.args, **self.kw)
Module Products.ERP5.Document.Delivery, line 700, in _localBuild
return self.asComposedDocument().build(explanation=self)
Module Products.ERP5.Document.BusinessProcess, line 846, in build
business_link.build(explanation=explanation)
Module Products.ERP5.Document.BusinessLink, line 251, in build
builder.build(explanation=explanation, business_link=self, **kw)
Module Products.ERP5.mixin.builder, line 146, in build
self.callAfterBuildingScript(delivery_list, movement_list, **kw)
Module Products.ERP5Type.UnrestrictedMethod, line 67, in <lambda>
return lambda *args, **kw: unrestricted_apply(function, args, kw)
Module Products.ERP5Type.UnrestrictedMethod, line 102, in unrestricted_apply
return apply(function, args, kw)
Module Products.ERP5.mixin.builder, line 716, in callAfterBuildingScript
script()
Module Shared.DC.Scripts.Bindings, line 322, in __call__
return self._bindAndExec(args, kw, None)
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
return self._exec(bound_data, args, kw)
Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1281, in _exec
return PythonScript_exec(self, *args)
Module Products.PythonScripts.PythonScript, line 344, in _exec
result = f(*args, **kw)
Module script, line 30, in AccountingTransaction_roundDebitCredit
- <PythonScript at /erp5_portal_e6eb79ec922fda42fcb5f3f9196a3508/AccountingTransaction_roundDebitCredit used for /erp5_portal_e6eb79ec922fda42fcb5f3f9196a3508/accounting_module/1>
- Line 30
if x.getSourceValue().getAccountType() in asset_list][0]
AttributeError: 'NoneType' object has no attribute 'getAccountType'
FAIL: test_erp5_ui_test_Bar_Bar_viewGadgetField (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart3/srv/testnode/bu/soft/1f179a120783bff3f70e97cb69c5d8d2/parts/erp5/Products/ERP5/tests/testXHTML.py", line 555, 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 626 column 51 : there is no attribute "data-gadget-url"
Error: line 626 column 163 : there is no attribute "data-gadget-value"
Error: line 626 column 187 : there is no attribute "data-gadget-editable"
Error: line 626 column 228 : there is no attribute "data-gadget-scope"
Error: line 626 column 265 : there is no attribute "data-gadget-sandbox"
FAIL: test_javascript_lint (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart3/srv/testnode/bu/soft/1f179a120783bff3f70e97cb69c5d8d2/parts/erp5/Products/ERP5/tests/testXHTML.py", line 193, in test_javascript_lint
jsl(check_path)
File "/srv/slapgrid/slappart3/srv/testnode/bu/soft/1f179a120783bff3f70e97cb69c5d8d2/parts/erp5/Products/ERP5/tests/testXHTML.py", line 189, in jsl
self.assertEqual(stdout, '', 'jsl result of %s : %s' % (check_path, stdout))
AssertionError: jsl result of erp5_portal_ef94b639b61a03fff00b4d1402e723e4/portal_skins/erp5_xhtml_style/jio.js : (8): warning: anonymous function does not always return a value
}(['exports', 'rsvp', 'sha256'], function (exports, RSVP, sha256) {
^
(738): lint warning: increment (++) and decrement (--) operators used as part of greater statement
while (--n >= 0) { res += string; }
.................^
(913): warning: anonymous function does not always return a value
});
....^
(1624): warning: anonymous function does not always return a value
};
^
(2035): warning: anonymous function does not always return a value
return value[0];
...................^
(2037): warning: anonymous function does not always return a value
return value;
..............^
(2061): warning: anonymous function does not always return a value
return new_value.content;
............................^
(2063): warning: anonymous function does not always return a value
return new_value;
..................^
(2909): warning: function executeJobIfReady does not always return a value
}
..^
(4102): lint warning: missing default case in switch statement
}
^
(4293): warning: redeclaration of var i
for( var i = 0; i < act_tab[sstack[sstack.length-1]].length; i+=2 )
.................................^
(4299): warning: redeclaration of var i
for( var i = 0; i < sstack.length; i++ )
.................................^
(4319): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if( sstack.length == 0 )
...............................................................^
(4323): warning: redeclaration of var i
for( var i = 0; i < act_tab[sstack[sstack.length-1]].length; i+=2 )
.................................................^
(4336): warning: redeclaration of var i
for( var i = 0; i < rsstack.length; i++ )
.........................................^
(4385): lint warning: use of the void type may be unnecessary (void is always undefined)
rval = void(0);
...............................^
(4472): lint warning: missing default case in switch statement
}
^
(4479): warning: redeclaration of var i
for( var i = 0; i < pop_tab[act][1]; i++ )
.................................^
(4486): warning: redeclaration of var i
for( var i = 0; i < goto_tab[sstack[sstack.length-1]].length; i+=2 )
.................................^
(4495): lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
if( act == 0 )
.....................................^
(5378): warning: redeclaration of function inherits
function inherits(constructor, superConstructor) {
.........^
More information about the Erp5-report
mailing list