[Erp5-report] ERP5_z212 r35611 : 3549 Tests, 65 Errors, 11 Failures, 44 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 26 15:18:09 CEST 2010
Test Suite: ERP5_z212
Revision: 35611
Result: FAIL
All tests: 3549
Failures: 11
Errors: 65
Skips: 44
The following tests failed:
testAdvancedInvoicing (1 failures)
test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)
testBusinessTemplate (34 errors, 2 skips)
test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
test_167_InstanceAndRelatedClassDefinedInSameBT (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_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
test_31_BusinessTemplateWithCatalogMethod (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)
testDms (1 failures)
test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
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)
testKMGadget (1 failures)
test_11AssignedMembersGadget (testKMGadget.TestGadgets), Check Assigned Members Gadgets
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 (2 failures)
testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testTemplate (1 failures)
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)
testERP5Base (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)
-------------- 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' != '2'
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_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 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 2358, 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_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 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 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)
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 2358, 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_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_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_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_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'
FAIL: test_11AssignedMembersGadget (testKMGadget.TestGadgets), Check Assigned Members Gadgets
----------------------------------------------------------------------
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/business_templates/erp5_km/TestTemplateItem/testKMGadget.py", line 696, in test_11AssignedMembersGadget
, self.auth).getBody())
AssertionError
ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoConversionCache.py", line 132, in test_01_PersistentCacheConversion
document.convert(format=format)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 378, in convert
mime, data = self._convert(format)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 300, in _convert
return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'
ERROR: test_01_ImportFileLine (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_02_ImportFileBlankLine (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_03_ImportNoMapping (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_04_ImportFileWithCategory (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_05_ImportOrganisation (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_06_AuthorImportFile (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_07_ImportFileWithFreeText (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_08_ImportFileWithAccentuatedText (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_09_ImportXLSFile (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_10_ImportFileWithDates (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_11_ImportFloatAndPercentage (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_12_ImportBigFile_1 (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_Base_getCategoriesSpreadSheetMapping (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_Base_getCategoriesSpreadSheetMapping_DuplicateIdsAtSameLevel (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_Base_getCategoriesSpreadSheetMapping_Id_is_reserved_property_name (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_Base_getCategoriesSpreadSheetMapping_MultiplePaths (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_Base_getCategoriesSpreadSheetMapping_WrongHierarchy (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_BigSpreadSheet_can_be_parsed (testOOoImport.TestOOoImport), Test than OOoimport can parse a file with more than 40000 lines
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFile (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFileDeletionSupport (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFileExpirationSupport (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFileXLS (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFile_DuplicateIds (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFile_PathStars (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFile_PathStars_noID (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_getSpreadSheetMapping (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_getSpreadSheetMappingDataTypes (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_getSpreadSheetMappingStyle (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_openFromString (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
ERROR: test_CategoryTool_importCategoryFileExpirationSupport (testOOoImport.TestOOoImportWeb), Import category file with expiration request, and do it again to be
----------------------------------------------------------------------
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 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoImport.py", line 86, in afterSetUp
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
AttributeError: constructBrowserIdManager
FAIL: testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testOpenOrder.py", line 400, in testBuildingSaleOrder
self.assertEqual(len(open_sale_order.getCausalityRelatedValueList(portal_type='Sale Order')), 9)
AssertionError: 0 != 9
FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testOpenOrder.py", line 194, in testPeriodicityDateList
(D(2008,11,1,0,1), DateTime(2008,11,30)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))]
FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}
FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_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/testTemplate.py", line 349, in test_manyTemplatesWithoutReindexation
self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2
More information about the Erp5-report
mailing list