[Erp5-report] ERP5_z212 r39040 : 3788 Tests, 34 Errors, 14 Failures, 57 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 13 10:16:12 CEST 2010


Test Suite: ERP5_z212
Revision: 39040
Result: FAIL

All tests: 3788
Failures: 14
Errors: 34
Skips: 57


The following tests failed:

  testBusinessTemplate                               (1 errors, 3 skips)
   test_global_action (testBusinessTemplate.TestBusinessTemplate)

  testDms                                            (1 failures, 2 errors, 2 skips)
   test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
   test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
   test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)

  testDmsWithFlare                                   (2 errors, 2 skips)
   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.

  testERP5Catalog                                    (1 failures, 4 skips)
   test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)

  testERP5Commerce                                   (17 errors)
   test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
   test_02_AddSameResourceToShoppingCart (testERP5Commerce.TestCommerce)
   test_03_AddDifferentResourceToShoppingCart (testERP5Commerce.TestCommerce)
   test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
   test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)
   test_06_TestClearShoppingCart (testERP5Commerce.TestCommerce)
   test_09_paymentRedirect (testERP5Commerce.TestCommerce)
   test_10_deleteShoppingCartItem (testERP5Commerce.TestCommerce)
   test_11_finalizeShopping (testERP5Commerce.TestCommerce)
   test_14_getSelectedShippingResource (testERP5Commerce.TestCommerce)
   test_16_simulatePaypalPayment (testERP5Commerce.TestCommerce)
   test_18_editShoppingCardWithABlankShippingMethod (testERP5Commerce.TestCommerce)
   test_19_editShoppingCardWithShippingMethodWithoutPrice (testERP5Commerce.TestCommerce)
   test_21_AddResourceToShoppingCartWithAnonymousUser (testERP5Commerce.TestCommerce)
   test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce)
   test_26_getShoppingCartDefaultCurrencyWithAnonymousUser (testERP5Commerce.TestCommerce)
   test_28_finalizeShoppingWithComment (testERP5Commerce.TestCommerce)

  testERP5Core                                       (1 failures)
   test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.

  testERP5Web                                        (2 failures, 1 errors, 2 skips)
   test_01_AccessWebPageByReference (testERP5Web.TestERP5WebWithSimpleSecurity)
   test_13_DocumentCache (testERP5Web.TestERP5Web)
   test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)

  testERP5WebWithDms                                 (2 failures)
   test_02_WebSectionAuthorizationForced (testERP5WebWithDms.TestERP5WebWithDms), Check that when a document is requested within a Web Section we have a chance to
   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)

  testInvalidationBug                                (2 failures)
   testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
   testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)

  testLiveIngestion                                  (5 errors)
   test_01_contributeTextFileWithFilenamefromUrl (testLiveIngestion.TestIngestion)
   test_02_contributeTextFileWithExplicitExtensionfromUrl (testLiveIngestion.TestIngestion)
   test_03_textFileWithExplicitExtensionWithoutContentTypefromUrl (testLiveIngestion.TestIngestion)
   test_04_contributeTextFileWithFilenameAndRedirectionfromUrl (testLiveIngestion.TestIngestion)
   test_05_contributeTextFileWithoutFilenameButHTMLContentType (testLiveIngestion.TestIngestion)

  testOOoConversionCache                             (1 errors)
   test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)

  testOpenOrder                                      (2 failures, 1 errors)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  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.

