[Erp5-report] ERP5 r38922 : 3776 Tests, 31 Errors, 12 Failures, 56 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 6 16:56:34 CEST 2010


Test Suite: ERP5
Revision: 38922
Result: FAIL

All tests: 3776
Failures: 12
Errors: 31
Skips: 56


The following tests failed:

  testAccounting                                     (1 errors)
   test_UneededDestinationAssetPrice (testAccounting.TestTransactionValidation)

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

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

  testERP5Commerce                                   (16 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_28_finalizeShoppingWithComment (testERP5Commerce.TestCommerce)

  testERP5Web                                        (2 failures, 2 skips)
   test_13_DocumentCache (testERP5Web.TestERP5Web)
   test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)

  testERP5WebWithDms                                 (1 failures)
   test_02_WebSectionAuthorizationForced (testERP5WebWithDms.TestERP5WebWithDms), Check that when a document is requested within a Web Section we have a chance to

  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)

  testIngestion                                      (1 errors)
   test_05_FormatIngestionFile (testIngestion.TestIngestion)

  testIngestionWithFlare                             (1 errors)
   test_05_FormatIngestionFile (testIngestionWithFlare.TestIngestionWithFlare)

  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 failures, 1 errors)
   test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
   test_04_PersistentCacheConversionWithFlare (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)

  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)

The following tests have an unknown status:
'Products/ERP5Type/tests/runUnitTest.py' '--verbose' '--erp5_sql_connection_string' 'test4 test' 'testMigration'
-------------- next part --------------

ERROR: test_UneededDestinationAssetPrice (testAccounting.TestTransactionValidation)
----------------------------------------------------------------------
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/testAccounting.py", line 844, in test_UneededDestinationAssetPrice
    doActionFor(accounting_transaction, 'stop_action')
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 340, in DCWorkflowDefinition_executeTransition
    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 1260, 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 16, in validateTransactionLines
  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 1260, 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 18, in validateTransaction
  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 1260, 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 14, in Base_checkConsistency
ValidationFailed: [<ERP5Type.Message.Message for 'Date must be defined'>]


ERROR: test_global_action (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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/testBusinessTemplate.py", line 6926, in test_global_action
    category='object_view')
TypeError: ActionProviderBase_addAction() got an unexpected keyword argument 'name'


