[Erp5-report] ERP5 r31149: 2975 Tests, 18 Errors, 20 Failures, 18 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 8 15:25:18 CET 2009
Test Suite: ERP5
Revision: 31149
Result: FAIL
All tests: 2975
Failures: 20
Errors: 18
Skips: 18
The following tests failed:
testAccounting (1 failures)
test_export_transaction (testAccounting.TestAccountingExport)
testBusinessTemplate (1 errors)
test_download_svn (testBusinessTemplate.TestBusinessTemplate)
testDateUtils (1 failures)
test_atTheEndOfPeriod (testDateUtils.TestDateUtils)
testDms (1 errors)
test_Base_createNewFile_empty (testDms.TestDocument)
testDmsWithFlare (1 errors)
test_Base_createNewFile_empty (testDmsWithFlare.TestDocumentWithFlare)
testERP5Catalog (2 failures, 3 skips)
test_42_SearchableText (testERP5Catalog.TestERP5Catalog), Tests SearchableText is working in ERP5Catalog
test_complex_query (testERP5Catalog.TestERP5Catalog)
testERP5Interfaces (14 errors)
test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
testERP5TypeInterfaces (1 errors)
test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
testFormPrintout (1 failures)
test_02_Table_07_CellFormat (testFormPrintout.TestFormPrintout), 7. Normal case: cell format cetting
testICal (1 failures)
test_01_renderEvent (testICal.TestICal)
testOpenOrder (2 failures)
testOpenOrderRule (testOpenOrder.TestOpenOrder)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testProxyField (1 failures)
testSkinSelectionTemplateField (testProxyField.TestProxyField)
testResource (1 failures)
test_11_getPriceWithDestinationSection (testResource.TestResource)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testTemplate (2 failures)
test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
testTradeModelLine (4 failures)
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio
testXHTML (2 failures)
test.erp5_dms.Drawing.OOoDocument_viewAsWeb (testXHTML.TestXHTML)
test.erp5_dms.Presentation.OOoDocument_viewAsWeb (testXHTML.TestXHTML)
testXMLMatrix (1 failures)
test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
The following tests were at least partly skipped:
testBase (3 skips)
testMRP (4 skips)
testSQLCachedWorklist (1 skips)
testSelectionTool (7 skips)
-------------- next part --------------
FAIL: test_export_transaction (testAccounting.TestAccountingExport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2059, in test_export_transaction
self.assertTrue('40 - Payable' in content_xml)
AssertionError
ERROR: test_download_svn (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 4784, in test_download_svn
test_web = self.portal.portal_templates.download(
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 393, in download
bt = self._download_url(url, id)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 339, in _download_url
file_path, headers = urlretrieve(url, temppath)
File "/usr/lib64/python2.4/urllib.py", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib64/python2.4/urllib.py", line 222, in retrieve
fp = self.open(url, data)
File "/usr/lib64/python2.4/urllib.py", line 190, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.4/site-packages/M2Crypto/m2urllib.py", line 58, in open_https
h.endheaders()
File "/usr/lib64/python2.4/httplib.py", line 798, in endheaders
self._send_output()
File "/usr/lib64/python2.4/httplib.py", line 679, in _send_output
self.send(msg)
File "/usr/lib64/python2.4/httplib.py", line 646, in send
self.connect()
File "/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py", line 47, in connect
self.sock.connect((self.host, self.port))
File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 157, in connect
if not check(self.get_peer_cert(), self.addr[0]):
File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Checker.py", line 59, in __call__
raise NoCertificate('peer did not return certificate')
NoCertificate: peer did not return certificate
FAIL: test_atTheEndOfPeriod (testDateUtils.TestDateUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/Products/ERP5Type/tests/testDateUtils.py", line 168, in test_atTheEndOfPeriod
self.assertEqual(atTheEndOfPeriod(date, 'week').pCommonZ(), 'Jan. 7, 2008 12:00 am Universal')
AssertionError: 'Jan. 8, 2008 12:00 am Universal' != 'Jan. 7, 2008 12:00 am Universal'
ERROR: test_Base_createNewFile_empty (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 882, in test_Base_createNewFile_empty
self.tic()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 654, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_604c822695152714e5fc9d07b159c4bb/document_module/43', 'discoverMetadata', -2, 6)]
Last error message:
NotConvertedError
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 294, in __call__
Module Products.ERP5.Document.Document, line 1074, in discoverMetadata
Module Products.ERP5.Document.Document, line 990, in getPropertyDictFromContent
NotConvertedError
ERROR: test_Base_createNewFile_empty (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 882, in test_Base_createNewFile_empty
self.tic()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 654, in tic
raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_efe675ffc6dff92eecfb7dac1e0cc9a6/document_module/43', 'discoverMetadata', -2, 6)]
Last error message:
NotConvertedError
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 294, in __call__
Module Products.ERP5.Document.Document, line 1074, in discoverMetadata
Module Products.ERP5.Document.Document, line 990, in getPropertyDictFromContent
NotConvertedError
FAIL: test_42_SearchableText (testERP5Catalog.TestERP5Catalog), Tests SearchableText is working in ERP5Catalog
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1330, in test_42_SearchableText
[x.getObject for x in self.getCatalogTool()(
AssertionError: [] != [<bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x63dad70>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x63dab40>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x63da6e0>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x77c6cd0>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x77c6dc0>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x77c6d70>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x77c6d20>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x77c6a50>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x77c6a00>>, <bound method r.getObject of <Shared.DC.ZRDB.Results.r object at 0x61a4c80>>]
FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2316, in test_complex_query
self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3
ERROR: test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IAmountList.IAmountList>
ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IBusinessPath.IBusinessPath>
The getExpectedCompletionDuration attribute was not provided.
ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of _getAcquiredCategoryMembershipList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>
ERROR: test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of getAggregatedAmountList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IRule.IRule>
The updateMovementCollection attribute was not provided.
ERROR: test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IRule.IRule>
The updateMovementCollection attribute was not provided.
ERROR: test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of getVariationRangeCategoryItemList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
verifyClass(Interface, Klass)
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
return _verify(iface, candidate, tentative, vtype='c')
File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass Products.ERP5Type.interfaces.consistency_message.IConsistencyMessage>
The fix attribute was not provided.
FAIL: test_02_Table_07_CellFormat (testFormPrintout.TestFormPrintout), 7. Normal case: cell format cetting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testFormPrintout.py", line 659, in test_02_Table_07_CellFormat
self.assertEqual(date_column.attrib[date_value_attrib], '2009-04-20')
AssertionError: '2009-04-19' != '2009-04-20'
FAIL: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testICal.py", line 151, in test_01_renderEvent
self.assertEquals( # if this fail for you, try to set $TZ to Europe/Paris
AssertionError: '20070815T143000Z' != '20070815T083000Z'
FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 298, in testOpenOrderRule
[(DateTime(3000,2,10,10,0), DateTime(3000,2,11,10,0)),
AssertionError: [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 US/Eastern'), DateTime('3000/03/11 10:00:00 US/Eastern'))] != [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 GMT-4'), DateTime('3000/03/11 10:00:00 GMT-4'))]
FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 179, in testPeriodicityDateList
self.fail('Test disabled because it freezes')
AssertionError: Test disabled because it freezes
FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.7/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.7/build/unit_test/Products/ERP5Form/tests/testProxyField.py", line 189, in testSkinSelectionTemplateField
self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'
FAIL: test_11_getPriceWithDestinationSection (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testResource.py", line 773, in test_11_getPriceWithDestinationSection
product.getPrice())
AssertionError: 33 != 0.0
FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}
FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.7/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.7/build/unit_test/Products/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
self._testTemplateNotIndexable(document)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.7/build/unit_test/Products/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1
FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.7/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.7/build/unit_test/Products/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2
FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1988, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
GetInvoiceLineDiscounted
GetInvoiceLineDiscountedTaxed
GetInvoiceLineTaxed
ModifyQuantityInvoiceLineDiscounted
ModifyQuantityInvoiceLineDiscountedTaxed
ModifyQuantityInvoiceLineTaxed
Tic
CheckInvoiceCausalityStateDiverged
AcceptDecisionQuantityInvoice
Tic
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 460, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x86fc8c0
'decision_value': 1.9999999999999998
'divergence_scope': 'quantity'
'prevision_value': 5.0
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/3/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '1.9999999999999998'
'message': 'Quantity'>, <DivergenceMessage object at 0x8706ab8
'decision_value': -0.60000000000000009
'divergence_scope': 'quantity'
'prevision_value': -1.5
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '-0.60000000000000009'
'message': 'Quantity'>, <DivergenceMessage object at 0x643a4d0
'decision_value': 28.5
'divergence_scope': 'quantity'
'prevision_value': 71.25
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '28.5'
'message': 'Quantity'>, <DivergenceMessage object at 0xb1f3bd8
'decision_value': 12.0
'divergence_scope': 'quantity'
'prevision_value': 30.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '12.0'
'message': 'Quantity'>, <DivergenceMessage object at 0x6435368
'decision_value': 30.0
'divergence_scope': 'quantity'
'prevision_value': 75.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '30.0'
'message': 'Quantity'>]
FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2069, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
DecreasePackingListLineListQuantity
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
CheckPackingListDiverged
SplitAndDeferPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetNewPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
SetNewPackingListAsPackingList
PackPackingList
Tic
StartPackingList
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 460, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0xa0ce320
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/1/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>, <DivergenceMessage object at 0x8ea6368
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/2/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>]
FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 1988, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
GetInvoiceLineDiscounted
GetInvoiceLineDiscountedTaxed
GetInvoiceLineTaxed
ModifyQuantityInvoiceLineDiscounted
ModifyQuantityInvoiceLineDiscountedTaxed
ModifyQuantityInvoiceLineTaxed
Tic
CheckInvoiceCausalityStateDiverged
AcceptDecisionQuantityInvoice
Tic
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 460, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0xa398320
'decision_value': 1.9999999999999998
'divergence_scope': 'quantity'
'prevision_value': 5.0
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/3/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '1.9999999999999998'
'message': 'Quantity'>, <DivergenceMessage object at 0xb0a6b90
'decision_value': -0.60000000000000009
'divergence_scope': 'quantity'
'prevision_value': -1.5
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/2/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '-0.60000000000000009'
'message': 'Quantity'>, <DivergenceMessage object at 0x7f11e18
'decision_value': 28.5
'divergence_scope': 'quantity'
'prevision_value': 71.25
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/1/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '28.5'
'message': 'Quantity'>, <DivergenceMessage object at 0x63a8b48
'decision_value': 12.0
'divergence_scope': 'quantity'
'prevision_value': 30.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/2/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '12.0'
'message': 'Quantity'>, <DivergenceMessage object at 0xc2978c0
'decision_value': 30.0
'divergence_scope': 'quantity'
'prevision_value': 75.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/1/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '30.0'
'message': 'Quantity'>]
FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2069, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateServiceTax
CreateServiceDiscount
CreatePriceCurrency
CreateProductDiscounted
CreateProductTaxed
CreateProductDiscountedTaxed
CreateSource
CreateSourceSection
CreateDestination
CreateDestinationSection
Tic
CreateBusinessProcess
CreateBusinessState
ModifyBusinessStateTaxed
CreateBusinessState
ModifyBusinessStateInvoiced
CreateBusinessPath
ModifyBusinessPathTaxing
CreateBusinessPath
ModifyBusinessPathDiscounting
CreateTradeCondition
SpecialiseTradeConditionWithBusinessProcess
CreateTradeModelLine
ModifyTradeModelLineTax
CreateTradeModelLine
ModifyTradeModelLineDiscount
Tic
CreateOrder
SpecialiseOrderTradeCondition
FillOrder
Tic
CreateOrderLine
ModifyOrderLineTaxed
CreateOrderLine
ModifyOrderLineDiscounted
CreateOrderLine
ModifyOrderLineDiscountedTaxed
Tic
CheckOrderComplexTradeConditionAggregatedAmountList
CheckOrderLineTaxedAggregatedAmountList
CheckOrderLineDiscountedTaxedAggregatedAmountList
CheckOrderLineDiscountedAggregatedAmountList
Tic
PlanOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
ConfirmOrder
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetPackingList
DecreasePackingListLineListQuantity
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
CheckPackingListDiverged
SplitAndDeferPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetNewPackingList
PackPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StartPackingList
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
SetNewPackingListAsPackingList
PackPackingList
Tic
StartPackingList
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 460, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0xe3e5ab8
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/21/2/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>, <DivergenceMessage object at 0xc295440
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/21/1/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>]
FAIL: test.erp5_dms.Drawing.OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testXHTML.py", line 392, in testMethod
bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 514 column 43 : there is no attribute "class"
Error: line 514 column 63 : there is no attribute "style"
Error: line 514 column 105 : there is no attribute "src"
Error: line 514 column 222 : there is no attribute "onload"
Error: line 514 column 244 : element "iframe" undefined
FAIL: test.erp5_dms.Presentation.OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testXHTML.py", line 392, in testMethod
bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 514 column 43 : there is no attribute "class"
Error: line 514 column 63 : there is no attribute "style"
Error: line 514 column 105 : there is no attribute "src"
Error: line 514 column 222 : there is no attribute "onload"
Error: line 514 column 244 : element "iframe" undefined
FAIL: test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
testMethod()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/Products/ERP5Type/tests/testXMLMatrix.py", line 342, in test_9999_SetCellRangeAndCatalogWithoutActivities
self.checkSetCellRangeAndCatalog(active=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/Products/ERP5Type/tests/testXMLMatrix.py", line 213, in checkSetCellRangeAndCatalog
matrix = order.newContent(id='1', portal_type='Purchase Order Line')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/ERP5Type.py", line 355, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Utils.py", line 459, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 237, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 431, in _setObject
object.manage_afterAdd(object, self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 364, in manage_afterAdd
return Movement.manage_afterAdd(self, item, container)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/CopySupport.py", line 318, in manage_afterAdd
self.reindexObject()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 245, in reindexObject
self.recursiveReindexObject(*k, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1197, in recursiveReindexObject
serialization_tag=self.getRootDocumentPath(),
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1222, in recursiveImmediateReindexObject
self.immediateReindexObject(**kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 2863, in immediateReindexObject
PortalContent.reindexObject(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
catalog.reindexObject(self, idxs=idxs, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 770, in reindexObject
self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 702, in catalog_object
self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 832, in catalogObjectList
catalog.catalogObjectList(wrapped_object_list, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1253, in catalogObjectList
idxs=idxs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1359, in _catalogObjectList
'uid of %r changed from %r to %r as old one is assigned'
File "/usr/lib/erp5/lib/python/zLOG/__init__.py", line 134, in LOG
log_write(subsystem, severity, summary, detail, error)
File "/usr/lib/erp5/lib/python/Products/CMFCore/tests/base/testcase.py", line 44, in log_write
assert 0, "%s(%s): %s" % (subsystem, severity, summary)
AssertionError: SQLCatalog(200): uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1/1> changed from 547L to 547L as old one is assigned to /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1 in catalog !!! This can be fatal.
More information about the Erp5-report
mailing list