[Erp5-report] ERP5 r39305 : 3803 Tests, 1 Errors, 12 Failures, 58 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 19 10:23:13 CEST 2010
Test Suite: ERP5
Revision: 39305
Result: FAIL
All tests: 3803
Failures: 12
Errors: 1
Skips: 58
The following tests failed:
testCRM (1 failures, 1 skips)
test_cloneEvent (testCRM.TestCRMMailSend)
testDms (1 failures, 2 skips)
test_DocumentIndexation (testDms.TestDocument)
testDmsWithFlare (1 failures, 2 skips)
test_DocumentIndexation (testDmsWithFlare.TestDocumentWithFlare)
testInvalidationBug (2 failures)
testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
testOOoConversionCache (1 failures, 1 errors)
test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
testOpenOrder (3 failures)
testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
testOpenOrderRule (testOpenOrder.TestOpenOrder)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testResource (1 failures)
test_10_getPriceWithOptions (testResource.TestResource)
testSimulationPerformance (1 failures)
test_02_CheckPerformance (testSimulationPerformance.TestSimulationPerformance), Check the performance.
testXHTML (1 failures)
test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)
The following tests were at least partly skipped:
testBase (3 skips)
test_NonIndexable (testBase.TestBase), 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'
test_NonIndexable2 (testBase.TestBase), 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'
test_NonIndexable3 (testBase.TestBase), 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 (3 skips)
testCRM (1 skips)
testDms (2 skips)
testDmsWithFlare (2 skips)
testERP5Base (1 skips)
testERP5Catalog (4 skips)
test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
testERP5Discussion (1 skips)
testERP5Interfaces (13 skips)
testERP5Simulation (5 skips)
testERP5Type (1 skips)
testERP5TypeInterfaces (1 skips)
testERP5Web (2 skips)
testFormPrintoutAsODT (1 skips)
test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'
testInventoryAPI (2 skips)
testMRP (4 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'
testProxyField (1 skips)
testSQLCachedWorklist (1 skips)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
testSelectionTool (7 skips)
skipped 'Test to be written'
testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
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)
testWebDavSupport (1 skips)
The following tests have an unknown status:
'Products/ERP5Type/tests/runUnitTest.py' '--verbose' '--erp5_sql_connection_string' 'test6 test' 'testMigration'
-------------- next part --------------
FAIL: test_cloneEvent (testCRM.TestCRMMailSend)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testCRM.py", line 1410, in test_cloneEvent
self.assertEquals(new_event.getTitle(), title)
AssertionError: 'Email-8' != 'Title of the event'
FAIL: test_DocumentIndexation (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 2210, in test_DocumentIndexation
self.assertTrue('subject1' in subject_result[0]['subject'])
AssertionError
FAIL: test_DocumentIndexation (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 2210, in test_DocumentIndexation
self.assertTrue('subject1' in subject_result[0]['subject'])
AssertionError
FAIL: testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvalidationBug.py", line 93, in testCommitOrder
self.assertEqual(result_list[-2], [1,0]) # catalog
AssertionError: [1, 1] != [1, 0]
FAIL: testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvalidationBug.py", line 169, in testLateInvalidationFromZEO
self.assertNoPendingMessage()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 130, in assertNoPendingMessage
self.fail(error_message)
AssertionError: These messages are pending: [('/erp5_portal_dbc865b0f58a63ce83de451b148c0de2/organisation_module/2', 'immediateReindexObject', -3, 0)]
Last error message:
KeyError
'2'
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 1191, in invokeGroup
Module Products.CMFActivity.ActivityTool, line 213, in getObject
Module OFS.Traversable, line 233, in unrestrictedTraverse
- __traceback_info__: ([], '2')
Module OFS.ObjectManager, line 715, in __getitem__
KeyError: '2'
Loading Zope ...
Cleaning static files ...
Instance at '/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test' loaded ...
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/Products/ERP5Type/tests/runUnitTest.py", line 738, in ?
sys.exit(main())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/Products/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/Products/ERP5Type/tests/runUnitTest.py", line 527, in runUnitTestList
suite = ERP5TypeTestLoader().loadTestsFromNames(test_list)
File "/usr/lib64/python2.4/unittest.py", line 556, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/Products/ERP5Type/tests/runUnitTest.py", line 300, in loadTestsFromName
return super(ERP5TypeTestLoader, self).loadTestsFromName(name, module)
File "/usr/lib64/python2.4/unittest.py", line 524, in loadTestsFromName
module = __import__('.'.join(parts_copy))
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/Products/ERP5Type/tests/testMigration.py", line 10
class TestNewStyleClasses(ERP5TypeTestCase):
^
SyntaxError: invalid syntax
ERROR: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 168, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 985, in tearDown
PortalTestCase.tearDown(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 159, in beforeTearDown
assert not activity_status
AssertionError
FAIL: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 215, in test_04_PersistentCacheConversionWithFlare
'Cache Storage failed for %s' % (format))
AssertionError: Cache Storage failed for txt
FAIL: testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 399, in testBuildingSaleOrder
self.assertEqual(len(applied_rule.objectIds()), 9)
AssertionError: 0 != 9
FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 277, in testOpenOrderRule
self.assertEqual(len(applied_rule.objectIds()), 1)
AssertionError: 0 != 1
FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 185, in testPeriodicityDateList
[(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]
FAIL: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testResource.py", line 697, in test_10_getPriceWithOptions
self.assertEquals(1, product.getPrice(context=supply_line))
AssertionError: 1 != 10.0
FAIL: test_02_CheckPerformance (testSimulationPerformance.TestSimulationPerformance), Check the performance.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testSimulationPerformance.py", line 795, in test_02_CheckPerformance
measurable=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testSimulationPerformance.py", line 265, in _checkSimulation
sequence.play(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 195, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 115, in play
self._step_list[self._played_index] \
Current Sequence:
Initialize
Tic
UseClientAsDestinationDecision
UseClientAsDestinationAdministration
UseResourceAsCommodityProduct
CreateSaleOrders
Tic
PlanSaleOrders
MeasureCreationOfNewAppliedRules
Tic
CheckSaleOrderSimulation
UseRecipient1AsDestinationDecision
ModifySaleOrders
MeasureExpansionOfExistingAppliedRules
Tic
CheckSaleOrderSimulation
OrderSaleOrders
MeasureCreationOfNewSalePackingLists
Tic
CheckSaleOrderSimulation
CheckBuiltSalePackingLists
UseRecipient2AsDestinationDecision
ModifySaleOrders
MeasureExpansionOfConvergedChanges
Tic
CheckSaleOrderSimulation
CheckConvergedSalePackingLists
UseRecipient1AsDestinationAdministration
ModifySaleOrders
MeasureExpansionOfDivergedChanges
Tic
CheckSaleOrderSimulation
CheckDivergedSalePackingLists
SetSolverTargetToDestinationAdministration
AdoptPrevisionToSalePackingLists
MeasureAdoptionOfPrevisions
Tic
CheckConvergedSalePackingLists
UseRecipient2AsDestinationAdministration
ModifySaleOrders
Tic
CheckSaleOrderSimulation
CheckDivergedSalePackingLists
SetSolverTargetToDestinationAdministration
AcceptDecisionOfSalePackingLists
MeasureAcceptanceOfDecisions
Tic
UseRecipient1AsDestinationAdministration
CheckConvergedSalePackingLists
ConfirmSaleOrders
Tic
UseResourceAsCommodityProduct
AddNewSalePackingLinesIntoSalePackingLists
MeasureCreationOfNewAppliedRulesFromPartiallySimulatedDeliveries
Tic
CheckSalePackingListSimulation
StopSalePackingLists
MeasureCreationOfNewSaleInvoices
Tic
CheckBuiltSaleInvoices
UseResourceAsLuxuryProduct
AddNewSalePackingLinesIntoSalePackingLists
DeliverSalePackingLists
MeasureAdditionOfNewInvoiceLinesIntoSaleInvoices
Tic
CheckAddedSaleInvoices
> TestResult
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 98, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testSimulationPerformance.py", line 773, in stepTestResult
'these tests failed: %s' % (', '.join(failure_list)))
AssertionError: these tests failed: Creation Of New Applied Rules, Expansion of Existing Applied Rules, Creation of New Sale Packing Lists, Expansion of Converged Changes, Expansion of Diverged Changes, Adoption of Previsions, Acceptance of Decisions, Creation of New Applied Rules from Partially Simulated Deliveries, Creation Of New Sale Invoices, Addition of New Invoices Lines
FAIL: test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testXHTML.py", line 248, in test_duplicatingSelectionNameInListbox
self.assertEquals(duplicating_selection_name_dict, {})
AssertionError: {'foo_line_selection': ['erp5_ui_test/Foo_view/listbox', 'erp5_ui_test/Foo_viewPerformance/listbox', 'erp5_ui_test/Foo_viewProxyField/listbox', 'erp5_ui_test/Foo_viewRelationField/listbox'], 'bar_line_selection': ['erp5_ui_test/Bar_view/listbox', 'erp5_ui_test/Bar_viewPerformance/listbox'], 'document_analysis_documents_fast_input': ['erp5_consulting/DocumentAnalysisDocuments_addFastInput/listbox', 'erp5_consulting/DocumentAnalysisDocuments_addFastInputTest/listbox'], 'Base_jumpToRelatedObjectList': ['erp5_core/Base_jumpToRelatedObjectList/listbox', 'erp5_pdm/Resource_viewRelatedSupplyLineList/listbox'], 'sale_order_selection': ['erp5_trade/SaleOrderModule_viewSaleOrderList/listbox', 'erp5_commerce_widget_library/SaleOrderModule_viewAsWebSaleOrderList/listbox'], 'sale_trade_condition_selection': ['erp5_trade/SaleTradeConditionModule_viewSaleTradeConditionList/listbox', 'erp5_trade_proxy_field_legacy/SaleTradeCondition_viewFieldLibrary/my_sale_trade_condition_module_listbox'], 'folder_workflow_report_selection': ['erp5_core/Folder_viewWorkflowReport/listbox', 'erp5_project/ProjectModule_viewMilestoneReport/listbox'], 'purchase_order_selection': ['erp5_trade/PurchaseOrderModule_viewPurchaseOrderList/listbox', 'erp5_trade_proxy_field_legacy/PurchaseOrder_viewFieldLibrary/listbox'], 'Base_viewRelatedObjectList': ['erp5_core/Base_viewRelatedObjectList/listbox', 'erp5_core/Base_viewRelatedObjectListBase/listbox'], 'web_view_my_tasks_selection_gadget': ['erp5_km_theme/WebSite_viewPendingEventList/listbox', 'erp5_km_widget_library/WebSite_viewPendingEventListGadget/listbox'], 'erp5_site_sale_resource_selection': ['erp5_pdm/ERP5Site_viewPurchaseResourceList/listbox', 'erp5_pdm/ERP5Site_viewSaleResourceList/listbox'], 'purchase_trade_condition_selection': ['erp5_trade/PurchaseTradeConditionModule_viewPurchaseTradeConditionList/listbox', 'erp5_trade_proxy_field_legacy/PurchaseTradeCondition_viewFieldLibrary/my_purchase_trade_condition_module_listbox'], 'inventory_module_selection': ['erp5_trade/InventoryModule_viewInventoryList/listbox', 'erp5_trade_proxy_field_legacy/Inventory_viewFieldLibrary/my_inventory_module_listbox'], 'range_selection': ['erp5_core/ContributionPredicate_view/listbox', 'erp5_core/Predicate_view/listbox'], 'trash_bin_selection': ['erp5_core/TrashBin_viewTrashObject/listbox', 'erp5_core/TrashTool_viewTrashBinList/listbox'], 'search_selection': ['erp5_core/Base_viewFieldLibrary/my_list_mode_listbox', 'erp5_core/Base_viewFieldLibrary/my_view_mode_module_listbox', 'erp5_core/Base_viewSearchResultList/listbox'], 'accounting_transaction_module_paysheet_line_selection': ['erp5_payroll/AccountingTransactionModule_viewNetSalaryReportSection/listbox', 'erp5_payroll/AccountingTransactionModule_viewPaySheetLineReportSection/listbox'], 'latest_publication_widget_selection': ['erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox', 'erp5_km_widget_library/WebSection_viewKMWidgetFieldLibrary/latest_content_listbox']} != {}
More information about the Erp5-report
mailing list