[Erp5-report] ERP5 r38115 : 3728 Tests, 21 Errors, 28 Failures, 51 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 2 07:31:58 CEST 2010
Test Suite: ERP5
Revision: 38115
Result: FAIL
All tests: 3728
Failures: 28
Errors: 21
Skips: 51
The following tests failed:
testAccountingReports (6 failures)
testJournal (testAccountingReports.TestAccountingReports)
testJournalProject (testAccountingReports.TestAccountingReports)
testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)
testJournalWithBankAccount (testAccountingReports.TestAccountingReports)
testJournalAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
testJournalAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
testBase (1 errors, 3 skips)
test_Member_Base_download (testBase.TestBase)
testCMFCategory (1 failures)
test_22_UserFriendlyException (testCMFCategory.TestCMFCategory), Test message raise if bad use of setter.
testDms (1 failures, 1 errors)
test_safeHTML_conversion (testDms.TestDocument), This test create a Web Page and test asSafeHTML conversion.
test_10_SearchString (testDms.TestDocument)
testDmsWithFlare (4 failures, 5 errors)
test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
test_Text_conversion_to_base_format_no_original_format_access (testDmsWithFlare.TestDocumentWithFlare), Checks Document.OOoDocument
test_convertToImageOnTraversal (testDmsWithFlare.TestDocumentWithFlare)
test_safeHTML_conversion (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and test asSafeHTML conversion.
test_10_SearchString (testDmsWithFlare.TestDocumentWithFlare)
test_Base_showFoundText (testDmsWithFlare.TestDocumentWithFlare)
test_Member_download_pdf_format (testDmsWithFlare.TestDocumentWithFlare)
test_getExtensibleContent (testDmsWithFlare.TestDocumentWithFlare)
testERP5Catalog (1 failures, 4 skips)
test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
testERP5CurrencyExchangeLine (1 failures)
test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
testERP5Discussion (1 errors)
test_02_createDiscussionPost (testERP5Discussion.TestERP5Discussion), Create a disucssion post inscite a discussion thread
testERP5WebWithDms (2 failures)
test_06_Check_LastModified_Header (testERP5WebWithDms.TestERP5WebWithDms), Checks that Last-Modified header set by caching policy manager
test_07_TestDocumentViewBehaviour (testERP5WebWithDms.TestERP5WebWithDms), All Documents shared the same downloading behaviour
testERP5eGov (4 errors)
test_01_new_procedure_creation (testERP5eGov.TestEgov)
test_02_application_creation (testERP5eGov.TestEgov)
test_03_submit_application (testERP5eGov.TestEgov)
test_05_process_application (testERP5eGov.TestEgov)
testFormPrintoutAsODT (1 errors, 1 skips)
test_08_OOoConversion (testFormPrintoutAsODT.TestFormPrintoutAsODT), test ooo conversion
testInvalidationBug (2 failures)
testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
testOOoChart (2 failures)
test_ooo_chart (testOOoChart.TestOOoChart)
test_proxy_ooo_chart (testOOoChart.TestOOoChart)
testOOoConversionCache (7 errors)
test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
test_03_CacheConversionOfTempObjectIsNotMixed (testOOoConversionCache.TestDocumentConversionCache)
test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
test_07_check_cache_key_is_escaped (testOOoConversionCache.TestDocumentConversionCache)
test_08_check_conversion_cache_with_portal_document_type_list (testOOoConversionCache.TestDocumentConversionCache), Check cache conversion for all Portal Document Types
testOpenOrder (2 failures, 1 errors)
testOpenOrderRule (testOpenOrder.TestOpenOrder)
testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testRSS (1 failures)
test_02_renderRSS (testRSS.TestRSS)
testResource (1 failures)
test_10_getPriceWithOptions (testResource.TestResource)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testSimulationPerformance (1 failures)
test_02_CheckPerformance (testSimulationPerformance.TestSimulationPerformance), Check the performance.
testXHTML (2 failures)
test_configurationOfFieldLibrary (testXHTML.TestXHTML)
test_erp5_dms_PDF_PDF_viewHTMLPreviewAsThumbnailList (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)
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'
testERP5Interfaces (13 skips)
testERP5Simulation (4 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)
testTranslation (1 skips)
testWebDavSupport (1 skips)
-------------- next part --------------
FAIL: testJournal (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
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/testAccountingReports.py", line 186, in testJournal
credit=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1180, in checkLineProperties
self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`node_title`: expected: '41' actual: '41 Receivable'
FAIL: testJournalProject (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
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/testAccountingReports.py", line 523, in testJournalProject
credit=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1180, in checkLineProperties
self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`node_title`: expected: '41' actual: '41 Receivable'
FAIL: testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
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/testAccountingReports.py", line 358, in testJournalTransactionsWithoutThirdParty
credit=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1180, in checkLineProperties
self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`node_title`: expected: '41' actual: '41 Receivable'
FAIL: testJournalWithBankAccount (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
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/testAccountingReports.py", line 479, in testJournalWithBankAccount
credit=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1180, in checkLineProperties
self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`node_title`: expected: '41' actual: '41 Receivable'
FAIL: testJournalAnalyticsHidden (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
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/testAccountingReports.py", line 3878, in testJournalAnalyticsHidden
credit=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1180, in checkLineProperties
self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`node_title`: expected: '41' actual: '41 Receivable'
FAIL: testJournalAnalyticsShown (testAccountingReports.TestAccountingReportsWithAnalytic)
----------------------------------------------------------------------
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/testAccountingReports.py", line 3823, in testJournalAnalyticsShown
credit=0)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1180, in checkLineProperties
self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`node_title`: expected: '41' actual: '41 Receivable'
ERROR: test_Member_Base_download (testBase.TestBase)
----------------------------------------------------------------------
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/testBase.py", line 1091, in test_Member_Base_download
f._edit(content_type='text/plain', file=DummyFile(__file__))
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1253, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in updateContentMd5
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 235, in updateContentMd5
mime, data = self.convert(None)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/File.py", line 266, in _convert
supported_ooo_content_type_list = [item[0] for item in\
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 218, in getTargetFormatItemList
return cached_getTargetFormatItemList(self.getBaseContentType())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Cache.py", line 206, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Cache.py", line 116, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 199, in cached_getTargetFormatItemList
raise ConversionError("OOoDocument: can not get list of allowed acceptable"
ConversionError: OOoDocument: can not get list of allowed acceptable formats for conversion: 501 ()
FAIL: test_22_UserFriendlyException (testCMFCategory.TestCMFCategory), Test message raise if bad use of setter.
----------------------------------------------------------------------
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/CMFCategory/tests/testCMFCategory.py", line 832, in test_22_UserFriendlyException
self.assertEqual(e.args[0], 'Category must be of string, tuple of '
AssertionError: 'Category must be of string, tuple of string or list of string type. subordination <Organisation at 1>' != 'Category must be of string, tuple of string or list of string type.'
ERROR: test_safeHTML_conversion (testDms.TestDocument), This test create a Web Page and test asSafeHTML conversion.
----------------------------------------------------------------------
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/testDms.py", line 1609, in test_safeHTML_conversion
web_page.edit(text_content=html_content)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
modified_object_list = _setProperty(key, kw[key])
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 1464, in _setProperty
return method(value, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1253, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in updateContentMd5
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 235, in updateContentMd5
mime, data = self.convert(None)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/TextDocument.py", line 154, in _convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/PortalTransforms/transforms/safe_html.py", line 358, in convert
default_encoding=self.config.get('default_encoding', 'utf-8'))
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/PortalTransforms/transforms/safe_html.py", line 248, in scrubHTML
parser.feed(html)
File "/usr/lib64/python2.4/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib64/python2.4/HTMLParser.py", line 150, in goahead
k = self.parse_endtag(i)
File "/usr/lib64/python2.4/HTMLParser.py", line 314, in parse_endtag
self.error("bad end tag: %r" % (rawdata[i:j],))
File "/usr/lib64/python2.4/HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParseError: bad end tag: "</sc'+'ript>", at line 32, column 84
FAIL: test_10_SearchString (testDms.TestDocument)
----------------------------------------------------------------------
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/testDms.py", line 1022, in test_10_SearchString
self.assertEquals(parsed_string['portal_type'], 'Drawing,File,Web Page')
AssertionError: ['Drawing,File,Web', 'Page'] != 'Drawing,File,Web Page'
ERROR: test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1381, in test_HTML_to_ODT_conversion_keep_enconding
mime_type, pdf_data = web_page.convert('pdf')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/Document/TextDocument.py", line 154, in _convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/chain.py", line 47, in convert
data = transform.convert(orig, data, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/transforms/html_to_odt.py", line 49, in convert
odt = doc.convertTo('odt')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/transforms/oood_commandtransform.py", line 203, in convertTo
if self.ooo.isTargetFormatAllowed(format):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 281, in isTargetFormatAllowed
return format in self.getTargetFormatList()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 272, in getTargetFormatList
return map(lambda x: x[1], self.getTargetFormatItemList())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 218, in getTargetFormatItemList
return cached_getTargetFormatItemList(self.getBaseContentType())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Cache.py", line 206, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Cache.py", line 116, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 199, in cached_getTargetFormatItemList
raise ConversionError("OOoDocument: can not get list of allowed acceptable"
ConversionError: OOoDocument: can not get list of allowed acceptable formats for conversion: 501 ()
ERROR: test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1420, in test_HTML_to_ODT_conversion_keep_related_image_list
mime_type, odt_archive = web_page.convert('odt')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/Document/TextDocument.py", line 154, in _convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/transforms/html_to_odt.py", line 49, in convert
odt = doc.convertTo('odt')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/transforms/oood_commandtransform.py", line 203, in convertTo
if self.ooo.isTargetFormatAllowed(format):
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 281, in isTargetFormatAllowed
return format in self.getTargetFormatList()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 272, in getTargetFormatList
return map(lambda x: x[1], self.getTargetFormatItemList())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 218, in getTargetFormatItemList
return cached_getTargetFormatItemList(self.getBaseContentType())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Cache.py", line 206, in __call__
value = cache_factory(
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Cache.py", line 116, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 199, in cached_getTargetFormatItemList
raise ConversionError("OOoDocument: can not get list of allowed acceptable"
ConversionError: OOoDocument: can not get list of allowed acceptable formats for conversion: 501 ()
ERROR: test_Text_conversion_to_base_format_no_original_format_access (testDmsWithFlare.TestDocumentWithFlare), Checks Document.OOoDocument
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1802, in test_Text_conversion_to_base_format_no_original_format_access
'TEST-en-002.odt'
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1782, in _test_document_conversion_to_base_format_no_original_format_access
dummy = document.convert(format='text')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 271, in _convert
raise NotConvertedError
NotConvertedError
ERROR: test_convertToImageOnTraversal (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1963, in test_convertToImageOnTraversal
ooo_document_image_size, ooo_document_file_size = getURLSizeList(ooo_document_url, **convert_kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1944, in getURLSizeList
image = Image.open(filename)
File "/usr/lib64/python2.4/site-packages/PIL/Image.py", line 1916, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
ERROR: test_safeHTML_conversion (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and test asSafeHTML conversion.
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1609, in test_safeHTML_conversion
web_page.edit(text_content=html_content)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
modified_object_list = _setProperty(key, kw[key])
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1464, in _setProperty
return method(value, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1253, in _exec
return PythonScript_exec(self, *args)
File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in updateContentMd5
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 235, in updateContentMd5
mime, data = self.convert(None)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/Document/TextDocument.py", line 154, in _convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/transforms/safe_html.py", line 358, in convert
default_encoding=self.config.get('default_encoding', 'utf-8'))
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/PortalTransforms/transforms/safe_html.py", line 248, in scrubHTML
parser.feed(html)
File "/usr/lib64/python2.4/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib64/python2.4/HTMLParser.py", line 150, in goahead
k = self.parse_endtag(i)
File "/usr/lib64/python2.4/HTMLParser.py", line 314, in parse_endtag
self.error("bad end tag: %r" % (rawdata[i:j],))
File "/usr/lib64/python2.4/HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParseError: bad end tag: "</sc'+'ript>", at line 32, column 84
FAIL: test_10_SearchString (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1022, in test_10_SearchString
self.assertEquals(parsed_string['portal_type'], 'Drawing,File,Web Page')
AssertionError: ['Drawing,File,Web', 'Page'] != 'Drawing,File,Web Page'
FAIL: test_Base_showFoundText (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1306, in test_Base_showFoundText
self.assertEquals('converted', document.getExternalProcessingState())
AssertionError: 'converted' != 'conversion_failed'
FAIL: test_Member_download_pdf_format (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 623, in test_Member_download_pdf_format
self.assertEquals('application/pdf', response.getHeader('content-type'))
AssertionError: 'application/pdf' != 'text/html; charset=utf-8'
FAIL: test_getExtensibleContent (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1821, in test_getExtensibleContent
self.assertEquals('converted', document.getExternalProcessingState())
AssertionError: 'converted' != 'conversion_failed'
FAIL: test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
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/ERP5Catalog/tests/testERP5Catalog.py", line 1742, in test_48bis_ERP5Site_hotReindexAllCheckCachedValues
self.assertTrue('dummy.dummy_title' in portal_catalog.getSQLCatalog().getColumnMap())
AssertionError
FAIL: test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
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/testERP5CurrencyExchangeLine.py", line 508, in test_CreateCELWithNoBasePrice
327979)
AssertionError: 500.0 != 327979
ERROR: test_02_createDiscussionPost (testERP5Discussion.TestERP5Discussion), Create a disucssion post inscite a discussion thread
----------------------------------------------------------------------
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/testERP5Discussion.py", line 91, in test_02_createDiscussionPost
post = self.stepCreatePost(thread);
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testERP5Discussion.py", line 79, in stepCreatePost
return thread.newContent(portal_type="Discussion Post")
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Core/Folder.py", line 458, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Core/Folder.py", line 165, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/ERP5Type.py", line 378, in constructInstance
workflow.notifyCreated(ob)
File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 388, in notifyCreated
self._changeStateOf(ob, None)
File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 479, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 458, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 449, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/usr/lib/erp5/lib/python/Products/DCWorkflow/Guard.py", line 90, in check
res = expr(econtext)
File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "here.portal_membership.checkPermission('View', here) and here.getParentValue().getId() != 'portal_contributions' and here.getDefaultModuleId(here.getPortalType()) != here.getParentValue().getId()"", line 1, in <expression>
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/ERP5Site.py", line 1228, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Discussion Post
FAIL: test_06_Check_LastModified_Header (testERP5WebWithDms.TestERP5WebWithDms), Checks that Last-Modified header set by caching policy manager
----------------------------------------------------------------------
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/testERP5WebWithDms.py", line 459, in test_06_Check_LastModified_Header
self.assertEquals(response.getHeader('Content-Type'), 'image/png')
AssertionError: 'text/html; charset=utf-8' != 'image/png'
FAIL: test_07_TestDocumentViewBehaviour (testERP5WebWithDms.TestERP5WebWithDms), All Documents shared the same downloading behaviour
----------------------------------------------------------------------
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/testERP5WebWithDms.py", line 522, in test_07_TestDocumentViewBehaviour
self.assertEquals(response.getHeader('content-type'), 'application/pdf')
AssertionError: 'text/html; charset=utf-8' != 'application/pdf'
ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
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/testERP5eGov.py", line 266, in test_01_new_procedure_creation
self.fillProcedureForm(procedure, 'vat declaration')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testERP5eGov.py", line 255, in fillProcedureForm
default_pdf_form=pdf_file_data)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 238, 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/Base.py", line 1723, in edit
reindex_object=reindex_object, restricted=1, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/ERP5Type.py", line 472, in _edit
result = XMLObject._edit(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
modified_object_list = _setProperty(key, kw[key])
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1464, in _setProperty
return method(value, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 96, in __call__
content_document.manage_upload(file = file_upload)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 470, in manage_upload
data, size = self._read_data(file)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 519, in _read_data
transaction.savepoint(optimistic=True)
File "/usr/lib/erp5/lib/python/transaction/_manager.py", line 90, in savepoint
return self.get().savepoint(optimistic)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 297, in savepoint
self._saveCommitishError() # reraises!
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 294, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 657, in __init__
savepoint = savepoint()
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 1034, in savepoint
self._commit(None)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 503, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 525, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/usr/lib/erp5/lib/python/ZODB/serialize.py", line 330, in serialize
return self._dump(meta, obj.__getstate__())
TypeError: Can't pickle objects in acquisition wrappers.
ERROR: test_02_application_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
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/testERP5eGov.py", line 285, in test_02_application_creation
self.fillProcedureForm(procedure, 'vat declaration')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testERP5eGov.py", line 255, in fillProcedureForm
default_pdf_form=pdf_file_data)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 238, 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/Base.py", line 1723, in edit
reindex_object=reindex_object, restricted=1, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/ERP5Type.py", line 472, in _edit
result = XMLObject._edit(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
modified_object_list = _setProperty(key, kw[key])
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1464, in _setProperty
return method(value, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 96, in __call__
content_document.manage_upload(file = file_upload)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 470, in manage_upload
data, size = self._read_data(file)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 519, in _read_data
transaction.savepoint(optimistic=True)
File "/usr/lib/erp5/lib/python/transaction/_manager.py", line 90, in savepoint
return self.get().savepoint(optimistic)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 297, in savepoint
self._saveCommitishError() # reraises!
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 294, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 657, in __init__
savepoint = savepoint()
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 1034, in savepoint
self._commit(None)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 503, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 525, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/usr/lib/erp5/lib/python/ZODB/serialize.py", line 330, in serialize
return self._dump(meta, obj.__getstate__())
TypeError: Can't pickle objects in acquisition wrappers.
ERROR: test_03_submit_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
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/testERP5eGov.py", line 310, in test_03_submit_application
self.fillProcedureForm(procedure, 'vat declaration')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testERP5eGov.py", line 255, in fillProcedureForm
default_pdf_form=pdf_file_data)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 238, 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/Base.py", line 1723, in edit
reindex_object=reindex_object, restricted=1, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/ERP5Type.py", line 472, in _edit
result = XMLObject._edit(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
modified_object_list = _setProperty(key, kw[key])
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1464, in _setProperty
return method(value, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 96, in __call__
content_document.manage_upload(file = file_upload)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 470, in manage_upload
data, size = self._read_data(file)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 519, in _read_data
transaction.savepoint(optimistic=True)
File "/usr/lib/erp5/lib/python/transaction/_manager.py", line 90, in savepoint
return self.get().savepoint(optimistic)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 297, in savepoint
self._saveCommitishError() # reraises!
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 294, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 657, in __init__
savepoint = savepoint()
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 1034, in savepoint
self._commit(None)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 503, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 525, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/usr/lib/erp5/lib/python/ZODB/serialize.py", line 330, in serialize
return self._dump(meta, obj.__getstate__())
TypeError: Can't pickle objects in acquisition wrappers.
ERROR: test_05_process_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
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/testERP5eGov.py", line 343, in test_05_process_application
self.fillProcedureForm(procedure, 'vat declaration')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testERP5eGov.py", line 255, in fillProcedureForm
default_pdf_form=pdf_file_data)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 238, 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/Base.py", line 1723, in edit
reindex_object=reindex_object, restricted=1, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/ERP5Type.py", line 472, in _edit
result = XMLObject._edit(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1690, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1674, in setChangedPropertyList
modified_object_list = _setProperty(key, kw[key])
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Base.py", line 1464, in _setProperty
return method(value, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 96, in __call__
content_document.manage_upload(file = file_upload)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 470, in manage_upload
data, size = self._read_data(file)
File "/usr/lib/erp5/lib/python/OFS/Image.py", line 519, in _read_data
transaction.savepoint(optimistic=True)
File "/usr/lib/erp5/lib/python/transaction/_manager.py", line 90, in savepoint
return self.get().savepoint(optimistic)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 297, in savepoint
self._saveCommitishError() # reraises!
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 294, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 657, in __init__
savepoint = savepoint()
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 1034, in savepoint
self._commit(None)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 503, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 525, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/usr/lib/erp5/lib/python/ZODB/serialize.py", line 330, in serialize
return self._dump(meta, obj.__getstate__())
TypeError: Can't pickle objects in acquisition wrappers.
ERROR: test_08_OOoConversion (testFormPrintoutAsODT.TestFormPrintoutAsODT), test ooo conversion
----------------------------------------------------------------------
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/testFormPrintoutAsODT.py", line 1153, in test_08_OOoConversion
printout = foo_printout(REQUEST=self.portal.REQUEST)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/FormPrintout.py", line 226, in index_html
format, batch_mode)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/FormPrintout.py", line 282, in _oooConvertByFormat
tmp_ooo.convertToBaseFormat()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/mixin/base_convertable.py", line 62, in convertToBaseFormat
message = self._convertToBaseFormat() # Call implemetation method
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 438, in _convertToBaseFormat
raise ConversionError(
ConversionError: OOoDocument: Error converting document to base format 501::
FAIL: testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
----------------------------------------------------------------------
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/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.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/testInvalidationBug.py", line 169, in testLateInvalidationFromZEO
self.assertNoPendingMessage()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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'
FAIL: test_ooo_chart (testOOoChart.TestOOoChart)
----------------------------------------------------------------------
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/ERP5Form/tests/testOOoChart.py", line 189, in test_ooo_chart
self.assertEquals(HTTP_OK, response.getStatus(), '%s rendering failed: %s' % (image_format, response.getStatus()))
AssertionError: jpg rendering failed: 500
FAIL: test_proxy_ooo_chart (testOOoChart.TestOOoChart)
----------------------------------------------------------------------
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/ERP5Form/tests/testOOoChart.py", line 282, in test_proxy_ooo_chart
self.assertEquals(HTTP_OK, response.getStatus(), '%s rendering failed: %s' % (image_format, response.getStatus()))
AssertionError: jpg rendering failed: 500
ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/testOOoConversionCache.py", line 94, in test_01_PersistentCacheConversion
format_list = [format for format in document.getTargetFormatList() if format not in self.failed_format_list]
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 272, in getTargetFormatList
return map(lambda x: x[1], self.getTargetFormatItemList())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 178, in getTargetFormatItemList
raise NotConvertedError
NotConvertedError
ERROR: test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/testOOoConversionCache.py", line 128, in test_02_VolatileCacheConversionOfTempObject
document.uploadFile()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Base.py", line 221, in __call__
raise UnsupportedWorkflowMethod(instance, wf_id, transition_id)
UnsupportedWorkflowMethod: Transition processing_status_workflow/upload_file unsupported for <TempDocument at /erp5_portal_371d27d3cf41fe6a371bb96c91b0e1a7/portal_contributions/None>. Current state is 'conversion_failed'.
ERROR: test_03_CacheConversionOfTempObjectIsNotMixed (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/testOOoConversionCache.py", line 167, in test_03_CacheConversionOfTempObjectIsNotMixed
document1.uploadFile()
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Base.py", line 221, in __call__
raise UnsupportedWorkflowMethod(instance, wf_id, transition_id)
UnsupportedWorkflowMethod: Transition processing_status_workflow/upload_file unsupported for <TempDocument at /erp5_portal_371d27d3cf41fe6a371bb96c91b0e1a7/portal_contributions/None>. Current state is 'conversion_failed'.
ERROR: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/testOOoConversionCache.py", line 200, in test_04_PersistentCacheConversionWithFlare
format_list = [format for format in document.getTargetFormatList()\
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/mixin/cached_convertable.py", line 272, in getTargetFormatList
return map(lambda x: x[1], self.getTargetFormatItemList())
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 178, in getTargetFormatItemList
raise NotConvertedError
NotConvertedError
ERROR: test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/testOOoConversionCache.py", line 241, in test_05_checksum_conversion
document.convert(**kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 271, in _convert
raise NotConvertedError
NotConvertedError
ERROR: test_07_check_cache_key_is_escaped (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/testOOoConversionCache.py", line 300, in test_07_check_cache_key_is_escaped
document.convert(format='txt')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 271, in _convert
raise NotConvertedError
NotConvertedError
ERROR: test_08_check_conversion_cache_with_portal_document_type_list (testOOoConversionCache.TestDocumentConversionCache), Check cache conversion for all Portal Document Types
----------------------------------------------------------------------
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/testOOoConversionCache.py", line 329, in test_08_check_conversion_cache_with_portal_document_type_list
document.convert(format='txt')
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 271, in _convert
raise NotConvertedError
NotConvertedError
ERROR: 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 284, in testOpenOrderRule
calculation_base_date=DateTime(3000,2,9))
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Legacy/Document/OpenOrderRule.py", line 84, in expand
calculation_base_date=calculation_base_date,
TypeError: _getOrderDateScheduleTupleList() got multiple values for keyword argument 'calculation_base_date'
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 400, in testBuildingSaleOrder
self.assertEqual(len(open_sale_order.getCausalityRelatedValueList(portal_type='Sale Order')), 9)
AssertionError: 0 != 9
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_02_renderRSS (testRSS.TestRSS)
----------------------------------------------------------------------
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/ERP5/tests/testRSS.py", line 193, in test_02_renderRSS
self.assertEquals(getSubnodeContent(item, 'title'), 'Two')
AssertionError: u'One' != 'Two'
FAIL: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
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/ERP5/tests/testResource.py", line 697, in test_10_getPriceWithOptions
self.assertEquals(1, product.getPrice(context=supply_line))
AssertionError: 1 != 10.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.2/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_02_CheckPerformance (testSimulationPerformance.TestSimulationPerformance), Check the performance.
----------------------------------------------------------------------
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/testSimulationPerformance.py", line 795, in test_02_CheckPerformance
measurable=True)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testSimulationPerformance.py", line 265, in _checkSimulation
sequence.play(self)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, 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.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/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_configurationOfFieldLibrary (testXHTML.TestXHTML)
----------------------------------------------------------------------
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/testXHTML.py", line 205, in test_configurationOfFieldLibrary
self.fail(message)
AssertionError: 5 fields to modify
erp5_trade/InternalPackingList_view/listbox_quantity: Unproxify Field
erp5_trade/PurchasePackingList_view/listbox_quantity: Unproxify Field
erp5_trade/ReturnedPurchasePackingList_view/listbox_quantity: Unproxify Field
erp5_trade/ReturnedSalePackingList_view/listbox_quantity: Unproxify Field
erp5_trade/SalePackingList_view/listbox_quantity: Unproxify Field
FAIL: test_erp5_dms_PDF_PDF_viewHTMLPreviewAsThumbnailList (testXHTML.TestXHTML)
----------------------------------------------------------------------
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/testXHTML.py", line 456, in testMethod
bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "PDF_viewHTMLPreviewAsThumbnailList" (from erp5_dms bt) with warnings displayed :
Error: line 593 column 85 : general entity "display" not defined and no default entity
Error: line 593 column 92 : reference to entity "display" for which no system identifier could be generated
Error: line 593 column 103 : general entity "format" not defined and no default entity
Error: line 593 column 109 : reference to entity "format" for which no system identifier could be generated
Warning: line 593 column 85 : cannot generate system identifier for general entity "display"
Warning: line 593 column 92 : reference not terminated by REFC delimiter
Warning: line 593 column 103 : cannot generate system identifier for general entity "format"
Warning: line 593 column 109 : reference not terminated by REFC delimiter
More information about the Erp5-report
mailing list