[Erp5-report] ERP5_z212 r38707 : 3774 Tests, 98 Errors, 70 Failures, 50 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Sep 29 14:48:29 CEST 2010
Test Suite: ERP5_z212
Revision: 38707
Result: FAIL
All tests: 3774
Failures: 70
Errors: 98
Skips: 50
The following tests failed:
testBusinessTemplate (38 errors, 3 skips)
test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
test_26_ImportWithDoubleSlashes (testBusinessTemplate.TestBusinessTemplate)
test_26_ImportWithDoubleSlashes (testBusinessTemplate.TestBusinessTemplate)
test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
test_31_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
test_34_RemovePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
test_34_RemovePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
test_34_UpgradeForm (testBusinessTemplate.TestBusinessTemplate)
test_34_UpgradeForm (testBusinessTemplate.TestBusinessTemplate)
test_34_UpgradeFormAttribute (testBusinessTemplate.TestBusinessTemplate)
test_35_UpdatePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
test_35_UpdatePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
test_global_action (testBusinessTemplate.TestBusinessTemplate)
test_global_action (testBusinessTemplate.TestBusinessTemplate)
test_type_provider (testBusinessTemplate.TestBusinessTemplate)
test_type_provider (testBusinessTemplate.TestBusinessTemplate)
test_updateBusinessTemplateFromUrl_after_before_script (testBusinessTemplate.TestBusinessTemplate)
testComplexTradeModelLineUseCase (10 failures)
test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase2 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase3 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase4 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase5 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase2 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase3 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase4 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase5 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
testConversionInSimulation (1 failures)
test_01_quantity_unit_on_sale_packing_list (testConversionInSimulation.TestConversionInSimulation)
testDms (3 failures, 2 errors)
test_contributeLink (testDms.TestDocument)
test_getSearchText (testDms.TestDocument)
test_10_SearchString (testDms.TestDocument)
test_11_Base_getAdvancedSearchResultList (testDms.TestDocument)
test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)
testDmsWithFlare (2 failures, 2 errors)
test_contributeLink (testDmsWithFlare.TestDocumentWithFlare)
test_getSearchText (testDmsWithFlare.TestDocumentWithFlare)
test_10_SearchString (testDmsWithFlare.TestDocumentWithFlare)
test_11_Base_getAdvancedSearchResultList (testDmsWithFlare.TestDocumentWithFlare)
testERP5Catalog (1 failures, 4 skips)
test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
testERP5Commerce (4 errors)
test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)
test_16_simulatePaypalPayment (testERP5Commerce.TestCommerce)
test_19_editShoppingCardWithShippingMethodWithoutPrice (testERP5Commerce.TestCommerce)
testERP5Core (1 failures)
test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
testERP5Discussion (1 errors)
test_02_createDiscussionPost (testERP5Discussion.TestERP5Discussion), Create a disucssion post inscite a discussion thread
testERP5Simulation (2 failures, 4 skips)
test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testERP5Simulation.TestERP5SimulationPackingList)
test_01_quantity_unit_copied (testERP5Simulation.TestERP5SimulationInvoice)
testERP5Web (2 failures, 1 errors, 2 skips)
test_WebSiteModuleDefaultSecurity (testERP5Web.TestERP5WebWithSimpleSecurity)
test_13_DocumentCache (testERP5Web.TestERP5Web)
test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)
testERP5WebWithDms (2 failures)
test_02_WebSectionAuthorizationForced (testERP5WebWithDms.TestERP5WebWithDms), Check that when a document is requested within a Web Section we have a chance to
test_PreviewOOoDocumentWithEmbeddedImage (testERP5WebWithDms.TestERP5WebWithDms), Tests html preview of an OOo document with images as extensible content.
testERP5eGov (4 errors)
test_01_new_procedure_creation (testERP5eGov.TestEgov)
test_02_application_creation (testERP5eGov.TestEgov)
test_03_submit_application (testERP5eGov.TestEgov)
test_05_process_application (testERP5eGov.TestEgov)
testInvalidationBug (2 failures)
testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
testInventoryAPI (1 failures, 2 skips)
testBackwardCompatibility (testInventoryAPI.TestUnitConversionBackwardCompatibility)
testInvoice (2 failures)
test_01_quantity_unit_copied (testInvoice.TestSaleInvoice)
test_01_quantity_unit_copied (testInvoice.TestPurchaseInvoice)
testLegacyInvoice (2 failures)
test_01_quantity_unit_copied (testLegacyInvoice.TestSaleInvoice)
test_01_quantity_unit_copied (testLegacyInvoice.TestPurchaseInvoice)
testLegacyPackingList (2 failures)
test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPackingList)
test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPurchasePackingList)
testLegacyTaxLineTradeCondition (4 failures, 6 errors)
test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
test_temp_order_hierarchical (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
test_temp_order_hierarchical (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleInvoice)
test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseInvoice)
test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleInvoice)
test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseInvoice)
testLiveIngestion (5 errors)
test_01_contributeTextFileWithFilenamefromUrl (testLiveIngestion.TestIngestion)
test_02_contributeTextFileWithExplicitExtensionfromUrl (testLiveIngestion.TestIngestion)
test_03_textFileWithExplicitExtensionWithoutContentTypefromUrl (testLiveIngestion.TestIngestion)
test_04_contributeTextFileWithFilenameAndRedirectionfromUrl (testLiveIngestion.TestIngestion)
test_05_contributeTextFileWithoutFilenameButHTMLContentType (testLiveIngestion.TestIngestion)
testMigration (2 failures, 2 errors)
testImportNonMigratedPerson (testMigration.TestNewStyleClasses)
testMigrateOldObjectFromZODB (testMigration.TestNewStyleClasses)
testChangeDocument (testMigration.TestNewStyleClasses)
testChangeMixin (testMigration.TestNewStyleClasses)
testOOoConversionCache (1 errors)
test_04_PersistentCacheConversionWithFlare (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, 1 errors)
testOpenOrderRule (testOpenOrder.TestOpenOrder)
testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testPackingList (2 failures)
test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPurchasePackingList)
testPackingListRoundingPrecision (1 failures)
test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
testResource (1 failures)
test_10_getPriceWithOptions (testResource.TestResource)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testSimulationPerformance (1 failures)
test_02_CheckPerformance (testSimulationPerformance.TestSimulationPerformance), Check the performance.
testTaskReporting (1 errors)
testProjectMontlyReport (testTaskReporting.TestTaskReporting)
testTemplateTool (1 failures)
testUpdateBT5FromRepository (testTemplateTool.TestTemplateTool), Test the list of bt5 returned for upgrade
testTradeModelLine (11 failures)
test_TradeModelRuleSimulationBuildInvoice (testTradeModelLine.TestTradeModelLineSale)
test_TradeModelRuleSimulationBuildInvoiceBuildInvoiceTransactionLines (testTradeModelLine.TestTradeModelLineSale), Check that having properly configured invoice transaction rule it invoice transaction lines are nicely generated and have proper amounts
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
test_TradeModelRuleSimulationBuildInvoiceNewInvoiceLineSupport (testTradeModelLine.TestTradeModelLineSale), Check how is supported addition of invoice line to invoice build from order
test_TradeModelRuleSimulationBuildInvoiceNewTradeCondition (testTradeModelLine.TestTradeModelLineSale), Check that after changing trade condition invoice is diverged
test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise (testTradeModelLine.TestTradeModelLineSale)
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuild (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio
test_tradeModelLineWithEmptyBaseContributionMovement (testTradeModelLine.TestTradeModelLineSale)
test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
test_tradeModelLineWithTargetLevelSetting (testTradeModelLine.TestTradeModelLineSale)
testTradeModelLinePurchase (11 failures)
test_TradeModelRuleSimulationBuildInvoice (testTradeModelLinePurchase.TestTradeModelLinePurchase)
test_TradeModelRuleSimulationBuildInvoiceBuildInvoiceTransactionLines (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that having properly configured invoice transaction rule it invoice transaction lines are nicely generated and have proper amounts
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
test_TradeModelRuleSimulationBuildInvoiceNewInvoiceLineSupport (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check how is supported addition of invoice line to invoice build from order
test_TradeModelRuleSimulationBuildInvoiceNewTradeCondition (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that after changing trade condition invoice is diverged
test_TradeModelRuleSimulationBuildInvoiceOrderSpecialise (testTradeModelLinePurchase.TestTradeModelLinePurchase)
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuild (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio
test_tradeModelLineWithEmptyBaseContributionMovement (testTradeModelLinePurchase.TestTradeModelLinePurchase)
test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
test_tradeModelLineWithTargetLevelSetting (testTradeModelLinePurchase.TestTradeModelLinePurchase)
The following tests were at least partly skipped:
testBase (3 skips)
test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
testBusinessTemplate (3 skips)
testERP5Base (1 skips)
testERP5Catalog (4 skips)
test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
testERP5Interfaces (13 skips)
testERP5Simulation (4 skips)
testERP5TypeInterfaces (1 skips)
testERP5Web (2 skips)
testFormPrintoutAsODT (1 skips)
test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'
testInventoryAPI (2 skips)
testMRP (4 skips)
test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
testProxyField (1 skips)
testSQLCachedWorklist (1 skips)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
testSelectionTool (7 skips)
skipped 'Test to be written'
testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
skipped 'Test to be written'
testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testTaskReportDivergence (1 skips)
testTemplate (1 skips)
testWebDavSupport (1 skips)
Attached traceback has been truncated to the first 5000 lines
-------------- next part --------------
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 6669, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 3373, in install
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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 6669, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 3373, in install
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4481, in test_16_BusinessTemplateWithAllItems
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
Current Sequence:
CreatePortalType
> CreateModuleAndObjects
CreateSkinFolder
CreateBaseCategory
CreateCategories
CreateSubCategories
CreateWorkflow
CreateFirstAction
CreateSecondAction
CreateCatalogMethod
CreateKeysAndTable
CreateRole
CreateLocalRoles
CreatePropertySheet
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddPortalTypeToBusinessTemplate
FillPortalTypesFields
AddModuleToBusinessTemplate
AddSkinFolderToBusinessTemplate
AddBaseCategoryToBusinessTemplate
AddSubCategoriesAsPathToBusinessTemplate
AddWorkflowToBusinessTemplate
AddWorkflowChainToBusinessTemplate
AddCatalogMethodToBusinessTemplate
AddKeysAndTableToBusinessTemplate
AddRoleToBusinessTemplate
AddLocalRolesToBusinessTemplate
AddPropertySheetToBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemovePortalType
RemoveModule
RemoveSkinFolder
RemoveBaseCategory
RemoveWorkflow
RemoveCatalogMethod
RemoveKeysAndTable
RemoveRole
RemovePropertySheet
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckNoTrashBin
CheckSkinsLayers
CheckPortalTypeExists
CheckModuleExists
CheckSkinFolderExists
CheckBaseCategoryExists
CheckCategoriesExists
CheckSubCategoriesExists
CheckWorkflowExists
CheckFirstActionExists
CheckSecondActionExists
CheckCatalogMethodExists
CheckKeysAndTableExists
CheckRoleExists
CheckLocalRolesExists
CheckPropertySheetExists
UninstallBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckPortalTypeRemoved
CheckModuleRemoved
CheckSkinFolderRemoved
CheckBaseCategoryRemoved
CheckWorkflowRemoved
CheckCatalogMethodRemoved
CheckKeysAndTableRemoved
CheckRoleRemoved
CheckPropertySheetRemoved
CheckSkinsLayers
File "/home/buildbot/slave/full.ERP5_z212/build/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_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 4481, in test_16_BusinessTemplateWithAllItems
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 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_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 4559, 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 114, in play
.play(context, sequence=self, quiet=quiet)
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/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 410, 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 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 523, 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_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 4684, 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 116, in play
transaction.commit()
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/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_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 168, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 4684, 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 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_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 4771, 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 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
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/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 410, 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 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 523, 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_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 4868, 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 116, in play
transaction.commit()
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/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_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 168, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 4868, 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 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_26_ImportWithDoubleSlashes (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 5034, in test_26_ImportWithDoubleSlashes
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
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemoveSkinFolder
RemoveBusinessTemplate
RemoveAllTrashBins
AddExtraSlashesToTemplatePath
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
> InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckNoTrashBin
CheckSkinsLayers
CheckSkinFolderExists
UninstallBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckSkinFolderRemoved
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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1578, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1066, 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_26_ImportWithDoubleSlashes (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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 5034, in test_26_ImportWithDoubleSlashes
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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1578, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1066, 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_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 5141, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 2458, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1034, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 901, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 5141, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 2458, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1034, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 901, 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 5184, 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 1576, in stepCreateCatalogMethod
arguments='', template='')
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/Products.ZSQLMethods-2.13.3-py2.6.egg/Products/ZSQLMethods/SQL.py", line 81, in manage_addZSQLMethod
self._setObject(id, SQL(id, title, connection_id, arguments, template))
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
v = self._checkId(id)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "z_fake_method" is invalid - it is already in use.
ERROR: test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5235, in test_32_BusinessTemplateWithDuplicatedPortalTypes
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreatePortalType
CreateFirstAction
CreateSecondAction
CreateWorkflow
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddPortalTypeToBusinessTemplate
AddWorkflowToBusinessTemplate
AddWorkflowChainToBusinessTemplate
AddSecondActionToBusinessTemplate
FillPortalTypesFields
BuildBusinessTemplate
SaveBusinessTemplate
RemovePortalType
RemoveWorkflow
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
> InstallBusinessTemplate
Tic
CreateDuplicatedBusinessTemplate
UseExportBusinessTemplate
AddDuplicatedPortalTypeToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
ImportBusinessTemplate
UseImportBusinessTemplate
InstallDuplicatedBusinessTemplate
Tic
CheckPortalTypeExists
CheckSecondActionExists
UninstallBusinessTemplate
CheckDuplicatedPortalTypeRemoved
UninstallPreviousBusinessTemplate
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1839, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_32_BusinessTemplateWithDuplicatedPortalTypes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 168, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 5235, in test_32_BusinessTemplateWithDuplicatedPortalTypes
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1839, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 575, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5327, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1578, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1066, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 5327, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1578, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1066, 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 5779, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1839, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 5779, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1839, 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 5371, 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
CheckFolderReindexActivityPresence
Tic
CheckFormGroups
AddFormField
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemoveFormField
ImportBusinessTemplate
UseImportBusinessTemplate
Tic
InstallWithoutForceBusinessTemplate
CheckFolderReindexActivityPresence
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 2607, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1578, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1066, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 5371, 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 2607, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1578, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1066, 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 5413, 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 693, 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_35_UpdatePartialWorkflowChain (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 5890, in test_35_UpdatePartialWorkflowChain
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
CopyBusinessTemplate
Tic
RemoveWorkflowFromBusinessTemplate
RemoveWorkflowChainFromBusinessTemplate
BuildBusinessTemplate
CheckBuiltBuildingState
SaveBusinessTemplate
ImportBusinessTemplate
Tic
UseImportBusinessTemplate
InstallWithoutForceBusinessTemplate
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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1839, 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_35_UpdatePartialWorkflowChain (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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 5890, in test_35_UpdatePartialWorkflowChain
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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1839, 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_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 5979, 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 410, 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 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 523, 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_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 6132, 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 2586, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1897, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1034, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 901, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 6132, 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 2586, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1897, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1034, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 901, 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 6294, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 6294, 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 6340, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1034, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 901, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 6340, 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 2560, 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 4553, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 4485, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1034, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 901, 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 6958, in test_global_action
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1019, 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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 6958, in test_global_action
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1019, 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
ERROR: test_type_provider (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 6787, in test_type_provider
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1019, 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_type_provider (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 984, 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 129, 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 192, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 722, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 547, 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 408, 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 6787, in test_type_provider
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1019, 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
ERROR: test_updateBusinessTemplateFromUrl_after_before_script (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 984, 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 167, in beforeTearDown
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
FAIL: test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 328, in test_usecase1
-1040)
AssertionError: None != -1040
FAIL: test_usecase2 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 399, in test_usecase2
self.assertEqual(self.getAmount(order, '3CD_AND_500YEN_OFF'), -500)
AssertionError: None != -500
FAIL: test_usecase3 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 472, in test_usecase3
-1340)
AssertionError: None != -1340
FAIL: test_usecase4 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 547, in test_usecase4
self.assertEqual(len(one_free_poster_amount_list), 1)
AssertionError: 0 != 1
FAIL: test_usecase5 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 676, in test_usecase5
-450)
AssertionError: None != -450
FAIL: test_usecase1 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 328, in test_usecase1
-1040)
AssertionError: None != -1040
FAIL: test_usecase2 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 399, in test_usecase2
self.assertEqual(self.getAmount(order, '3CD_AND_500YEN_OFF'), -500)
AssertionError: None != -500
FAIL: test_usecase3 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 472, in test_usecase3
-1340)
AssertionError: None != -1340
FAIL: test_usecase4 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 547, in test_usecase4
self.assertEqual(len(one_free_poster_amount_list), 1)
AssertionError: 0 != 1
FAIL: test_usecase5 (testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
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/testComplexTradeModelLineUseCase.py", line 676, in test_usecase5
-450)
AssertionError: None != -450
FAIL: test_01_quantity_unit_on_sale_packing_list (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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/testConversionInSimulation.py", line 851, in test_01_quantity_unit_on_sale_packing_list
self.assertEquals(len(movement_list),2)
AssertionError: 1 != 2
ERROR: test_contributeLink (testDms.TestDocument)
----------------------------------------------------------------------
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 1869, in test_contributeLink
web_page_1 = portal.Base_contribute(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 46, in Base_contribute
AttributeError: 'NoneType' object has no attribute 'getId'
ERROR: test_getSearchText (testDms.TestDocument)
----------------------------------------------------------------------
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 2078, in test_getSearchText
listbox.render()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 269, in render
editable=editable,
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 208, in _render_helper
render_prefix=render_prefix)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ProxyField.py", line 83, in __call__
return proxied_method(field, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 489, in render
return renderer()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 2091, in __call__
return self.render(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 2631, in render
return pt()
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 335, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 432, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.pagetemplate-3.5.1-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
self.interpret(block)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
self.interpret(block)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 376, in do_startEndTag
self.do_startTag(stuff, self.endsep, self.endlen)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 405, in do_startTag
rendered = attrAction(self, item)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 493, in attrAction_tal
translated = self.translate(msgid or value, value)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 838, in translate
i18ndict, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/Expressions.py", line 204, in translate
context=context, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.i18n-3.7.3-py2.6.egg/zope/i18n/__init__.py", line 128, in translate
return util.translate(msgid, mapping, context, target_language, default)
AttributeError: DummyMessageCatalog instance has no attribute 'translate'
FAIL: test_10_SearchString (testDms.TestDocument)
----------------------------------------------------------------------
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 1022, in test_10_SearchString
self.assertEquals(parsed_string['portal_type'], ['Document','Presentation','Web Page'])
AssertionError: ['Document', 'Presentation', '"Web Page"'] != ['Document', 'Presentation', 'Web Page']
FAIL: test_11_Base_getAdvancedSearchResultList (testDms.TestDocument)
----------------------------------------------------------------------
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 1105, in test_11_Base_getAdvancedSearchResultList
self.assertSameSet([document_1], getAdvancedSearchStringResultList(**kw))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 768, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<File at /erp5_portal_604c822695152714e5fc9d07b159c4bb/document_module/43>] != []
FAIL: test_01_LargeOOoDocumentToImageConversion (testDms.TestDocumentPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 2284, in test_01_LargeOOoDocumentToImageConversion
self.assertTrue(req_time < 30.0)
AssertionError
ERROR: test_contributeLink (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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 1869, in test_contributeLink
web_page_1 = portal.Base_contribute(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 46, in Base_contribute
AttributeError: 'NoneType' object has no attribute 'getId'
ERROR: test_getSearchText (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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 2078, in test_getSearchText
listbox.render()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 269, in render
editable=editable,
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 208, in _render_helper
render_prefix=render_prefix)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ProxyField.py", line 83, in __call__
return proxied_method(field, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 489, in render
return renderer()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 2091, in __call__
return self.render(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 2631, in render
return pt()
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 335, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 432, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.pagetemplate-3.5.1-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
self.interpret(block)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
self.interpret(block)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 376, in do_startEndTag
self.do_startTag(stuff, self.endsep, self.endlen)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 405, in do_startTag
rendered = attrAction(self, item)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 493, in attrAction_tal
translated = self.translate(msgid or value, value)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 838, in translate
i18ndict, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/Expressions.py", line 204, in translate
context=context, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.i18n-3.7.3-py2.6.egg/zope/i18n/__init__.py", line 128, in translate
return util.translate(msgid, mapping, context, target_language, default)
AttributeError: DummyMessageCatalog instance has no attribute 'translate'
FAIL: test_10_SearchString (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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 1022, in test_10_SearchString
self.assertEquals(parsed_string['portal_type'], ['Document','Presentation','Web Page'])
AssertionError: ['Document', 'Presentation', '"Web Page"'] != ['Document', 'Presentation', 'Web Page']
FAIL: test_11_Base_getAdvancedSearchResultList (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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 1105, in test_11_Base_getAdvancedSearchResultList
self.assertSameSet([document_1], getAdvancedSearchStringResultList(**kw))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 768, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<File at /erp5_portal_efe675ffc6dff92eecfb7dac1e0cc9a6/document_module/43>] != []
FAIL: test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/tests/testERP5Catalog.py", line 1742, in test_48bis_ERP5Site_hotReindexAllCheckCachedValues
self.assertTrue('dummy.dummy_title' in portal_catalog.getSQLCatalog().getColumnMap())
AssertionError
ERROR: test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 425, in test_04_CalculateTotaShoppingCartPrice
float(self.website.SaleOrder_getShoppingCartTotalPrice()))
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 18, in SaleOrder_getShoppingCartTotalPrice
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/Movement.py", line 302, in getPrice
local_price = self._getPrice(context=self)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 207, in _getPrice
quantity=self.getConvertedQuantity())
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2819, in asContext
return context.asContext(REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "1" is invalid - it is already in use.
ERROR: test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 474, in test_05_TestUpdateShoppingCart
include_taxes=False)))
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 18, in SaleOrder_getShoppingCartTotalPrice
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/Movement.py", line 302, in getPrice
local_price = self._getPrice(context=self)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 207, in _getPrice
quantity=self.getConvertedQuantity())
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2819, in asContext
return context.asContext(REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "1" is invalid - it is already in use.
ERROR: test_16_simulatePaypalPayment (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 710, in test_16_simulatePaypalPayment
token = self.website.cart.WebSection_getNewPaypalToken()
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 1, in WebSection_getNewPaypalToken
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 8, in WebSite_getPaypalOrderParameterDict
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 18, in SaleOrder_getShoppingCartTotalPrice
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/Movement.py", line 302, in getPrice
local_price = self._getPrice(context=self)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 207, in _getPrice
quantity=self.getConvertedQuantity())
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2819, in asContext
return context.asContext(REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "1" is invalid - it is already in use.
ERROR: test_19_editShoppingCardWithShippingMethodWithoutPrice (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Commerce.py", line 802, in test_19_editShoppingCardWithShippingMethodWithoutPrice
include_shipping=True)))
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 18, in SaleOrder_getShoppingCartTotalPrice
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/Movement.py", line 302, in getPrice
local_price = self._getPrice(context=self)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 207, in _getPrice
quantity=self.getConvertedQuantity())
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2819, in asContext
return context.asContext(REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "1" is invalid - it is already in use.
FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Core.py", line 304, in test_view_tools
"%s: %s" % (tool, response.getStatus()))
AssertionError: portal_categories: 503
ERROR: test_02_createDiscussionPost (testERP5Discussion.TestERP5Discussion), Create a disucssion post inscite a discussion thread
----------------------------------------------------------------------
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/testERP5Discussion.py", line 91, in test_02_createDiscussionPost
post = self.stepCreatePost(thread);
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Discussion.py", line 79, in stepCreatePost
return thread.newContent(portal_type="Discussion Post")
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 381, in constructInstance
workflow.notifyCreated(ob)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 384, in notifyCreated
self._changeStateOf(ob, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 475, in _changeStateOf
tdef = self._findAutomaticTransition(ob, sdef)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 454, in _findAutomaticTransition
if self._checkTransitionGuard(t, ob):
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 445, in _checkTransitionGuard
if guard.check(getSecurityManager(), self, ob, **kw):
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/Guard.py", line 89, in check
res = expr(econtext)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/Expression.py", line 50, in __call__
res = compiled(econtext)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
return eval(self._code, vars, {})
File "PythonExpr", line 1, in <expression>
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/ERP5Site.py", line 1288, in getDefaultModuleId
portal_type
ValueError: Unable to find module for portal_type: Discussion Post
FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1402, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
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:
CreateOrganisation1
CreateOrganisation2
CreateOrganisation3
CreateProject1
CreateProject2
CreateOrder
CreateCurrency
SetOrderPriceCurrency
SetOrderProfile
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
ConfirmOrder
Tic
CheckOrderSimulation
CheckDeliveryBuilding
CheckPackingListIsNotDivergent
CheckOrderPackingList
DecreasePackingListLineQuantity
CheckPackingListIsCalculating
Tic
CheckPackingListIsDiverged
SplitAndDeferPackingList
Tic
CheckPackingListIsSolved
CheckPackingListSplitted
DecreasePackingListLineQuantity
CheckPackingListIsCalculating
Tic
CheckPackingListIsDiverged
SplitAndDeferPackingList
Tic
> CheckNewPackingListIsDivergent
NewPackingListAdoptPrevisionQuantity
Tic
CheckPackingListIsSolved
CheckPackingListSplittedTwoTimes
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 200, in stepCheckNewPackingListIsDivergent
self.stepCheckPackingListIsDivergent(packing_list=packing_list,sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 192, in stepCheckPackingListIsDivergent
self.assertTrue(packing_list.isDivergent())
AssertionError
FAIL: test_01_quantity_unit_copied (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 2287, in test_01_quantity_unit_copied
self.assertEquals(len(movement_list),2)
AssertionError: 1 != 2
ERROR: test_WebSiteModuleDefaultSecurity (testERP5Web.TestERP5WebWithSimpleSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 1800, in test_WebSiteModuleDefaultSecurity
portal.web_site_module.view()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2617, in view
return self._renderDefaultView('view')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2612, in _renderDefaultView
return method(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/Form.py", line 649, in __call__
return pt.pt_render(extra_context=extra_context)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 432, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.pagetemplate-3.5.1-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 742, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/Expressions.py", line 220, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/Expressions.py", line 157, in _eval
return render(ob, econtext.vars)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/Expressions.py", line 107, in render
ob = ZRPythonExpr.call_with_ns(ob.__render_with_namespace__, ns)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 81, in call_with_ns
return f(td)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 338, in __render_with_namespace__
return self._bindAndExec((), namevals, namespace)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 9, in ERP5Site_renderCachedNavigationBox
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 267, in __call__
*args, **kwd)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Cache.py", line 164, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 335, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 432, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.pagetemplate-3.5.1-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 726, in do_insertTranslation
xlated_msgid = self.translate(msgid, default, i18ndict, obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py", line 838, in translate
i18ndict, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PageTemplates/Expressions.py", line 204, in translate
context=context, default=default)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/zope.i18n-3.7.3-py2.6.egg/zope/i18n/__init__.py", line 128, in translate
return util.translate(msgid, mapping, context, target_language, default)
AttributeError: DummyMessageCatalog instance has no attribute 'translate'
FAIL: test_13_DocumentCache (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 887, in test_13_DocumentCache
self.assertTrue(web_document.hasConversion(format='txt'))
AssertionError
FAIL: test_13b_DocumentEditCacheKey (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 1006, in test_13b_DocumentEditCacheKey
self.assertTrue(web_document.hasConversion(format='txt'))
AssertionError
FAIL: test_02_WebSectionAuthorizationForced (testERP5WebWithDms.TestERP5WebWithDms), Check that when a document is requested within a Web Section we have a chance to
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5WebWithDms.py", line 267, in test_02_WebSectionAuthorizationForced
self.assertEqual('404 Not Found', request.RESPONSE.getHeader('status'))
AssertionError: '404 Not Found' != '200 OK'
FAIL: test_PreviewOOoDocumentWithEmbeddedImage (testERP5WebWithDms.TestERP5WebWithDms), Tests html preview of an OOo document with images as extensible content.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5WebWithDms.py", line 592, in test_PreviewOOoDocumentWithEmbeddedImage
self.assertEquals(response.getHeader('content-type'), 'text/html')
AssertionError: 'text/html; charset=iso-8859-15' != 'text/html'
ERROR: test_01_new_procedure_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 538, in setUp
PortalTestCase.setUp(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
self.portal.EGov_setUpInstance()
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
return f(self.aq_parent.this(), *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
message_list.append(setUpEGovSecurityManager(self))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager
ERROR: test_02_application_creation (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 538, in setUp
PortalTestCase.setUp(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
self.portal.EGov_setUpInstance()
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
return f(self.aq_parent.this(), *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
message_list.append(setUpEGovSecurityManager(self))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager
ERROR: test_03_submit_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 538, in setUp
PortalTestCase.setUp(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
self.portal.EGov_setUpInstance()
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
return f(self.aq_parent.this(), *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
message_list.append(setUpEGovSecurityManager(self))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager
ERROR: test_05_process_application (testERP5eGov.TestEgov)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 538, in setUp
PortalTestCase.setUp(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5eGov.py", line 152, in afterSetUp
self.portal.EGov_setUpInstance()
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ExternalMethod/ExternalMethod.py", line 241, in __call__
return f(self.aq_parent.this(), *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 173, in setUpInstance
message_list.append(setUpEGovSecurityManager(self))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/Extensions/SetUpEGovInstance.py", line 121, in setUpEGovSecurityManager
erp5security_dispatcher.addEGOVUserManager('egov_users')
AttributeError: addEGOVUserManager
FAIL: testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvalidationBug.py", line 93, in testCommitOrder
self.assertEqual(result_list[-2], [1,0]) # catalog
AssertionError: [1, 1] != [1, 0]
FAIL: testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testInvalidationBug.py", line 104, in testLateInvalidationFromZEO
"this unit test must be run with at least 2 ZEO clients"
AssertionError: this unit test must be run with at least 2 ZEO clients
FAIL: testBackwardCompatibility (testInventoryAPI.TestUnitConversionBackwardCompatibility)
----------------------------------------------------------------------
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/testInventoryAPI.py", line 3103, in testBackwardCompatibility
node_uid=node.getUid()))
AssertionError: 3010 != 13.0
FAIL: test_01_quantity_unit_copied (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
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 2287, in test_01_quantity_unit_copied
self.assertEquals(len(movement_list),2)
AssertionError: 1 != 2
FAIL: test_01_quantity_unit_copied (testInvoice.TestPurchaseInvoice)
----------------------------------------------------------------------
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 2287, in test_01_quantity_unit_copied
self.assertEquals(len(movement_list),2)
AssertionError: 1 != 2
FAIL: test_01_quantity_unit_copied (testLegacyInvoice.TestSaleInvoice)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyInvoice.py", line 1434, in test_01_quantity_unit_copied
self.assertEquals(len(movement_list),2)
AssertionError: 1 != 2
FAIL: test_01_quantity_unit_copied (testLegacyInvoice.TestPurchaseInvoice)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyInvoice.py", line 1434, in test_01_quantity_unit_copied
self.assertEquals(len(movement_list),2)
AssertionError: 1 != 2
FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPackingList)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyPackingList.py", line 1319, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
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:
CreateOrganisation1
CreateOrganisation2
CreateOrganisation3
CreateProject1
CreateProject2
CreateOrder
CreateCurrency
SetOrderPriceCurrency
SetOrderProfile
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
ConfirmOrder
Tic
CheckOrderSimulation
CheckDeliveryBuilding
CheckPackingListIsNotDivergent
CheckOrderPackingList
DecreasePackingListLineQuantity
CheckPackingListIsCalculating
Tic
CheckPackingListIsDiverged
SplitAndDeferPackingList
Tic
CheckPackingListIsSolved
CheckPackingListSplitted
DecreasePackingListLineQuantity
CheckPackingListIsCalculating
Tic
CheckPackingListIsDiverged
SplitAndDeferPackingList
Tic
> CheckNewPackingListIsDivergent
NewPackingListAdoptPrevisionQuantity
Tic
CheckPackingListIsSolved
CheckPackingListSplittedTwoTimes
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/ERP5Legacy/tests/testLegacyPackingList.py", line 197, in stepCheckNewPackingListIsDivergent
self.stepCheckPackingListIsDivergent(packing_list=packing_list,sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Legacy/tests/testLegacyPackingList.py", line 189, in stepCheckPackingListIsDivergent
self.assertTrue(packing_list.isDivergent())
AssertionError
FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testLegacyPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyPackingList.py", line 1319, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
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:
CreateOrganisation1
CreateOrganisation2
CreateOrganisation3
CreateProject1
CreateProject2
CreateOrder
CreateCurrency
SetOrderPriceCurrency
SetOrderProfile
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
ConfirmOrder
Tic
CheckOrderSimulation
CheckDeliveryBuilding
CheckPackingListIsNotDivergent
CheckOrderPackingList
DecreasePackingListLineQuantity
CheckPackingListIsCalculating
Tic
CheckPackingListIsDiverged
SplitAndDeferPackingList
Tic
CheckPackingListIsSolved
CheckPackingListSplitted
DecreasePackingListLineQuantity
CheckPackingListIsCalculating
Tic
CheckPackingListIsDiverged
SplitAndDeferPackingList
Tic
> CheckNewPackingListIsDivergent
NewPackingListAdoptPrevisionQuantity
Tic
CheckPackingListIsSolved
CheckPackingListSplittedTwoTimes
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/ERP5Legacy/tests/testLegacyPackingList.py", line 197, in stepCheckNewPackingListIsDivergent
self.stepCheckPackingListIsDivergent(packing_list=packing_list,sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Legacy/tests/testLegacyPackingList.py", line 189, in stepCheckPackingListIsDivergent
self.assertTrue(packing_list.isDivergent())
AssertionError
ERROR: test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 594, in test_temp_order
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 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 39, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 323, in getTotalPrice
tmp_context = self.asContext(context=context, REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "2" is invalid - it is already in use.
ERROR: test_temp_order_hierarchical (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 640, in test_temp_order_hierarchical
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 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 39, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 323, in getTotalPrice
tmp_context = self.asContext(context=context, REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
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 "1" is invalid - it is already in use.
ERROR: test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 594, in test_temp_order
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 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 39, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 323, in getTotalPrice
tmp_context = self.asContext(context=context, REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "2" is invalid - it is already in use.
ERROR: test_temp_order_hierarchical (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 640, in test_temp_order_hierarchical
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 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 39, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 323, in getTotalPrice
tmp_context = self.asContext(context=context, REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 206, in __call__
return apply(self.__dict__['_m'], (instance,) + args, kw)
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 "1" is invalid - it is already in use.
ERROR: test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleInvoice)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 594, in test_temp_order
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 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 39, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 323, in getTotalPrice
tmp_context = self.asContext(context=context, REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "2" is invalid - it is already in use.
ERROR: test_temp_order (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseInvoice)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 594, in test_temp_order
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 316, in commit
self._callBeforeCommitHooks()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 366, in _callBeforeCommitHooks
hook(*args, **kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1260, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 39, in Delivery_updateTaxLineList
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Movement.py", line 323, in getTotalPrice
tmp_context = self.asContext(context=context, REQUEST=REQUEST, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 2804, in asContext
is_indexable=False)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 362, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 565, 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 "2" is invalid - it is already in use.
FAIL: test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleOrder)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 534, in test_multiple_order_line_multiple_tax_line
line_3.getTotalPrice()]), tax_line_1.getQuantity())
AssertionError: 10.0 != 14.0
FAIL: test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseOrder)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 534, in test_multiple_order_line_multiple_tax_line
line_3.getTotalPrice()]), tax_line_1.getQuantity())
AssertionError: 10.0 != 14.0
FAIL: test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationSaleInvoice)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 534, in test_multiple_order_line_multiple_tax_line
line_3.getTotalPrice()]), tax_line_1.getQuantity())
AssertionError: 10.0 != 14.0
FAIL: test_multiple_order_line_multiple_tax_line (testLegacyTaxLineTradeCondition.TestTaxLineCalculationPurchaseInvoice)
----------------------------------------------------------------------
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/ERP5Legacy/tests/testLegacyTaxLineTradeCondition.py", line 534, in test_multiple_order_line_multiple_tax_line
line_3.getTotalPrice()]), tax_line_1.getQuantity())
AssertionError: 10.0 != 14.0
ERROR: test_01_contributeTextFileWithFilenamefromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
self.app = self._app()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'
ERROR: test_02_contributeTextFileWithExplicitExtensionfromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
self.app = self._app()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'
ERROR: test_03_textFileWithExplicitExtensionWithoutContentTypefromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
self.app = self._app()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'
ERROR: test_04_contributeTextFileWithFilenameAndRedirectionfromUrl (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
self.app = self._app()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'
ERROR: test_05_contributeTextFileWithoutFilenameButHTMLContentType (testLiveIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 140, in run
self.setUp()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 158, in setUp
self.app = self._app()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 170, in _app
return request.PARENTS[-1]
AttributeError: 'NoneType' object has no attribute 'PARENTS'
ERROR: testImportNonMigratedPerson (testMigration.TestNewStyleClasses)
----------------------------------------------------------------------
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/ERP5Type/tests/testMigration.py", line 29, in testImportNonMigratedPerson
os.mkdir(import_path)
OSError: [Errno 17] File exists: '/home/buildbot/slave/full.ERP5_z212/build/parts/unit_test/import'
ERROR: testMigrateOldObjectFromZODB (testMigration.TestNewStyleClasses)
----------------------------------------------------------------------
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/ERP5Type/tests/testMigration.py", line 51, in testMigrateOldObjectFromZODB
from Products.ERP5Type.Utils import PersistentMigrationMixin
ImportError: cannot import name PersistentMigrationMixin
FAIL: testChangeDocument (testMigration.TestNewStyleClasses)
----------------------------------------------------------------------
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/ERP5Type/tests/testMigration.py", line 124, in testChangeDocument
self.assertTrue(hasattr(person, 'getCorporateName'))
AssertionError
FAIL: testChangeMixin (testMigration.TestNewStyleClasses)
----------------------------------------------------------------------
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/ERP5Type/tests/testMigration.py", line 100, in testChangeMixin
self.assertTrue(hasattr(person, 'asText'))
AssertionError
ERROR: test_04_PersistentCacheConversionWithFlare (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 222, in test_04_PersistentCacheConversionWithFlare
document.convert(format=format)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 333, in _convert
mime, data = self._getConversionFromProxyServer(format)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/Document/OOoDocument.py", line 253, in _getConversionFromProxyServer
return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'
ERROR: 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 538, 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 538, 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 538, 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 538, 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 538, 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 538, 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 538, 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 538, 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 538, 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 538, 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 538, 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
(truncated) ...
More information about the Erp5-report
mailing list