[Erp5-report] ERP5_z212 r35517 : 3547 Tests, 85 Errors, 20 Failures, 43 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sat May 22 18:53:33 CEST 2010


Test Suite: ERP5_z212
Revision: 35517
Result: FAIL

All tests: 3547
Failures: 20
Errors: 85
Skips: 43


The following tests failed:

  testAdvancedInvoicing                              (1 failures)
   test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)

  testBusinessTemplate                               (9 failures, 51 errors, 2 skips)
   test_03_BusinessTemplateWithSkins (testBusinessTemplate.TestBusinessTemplate)
   test_041_BusinessTemplateWithWorkflowRemoved (testBusinessTemplate.TestBusinessTemplate)
   test_042_BusinessTemplateWithWorkflowRemoved (testBusinessTemplate.TestBusinessTemplate)
   test_043_BusinessTemplateWithWorkflowChainRemoved (testBusinessTemplate.TestBusinessTemplate)
   test_04_BusinessTemplateWithWorkflow (testBusinessTemplate.TestBusinessTemplate)
   test_05_BusinessTemplateWithModule (testBusinessTemplate.TestBusinessTemplate)
   test_06_BusinessTemplateWithBaseCategory (testBusinessTemplate.TestBusinessTemplate)
   test_07_BusinessTemplateWithEmptyAction (testBusinessTemplate.TestBusinessTemplate)
   test_07_BusinessTemplateWithOneAction (testBusinessTemplate.TestBusinessTemplate)
   test_08_BusinessTemplateWithTwoActions (testBusinessTemplate.TestBusinessTemplate)
   test_091_BusinessTemplateDoNotUnindexObject (testBusinessTemplate.TestBusinessTemplate)
   test_11_BusinessTemplateWithPathAndJoker2 (testBusinessTemplate.TestBusinessTemplate)
   test_122_BusinessTemplateWithRemoveCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
   test_12_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
   test_14_BusinessTemplateWithLocalRoles (testBusinessTemplate.TestBusinessTemplate)
   test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
   test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
   test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
   test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
   test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
   test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
   test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
   test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
   test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
   test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
   test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
   test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
   test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
   test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
   test_31_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
   test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
   test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
   test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
   test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
   test_34_RemovePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
   test_34_RemovePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
   test_34_UpgradeForm (testBusinessTemplate.TestBusinessTemplate)
   test_34_UpgradeForm (testBusinessTemplate.TestBusinessTemplate)
   test_34_UpgradeFormAttribute (testBusinessTemplate.TestBusinessTemplate)
   test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
   test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
   test_37_UpdatePortalType (testBusinessTemplate.TestBusinessTemplate)
   test_37_UpdatePortalType (testBusinessTemplate.TestBusinessTemplate)
   test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
   test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
   test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
   test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
   test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
   test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
   test_global_action (testBusinessTemplate.TestBusinessTemplate)
   test_global_action (testBusinessTemplate.TestBusinessTemplate)
   test_02_BusinessTemplateWithPortalTypes (testBusinessTemplate.TestBusinessTemplate)
   test_08_BusinessTemplateWithTwoActions (testBusinessTemplate.TestBusinessTemplate)
   test_091_BusinessTemplateDoNotUnindexObject (testBusinessTemplate.TestBusinessTemplate)
   test_10_BusinessTemplateWithPathAndJoker1 (testBusinessTemplate.TestBusinessTemplate)
   test_11_BusinessTemplateWithPathAndJoker2 (testBusinessTemplate.TestBusinessTemplate)
   test_121_BusinessTemplateWithUpdateOfCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
   test_14_BusinessTemplateWithLocalRoles (testBusinessTemplate.TestBusinessTemplate)
   test_155_BusinessTemplateUpdateWithPropertySheet (testBusinessTemplate.TestBusinessTemplate)
   test_163_UpdateSkinFolderWithRegisteredSkinSelection (testBusinessTemplate.TestBusinessTemplate)

  testDms                                            (2 failures)
   test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
   test_parallel_conversion (testDms.TestDocument), Check that conversion engine is able to fill in

  testDmsWithFlare                                   (1 failures)
   test_PDFDocument_asTextConversion (testDmsWithFlare.TestDocumentWithFlare), Test a PDF document with embedded images

  testERP5DocumentSyncML                             (1 failures)
   test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Simulation                                 (2 failures, 5 skips)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
   test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)

  testIngestionWithFlare                             (3 errors)
   test_05_FormatIngestionImage (testIngestionWithFlare.TestIngestionWithFlare)
   test_05_FormatIngestionPDF (testIngestionWithFlare.TestIngestionWithFlare)
   test_06_FormatGenerationPdf (testIngestionWithFlare.TestIngestionWithFlare)

  testOOoConversionCache                             (1 errors)
   test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)

  testOOoImport                                      (30 errors)
   test_01_ImportFileLine (testOOoImport.TestOOoImport)
   test_02_ImportFileBlankLine (testOOoImport.TestOOoImport)
   test_03_ImportNoMapping (testOOoImport.TestOOoImport)
   test_04_ImportFileWithCategory (testOOoImport.TestOOoImport)
   test_05_ImportOrganisation (testOOoImport.TestOOoImport)
   test_06_AuthorImportFile (testOOoImport.TestOOoImport)
   test_07_ImportFileWithFreeText (testOOoImport.TestOOoImport)
   test_08_ImportFileWithAccentuatedText (testOOoImport.TestOOoImport)
   test_09_ImportXLSFile (testOOoImport.TestOOoImport)
   test_10_ImportFileWithDates (testOOoImport.TestOOoImport)
   test_11_ImportFloatAndPercentage (testOOoImport.TestOOoImport)
   test_12_ImportBigFile_1 (testOOoImport.TestOOoImport)
   test_Base_getCategoriesSpreadSheetMapping (testOOoImport.TestOOoImport)
   test_Base_getCategoriesSpreadSheetMapping_DuplicateIdsAtSameLevel (testOOoImport.TestOOoImport)
   test_Base_getCategoriesSpreadSheetMapping_Id_is_reserved_property_name (testOOoImport.TestOOoImport)
   test_Base_getCategoriesSpreadSheetMapping_MultiplePaths (testOOoImport.TestOOoImport)
   test_Base_getCategoriesSpreadSheetMapping_WrongHierarchy (testOOoImport.TestOOoImport)
   test_BigSpreadSheet_can_be_parsed (testOOoImport.TestOOoImport), Test than OOoimport can parse a file with more than 40000 lines
   test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFileDeletionSupport (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFileExpirationSupport (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFile_DuplicateIds (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFile_PathStars (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFile_PathStars_noID (testOOoImport.TestOOoImport)
   test_getSpreadSheetMapping (testOOoImport.TestOOoImport)
   test_getSpreadSheetMappingDataTypes (testOOoImport.TestOOoImport)
   test_getSpreadSheetMappingStyle (testOOoImport.TestOOoImport)
   test_openFromString (testOOoImport.TestOOoImport)
   test_CategoryTool_importCategoryFileExpirationSupport (testOOoImport.TestOOoImportWeb), Import category file with expiration request, and do it again to be

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testSerializeForm                                  (1 failures)
   test checking if the field values are of the proper type.

  testTemplate                                       (2 failures)
   test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation

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                               (2 skips)

  testCMFActivity                                    (1 skips)

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

  testERP5Interfaces                                 (13 skips)

  testERP5Simulation                                 (5 skips)

  testERP5TypeInterfaces                             (1 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'

  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'

  testTranslation                                    (1 skips)


Attached traceback has been truncated to the first 5000 lines
-------------- next part --------------

FAIL: test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
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/testAdvancedInvoicing.py", line 908, in test_09_Reference
    self.assertEquals('1', invoice.getReference())
AssertionError: '1' != '4'


ERROR: test_03_BusinessTemplateWithSkins (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_041_BusinessTemplateWithWorkflowRemoved (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_042_BusinessTemplateWithWorkflowRemoved (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_043_BusinessTemplateWithWorkflowChainRemoved (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_04_BusinessTemplateWithWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_05_BusinessTemplateWithModule (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_06_BusinessTemplateWithBaseCategory (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_07_BusinessTemplateWithEmptyAction (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_07_BusinessTemplateWithOneAction (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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 537, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 61, in setUp
    self._setup()
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 77, in _setup
    self._setupUser()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 383, in _setupUser
    if not uf.getUser(user_name):
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 208, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 734, in _findUser
    , plugins=plugins )
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 667, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 207, in __call__
    *args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 115, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Security/ERP5GroupManager.py", line 126, in _getGroupsForPrincipal
    portal_type="Person", reference=user_name)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2323, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 2318, in queryResults
    return sql_method(src__=src__, **sql_kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZMySQLDA/db.py", line 429, in _query
    raise exception
ProgrammingError: (1146, "Table 'test.catalog' doesn't exist")


ERROR: test_08_BusinessTemplateWithTwoActions (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 3480, in test_08_BusinessTemplateWithTwoActions
    sequence_list.play(self, quiet=quiet)
  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)
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 915, in process_timer
    self.tic(processing_node_list.index(currentNode)+1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 66, in tic
    self._orig_tic(processing_node, force)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 979, in tic
    activity.tic(inner_self, processing_node) # Transaction processing is the responsability of the activity
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/Queue.py", line 143, in tic
    if self.dequeueMessage(activity_tool, processing_node):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLDict.py", line 388, in dequeueMessage
    get_transaction().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 429, in _commitResources
    self.log.critical("A storage error occurred during the second "
  File "/usr/lib64/python2.6/logging/__init__.py", line 1092, in critical
    self._log(CRITICAL, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: txn.47249230766720(CRITICAL): A storage error occurred during the second phase of the two-phase commit.  Resources may be in an inconsistent state.



ERROR: test_091_BusinessTemplateDoNotUnindexObject (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 3554, in test_091_BusinessTemplateDoNotUnindexObject
    sequence_list.play(self, quiet=quiet)
  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)
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 915, in process_timer
    self.tic(processing_node_list.index(currentNode)+1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 66, in tic
    self._orig_tic(processing_node, force)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 979, in tic
    activity.tic(inner_self, processing_node) # Transaction processing is the responsability of the activity
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/Queue.py", line 143, in tic
    if self.dequeueMessage(activity_tool, processing_node):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLDict.py", line 388, in dequeueMessage
    get_transaction().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 429, in _commitResources
    self.log.critical("A storage error occurred during the second "
  File "/usr/lib64/python2.6/logging/__init__.py", line 1092, in critical
    self._log(CRITICAL, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: txn.47249230766720(CRITICAL): A storage error occurred during the second phase of the two-phase commit.  Resources may be in an inconsistent state.



ERROR: test_11_BusinessTemplateWithPathAndJoker2 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 163, in beforeTearDown
    self.getTemplateTool().manage_delObjects([business_template.getId()])
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/CopySupport.py", line 215, in manage_delObjects
    return ObjectManager.manage_delObjects(self, ids, REQUEST)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 542, in manage_delObjects
    self._delObject(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 1498, in _delObject
    object.manage_beforeDelete(object, self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/CopySupport.py", line 338, in manage_beforeDelete
    self.unindexObject()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/CopySupport.py", line 362, in unindexObject
    self.flushActivity(invoke=0)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActiveObject.py", line 133, in flushActivity
    activity_tool.flush(self, invoke=invoke, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 1076, in flush
    activity.flush(aq_inner(self), object_path, invoke=invoke, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLQueue.py", line 322, in flush
    result = readMessageList(path=path, method_id=method_id, processing_node=None, to_date=None, include_processing=0)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 225, in DA__call__
    LOG("DA call raise", ERROR, "DB = %s, c = %s, query = %s" %(DB__, c, query), error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: DA call raise(ERROR): DB = <Products.ZMySQLDA.db.ThreadedDB instance at 0x8bfdcf8>, c = cmf_activity_sql_connection, query = SELECT * FROM
    message_queue
WHERE
1 = 1
 AND processing = 0 AND path = '/erp5_portal_5052d51039b979b3e050891c12342c2c/portal_templates/imported_14'ORDER BY
    priority, date, uid
LIMIT 0, 1000



ERROR: test_122_BusinessTemplateWithRemoveCatalogMethod (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 3929, in test_122_BusinessTemplateWithRemoveCatalogMethod
    sequence_list.play(self, quiet=quiet)
  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:
    > CreateCatalogMethod
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      SaveBusinessTemplate
      CheckNotInstalledInstallationState
      RemoveCatalogMethod
      RemoveBusinessTemplate
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckBuiltBuildingState
      CheckInstalledInstallationState
      CheckCatalogMethodExists
      CopyBusinessTemplate
      Tic
      RemoveCatalogMethodToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      SaveBusinessTemplate
      ImportBusinessTemplate
      Tic
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallWithoutForceBusinessTemplate
      CheckBuiltBuildingState
      CheckInstalledInstallationState
      Tic
      CheckCatalogMethodRemoved
  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/testBusinessTemplate.py", line 1477, in stepCreateCatalogMethod
    arguments='', template='')
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ZSQLMethods/SQL.py", line 70, in manage_addZSQLMethod
    self._setObject(id, SQL(id, title, connection_id, arguments, template))
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "z_fake_method" is invalid - it is already in use.


ERROR: test_12_BusinessTemplateWithCatalogMethod (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 3798, in test_12_BusinessTemplateWithCatalogMethod
    sequence_list.play(self, quiet=quiet)
  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:
    > CreateCatalogMethod
      CreateKeysAndTable
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveBusinessTemplate
      RemoveAllTrashBins
      Tic
      CheckKeysAndTableRemoved
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckCatalogMethodExists
      CheckKeysAndTableExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckKeysAndTableRemoved
      CheckCatalogMethodRemoved
  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/testBusinessTemplate.py", line 1477, in stepCreateCatalogMethod
    arguments='', template='')
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ZSQLMethods/SQL.py", line 70, in manage_addZSQLMethod
    self._setObject(id, SQL(id, title, connection_id, arguments, template))
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "z_fake_method" is invalid - it is already in use.


ERROR: test_14_BusinessTemplateWithLocalRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 4023, in test_14_BusinessTemplateWithLocalRoles
    sequence_list.play(self, quiet=quiet)
  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)
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 915, in process_timer
    self.tic(processing_node_list.index(currentNode)+1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 66, in tic
    self._orig_tic(processing_node, force)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 979, in tic
    activity.tic(inner_self, processing_node) # Transaction processing is the responsability of the activity
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/Queue.py", line 143, in tic
    if self.dequeueMessage(activity_tool, processing_node):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLDict.py", line 388, in dequeueMessage
    get_transaction().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 429, in _commitResources
    self.log.critical("A storage error occurred during the second "
  File "/usr/lib64/python2.6/logging/__init__.py", line 1092, in critical
    self._log(CRITICAL, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: txn.47249230766720(CRITICAL): A storage error occurred during the second phase of the two-phase commit.  Resources may be in an inconsistent state.



ERROR: test_167_InstanceAndRelatedClassDefinedInSameBT (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 6362, in test_167_InstanceAndRelatedClassDefinedInSameBT
    bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 6362, in test_167_InstanceAndRelatedClassDefinedInSameBT
    bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_16_BusinessTemplateWithAllItems (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 4343, in test_16_BusinessTemplateWithAllItems
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateModuleAndObjects
      CreateSkinFolder
      CreateBaseCategory
      CreateCategories
      CreateSubCategories
      CreateWorkflow
      CreateFirstAction
      CreateSecondAction
    > CreateCatalogMethod
      CreateKeysAndTable
      CreateRole
      CreateLocalRoles
      CreatePropertySheet
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      AddModuleToBusinessTemplate
      AddSkinFolderToBusinessTemplate
      AddBaseCategoryToBusinessTemplate
      AddSubCategoriesAsPathToBusinessTemplate
      AddWorkflowToBusinessTemplate
      AddWorkflowChainToBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      AddRoleToBusinessTemplate
      AddLocalRolesToBusinessTemplate
      AddPropertySheetToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemovePortalType
      RemoveModule
      RemoveSkinFolder
      RemoveBaseCategory
      RemoveWorkflow
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveRole
      RemovePropertySheet
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckPortalTypeExists
      CheckModuleExists
      CheckSkinFolderExists
      CheckBaseCategoryExists
      CheckCategoriesExists
      CheckSubCategoriesExists
      CheckWorkflowExists
      CheckFirstActionExists
      CheckSecondActionExists
      CheckCatalogMethodExists
      CheckKeysAndTableExists
      CheckRoleExists
      CheckLocalRolesExists
      CheckPropertySheetExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckPortalTypeRemoved
      CheckModuleRemoved
      CheckSkinFolderRemoved
      CheckBaseCategoryRemoved
      CheckWorkflowRemoved
      CheckCatalogMethodRemoved
      CheckKeysAndTableRemoved
      CheckRoleRemoved
      CheckPropertySheetRemoved
      CheckSkinsLayers
  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/testBusinessTemplate.py", line 1477, in stepCreateCatalogMethod
    arguments='', template='')
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ZSQLMethods/SQL.py", line 70, in manage_addZSQLMethod
    self._setObject(id, SQL(id, title, connection_id, arguments, template))
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "z_fake_method" is invalid - it is already in use.


ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (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 4421, in test_17_SubobjectsAfterUpgradOfBusinessTemplate
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
    Current Sequence:
      CreatePortalType
    > CreateModuleAndObjects
      CreateBaseCategory
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      AddModuleToBusinessTemplate
      AddBaseCategoryToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveModule
      RemoveBaseCategory
      RemovePortalType
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckPortalTypeExists
      CheckModuleExists
      CheckModuleObjectsRemoved
      CheckBaseCategoryExists
      CreateModuleObjects
      CreateCategories
      CreateSubCategories
      CreateNewBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckTrashBin
      CheckSkinsLayers
      CheckPortalTypeExists
      CheckModuleExists
      CheckBaseCategoryExists
      CheckModuleObjectsExists
      CheckCategoriesExists
      CheckSubCategoriesExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckPortalTypeRemoved
      CheckModuleRemoved
      CheckBaseCategoryRemoved
      CheckSkinsLayers
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 4421, in test_17_SubobjectsAfterUpgradOfBusinessTemplate
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_18_upgradeBusinessTemplateWithAllItems (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 4546, in test_18_upgradeBusinessTemplateWithAllItems
    sequence_list.play(self, quiet=quiet)
  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:
    > CreatePortalType
      CreateModuleAndObjects
      CreateSkinFolder
      CreateBaseCategory
      CreateCategories
      CreateSubCategories
      CreateWorkflow
      CreateFirstAction
      CreateSecondAction
      CreateCatalogMethod
      CreateKeysAndTable
      CreateRole
      CreateLocalRoles
      CreatePropertySheet
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      AddModuleToBusinessTemplate
      AddSkinFolderToBusinessTemplate
      AddBaseCategoryToBusinessTemplate
      AddSubCategoriesAsPathToBusinessTemplate
      AddWorkflowToBusinessTemplate
      AddWorkflowChainToBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      AddRoleToBusinessTemplate
      AddLocalRolesToBusinessTemplate
      AddPropertySheetToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemovePortalType
      RemoveModule
      RemoveSkinFolder
      RemoveBaseCategory
      RemoveWorkflow
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveRole
      RemovePropertySheet
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckPortalTypeExists
      CheckModuleExists
      CheckSkinFolderExists
      CheckBaseCategoryExists
      CheckCategoriesExists
      CheckSubCategoriesExists
      CheckWorkflowExists
      CheckWorkflowChainExists
      CheckFirstActionExists
      CheckSecondActionExists
      CheckCatalogMethodExists
      CheckKeysAndTableExists
      CheckRoleExists
      CheckLocalRolesExists
      CheckPropertySheetExists
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckTrashBin
      CheckWorkflowBackup
      CheckPortalTypeExists
      CheckModuleExists
      CheckSkinFolderExists
      CheckBaseCategoryExists
      CheckCategoriesExists
      CheckSubCategoriesExists
      CheckWorkflowExists
      CheckWorkflowChainExists
      CheckFirstActionExists
      CheckSecondActionExists
      CheckCatalogMethodExists
      CheckKeysAndTableExists
      CheckRoleExists
      CheckLocalRolesExists
      CheckPropertySheetExists
      CheckSkinsLayers
      RemovePortalType
      RemoveModule
      RemoveSkinFolder
      RemoveBaseCategory
      RemoveWorkflow
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveRole
      RemovePropertySheet
      RemoveBusinessTemplate
      RemoveAllTrashBins
  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/testBusinessTemplate.py", line 407, in stepCreatePortalType
    type_factory_method_id='addPerson')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 458, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 165, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 358, in constructInstance
    ob = m(id, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 468, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 887, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 881, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "Geek Object" is invalid - it is already in use.


ERROR: test_19_checkUpdateBusinessTemplateWorkflow (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 4633, in test_19_checkUpdateBusinessTemplateWorkflow
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
    Current Sequence:
      CreatePortalType
    > CreateModuleAndObjects
      CreateSkinFolder
      CreateBaseCategory
      CreateCategories
      CreateSubCategories
      CreateWorkflow
      CreateFirstAction
      CreateSecondAction
      CreateCatalogMethod
      CreateKeysAndTable
      CreateRole
      CreateLocalRoles
      CreatePropertySheet
      CopyCoreBusinessTemplate
      UseCopyCoreBusinessTemplate
      ClearBusinessTemplateField
      SetUpdateWorkflowFlagInBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      AddModuleToBusinessTemplate
      AddSkinFolderToBusinessTemplate
      AddBaseCategoryToBusinessTemplate
      AddSubCategoriesAsPathToBusinessTemplate
      AddWorkflowToBusinessTemplate
      AddWorkflowChainToBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      AddRoleToBusinessTemplate
      AddLocalRolesToBusinessTemplate
      AddPropertySheetToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckTrashBin
      CheckSkinsLayers
      CheckPortalTypeExists
      CheckModuleExists
      CheckSkinFolderExists
      CheckBaseCategoryExists
      CheckCategoriesExists
      CheckSubCategoriesExists
      CheckWorkflowExists
      CheckFirstActionExists
      CheckSecondActionExists
      CheckCatalogMethodExists
      CheckKeysAndTableExists
      CheckRoleExists
      CheckLocalRolesExists
      CheckPropertySheetExists
      RemovePortalType
      RemoveModule
      RemoveSkinFolder
      RemoveBaseCategory
      RemoveWorkflow
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveRole
      RemovePropertySheet
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 4633, in test_19_checkUpdateBusinessTemplateWorkflow
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_20_checkUpdateTool (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 4730, in test_20_checkUpdateTool
    sequence_list.play(self, quiet=quiet)
  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:
    > CreatePortalType
      CreateModuleAndObjects
      CreateSkinFolder
      CreateBaseCategory
      CreateCategories
      CreateSubCategories
      CreateWorkflow
      CreateFirstAction
      CreateSecondAction
      CreateCatalogMethod
      CreateKeysAndTable
      CreateRole
      CreateLocalRoles
      CreatePropertySheet
      CopyCoreBusinessTemplate
      UseCopyCoreBusinessTemplate
      ClearBusinessTemplateField
      SetUpdateToolFlagInBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      AddModuleToBusinessTemplate
      AddSkinFolderToBusinessTemplate
      AddBaseCategoryToBusinessTemplate
      AddSubCategoriesAsPathToBusinessTemplate
      AddWorkflowToBusinessTemplate
      AddWorkflowChainToBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      AddRoleToBusinessTemplate
      AddLocalRolesToBusinessTemplate
      AddPropertySheetToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemovePortalType
      RemoveModule
      RemoveSkinFolder
      RemoveBaseCategory
      RemoveWorkflow
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveRole
      RemovePropertySheet
      RemoveBusinessTemplate
      RemoveAllTrashBins
      RemoveSimulationTool
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckSimulationToolExists
      CheckSkinsLayers
      CheckPortalTypeExists
      CheckModuleExists
      CheckSkinFolderExists
      CheckBaseCategoryExists
      CheckCategoriesExists
      CheckSubCategoriesExists
      CheckWorkflowExists
      CheckFirstActionExists
      CheckSecondActionExists
      CheckCatalogMethodExists
      CheckKeysAndTableExists
      CheckRoleExists
      CheckLocalRolesExists
      CheckPropertySheetExists
      RemovePortalType
      RemoveModule
      RemoveSkinFolder
      RemoveBaseCategory
      RemoveWorkflow
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveRole
      RemovePropertySheet
  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/testBusinessTemplate.py", line 407, in stepCreatePortalType
    type_factory_method_id='addPerson')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 458, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 165, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 358, in constructInstance
    ob = m(id, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 468, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 887, in _setObject
    return CMFBTreeFolder._setObject(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 421, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 881, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 313, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "Geek Object" is invalid - it is already in use.


ERROR: test_25_CheckNoMissingDependency (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 4851, in test_25_CheckNoMissingDependency
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
    Current Sequence:
      CreatePortalType
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddDependency
      CheckMissingDependencies
      CreateDependencyBusinessTemplate
      CheckMissingDependencies
      UseDependencyBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemovePortalType
      RemoveBusinessTemplate
      ImportBusinessTemplate
      UseImportBusinessTemplate
    > InstallBusinessTemplate
      CheckInstalledInstallationState
      UseExportBusinessTemplate
      CheckNoMissingDependencies
      UseImportBusinessTemplate
      UninstallBusinessTemplate
      UseExportBusinessTemplate
      CheckMissingDependencies
      UseImportBusinessTemplate
      RemoveBusinessTemplate
      UseExportBusinessTemplate
      RemoveBusinessTemplate
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 4851, in test_25_CheckNoMissingDependency
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_27_CheckInstallWithBackup (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 4926, in test_27_CheckInstallWithBackup
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateSkinFolder
      CheckSkinFolderExists
      CreateSkinSubFolder
      CheckSkinSubFolderExists
      CreateNewObjectInSkinSubFolder
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddSkinFolderToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemovePortalType
      RemoveBusinessTemplate
      ImportBusinessTemplate
      UseImportBusinessTemplate
    > InstallBusinessTemplate
      UninstallBusinessTemplate
      RemoveBusinessTemplate
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
    container_path, object_id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
    save=1, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
    backup = connection.importFile(copy)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
    t.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 4926, in test_27_CheckInstallWithBackup
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
    container_path, object_id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
    save=1, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
    backup = connection.importFile(copy)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
    t.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_30_CheckInstalledCatalogProperties (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 5003, in test_30_CheckInstalledCatalogProperties
    sequence_list.play(self, quiet=quiet)
  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:
    > CreateCatalogMethod
      CreateKeysAndTable
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      ModifyCatalogConfiguration
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallBusinessTemplate
      Tic
      CheckCatalogConfigurationKept
      UninstallBusinessTemplate
      CheckCatalogConfigurationKept
      RemoveCatalogLocalConfiguration
  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/testBusinessTemplate.py", line 1477, in stepCreateCatalogMethod
    arguments='', template='')
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ZSQLMethods/SQL.py", line 70, in manage_addZSQLMethod
    self._setObject(id, SQL(id, title, connection_id, arguments, template))
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "z_fake_method" is invalid - it is already in use.


ERROR: test_31_BusinessTemplateWithCatalogMethod (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 5046, in test_31_BusinessTemplateWithCatalogMethod
    sequence_list.play(self, quiet=quiet)
  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:
    > CreateCatalogMethod
      CreateKeysAndTable
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallBusinessTemplate
      Tic
      CreateNewCatalogMethod
      CreateKeysAndTable
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddNewCatalogMethodToBusinessTemplate
      CheckCatalogMethodExists
      AddKeysAndTableToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      ChangePreviousCatalogMethod
      ImportBusinessTemplate
      UseImportBusinessTemplate
      PartialCatalogMethodInstall
      CheckCatalogMethodChangeKept
      RemoveKeysAndTable
  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/testBusinessTemplate.py", line 1477, in stepCreateCatalogMethod
    arguments='', template='')
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ZSQLMethods/SQL.py", line 70, in manage_addZSQLMethod
    self._setObject(id, SQL(id, title, connection_id, arguments, template))
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "z_fake_method" is invalid - it is already in use.


ERROR: test_32_BusinessTemplateWithDuplicatedPortalTypes (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 5097, in test_32_BusinessTemplateWithDuplicatedPortalTypes
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateFirstAction
      CreateSecondAction
      CreateWorkflow
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPortalTypeToBusinessTemplate
      AddWorkflowToBusinessTemplate
      AddWorkflowChainToBusinessTemplate
      AddSecondActionToBusinessTemplate
      FillPortalTypesFields
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemovePortalType
      RemoveWorkflow
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
    > InstallBusinessTemplate
      Tic
      CreateDuplicatedBusinessTemplate
      UseExportBusinessTemplate
      AddDuplicatedPortalTypeToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallDuplicatedBusinessTemplate
      Tic
      CheckPortalTypeExists
      CheckSecondActionExists
      UninstallBusinessTemplate
      CheckDuplicatedPortalTypeRemoved
      UninstallPreviousBusinessTemplate
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1726, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5097, in test_32_BusinessTemplateWithDuplicatedPortalTypes
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1726, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_33_BusinessTemplateWithNewSkinSelection (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 5189, in test_33_BusinessTemplateWithNewSkinSelection
    sequence_list.play(self, quiet=quiet)
  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:
      CreateSkinFolder
      SetSkinFolderRegistredSelections
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddSkinFolderToBusinessTemplate
      AddRegistredSelectionToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemoveSkinFolder
      ImportBusinessTemplate
      UseImportBusinessTemplate
    > InstallBusinessTemplate
      Tic
      CheckSkinSelectionAdded
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5189, in test_33_BusinessTemplateWithNewSkinSelection
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_34_RemovePartialWorkflowChain (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 5478, in test_34_RemovePartialWorkflowChain
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateWorkflow
      CheckOriginalWorkflowChain
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddWorkflowToBusinessTemplate
      AddWorkflowChainToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveWorkflow
      CheckEmptyWorkflowChain
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
    > InstallBusinessTemplate
      CheckOriginalWorkflowChain
      Tic
      CreateCustomWorkflow
      CheckCustomWorkflowChain
      CreateCustomBusinessTemplate
      UseExportBusinessTemplate
      AddWorkflowToBusinessTemplate
      AddWorkflowChainToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemoveWorkflow
      CheckOriginalWorkflowChain
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallBusinessTemplate
      Tic
      CheckCustomWorkflowChain
      UninstallBusinessTemplate
      Tic
      CheckOriginalWorkflowChain
      CheckWorkflowChainExists
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1726, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_34_RemovePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5478, in test_34_RemovePartialWorkflowChain
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1726, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_34_UpgradeForm (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 5230, in test_34_UpgradeForm
    sequence_list.play(self, quiet=quiet)
  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:
      CreateSkinFolder
      CreateNewForm
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddSkinFolderToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemoveForm
      ImportBusinessTemplate
      UseImportBusinessTemplate
    > InstallWithoutForceBusinessTemplate
      Tic
      CheckFormGroups
      AddFormField
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddSkinFolderToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemoveFormField
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallWithoutForceBusinessTemplate
      Tic
      CheckFormGroups
  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/testBusinessTemplate.py", line 2481, in stepInstallWithoutForceBusinessTemplate
    update_catalog=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_34_UpgradeForm (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5230, in test_34_UpgradeForm
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2481, in stepInstallWithoutForceBusinessTemplate
    update_catalog=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_34_UpgradeFormAttribute (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 5272, in test_34_UpgradeFormAttribute
    sequence_list.play(self, quiet=quiet)
  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:
    > CreateSkinFolder
      CreateNewForm
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddSkinFolderToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemoveForm
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallWithoutForceBusinessTemplate
      Tic
      CheckFormGroups
      ModifyFormTitle
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddSkinFolderToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RevertFormTitle
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallWithoutForceBusinessTemplate
      Tic
      CheckFormTitle
      CheckFormGroups
  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/testBusinessTemplate.py", line 690, in stepCreateSkinFolder
    ps.manage_addProduct['OFSP'].manage_addFolder('erp5_geek')
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/Folder.py", line 51, in manage_addFolder
    self._setObject(id, ob)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
    v = self._checkId(id)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "erp5_geek" is invalid - it is already in use.


ERROR: test_36_CheckPortalTypeRoles (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 5678, in test_36_CheckPortalTypeRoles
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreatePortalTypeRole
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddPortalTypeToBusinessTemplate
      AddPortalTypeRolesToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveBusinessTemplate
      RemoveAllTrashBins
      RemovePortalType
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
    > InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckPortalTypeExists
      CheckPortalTypeRoleExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckPortalTypeRemoved
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5678, in test_36_CheckPortalTypeRoles
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_37_UpdatePortalType (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 5762, in test_37_UpdatePortalType
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateFirstAction
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemovePortalType
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
    > InstallBusinessTemplate
      Tic
      CheckFirstActionExists
      CreateSecondAction
      CheckSecondActionExists
      CreatePortalTypeRole
      CheckPortalTypeRoleExists
      ModifyPortalType
      CopyBusinessTemplate
      Tic
      EditBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      SaveBusinessTemplate
      UnmodifyPortalType
      ImportBusinessTemplate
      Tic
      UseImportBusinessTemplate
      InstallWithoutForceBusinessTemplate
      Tic
      CheckModifiedPortalTypeExists
      CheckFirstActionExists
      CheckSecondActionExists
      CheckPortalTypeRoleExists
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_37_UpdatePortalType (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5762, in test_37_UpdatePortalType
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
    obj = obj._getCopy(container)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
    transaction.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
    return self.get().savepoint(optimistic)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_38_CheckReinstallation (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 5831, in test_38_CheckReinstallation
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateFirstAction
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      BuildBusinessTemplate
      SaveBusinessTemplate
    > InstallCurrentBusinessTemplate
      Tic
      Tic
      RemoveFirstAction
      CheckBeforeReinstall
      ReinstallBusinessTemplate
      Tic
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddCustomSkinFolderToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      InstallCurrentBusinessTemplate
      Tic
      CreateFakeZODBScript
      ReinstallBusinessTemplate
      Tic
      CheckFakeScriptIsDeleted
  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/testBusinessTemplate.py", line 2460, in stepInstallCurrentBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
    container_path, object_id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
    save=1, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
    backup = connection.importFile(copy)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
    t.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5831, in test_38_CheckReinstallation
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2460, in stepInstallCurrentBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
    ObjectTemplateItem.install(self, context, trashbin, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
    container_path, object_id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
    save=1, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
    backup = connection.importFile(copy)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
    t.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_39_CheckSiteProperties (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 5993, in test_39_CheckSiteProperties
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
    Current Sequence:
      SetOldSitePropertyValue
    > CreateSiteProperty
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddSitePropertyToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveBusinessTemplate
      RemoveAllTrashBins
      SetNewSitePropertyValue
      ModifySiteProperty
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      SetOldSitePropertyValue
      CheckSiteProperty
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      SetOldSitePropertyValue
      CheckSitePropertyRemoved
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 5993, in test_39_CheckSiteProperties
    sequence_list.play(self, quiet=quiet)
  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 116, in play
    transaction.commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



ERROR: test_40_BusinessTemplateUidOfCategoriesUnchanged (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 6039, in test_40_BusinessTemplateUidOfCategoriesUnchanged
    sequence_list.play(self, quiet=quiet)
  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:
      CreateBaseCategory
      CreateCategories
      CreateSubCategories
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddSubCategoriesAsPathToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckSubCategoriesExists
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      ModifySubCategories
      Tic
    > InstallBusinessTemplate
      Tic
      CheckSubCategoriesExists
      CheckUidSubCategories
      UninstallBusinessTemplate
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
    container_path, object_id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
    save=1, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
    backup = connection.importFile(copy)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
    t.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


ERROR: test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 6039, in test_40_BusinessTemplateUidOfCategoriesUnchanged
    sequence_list.play(self, quiet=quiet)
  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)
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
    container_path, object_id)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
    save=1, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
    backup = connection.importFile(copy)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
    t.savepoint(optimistic=True)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
    self._commit(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



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 6546, in test_global_action
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1032, in stepTic
    transaction.commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File


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 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
    PortalTestCase.tearDown(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
    pw.manage_changeWorkflows('', props=props)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
    result = method_call_object()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
    return self.method(self.__dict__['instance'], *self.args, **self.kw)
  File "<string>", line 4, in manage_changeWorkflows
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
    return callable(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
    cbt[id] = tuple(ids)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
    self._p_changed = 1
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
    self._register(obj)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
    self.transaction_manager.get().join(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
    self._prior_operation_failed() # doesn't return
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
    self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:

  File "../../bin/runUnitTest", line 185, in <module>
    Products.ERP5Type.tests.runUnitTest.main()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 673, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 522, in runUnitTestList
    result = TestRunner(verbosity=verbosity).run(suite)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 266, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/usr/lib64/python2.6/unittest.py", line 464, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.6/unittest.py", line 460, in run
    test(result)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 407, in __call__
    self.run(*args, **kw)
  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 6546, in test_global_action
    self.stepTic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1032, in stepTic
    transaction.commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
    return self.get().commit()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
    t, v, tb = self._saveAndGetCommitishError()
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
    self._commitResources()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
    result = original__commitResources(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
    rm.commit(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
    self._commit(transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
    self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File



FAIL: test_02_BusinessTemplateWithPortalTypes (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 2908, in test_02_BusinessTemplateWithPortalTypes
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemovePortalType
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
    > Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckPortalTypeExists
      CreateSecondBusinessTemplate
      UseSecondBusinessTemplate
      AddPortalTypeToBusinessTemplate
      FillPortalTypesFields
      ModifyPortalTypeInBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckSkinsLayers
      CheckPortalTypeExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckPortalTypeRemoved
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 135, in tic
    message_count = len(getMessageList(include_processing=1))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 1391, in getMessageList
    message_list += activity.getMessageList(aq_inner(self),**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLBase.py", line 79, in getMessageList
    include_processing=include_processing)]
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 225, in DA__call__
    LOG("DA call raise", ERROR, "DB = %s, c = %s, query = %s" %(DB__, c, query), error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: DA call raise(ERROR): DB = <Products.ZMySQLDA.db.ThreadedDB instance at 0x8bfdcf8>, c = cmf_activity_sql_connection, query = SELECT * FROM
    message
WHERE
1 = 1
ORDER BY
     priority, date, uid
LIMIT 0, 1000



FAIL: test_08_BusinessTemplateWithTwoActions (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 3480, in test_08_BusinessTemplateWithTwoActions
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateFirstAction
      CreateSecondAction
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddSecondActionToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemovePortalType
      RemoveBusinessTemplate
      RemoveAllTrashBins
      CreatePortalType
      CreateFirstAction
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
    > Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckFirstActionExists
      CheckSecondActionExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckSecondActionNotExists
      RemovePortalType
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 918, in process_timer
    LOG('ActivityTool', ERROR, 'process_timer received an exception', error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: ActivityTool(ERROR): process_timer received an exception


FAIL: test_091_BusinessTemplateDoNotUnindexObject (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 3554, in test_091_BusinessTemplateDoNotUnindexObject
    sequence_list.play(self, quiet=quiet)
  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:
      CreateBaseCategory
      CreateCategories
      CreateNewBusinessTemplate
    > Tic
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddBaseCategoryAsPathToBusinessTemplate
      BuildBusinessTemplate
      CheckUnindexActivityPresence
      Tic
      CheckPathNotUnindexAfterBuild
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      RemoveBaseCategory
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 918, in process_timer
    LOG('ActivityTool', ERROR, 'process_timer received an exception', error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: ActivityTool(ERROR): process_timer received an exception


FAIL: test_10_BusinessTemplateWithPathAndJoker1 (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 3600, in test_10_BusinessTemplateWithPathAndJoker1
    sequence_list.play(self, quiet=quiet)
  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:
      CreateBaseCategory
      CreateCategories
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddCategoriesAsPathToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveCategories
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
    > Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckCategoriesExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckCategoriesRemoved
      RemoveBaseCategory
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 918, in process_timer
    LOG('ActivityTool', ERROR, 'process_timer received an exception', error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: ActivityTool(ERROR): process_timer received an exception


FAIL: test_11_BusinessTemplateWithPathAndJoker2 (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 3695, in test_11_BusinessTemplateWithPathAndJoker2
    sequence_list.play(self, quiet=quiet)
  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:
      CreateBaseCategory
      CreateCategories
      CreateSubCategories
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddSubCategoriesAsPathToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveCategories
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
    > Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckCategoriesExists
      CheckSubCategoriesExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckCategoriesRemoved
      RemoveBaseCategory
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 135, in tic
    message_count = len(getMessageList(include_processing=1))
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 1391, in getMessageList
    message_list += activity.getMessageList(aq_inner(self),**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/Activity/SQLBase.py", line 79, in getMessageList
    include_processing=include_processing)]
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 225, in DA__call__
    LOG("DA call raise", ERROR, "DB = %s, c = %s, query = %s" %(DB__, c, query), error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: DA call raise(ERROR): DB = <Products.ZMySQLDA.db.ThreadedDB instance at 0x8bfdcf8>, c = cmf_activity_sql_connection, query = SELECT * FROM
    message
WHERE
1 = 1
ORDER BY
     priority, date, uid
LIMIT 0, 1000



FAIL: test_121_BusinessTemplateWithUpdateOfCatalogMethod (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 3878, in test_121_BusinessTemplateWithUpdateOfCatalogMethod
    sequence_list.play(self, quiet=quiet)
  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:
      CreateCatalogMethod
      CreateKeysAndTable
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveCatalogMethod
      RemoveKeysAndTable
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
    > InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckCatalogMethodExists
      CheckKeysAndTableExists
      RemoveCatalogMethod
      CreateUpdateCatalogMethod
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddCatalogMethodToBusinessTemplate
      AddKeysAndTableToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveCatalogMethod
      CreateCatalogMethod
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckPreinstallReturnSomething
      CheckCatalogPreinstallReturnCatalogMethod
      InstallWithoutForceBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckSkinsLayers
      CheckUpdatedCatalogMethodExists
      CheckKeysAndTableExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckKeysAndTableRemoved
      CheckCatalogMethodRemoved
  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/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
    import_bt.install(force=1)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5282, in _install
    catalog.manage_catalogClear()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 1204, in manage_catalogClear
    self.clear()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ZSQLCatalog/SQLCatalog.py", line 810, in clear
    method()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DA.py", line 225, in DA__call__
    LOG("DA call raise", ERROR, "DB = %s, c = %s, query = %s" %(DB__, c, query), error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: DA call raise(ERROR): DB = <Products.ZMySQLDA.db.ThreadedDB instance at 0x7cb8950>, c = erp5_sql_connection, query = CREATE TABLE `transformation` (
  `uid` bigint(20) unsigned NOT NULL,
  `variation_text` varchar(255) default '',
  `transformed_uid` bigint(20) unsigned NOT NULL,
  `transformed_variation_text` varchar(255) default '',
  `quantity` double,
  KEY `resource` (`uid`, `variation_text`),
  KEY `transformed_resource` (`transformed_uid`, `transformed_variation_text`)
) ENGINE=InnoDB;



FAIL: test_14_BusinessTemplateWithLocalRoles (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 4023, in test_14_BusinessTemplateWithLocalRoles
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePortalType
      CreateModuleAndObjects
      CreateLocalRoles
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddLocalRolesToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveLocalRoles
      RemoveBusinessTemplate
      RemoveAllTrashBins
      Tic
      ImportBusinessTemplate
      UseImportBusinessTemplate
      Tic
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckModuleLocalRolesInCatalogBeforeUpdate
      InstallBusinessTemplate
    > Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckLocalRolesExists
      CheckModuleLocalRolesInCatalogAfterUpdate
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckLocalRolesRemoved
      RemoveModule
      RemovePortalType
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 918, in process_timer
    LOG('ActivityTool', ERROR, 'process_timer received an exception', error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: ActivityTool(ERROR): process_timer received an exception


FAIL: test_155_BusinessTemplateUpdateWithPropertySheet (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 4134, in test_155_BusinessTemplateUpdateWithPropertySheet
    sequence_list.play(self, quiet=quiet)
  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:
      CreatePropertySheet
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPropertySheetToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemovePropertySheet
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
    > Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckNoTrashBin
      CheckSkinsLayers
      CheckPropertySheetExists
      RemovePropertySheet
      CreateUpdatedPropertySheet
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddPropertySheetToBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CreatePropertySheet
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckUpdatedPropertySheetExists
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckPropertySheetRemoved
      CheckWorkflowChainRemoved
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 918, in process_timer
    LOG('ActivityTool', ERROR, 'process_timer received an exception', error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: ActivityTool(ERROR): process_timer received an exception


FAIL: test_163_UpdateSkinFolderWithRegisteredSkinSelection (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 6296, in test_163_UpdateSkinFolderWithRegisteredSkinSelection
    sequence_list.play(self, quiet=quiet)
  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:
      CreateSkinFolder
      SetSkinFolderRegistredSelections
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      AddSkinFolderToBusinessTemplate
      AddRegistredSelectionToBusinessTemplate
      BuildBusinessTemplate
      SaveBusinessTemplate
      RemoveSkinFolder
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      InstallBusinessTemplate
      Tic
      CheckSkinSelectionAdded
      ModifySkinFolder
      CopyBusinessTemplate
      Tic
      EditBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      SaveBusinessTemplate
      UnmodifySkinFolder
      ImportBusinessTemplate
      Tic
      UseImportBusinessTemplate
      InstallWithoutForceBusinessTemplate
    > Tic
      CheckModifiedSkinFolderExists
      CheckSkinSelectionAdded
      SetSkinFolderRegistredSelections2
      CopyBusinessTemplate
      EditRegistredSelectionToBusinessTemplate
      BuildBusinessTemplate
      InstallCurrentBusinessTemplate
  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/ERP5Type/tests/ERP5TypeTestCase.py", line 1033, in stepTic
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ProcessingNodeTestCase.py", line 131, in tic
    portal_activities.process_timer(None, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/CMFActivity/ActivityTool.py", line 918, in process_timer
    LOG('ActivityTool', ERROR, 'process_timer received an exception', error=sys.exc_info())
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/__init__.py", line 135, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zLOG-2.11.1-py2.6.egg/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.6/logging/__init__.py", line 1111, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1165, in _log
    self.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1175, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 1212, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 669, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.6/logging/__init__.py", line 570, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/utils.py", line 383, in filter
    record.getMessage()))
AssertionError: ActivityTool(ERROR): process_timer received an exception


FAIL: test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
----------------------------------------------------------------------
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 1698, in test_PDFDocument_asTextConversion
    self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
AssertionError: 'ERP5 is a fra-E suftwara\n' != 'ERP5 is a free software.\n'


FAIL: test_parallel_conversion (testDms.TestDocument), Check that conversion engine is able to fill in
----------------------------------------------------------------------
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 1640, in test_parallel_conversion
    self.assertEquals(result_list, [])
AssertionError: [21] != []


FAIL: test_PDFDocument_asTextConversion (testDmsWithFlare.TestDocumentWithFlare), Test a PDF document with embedded images
----------------------------------------------------------------------
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 1698, in test_PDFDocument_asTextConversion
    self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
AssertionError: 'ERP5 is a fra-E suftwara\n' != 'ERP5 is a free software.\n'


FAIL: test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 800, in test_06_UpdateMultiData
    self.checkSynchronizationStateIsSynchronized()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 433, in checkSynchronizationStateIsSynchronized
    self.assertEqual(state[1], state[0].SYNCHRONIZED)
AssertionError: 409 != 1


FAIL: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
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/testInvoice.py", line 2828, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testAccountingRules.py", line 116, in playSequence
    sequence_list.play(self, quiet=quiet)
  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:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
    > CheckPackingListIsDivergent
  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/testPackingList.py", line 189, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


FAIL: test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
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/testInvoice.py", line 3400, in test_18_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  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:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
    > CheckPackingListInvoice
  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/testInvoice.py", line 608, in stepCheckPackingListInvoice
    self.assertEquals(packing_list.getSource(), invoice.getSource())
AssertionError: 'organisation_module/144' != 'organisation_module/146'


ERROR: test_05_FormatIngestionImage (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
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/testIngestion.py", line 1167, in test_05_FormatIngestionImage
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testIngestion.py", line 928, in playSequence
    sequence_list.play(self, quiet=quiet)
  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:
      CleanUp
      CreateImageDocument
    > IngestImageFormats
  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/ERP5OOo/tests/testIngestion.py", line 742, in stepIngestImageFormats
    self.ingestFormatList('six', format_list, 'Image')
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testIngestion.py", line 295, in ingestFormatList
    document.edit(file=f)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
    self._setFile(file, precondition=precondition)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  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 1251, 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 updateContentMd5
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/cached_convertable.py", line 239, in updateContentMd5
    mime, data = self.convert(None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Image.py", line 353, in convert
    return mime, image.data
AttributeError: 'str' object has no attribute 'data'


ERROR: test_05_FormatIngestionPDF (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):

(truncated) ...


More information about the Erp5-report mailing list