The following tests were at least partly skipped:

  testBase                                           (3 skips)
   test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (3 skips)

  testCRM                                            (1 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Discussion                                 (1 skips)

  testERP5Interfaces                                 (13 skips)

  testERP5Simulation                                 (5 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

  testFormPrintoutAsODT                              (1 skips)
   test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'

  testInventoryAPI                                   (2 skips)

  testMRP                                            (4 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testProxyField                                     (1 skips)

  testSQLCachedWorklist                              (1 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------

ERROR: test_global_action (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 6957, in test_global_action
    category='object_view')
TypeError: ActionProviderBase_addAction() got an unexpected keyword argument 'name'


ERROR: test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1408, in test_HTML_to_ODT_conversion_keep_enconding
    mime_type, pdf_data = web_page.convert('pdf')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 157, in _convert
    encoding=charset)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
    context, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
    result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/chain.py", line 47, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 49, in convert
    odt = doc.convertTo('odt')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 205, in convertTo
    data = self.includeImageList(data)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 82, in includeImageList
    content = builder.extract('content.xml')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/OOoUtils.py", line 123, in extract
    zf = ZipFile(self._document, mode='r', compression=ZIP_DEFLATED)
  File "/usr/lib64/python2.6/zipfile.py", line 693, in __init__
    self._GetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 713, in _GetContents
    self._RealGetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 725, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file


ERROR: test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1447, in test_HTML_to_ODT_conversion_keep_related_image_list
    mime_type, odt_archive = web_page.convert('odt')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 157, in _convert
    encoding=charset)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
    context, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
    result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 49, in convert
    odt = doc.convertTo('odt')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 205, in convertTo
    data = self.includeImageList(data)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 82, in includeImageList
    content = builder.extract('content.xml')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/OOoUtils.py", line 123, in extract
    zf = ZipFile(self._document, mode='r', compression=ZIP_DEFLATED)
  File "/usr/lib64/python2.6/zipfile.py", line 693, in __init__
    self._GetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 713, in _GetContents
    self._RealGetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 725, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file


FAIL: test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 2324, in test_01_LargeOOoDocumentToImageConversion
    self.assertTrue(req_time < 30.0)
AssertionError


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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1408, in test_HTML_to_ODT_conversion_keep_enconding
    mime_type, pdf_data = web_page.convert('pdf')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 157, in _convert
    encoding=charset)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
    context, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
    result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/chain.py", line 47, in convert
    data = transform.convert(orig, data, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 49, in convert
    odt = doc.convertTo('odt')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 205, in convertTo
    data = self.includeImageList(data)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 82, in includeImageList
    content = builder.extract('content.xml')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/OOoUtils.py", line 123, in extract
    zf = ZipFile(self._document, mode='r', compression=ZIP_DEFLATED)
  File "/usr/lib64/python2.6/zipfile.py", line 693, in __init__
    self._GetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 713, in _GetContents
    self._RealGetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 725, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file


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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1447, in test_HTML_to_ODT_conversion_keep_related_image_list
    mime_type, odt_archive = web_page.convert('odt')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 157, in _convert
    encoding=charset)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
    context, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
    result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
    return self._v_transform.convert(*args, **kwargs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 49, in convert
    odt = doc.convertTo('odt')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 205, in convertTo
    data = self.includeImageList(data)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 82, in includeImageList
    content = builder.extract('content.xml')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/OOoUtils.py", line 123, in extract
    zf = ZipFile(self._document, mode='r', compression=ZIP_DEFLATED)
  File "/usr/lib64/python2.6/zipfile.py", line 693, in __init__
    self._GetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 713, in _GetContents
    self._RealGetContents()
  File "/usr/lib64/python2.6/zipfile.py", line 725, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file


FAIL: test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/tests/testERP5Catalog.py", line 1742, in test_48bis_ERP5Site_hotReindexAllCheckCachedValues
    self.assertTrue('dummy.dummy_title' in portal_catalog.getSQLCatalog().getColumnMap())
AssertionError


ERROR: test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 366, in test_01_AddResourceToShoppingCart
    self.website.Resource_addToShoppingCart(default_product, 1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_02_AddSameResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 383, in test_02_AddSameResourceToShoppingCart
    self.website.Resource_addToShoppingCart(default_product, 1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_03_AddDifferentResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 401, in test_03_AddDifferentResourceToShoppingCart
    self.website.Resource_addToShoppingCart(default_product, 1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 419, in test_04_CalculateTotaShoppingCartPrice
    self.website.Resource_addToShoppingCart(default_product, 1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 460, in test_05_TestUpdateShoppingCart
    self.website.Resource_addToShoppingCart(default_product, quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_06_TestClearShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 503, in test_06_TestClearShoppingCart
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_09_paymentRedirect (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 540, in test_09_paymentRedirect
    self.website.Resource_addToShoppingCart(default_product, quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_10_deleteShoppingCartItem (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 563, in test_10_deleteShoppingCartItem
    self.website.Resource_addToShoppingCart(default_product, quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_11_finalizeShopping (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 593, in test_11_finalizeShopping
    quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_14_getSelectedShippingResource (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 647, in test_14_getSelectedShippingResource
    self.website.Resource_addToShoppingCart(default_product, 1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_16_simulatePaypalPayment (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 707, in test_16_simulatePaypalPayment
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_18_editShoppingCardWithABlankShippingMethod (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 770, in test_18_editShoppingCardWithABlankShippingMethod
    self.website.Resource_addToShoppingCart(default_product, 1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_19_editShoppingCardWithShippingMethodWithoutPrice (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 791, in test_19_editShoppingCardWithShippingMethodWithoutPrice
    self.website.Resource_addToShoppingCart(default_product, 1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


ERROR: test_21_AddResourceToShoppingCartWithAnonymousUser (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 818, in test_21_AddResourceToShoppingCartWithAnonymousUser
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 30, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 28, in SaleOrder_getShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 4, in WebSite_getShoppingCartDefaultCurrency
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 195, in __getattr__
    return guarded_getattr(self._wrapped, name, default)
Unauthorized: You are not allowed to access 'getWebSiteValue' in this context


ERROR: test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 830, in test_22_createShoppingCartWithAnonymousAndLogin
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 30, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 28, in SaleOrder_getShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 4, in WebSite_getShoppingCartDefaultCurrency
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 195, in __getattr__
    return guarded_getattr(self._wrapped, name, default)
Unauthorized: You are not allowed to access 'getWebSiteValue' in this context


ERROR: test_26_getShoppingCartDefaultCurrencyWithAnonymousUser (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 899, in test_26_getShoppingCartDefaultCurrencyWithAnonymousUser
    self.website.WebSite_getShoppingCartDefaultCurrency())
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 4, in WebSite_getShoppingCartDefaultCurrency
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 195, in __getattr__
    return guarded_getattr(self._wrapped, name, default)
Unauthorized: You are not allowed to access 'getWebSiteValue' in this context


ERROR: test_28_finalizeShoppingWithComment (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 924, in test_28_finalizeShoppingWithComment
    quantity=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1261, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 460, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 152, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Sale Order Line


FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Core.py", line 304, in test_view_tools
    "%s: %s" % (tool, response.getStatus()))
AssertionError: portal_categories: 503


ERROR: test_01_AccessWebPageByReference (testERP5Web.TestERP5WebWithSimpleSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 1379, in test_01_AccessWebPageByReference
    target = self.portal.restrictedTraverse('web_site_module/site/section/my-first-web-page')
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/Traversable.py", line 245, in unrestrictedTraverse
    next = guarded_getattr(obj, name)
Unauthorized: You are not allowed to access 'web_site_module' in this context


FAIL: test_13_DocumentCache (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 888, in test_13_DocumentCache
    self.assertTrue(web_document.hasConversion(format='txt'))
AssertionError


FAIL: test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 1007, in test_13b_DocumentEditCacheKey
    self.assertTrue(web_document.hasConversion(format='txt'))
AssertionError


FAIL: test_02_WebSectionAuthorizationForced (testERP5WebWithDms.TestERP5WebWithDms), Check that when a document is requested within a Web Section we have a chance to
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5WebWithDms.py", line 268, in test_02_WebSectionAuthorizationForced
    self.assertEqual('404 Not Found',  request.RESPONSE.getHeader('status'))
AssertionError: '404 Not Found' != '200 OK'


FAIL: test_07_TestDocumentViewBehaviour (testERP5WebWithDms.TestERP5WebWithDms), All Documents shared the same downloading behaviour
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5WebWithDms.py", line 525, 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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 539, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


ERROR: test_02_application_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 539, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


ERROR: test_03_submit_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 539, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


ERROR: test_05_process_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 539, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
    self.portal.EGov_setUpInstance()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
    message_list.append(setUpEGovSecurityManager(self))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
    erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager


FAIL: testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvalidationBug.py", line 104, in testLateInvalidationFromZEO
    "this unit test must be run with at least 2 ZEO clients"
AssertionError: this unit test must be run with at least 2 ZEO clients


ERROR: test_01_contributeTextFileWithFilenamefromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
    return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'


ERROR: test_02_contributeTextFileWithExplicitExtensionfromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
    return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'


ERROR: test_03_textFileWithExplicitExtensionWithoutContentTypefromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
    return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'


ERROR: test_04_contributeTextFileWithFilenameAndRedirectionfromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
    return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'


ERROR: test_05_contributeTextFileWithoutFilenameButHTMLContentType (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
    return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'


ERROR: test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoConversionCache.py", line 151, in test_02_VolatileCacheConversionOfTempObject
    document.convert(format=format)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/document.py", line 70, in convert
    result = self._convert(format, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 333, in _convert
    mime, data = self._getConversionFromProxyServer(format)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 253, in _getConversionFromProxyServer
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'


ERROR: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testOpenOrder.py", line 284, in testOpenOrderRule
    calculation_base_date=DateTime(3000,2,9))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Legacy/Document/OpenOrderRule.py", line 85, in expand
    **kw)
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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testOpenOrder.py", line 194, in testPeriodicityDateList
    (D(2008,11,1,0,1), DateTime(2008,11,30)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29 00:00:00 GMT+1')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31 00:00:00 GMT+2')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30 00:00:00 GMT+2')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31 00:00:00 GMT+2')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30 00:00:00 GMT+2')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31 00:00:00 GMT+2')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31 00:00:00 GMT+2')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30 00:00:00 GMT+2')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31 00:00:00 GMT+1')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30 00:00:00 GMT+1'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29 00:00:00 GMT+1')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31 00:00:00 GMT+2')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30 00:00:00 GMT+2')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31 00:00:00 GMT+2')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30 00:00:00 GMT+2')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31 00:00:00 GMT+2')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31 00:00:00 GMT+2')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30 00:00:00 GMT+2')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31 00:00:00 GMT+1')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30 00:00:00 GMT+1'))]


FAIL: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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_z212/build/parts/products-erp5/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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testSimulationPerformance.py", line 795, in test_02_CheckPerformance
    measurable=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testSimulationPerformance.py", line 265, in _checkSimulation
    sequence.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    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_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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


More information about the Erp5-report mailing list