FAIL: test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
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/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.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/testERP5Commerce.py", line 366, in test_01_AddResourceToShoppingCart
    self.website.Resource_addToShoppingCart(default_product, 1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 383, in test_02_AddSameResourceToShoppingCart
    self.website.Resource_addToShoppingCart(default_product, 1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 401, in test_03_AddDifferentResourceToShoppingCart
    self.website.Resource_addToShoppingCart(default_product, 1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 419, in test_04_CalculateTotaShoppingCartPrice
    self.website.Resource_addToShoppingCart(default_product, 1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 460, in test_05_TestUpdateShoppingCart
    self.website.Resource_addToShoppingCart(default_product, quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 503, in test_06_TestClearShoppingCart
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 540, in test_09_paymentRedirect
    self.website.Resource_addToShoppingCart(default_product, quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 563, in test_10_deleteShoppingCartItem
    self.website.Resource_addToShoppingCart(default_product, quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 593, in test_11_finalizeShopping
    quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 647, in test_14_getSelectedShippingResource
    self.website.Resource_addToShoppingCart(default_product, 1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 707, in test_16_simulatePaypalPayment
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 770, in test_18_editShoppingCardWithABlankShippingMethod
    self.website.Resource_addToShoppingCart(default_product, 1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 791, in test_19_editShoppingCardWithShippingMethodWithoutPrice
    self.website.Resource_addToShoppingCart(default_product, 1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.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/testERP5Commerce.py", line 818, in test_21_AddResourceToShoppingCartWithAnonymousUser
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 830, in test_22_createShoppingCartWithAnonymousAndLogin
    self.createShoppingCartWithProductListAndShipping()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 339, in createShoppingCartWithProductListAndShipping
    quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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_28_finalizeShoppingWithComment (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 924, in test_28_finalizeShoppingWithComment
    quantity=1)
  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.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, 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 48, in Resource_addToShoppingCart
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Core/Folder.py", line 459, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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_13_DocumentCache (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
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/testERP5Web.py", line 887, 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.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/testERP5Web.py", line 1006, 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.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/testERP5WebWithDms.py", line 267, in test_02_WebSectionAuthorizationForced
    self.assertEqual('404 Not Found',  request.RESPONSE.getHeader('status'))
AssertionError: '404 Not Found' != '200 OK'


ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
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/testERP5eGov.py", line 266, in test_01_new_procedure_creation
    self.fillProcedureForm(procedure, 'vat declaration')
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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.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/ERP5Type/Base.py", line 1711, in edit
    reindex_object=reindex_object, restricted=1, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/ERP5Type.py", line 490, in _edit
    result = XMLObject._edit(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 1678, 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 1662, 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 1452, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 97, 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.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/testERP5eGov.py", line 285, in test_02_application_creation
    self.fillProcedureForm(procedure, 'vat declaration')
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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.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/ERP5Type/Base.py", line 1711, in edit
    reindex_object=reindex_object, restricted=1, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/ERP5Type.py", line 490, in _edit
    result = XMLObject._edit(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 1678, 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 1662, 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 1452, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 97, 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.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/testERP5eGov.py", line 310, in test_03_submit_application
    self.fillProcedureForm(procedure, 'vat declaration')
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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.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/ERP5Type/Base.py", line 1711, in edit
    reindex_object=reindex_object, restricted=1, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/ERP5Type.py", line 490, in _edit
    result = XMLObject._edit(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 1678, 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 1662, 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 1452, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 97, 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.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/testERP5eGov.py", line 343, in test_05_process_application
    self.fillProcedureForm(procedure, 'vat declaration')
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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.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/ERP5Type/Base.py", line 1711, in edit
    reindex_object=reindex_object, restricted=1, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/ERP5Type.py", line 490, in _edit
    result = XMLObject._edit(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 1678, 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 1662, 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 1452, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 97, 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_FormatIngestionFile (testIngestion.TestIngestion)
----------------------------------------------------------------------
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/testIngestion.py", line 1133, in test_05_FormatIngestionFile
    self.playSequence(step_list)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 907, in playSequence
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
      CreateFileDocument
    > IngestFileFormats
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 735, in stepIngestFileFormats
    self.ingestFormatList('file', format_list)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 281, in ingestFormatList
    document.SearchableText()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 3207, in getSearchableText
    method_value = method()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/mixin/text_convertable.py", line 49, in asText
    mime, data = self.convert(format='txt', **kw)
  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 278, in _convert
    return temp_document.convert(format=format, **kw)
  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 159, in _convert
    raise ConversionError('TextDocument conversion error. '
ConversionError: TextDocument conversion error. portal_transforms failed to convert to text/plain: <TempDocument at /erp5_portal_5ce6393d7e557173bcbe3da5f2bf3e21/document_module/file/temp_file>


ERROR: test_05_FormatIngestionFile (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
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/testIngestion.py", line 1133, in test_05_FormatIngestionFile
    self.playSequence(step_list)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 907, in playSequence
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/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.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
      CreateFileDocument
    > IngestFileFormats
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 735, in stepIngestFileFormats
    self.ingestFormatList('file', format_list)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 281, in ingestFormatList
    document.SearchableText()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Base.py", line 3207, in getSearchableText
    method_value = method()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/mixin/text_convertable.py", line 49, in asText
    mime, data = self.convert(format='txt', **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/ERP5/Document/File.py", line 278, in _convert
    return temp_document.convert(format=format, **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/ERP5/Document/TextDocument.py", line 159, in _convert
    raise ConversionError('TextDocument conversion error. '
ConversionError: TextDocument conversion error. portal_transforms failed to convert to text/plain: <TempDocument at /erp5_portal_893f084273ed0abd34e094d47b411190/document_module/file/temp_file>


FAIL: testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
----------------------------------------------------------------------
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/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.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/testInvalidationBug.py", line 169, in testLateInvalidationFromZEO
    self.assertNoPendingMessage()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/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'



ERROR: test_01_contributeTextFileWithFilenamefromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/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.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
    self.app = self._app()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
    return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'

Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test' loaded ... 
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/Products/ERP5Type/tests/runUnitTest.py", line 738, in ?
    sys.exit(main())
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/Products/ERP5Type/tests/runUnitTest.py", line 722, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/Products/ERP5Type/tests/runUnitTest.py", line 527, in runUnitTestList
    suite = ERP5TypeTestLoader().loadTestsFromNames(test_list)
  File "/usr/lib64/python2.4/unittest.py", line 556, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/Products/ERP5Type/tests/runUnitTest.py", line 300, in loadTestsFromName
    return super(ERP5TypeTestLoader, self).loadTestsFromName(name, module)
  File "/usr/lib64/python2.4/unittest.py", line 524, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/Products/ERP5Type/tests/testMigration.py", line 10
    class TestNewStyleClasses(ERP5TypeTestCase):
        ^
SyntaxError: invalid syntax

ERROR: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 984, in tearDown
    PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 159, in beforeTearDown
    assert not activity_status
AssertionError


FAIL: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.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/testOOoConversionCache.py", line 215, in test_04_PersistentCacheConversionWithFlare
    'Cache Storage failed for %s' % (format))
AssertionError: Cache Storage failed for txt


ERROR: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
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/testOpenOrder.py", line 284, in testOpenOrderRule
    calculation_base_date=DateTime(3000,2,9))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/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.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/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.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/testOpenOrder.py", line 185, in testPeriodicityDateList
    [(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]


FAIL: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.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/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.5/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
    self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}


FAIL: test_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


More information about the Erp5-report mailing list