[Erp5-report] ERP5_z212 r35279 : 3490 Tests, 230 Errors, 23 Failures, 38 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 14 00:29:21 CEST 2010
Test Suite: ERP5_z212
Revision: 35279
Result: FAIL
All tests: 3490
Failures: 23
Errors: 230
Skips: 38
The following tests failed:
testBase (1 errors, 3 skips)
test_Member_Base_download (testBase.TestBase)
testBug (8 errors)
test_01_StopDateUpdatedOnClose (testBug.TestBug)
test_02_setCheckBugNotification (testBug.TestBug)
test_03_setCheckBugNotification (testBug.TestBug)
test_04_StopDateUpdatedOnCancelWithUsualUser (testBug.TestBug)
test_05_setCheckBugClone (testBug.TestBug)
test_07_Bug_BugLineSendFastInput (testBug.TestBug)
test_08_openResolvedBug (testBug.TestBug)
test_09_ResolveBugWithDeletedBugLine (testBug.TestBug)
testBusinessTemplate (34 errors, 2 skips)
test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
test_31_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
test_34_RemovePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
test_34_RemovePartialWorkflowChain (testBusinessTemplate.TestBusinessTemplate)
test_34_UpgradeForm (testBusinessTemplate.TestBusinessTemplate)
test_34_UpgradeForm (testBusinessTemplate.TestBusinessTemplate)
test_34_UpgradeFormAttribute (testBusinessTemplate.TestBusinessTemplate)
test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
test_37_UpdatePortalType (testBusinessTemplate.TestBusinessTemplate)
test_37_UpdatePortalType (testBusinessTemplate.TestBusinessTemplate)
test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
test_global_action (testBusinessTemplate.TestBusinessTemplate)
test_global_action (testBusinessTemplate.TestBusinessTemplate)
testDeferredStyle (4 errors)
test_normal_form (testDeferredStyle.TestODSDeferredStyle)
test_report_view (testDeferredStyle.TestODSDeferredStyle)
test_normal_form (testDeferredStyle.TestODTDeferredStyle)
test_report_view (testDeferredStyle.TestODTDeferredStyle)
testDms (3 failures, 18 errors)
testOOoDocument_get_size (testDms.TestDocument)
testOOoDocument_hasData (testDms.TestDocument)
testTempOOoDocument_get_size (testDms.TestDocument)
test_02_RevisionSystem (testDms.TestDocument)
test_06_ProcessingStateOfAClonedDocument (testDms.TestDocument)
test_07_EmbeddedDocumentOfAClonedDocument (testDms.TestDocument)
test_07_testImplicitRelations (testDms.TestDocument)
test_08_EmbeddedDocumentState (testDms.TestDocument)
test_Base_createNewFile (testDms.TestDocument)
test_Base_createNewFile_empty (testDms.TestDocument)
test_Base_getConversionFormatItemList (testDms.TestDocument)
test_Base_showFoundText (testDms.TestDocument)
test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
test_Member_download_pdf_format (testDms.TestDocument)
test_Owner_Base_download (testDms.TestDocument)
test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
test_09_SearchableText (testDms.TestDocument)
test_11_SearchStringSearchCapability (testDms.TestDocument)
test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
testDmsWithFlare (4 failures, 16 errors)
testOOoDocument_get_size (testDmsWithFlare.TestDocumentWithFlare)
testOOoDocument_hasData (testDmsWithFlare.TestDocumentWithFlare)
testTempOOoDocument_get_size (testDmsWithFlare.TestDocumentWithFlare)
test_02_RevisionSystem (testDmsWithFlare.TestDocumentWithFlare)
test_06_ProcessingStateOfAClonedDocument (testDmsWithFlare.TestDocumentWithFlare)
test_07_EmbeddedDocumentOfAClonedDocument (testDmsWithFlare.TestDocumentWithFlare)
test_07_testImplicitRelations (testDmsWithFlare.TestDocumentWithFlare)
test_08_EmbeddedDocumentState (testDmsWithFlare.TestDocumentWithFlare)
test_Base_createNewFile (testDmsWithFlare.TestDocumentWithFlare)
test_Base_createNewFile_empty (testDmsWithFlare.TestDocumentWithFlare)
test_Base_getConversionFormatItemList (testDmsWithFlare.TestDocumentWithFlare)
test_Base_showFoundText (testDmsWithFlare.TestDocumentWithFlare)
test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
test_Member_download_pdf_format (testDmsWithFlare.TestDocumentWithFlare)
test_Owner_Base_download (testDmsWithFlare.TestDocumentWithFlare)
test_09_SearchableText (testDmsWithFlare.TestDocumentWithFlare)
test_11_SearchStringSearchCapability (testDmsWithFlare.TestDocumentWithFlare)
test_PDFDocument_asTextConversion (testDmsWithFlare.TestDocumentWithFlare), Test a PDF document with embedded images
test_parallel_conversion (testDmsWithFlare.TestDocumentWithFlare), Check that conversion engine is able to fill in
testDocumentationHelper (1 errors)
test_04_ODT_style_report (testDocumentationHelper.TestDocumentationHelper), Checks that it is possible to do ODT report
testERP5DocumentSyncML (10 errors)
test_02_FirstSynchronization (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_04_DeleteObject (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_05_FirstMultiSynchronization (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_07_SynchronizeWithStrangeIdGenerator (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_09_SynchronizeWorkflowHistory (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_10_BrokenMessage (testERP5DocumentSyncML.TestERP5DocumentSyncML)
test_12_OneWaySync (testERP5DocumentSyncML.TestERP5DocumentSyncML)
testERP5Interfaces (7 errors, 13 skips)
test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
testERP5Simulation (6 failures, 1 skips)
test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
testERP5Web (1 errors)
test_02_EditSimpleWebPage (testERP5Web.TestERP5Web)
testEditorField (8 errors)
test_EditSimpleEmailEventFCKEditorHTML (testEditorField.TestEditorField)
test_EditSimpleEmailEventFCKEditorText (testEditorField.TestEditorField)
test_EditSimpleEmailEventTextAreaHTML (testEditorField.TestEditorField)
test_EditSimpleEmailEventTextAreaText (testEditorField.TestEditorField)
test_EditWebPageFCKEditorHTML (testEditorField.TestEditorField)
test_EditWebPageFCKEditorText (testEditorField.TestEditorField)
test_EditWebPageTextAreaHTML (testEditorField.TestEditorField)
test_EditWebPageTextAreaText (testEditorField.TestEditorField)
testFormPrintoutAsODT (1 errors, 1 skips)
test_08_OOoConversion (testFormPrintoutAsODT.TestFormPrintoutAsODT), test ooo conversion
testIngestion (24 errors)
test_03_TextDoc (testIngestion.TestIngestion)
test_041_MetadataEditing (testIngestion.TestIngestion)
test_04_MetadataExtraction (testIngestion.TestIngestion)
test_04_MetadataExtraction (testIngestion.TestIngestion)
test_05_FormatIngestionDrawing (testIngestion.TestIngestion)
test_05_FormatIngestionImage (testIngestion.TestIngestion)
test_05_FormatIngestionPDF (testIngestion.TestIngestion)
test_05_FormatIngestionPresentation (testIngestion.TestIngestion)
test_05_FormatIngestionSpreadSheet (testIngestion.TestIngestion)
test_05_FormatIngestionText (testIngestion.TestIngestion)
test_06_FormatGenerationDrawing (testIngestion.TestIngestion)
test_06_FormatGenerationPresentation (testIngestion.TestIngestion)
test_06_FormatGenerationSpreadsheet (testIngestion.TestIngestion)
test_06_FormatGenerationText (testIngestion.TestIngestion)
test_07_SnapshotGeneration (testIngestion.TestIngestion)
test_09_Contribute (testIngestion.TestIngestion)
test_09_Contribute (testIngestion.TestIngestion)
test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
test_11_EmailIngestion (testIngestion.TestIngestion)
test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)
test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)
test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestion.TestIngestion)
test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestion.TestIngestion)
test_15_TestFileNameDiscovery (testIngestion.TestIngestion), Test that filename is well set in source_reference
testIngestionWithFlare (24 errors)
test_03_TextDoc (testIngestionWithFlare.TestIngestionWithFlare)
test_041_MetadataEditing (testIngestionWithFlare.TestIngestionWithFlare)
test_04_MetadataExtraction (testIngestionWithFlare.TestIngestionWithFlare)
test_04_MetadataExtraction (testIngestionWithFlare.TestIngestionWithFlare)
test_05_FormatIngestionDrawing (testIngestionWithFlare.TestIngestionWithFlare)
test_05_FormatIngestionImage (testIngestionWithFlare.TestIngestionWithFlare)
test_05_FormatIngestionPDF (testIngestionWithFlare.TestIngestionWithFlare)
test_05_FormatIngestionPresentation (testIngestionWithFlare.TestIngestionWithFlare)
test_05_FormatIngestionSpreadSheet (testIngestionWithFlare.TestIngestionWithFlare)
test_05_FormatIngestionText (testIngestionWithFlare.TestIngestionWithFlare)
test_06_FormatGenerationDrawing (testIngestionWithFlare.TestIngestionWithFlare)
test_06_FormatGenerationPresentation (testIngestionWithFlare.TestIngestionWithFlare)
test_06_FormatGenerationSpreadsheet (testIngestionWithFlare.TestIngestionWithFlare)
test_06_FormatGenerationText (testIngestionWithFlare.TestIngestionWithFlare)
test_07_SnapshotGeneration (testIngestionWithFlare.TestIngestionWithFlare)
test_09_Contribute (testIngestionWithFlare.TestIngestionWithFlare)
test_09_Contribute (testIngestionWithFlare.TestIngestionWithFlare)
test_10_MetadataSettingPreferenceOrder (testIngestionWithFlare.TestIngestionWithFlare)
test_11_EmailIngestion (testIngestionWithFlare.TestIngestionWithFlare)
test_12_UploadTextFromContributionTool (testIngestionWithFlare.TestIngestionWithFlare)
test_12_UploadTextFromContributionTool (testIngestionWithFlare.TestIngestionWithFlare)
test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestionWithFlare.TestIngestionWithFlare)
test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestionWithFlare.TestIngestionWithFlare)
test_15_TestFileNameDiscovery (testIngestionWithFlare.TestIngestionWithFlare), Test that filename is well set in source_reference
testLegacyProductionOrder (1 failures)
test_07_testTransformationInteractionProductionOrderLine (testLegacyProductionOrder.TestProductionOrder)
testNotificationMessageModule (3 errors)
test_safe_substitution_content (testNotificationMessageModule.TestNotificationMessageModule), Tests that 'safe' substitution is performed, unless safe_substitute is
test_substitution_content (testNotificationMessageModule.TestNotificationMessageModule), Tests that content and subject have string.Template based substitutions
test_substitution_content_parameters (testNotificationMessageModule.TestNotificationMessageModule), Tests that we can pass parameters to convert to the substitution method,
testNotificationTool (23 errors)
test_01_defaultBehaviour (testNotificationTool.TestNotificationTool)
test_02_noSender (testNotificationTool.TestNotificationTool)
test_03_noSubject (testNotificationTool.TestNotificationTool)
test_04_noRecipient (testNotificationTool.TestNotificationTool)
test_05_noMessage (testNotificationTool.TestNotificationTool)
test_06_simpleMessage (testNotificationTool.TestNotificationTool)
test_07_AttachmentMessage (testNotificationTool.TestNotificationTool)
test_08_MultiRecipient (testNotificationTool.TestNotificationTool)
test_10_PersonNotification (testNotificationTool.TestNotificationTool)
test_11_TextMessage (testNotificationTool.TestNotificationTool)
test_12_HtmlMessage (testNotificationTool.TestNotificationTool)
test_01_defaultBehaviour (testNotificationTool.TestNotificationToolWithCRM)
test_02_noSender (testNotificationTool.TestNotificationToolWithCRM)
test_03_noSubject (testNotificationTool.TestNotificationToolWithCRM)
test_04_noRecipient (testNotificationTool.TestNotificationToolWithCRM)
test_05_noMessage (testNotificationTool.TestNotificationToolWithCRM)
test_06_simpleMessage (testNotificationTool.TestNotificationToolWithCRM)
test_07_AttachmentMessage (testNotificationTool.TestNotificationToolWithCRM)
test_08_MultiRecipient (testNotificationTool.TestNotificationToolWithCRM)
test_10_PersonNotification (testNotificationTool.TestNotificationToolWithCRM)
test_11_TextMessage (testNotificationTool.TestNotificationToolWithCRM)
test_12_HtmlMessage (testNotificationTool.TestNotificationToolWithCRM)
test_store_as_event (testNotificationTool.TestNotificationToolWithCRM)
testOOoBatchMode (2 errors)
test_03_excPdfFormatNoBatchMode (testOOoBatchMode.TestOoodResponse)
test_04_excPdfFormatBatchMode (testOOoBatchMode.TestOoodResponse)
testOOoConversionCache (9 errors)
test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
test_03_CacheConversionOfTempObjectIsNotMixed (testOOoConversionCache.TestDocumentConversionCache)
test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)
test_07_check_cache_key_is_escaped (testOOoConversionCache.TestDocumentConversionCache)
test_08_check_conversion_cache_with_portal_document_type_list (testOOoConversionCache.TestDocumentConversionCache), Check cache conversion for all Portal Document Types
testOOoImport (25 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_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_CategoryTool_importCategoryFileExpirationSupport (testOOoImport.TestOOoImportWeb), Import category file with expiration request, and do it again to be
testOpenOrder (1 failures)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testPasswordTool (10 errors)
test_01_checkPasswordTool (testPasswordTool.TestPasswordTool)
test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordTool)
test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordTool)
test_login_with_trailing_space (testPasswordTool.TestPasswordTool)
test_two_concurrent_password_reset (testPasswordTool.TestPasswordTool)
test_01_checkPasswordTool (testPasswordTool.TestPasswordToolWithCRM)
test_02_checkPasswordToolDateExpired (testPasswordTool.TestPasswordToolWithCRM)
test_03_checkPasswordToolAlarm (testPasswordTool.TestPasswordToolWithCRM)
test_login_with_trailing_space (testPasswordTool.TestPasswordToolWithCRM)
test_two_concurrent_password_reset (testPasswordTool.TestPasswordToolWithCRM)
testProxyField (1 failures)
testSkinSelectionTemplateField (testProxyField.TestProxyField)
testQueryModule (1 errors)
test_reply_query_with_persons (testQueryModule.TestQueryModule)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testTemplate (3 failures)
test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
testTradeModelLine (1 failures)
test_tradeModelLineWithEmptyBaseContributionMovement (testTradeModelLine.TestTradeModelLineSale)
testTradeModelLinePurchase (1 failures)
test_tradeModelLineWithEmptyBaseContributionMovement (testTradeModelLinePurchase.TestTradeModelLinePurchase)
testXHTML (1 failures)
test_configurationOfFieldLibrary (testXHTML.TestXHTML)
The following tests were at least partly skipped:
testBase (3 skips)
test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
testBusinessTemplate (2 skips)
testCMFActivity (1 skips)
testERP5Catalog (3 skips)
test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
testERP5Interfaces (13 skips)
testERP5Simulation (1 skips)
testERP5TypeInterfaces (1 skips)
testFormPrintoutAsODT (1 skips)
test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'
testMRP (4 skips)
test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
testSQLCachedWorklist (1 skips)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
testSelectionTool (7 skips)
skipped 'Test to be written'
testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
skipped 'Test to be written'
testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testTranslation (1 skips)
Attached traceback has been truncated to the first 5000 lines
-------------- next part --------------
ERROR: test_Member_Base_download (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBase.py", line 1068, in test_Member_Base_download
f._edit(content_type='text/plain', file=DummyFile(__file__))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in updateContentMd5
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/cached_convertable.py", line 227, in updateContentMd5
mime, data = self.convert(None)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 254, in convert
base_data='not empty')
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1454, in _setProperty
return method(value, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_01_StopDateUpdatedOnClose (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 427, in test_01_StopDateUpdatedOnClose
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:
CreateBug
CheckBugInit
> OpenBug
Tic
SetOldClosedDate
AssignBug
Tic
ResolveBug
Tic
ReAssignBug
Tic
ResolveBug
Tic
CloseBug
Tic
CheckClosedDate
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/testBug.py", line 333, in stepOpenBug
self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
res = func(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 32, in Bug_sendNotification
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
ERROR: test_02_setCheckBugNotification (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 465, in test_02_setCheckBugNotification
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:
LoginUsualUser
CreateBug
CreateProject
CreatePerson1
CreatePerson2
SetSourceProject
SetRequester
Tic
> OpenBug
Tic
CheckBugNotification
AssignBug
Tic
CheckBugNotification
ResolveBug
Tic
CheckBugNotification
ReAssignBug
Tic
CheckBugNotification
CheckBugMessageNotificationReAssign
ResolveBug
Tic
CheckBugNotification
CloseBug
Tic
CheckBugNotification
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/testBug.py", line 333, in stepOpenBug
self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
res = func(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 32, in Bug_sendNotification
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
ERROR: test_03_setCheckBugNotification (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 494, in test_03_setCheckBugNotification
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:
LoginUsualUser
CreateBug
CreateProject
CreatePerson1
CreatePerson2
SetSourceProject
SetRequester
Tic
> OpenBug
Tic
CheckBugNotification
CreateBugMessage
CheckBugMessage
Tic
PostBugMessage
Tic
CheckBugMessageIsDelivered
CheckBugMessageNotification
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/testBug.py", line 333, in stepOpenBug
self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
res = func(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 32, in Bug_sendNotification
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
ERROR: test_04_StopDateUpdatedOnCancelWithUsualUser (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 512, in test_04_StopDateUpdatedOnCancelWithUsualUser
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:
LoginUsualUser
CreateBug
> OpenBug
Tic
SetOldClosedDate
CancelBug
Tic
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/testBug.py", line 333, in stepOpenBug
self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
res = func(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 32, in Bug_sendNotification
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
ERROR: test_05_setCheckBugClone (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 527, in test_05_setCheckBugClone
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:
CreateBug
CheckBugInit
> OpenBug
CloneAndCheckBug
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/testBug.py", line 333, in stepOpenBug
self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
res = func(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 32, in Bug_sendNotification
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
ERROR: test_07_Bug_BugLineSendFastInput (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 548, in test_07_Bug_BugLineSendFastInput
text_content=text_content)
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 1299, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in Bug_doBugLineSendFastInputAction
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
ERROR: test_08_openResolvedBug (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 573, in test_08_openResolvedBug
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:
CreateBug
CheckBugInit
> OpenBug
Tic
AssignBug
Tic
ResolveBug
Tic
OpenBug
Tic
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/testBug.py", line 333, in stepOpenBug
self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
res = func(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 32, in Bug_sendNotification
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
ERROR: test_09_ResolveBugWithDeletedBugLine (testBug.TestBug)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBug.py", line 587, in test_09_ResolveBugWithDeletedBugLine
self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 244, in doActionFor
wfs, ob, action, wf.doActionFor, (ob, action) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 555, in _invokeWithNotification
res = func(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 283, in doActionFor
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 32, in Bug_sendNotification
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 243, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
self._changeStateOf(ob, tdef, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.DCWorkflow/Products/DCWorkflow/DCWorkflow.py", line 468, in _changeStateOf
sdef = self._executeTransition(ob, tdef, kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
script(sci) # May throw an exception.
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 7, in BugEvent_buildMessage
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/Event.py", line 175, in send
download, **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 1299, 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 58, in BugLine_send
AttributeError: getTextFormat
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 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 6362, in test_167_InstanceAndRelatedClassDefinedInSameBT
bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 6362, in test_167_InstanceAndRelatedClassDefinedInSameBT
bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4421, in test_17_SubobjectsAfterUpgradOfBusinessTemplate
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
Current Sequence:
CreatePortalType
> CreateModuleAndObjects
CreateBaseCategory
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddPortalTypeToBusinessTemplate
FillPortalTypesFields
AddModuleToBusinessTemplate
AddBaseCategoryToBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemoveModule
RemoveBaseCategory
RemovePortalType
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckNoTrashBin
CheckSkinsLayers
CheckPortalTypeExists
CheckModuleExists
CheckModuleObjectsRemoved
CheckBaseCategoryExists
CreateModuleObjects
CreateCategories
CreateSubCategories
CreateNewBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckTrashBin
CheckSkinsLayers
CheckPortalTypeExists
CheckModuleExists
CheckBaseCategoryExists
CheckModuleObjectsExists
CheckCategoriesExists
CheckSubCategoriesExists
UninstallBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckPortalTypeRemoved
CheckModuleRemoved
CheckBaseCategoryRemoved
CheckSkinsLayers
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4421, in test_17_SubobjectsAfterUpgradOfBusinessTemplate
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4546, in test_18_upgradeBusinessTemplateWithAllItems
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreatePortalType
CreateModuleAndObjects
CreateSkinFolder
CreateBaseCategory
CreateCategories
CreateSubCategories
CreateWorkflow
CreateFirstAction
CreateSecondAction
CreateCatalogMethod
CreateKeysAndTable
CreateRole
CreateLocalRoles
CreatePropertySheet
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddPortalTypeToBusinessTemplate
FillPortalTypesFields
AddModuleToBusinessTemplate
AddSkinFolderToBusinessTemplate
AddBaseCategoryToBusinessTemplate
AddSubCategoriesAsPathToBusinessTemplate
AddWorkflowToBusinessTemplate
AddWorkflowChainToBusinessTemplate
AddCatalogMethodToBusinessTemplate
AddKeysAndTableToBusinessTemplate
AddRoleToBusinessTemplate
AddLocalRolesToBusinessTemplate
AddPropertySheetToBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemovePortalType
RemoveModule
RemoveSkinFolder
RemoveBaseCategory
RemoveWorkflow
RemoveCatalogMethod
RemoveKeysAndTable
RemoveRole
RemovePropertySheet
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckNoTrashBin
CheckSkinsLayers
CheckPortalTypeExists
CheckModuleExists
CheckSkinFolderExists
CheckBaseCategoryExists
CheckCategoriesExists
CheckSubCategoriesExists
CheckWorkflowExists
CheckWorkflowChainExists
CheckFirstActionExists
CheckSecondActionExists
CheckCatalogMethodExists
CheckKeysAndTableExists
CheckRoleExists
CheckLocalRolesExists
CheckPropertySheetExists
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckTrashBin
CheckWorkflowBackup
CheckPortalTypeExists
CheckModuleExists
CheckSkinFolderExists
CheckBaseCategoryExists
CheckCategoriesExists
CheckSubCategoriesExists
CheckWorkflowExists
CheckWorkflowChainExists
CheckFirstActionExists
CheckSecondActionExists
CheckCatalogMethodExists
CheckKeysAndTableExists
CheckRoleExists
CheckLocalRolesExists
CheckPropertySheetExists
CheckSkinsLayers
RemovePortalType
RemoveModule
RemoveSkinFolder
RemoveBaseCategory
RemoveWorkflow
RemoveCatalogMethod
RemoveKeysAndTable
RemoveRole
RemovePropertySheet
RemoveBusinessTemplate
RemoveAllTrashBins
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 407, in stepCreatePortalType
type_factory_method_id='addPerson')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 358, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 468, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 886, 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 880, in _checkId
return CMFBTreeFolder._checkId(self, id, allow_dup)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
PortalFolderBase._checkId(self, id, allow_dup)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 313, in _checkId
PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "Geek Object" is invalid - it is already in use.
ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4633, in test_19_checkUpdateBusinessTemplateWorkflow
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
Current Sequence:
CreatePortalType
> CreateModuleAndObjects
CreateSkinFolder
CreateBaseCategory
CreateCategories
CreateSubCategories
CreateWorkflow
CreateFirstAction
CreateSecondAction
CreateCatalogMethod
CreateKeysAndTable
CreateRole
CreateLocalRoles
CreatePropertySheet
CopyCoreBusinessTemplate
UseCopyCoreBusinessTemplate
ClearBusinessTemplateField
SetUpdateWorkflowFlagInBusinessTemplate
AddPortalTypeToBusinessTemplate
FillPortalTypesFields
AddModuleToBusinessTemplate
AddSkinFolderToBusinessTemplate
AddBaseCategoryToBusinessTemplate
AddSubCategoriesAsPathToBusinessTemplate
AddWorkflowToBusinessTemplate
AddWorkflowChainToBusinessTemplate
AddCatalogMethodToBusinessTemplate
AddKeysAndTableToBusinessTemplate
AddRoleToBusinessTemplate
AddLocalRolesToBusinessTemplate
AddPropertySheetToBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckTrashBin
CheckSkinsLayers
CheckPortalTypeExists
CheckModuleExists
CheckSkinFolderExists
CheckBaseCategoryExists
CheckCategoriesExists
CheckSubCategoriesExists
CheckWorkflowExists
CheckFirstActionExists
CheckSecondActionExists
CheckCatalogMethodExists
CheckKeysAndTableExists
CheckRoleExists
CheckLocalRolesExists
CheckPropertySheetExists
RemovePortalType
RemoveModule
RemoveSkinFolder
RemoveBaseCategory
RemoveWorkflow
RemoveCatalogMethod
RemoveKeysAndTable
RemoveRole
RemovePropertySheet
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4633, in test_19_checkUpdateBusinessTemplateWorkflow
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4730, in test_20_checkUpdateTool
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreatePortalType
CreateModuleAndObjects
CreateSkinFolder
CreateBaseCategory
CreateCategories
CreateSubCategories
CreateWorkflow
CreateFirstAction
CreateSecondAction
CreateCatalogMethod
CreateKeysAndTable
CreateRole
CreateLocalRoles
CreatePropertySheet
CopyCoreBusinessTemplate
UseCopyCoreBusinessTemplate
ClearBusinessTemplateField
SetUpdateToolFlagInBusinessTemplate
AddPortalTypeToBusinessTemplate
FillPortalTypesFields
AddModuleToBusinessTemplate
AddSkinFolderToBusinessTemplate
AddBaseCategoryToBusinessTemplate
AddSubCategoriesAsPathToBusinessTemplate
AddWorkflowToBusinessTemplate
AddWorkflowChainToBusinessTemplate
AddCatalogMethodToBusinessTemplate
AddKeysAndTableToBusinessTemplate
AddRoleToBusinessTemplate
AddLocalRolesToBusinessTemplate
AddPropertySheetToBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemovePortalType
RemoveModule
RemoveSkinFolder
RemoveBaseCategory
RemoveWorkflow
RemoveCatalogMethod
RemoveKeysAndTable
RemoveRole
RemovePropertySheet
RemoveBusinessTemplate
RemoveAllTrashBins
RemoveSimulationTool
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckSimulationToolExists
CheckSkinsLayers
CheckPortalTypeExists
CheckModuleExists
CheckSkinFolderExists
CheckBaseCategoryExists
CheckCategoriesExists
CheckSubCategoriesExists
CheckWorkflowExists
CheckFirstActionExists
CheckSecondActionExists
CheckCatalogMethodExists
CheckKeysAndTableExists
CheckRoleExists
CheckLocalRolesExists
CheckPropertySheetExists
RemovePortalType
RemoveModule
RemoveSkinFolder
RemoveBaseCategory
RemoveWorkflow
RemoveCatalogMethod
RemoveKeysAndTable
RemoveRole
RemovePropertySheet
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 407, in stepCreatePortalType
type_factory_method_id='addPerson')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
is_indexable=is_indexable
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 358, in constructInstance
ob = m(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Utils.py", line 468, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 886, 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 880, in _checkId
return CMFBTreeFolder._checkId(self, id, allow_dup)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/CMFBTreeFolder.py", line 53, in _checkId
PortalFolderBase._checkId(self, id, allow_dup)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 313, in _checkId
PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "Geek Object" is invalid - it is already in use.
ERROR: test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4851, in test_25_CheckNoMissingDependency
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
Current Sequence:
CreatePortalType
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddDependency
CheckMissingDependencies
CreateDependencyBusinessTemplate
CheckMissingDependencies
UseDependencyBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemovePortalType
RemoveBusinessTemplate
ImportBusinessTemplate
UseImportBusinessTemplate
> InstallBusinessTemplate
CheckInstalledInstallationState
UseExportBusinessTemplate
CheckNoMissingDependencies
UseImportBusinessTemplate
UninstallBusinessTemplate
UseExportBusinessTemplate
CheckMissingDependencies
UseImportBusinessTemplate
RemoveBusinessTemplate
UseExportBusinessTemplate
RemoveBusinessTemplate
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_25_CheckNoMissingDependency (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4851, in test_25_CheckNoMissingDependency
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4926, in test_27_CheckInstallWithBackup
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreatePortalType
CreateSkinFolder
CheckSkinFolderExists
CreateSkinSubFolder
CheckSkinSubFolderExists
CreateNewObjectInSkinSubFolder
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemovePortalType
RemoveBusinessTemplate
ImportBusinessTemplate
UseImportBusinessTemplate
> InstallBusinessTemplate
UninstallBusinessTemplate
RemoveBusinessTemplate
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_27_CheckInstallWithBackup (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 4926, in test_27_CheckInstallWithBackup
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5003, in test_30_CheckInstalledCatalogProperties
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateCatalogMethod
CreateKeysAndTable
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddCatalogMethodToBusinessTemplate
AddKeysAndTableToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
ModifyCatalogConfiguration
ImportBusinessTemplate
UseImportBusinessTemplate
> InstallBusinessTemplate
Tic
CheckCatalogConfigurationKept
UninstallBusinessTemplate
CheckCatalogConfigurationKept
RemoveCatalogLocalConfiguration
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 2358, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_30_CheckInstalledCatalogProperties (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5003, in test_30_CheckInstalledCatalogProperties
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 2358, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_31_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5046, in test_31_BusinessTemplateWithCatalogMethod
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateCatalogMethod
CreateKeysAndTable
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddCatalogMethodToBusinessTemplate
AddKeysAndTableToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemoveCatalogMethod
RemoveKeysAndTable
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
InstallBusinessTemplate
Tic
CreateNewCatalogMethod
CreateKeysAndTable
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddNewCatalogMethodToBusinessTemplate
CheckCatalogMethodExists
AddKeysAndTableToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
ChangePreviousCatalogMethod
ImportBusinessTemplate
UseImportBusinessTemplate
PartialCatalogMethodInstall
CheckCatalogMethodChangeKept
RemoveKeysAndTable
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 1477, in stepCreateCatalogMethod
arguments='', template='')
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/ZSQLMethods/SQL.py", line 70, in manage_addZSQLMethod
self._setObject(id, SQL(id, title, connection_id, arguments, template))
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
v = self._checkId(id)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "z_fake_method" is invalid - it is already in use.
ERROR: test_33_BusinessTemplateWithNewSkinSelection (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5189, in test_33_BusinessTemplateWithNewSkinSelection
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateSkinFolder
SetSkinFolderRegistredSelections
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
AddRegistredSelectionToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemoveSkinFolder
ImportBusinessTemplate
UseImportBusinessTemplate
> InstallBusinessTemplate
Tic
CheckSkinSelectionAdded
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, 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 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5189, in test_33_BusinessTemplateWithNewSkinSelection
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, 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 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5478, in test_34_RemovePartialWorkflowChain
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreatePortalType
CreateWorkflow
CheckOriginalWorkflowChain
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddWorkflowToBusinessTemplate
AddWorkflowChainToBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemoveWorkflow
CheckEmptyWorkflowChain
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
> InstallBusinessTemplate
CheckOriginalWorkflowChain
Tic
CreateCustomWorkflow
CheckCustomWorkflowChain
CreateCustomBusinessTemplate
UseExportBusinessTemplate
AddWorkflowToBusinessTemplate
AddWorkflowChainToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemoveWorkflow
CheckOriginalWorkflowChain
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
InstallBusinessTemplate
Tic
CheckCustomWorkflowChain
UninstallBusinessTemplate
Tic
CheckOriginalWorkflowChain
CheckWorkflowChainExists
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1726, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, 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 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5478, in test_34_RemovePartialWorkflowChain
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1726, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, 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 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5230, in test_34_UpgradeForm
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateSkinFolder
CreateNewForm
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemoveForm
ImportBusinessTemplate
UseImportBusinessTemplate
> InstallWithoutForceBusinessTemplate
Tic
CheckFormGroups
AddFormField
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemoveFormField
ImportBusinessTemplate
UseImportBusinessTemplate
InstallWithoutForceBusinessTemplate
Tic
CheckFormGroups
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2481, in stepInstallWithoutForceBusinessTemplate
update_catalog=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, 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 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5230, in test_34_UpgradeForm
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2481, in stepInstallWithoutForceBusinessTemplate
update_catalog=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1462, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, 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 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5272, in test_34_UpgradeFormAttribute
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateSkinFolder
CreateNewForm
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RemoveForm
ImportBusinessTemplate
UseImportBusinessTemplate
InstallWithoutForceBusinessTemplate
Tic
CheckFormGroups
ModifyFormTitle
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddSkinFolderToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
RevertFormTitle
ImportBusinessTemplate
UseImportBusinessTemplate
InstallWithoutForceBusinessTemplate
Tic
CheckFormTitle
CheckFormGroups
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 690, in stepCreateSkinFolder
ps.manage_addProduct['OFSP'].manage_addFolder('erp5_geek')
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/Folder.py", line 51, in manage_addFolder
self._setObject(id, ob)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 332, in _setObject
v = self._checkId(id)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 116, in checkValidId
'The id "%s" is invalid - it is already in use.' % id)
BadRequest: The id "erp5_geek" is invalid - it is already in use.
ERROR: test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5678, in test_36_CheckPortalTypeRoles
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreatePortalType
CreatePortalTypeRole
CreateNewBusinessTemplate
UseExportBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
AddPortalTypeToBusinessTemplate
AddPortalTypeRolesToBusinessTemplate
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemoveBusinessTemplate
RemoveAllTrashBins
RemovePortalType
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
> InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
CheckPortalTypeExists
CheckPortalTypeRoleExists
UninstallBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckPortalTypeRemoved
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_36_CheckPortalTypeRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5678, in test_36_CheckPortalTypeRoles
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_37_UpdatePortalType (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5762, in test_37_UpdatePortalType
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreatePortalType
CreateFirstAction
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddPortalTypeToBusinessTemplate
FillPortalTypesFields
BuildBusinessTemplate
SaveBusinessTemplate
RemovePortalType
RemoveBusinessTemplate
RemoveAllTrashBins
ImportBusinessTemplate
UseImportBusinessTemplate
> InstallBusinessTemplate
Tic
CheckFirstActionExists
CreateSecondAction
CheckSecondActionExists
CreatePortalTypeRole
CheckPortalTypeRoleExists
ModifyPortalType
CopyBusinessTemplate
Tic
EditBusinessTemplate
BuildBusinessTemplate
CheckBuiltBuildingState
SaveBusinessTemplate
UnmodifyPortalType
ImportBusinessTemplate
Tic
UseImportBusinessTemplate
InstallWithoutForceBusinessTemplate
Tic
CheckModifiedPortalTypeExists
CheckFirstActionExists
CheckSecondActionExists
CheckPortalTypeRoleExists
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_37_UpdatePortalType (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5762, in test_37_UpdatePortalType
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 994, in install
obj = obj._getCopy(container)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/CopySupport.py", line 574, in _getCopy
transaction.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 99, in savepoint
return self.get().savepoint(optimistic)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5831, in test_38_CheckReinstallation
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreatePortalType
CreateFirstAction
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddPortalTypeToBusinessTemplate
FillPortalTypesFields
BuildBusinessTemplate
SaveBusinessTemplate
> InstallCurrentBusinessTemplate
Tic
Tic
RemoveFirstAction
CheckBeforeReinstall
ReinstallBusinessTemplate
Tic
CreateNewBusinessTemplate
UseExportBusinessTemplate
AddCustomSkinFolderToBusinessTemplate
BuildBusinessTemplate
SaveBusinessTemplate
InstallCurrentBusinessTemplate
Tic
CreateFakeZODBScript
ReinstallBusinessTemplate
Tic
CheckFakeScriptIsDeleted
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2460, in stepInstallCurrentBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_38_CheckReinstallation (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5831, in test_38_CheckReinstallation
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2460, in stepInstallCurrentBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 1797, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5993, in test_39_CheckSiteProperties
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
Current Sequence:
SetOldSitePropertyValue
> CreateSiteProperty
CreateNewBusinessTemplate
UseExportBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
AddSitePropertyToBusinessTemplate
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
SaveBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
RemoveBusinessTemplate
RemoveAllTrashBins
SetNewSitePropertyValue
ModifySiteProperty
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
InstallBusinessTemplate
Tic
CheckInstalledInstallationState
CheckBuiltBuildingState
SetOldSitePropertyValue
CheckSiteProperty
UninstallBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
SetOldSitePropertyValue
CheckSitePropertyRemoved
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_39_CheckSiteProperties (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 5993, in test_39_CheckSiteProperties
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 116, in play
transaction.commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 325, in commit
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/TIDStorage/transaction_transaction.py", line 232, in _commitResources
result = original__commitResources(self, *args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 416, in _commitResources
rm.commit(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 558, in commit
self._commit(transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 6039, in test_40_BusinessTemplateUidOfCategoriesUnchanged
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateBaseCategory
CreateCategories
CreateSubCategories
CreateNewBusinessTemplate
UseExportBusinessTemplate
CheckModifiedBuildingState
CheckNotInstalledInstallationState
AddSubCategoriesAsPathToBusinessTemplate
BuildBusinessTemplate
CheckBuiltBuildingState
CheckNotInstalledInstallationState
CheckObjectPropertiesInBusinessTemplate
SaveBusinessTemplate
CheckSubCategoriesExists
ImportBusinessTemplate
UseImportBusinessTemplate
CheckBuiltBuildingState
ModifySubCategories
Tic
> InstallBusinessTemplate
Tic
CheckSubCategoriesExists
CheckUidSubCategories
UninstallBusinessTemplate
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_40_BusinessTemplateUidOfCategoriesUnchanged (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 6039, in test_40_BusinessTemplateUidOfCategoriesUnchanged
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
.play(context, sequence=self, quiet=quiet)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 2434, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5334, in install
return self._install(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 5270, in _install
trashbin=trashbin, installed_bt=installed_bt)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 963, in install
container_path, object_id)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/BusinessTemplate.py", line 830, in _backupObject
save=1, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/TrashTool.py", line 104, in backupObject
backup = connection.importFile(copy)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
t.savepoint(optimistic=True)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 349, in _saveAndRaiseCommitishError
t, v, tb = self._saveAndGetCommitishError()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 647, in __init__
savepoint = savepoint()
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1128, in savepoint
self._commit(None)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 606, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 640, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
PicklingError: Can't pickle <class 'Products.ERP5Type.Document.File.File'>: it's not the same object as Products.ERP5Type.Document.File.File
ERROR: test_global_action (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 6546, in test_global_action
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1103, 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 160, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1063, in tearDown
PortalTestCase.tearDown(self)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/base.py", line 103, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 126, in beforeTearDown
pw.manage_changeWorkflows('', props=props)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 89, in __call__
result = method_call_object()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Interactor/Interactor.py", line 65, in __call__
return self.method(self.__dict__['instance'], *self.args, **self.kw)
File "<string>", line 4, in manage_changeWorkflows
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/requestmethod.py", line 70, in _curried
return callable(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Products.CMFCore/Products/CMFCore/WorkflowTool.py", line 140, in manage_changeWorkflows
cbt[id] = tuple(ids)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/persistent/mapping.py", line 64, in __setitem__
self._p_changed = 1
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 990, in register
self._register(obj)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/ZODB3-3.9.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1000, in _register
self.transaction_manager.get().join(self)
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/home/buildbot/slave/full.ERP5_z212/build/eggs/transaction-1.0.0-py2.6.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
TransactionFailedError: An operation previously failed, with traceback:
File "../../bin/runUnitTest", line 184, in <module>
Products.ERP5Type.tests.runUnitTest.main()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 631, in main
debug=debug)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/runUnitTest.py", line 503, in runUnitTestList
result = TestRunner(verbosity=verbosity).run(suite)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 255, 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 399, in __call__
self.run(*args, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testBusinessTemplate.py", line 6546, in test_global_action
self.stepTic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1103, 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_normal_form (testDeferredStyle.TestODSDeferredStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDeferredStyle.py", line 133, in test_normal_form
self.tic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 751, in tic
error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'getTitle', -1, 0), ('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'Base_renderSimpleView', -2, 5)]
Last error message:
AttributeError
setTextFormat
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Shared.DC.Scripts.Bindings, line 324, in __call__
Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 32, in Base_renderSimpleView
- <PythonScript at /erp5_portal_61705a10593647a374d5102fc3f301e7/Base_renderSimpleView used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>
- Line 32
Module Products.ERP5.Tool.NotificationTool, line 353, in sendMessage
AttributeError: setTextFormat
ERROR: test_report_view (testDeferredStyle.TestODSDeferredStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDeferredStyle.py", line 98, in test_report_view
self.tic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 751, in tic
error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'Base_report', -2, 5)]
Last error message:
AttributeError
setTextFormat
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Shared.DC.Scripts.Bindings, line 324, in __call__
Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 46, in Base_report
- <PythonScript at /erp5_portal_61705a10593647a374d5102fc3f301e7/Base_report used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>
- Line 46
Module Products.ERP5.Tool.NotificationTool, line 353, in sendMessage
AttributeError: setTextFormat
ERROR: test_normal_form (testDeferredStyle.TestODTDeferredStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDeferredStyle.py", line 133, in test_normal_form
self.tic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 751, in tic
error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'getTitle', -1, 0), ('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'Base_renderSimpleView', -2, 5)]
Last error message:
AttributeError
setTextFormat
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Shared.DC.Scripts.Bindings, line 324, in __call__
Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 32, in Base_renderSimpleView
- <PythonScript at /erp5_portal_61705a10593647a374d5102fc3f301e7/Base_renderSimpleView used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>
- Line 32
Module Products.ERP5.Tool.NotificationTool, line 353, in sendMessage
AttributeError: setTextFormat
ERROR: test_report_view (testDeferredStyle.TestODTDeferredStyle)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDeferredStyle.py", line 98, in test_report_view
self.tic()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 751, in tic
error_message
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers', 'Base_report', -2, 5)]
Last error message:
AttributeError
setTextFormat
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Shared.DC.Scripts.Bindings, line 324, in __call__
Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1299, in _exec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 46, in Base_report
- <PythonScript at /erp5_portal_61705a10593647a374d5102fc3f301e7/Base_report used for /erp5_portal_61705a10593647a374d5102fc3f301e7/person_module/pers>
- Line 46
Module Products.ERP5.Tool.NotificationTool, line 353, in sendMessage
AttributeError: setTextFormat
ERROR: testOOoDocument_get_size (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 561, in testOOoDocument_get_size
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: testOOoDocument_hasData (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 576, in testOOoDocument_hasData
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: testTempOOoDocument_get_size (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 569, in testTempOOoDocument_get_size
doc.edit(base_data='OOo')
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_02_RevisionSystem (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 246, in test_02_RevisionSystem
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_06_ProcessingStateOfAClonedDocument (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 672, in test_06_ProcessingStateOfAClonedDocument
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_07_EmbeddedDocumentOfAClonedDocument (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 713, in test_07_EmbeddedDocumentOfAClonedDocument
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_07_testImplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 474, in test_07_testImplicitRelations
document1 = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_08_EmbeddedDocumentState (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 743, in test_08_EmbeddedDocumentState
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_createNewFile (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1286, in test_Base_createNewFile
file=makeFileUpload('TEST-en-002.odt'))
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 1299, 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 35, in Base_contribute
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 352, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 374, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_createNewFile_empty (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1317, in test_Base_createNewFile_empty
file=empty_file_upload)
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 1299, 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 35, in Base_contribute
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 352, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 374, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in updateContentMd5
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/cached_convertable.py", line 227, in updateContentMd5
mime, data = self.convert(None)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 254, in convert
base_data='not empty')
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_getConversionFormatItemList (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 659, in test_Base_getConversionFormatItemList
'application/vnd.oasis.opendocument.spreadsheet'))
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 1299, 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 Base_getConversionFormatItemList
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_showFoundText (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1249, in test_Base_showFoundText
document.edit(file=upload_file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_HTML_to_ODT_conversion_keep_enconding (testDms.TestDocument), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1337, in test_HTML_to_ODT_conversion_keep_enconding
mime_type, pdf_data = web_page.convert('pdf')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 169, in convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/chain.py", line 47, in convert
data = transform.convert(orig, data, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 48, in convert
doc.convert()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 197, in convert
base_content_type=self.mimetype,)
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_HTML_to_ODT_conversion_keep_related_image_list (testDms.TestDocument), This test create a Web Page and an Image.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1376, in test_HTML_to_ODT_conversion_keep_related_image_list
mime_type, odt_archive = web_page.convert('odt')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 169, in convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 48, in convert
doc.convert()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 197, in convert
base_content_type=self.mimetype,)
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Member_download_pdf_format (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 616, in test_Member_download_pdf_format
doc.edit(file=makeFileUpload('import.file.with.dot.in.filename.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Owner_Base_download (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 593, in test_Owner_Base_download
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1737, in test_DownloadableDocumentSize
text_document.edit(file=f.read())
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1711, in test_ShowPreviewAfterSubmitted
document = self.portal.portal_contributions.newContent(file=upload_file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
FAIL: test_09_SearchableText (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 800, in test_09_SearchableText
getAdvancedSearchTextResultList('ScriptableKey'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<File at /erp5_portal_604c822695152714e5fc9d07b159c4bb/document_module/25>] != []
FAIL: test_11_SearchStringSearchCapability (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1093, in test_11_SearchStringSearchCapability
self.assertSameSet([document_1,web_page_1], getAdvancedSearchStringResultList(**kw))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<File at /erp5_portal_604c822695152714e5fc9d07b159c4bb/document_module/28>, <TextDocument at /erp5_portal_604c822695152714e5fc9d07b159c4bb/web_page_module/2>] != [<TextDocument at /erp5_portal_604c822695152714e5fc9d07b159c4bb/web_page_module/2>]
FAIL: test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1690, in test_PDFDocument_asTextConversion
self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
AssertionError: 'ERP5 is a fra-E suftwara\n' != 'ERP5 is a free software.\n'
ERROR: testOOoDocument_get_size (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 561, in testOOoDocument_get_size
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: testOOoDocument_hasData (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 576, in testOOoDocument_hasData
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: testTempOOoDocument_get_size (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 569, in testTempOOoDocument_get_size
doc.edit(base_data='OOo')
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_02_RevisionSystem (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 246, in test_02_RevisionSystem
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_06_ProcessingStateOfAClonedDocument (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 672, in test_06_ProcessingStateOfAClonedDocument
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_07_EmbeddedDocumentOfAClonedDocument (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 713, in test_07_EmbeddedDocumentOfAClonedDocument
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_07_testImplicitRelations (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 474, in test_07_testImplicitRelations
document1 = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_08_EmbeddedDocumentState (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 743, in test_08_EmbeddedDocumentState
document = self.portal.portal_contributions.newContent(file=file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_createNewFile (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1286, in test_Base_createNewFile
file=makeFileUpload('TEST-en-002.odt'))
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 1299, 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 35, in Base_contribute
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 352, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 374, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_createNewFile_empty (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1317, in test_Base_createNewFile_empty
file=empty_file_upload)
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 1299, 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 35, in Base_contribute
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 352, in guarded_apply
return builtin_guarded_apply(func, args, kws)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/AccessControl/ZopeGuards.py", line 374, in builtin_guarded_apply
return func(*arglist, **argdict)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Tool/ContributionTool.py", line 247, in newContent
document._edit(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
return PythonScript_exec(self, *args)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 4, in updateContentMd5
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/cached_convertable.py", line 227, in updateContentMd5
mime, data = self.convert(None)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 254, in convert
base_data='not empty')
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_getConversionFormatItemList (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 659, in test_Base_getConversionFormatItemList
'application/vnd.oasis.opendocument.spreadsheet'))
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 1299, 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 Base_getConversionFormatItemList
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Base_showFoundText (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1249, in test_Base_showFoundText
document.edit(file=upload_file)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_HTML_to_ODT_conversion_keep_enconding (testDmsWithFlare.TestDocumentWithFlare), This test perform an PDF conversion of HTML content
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1337, in test_HTML_to_ODT_conversion_keep_enconding
mime_type, pdf_data = web_page.convert('pdf')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 169, in convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/chain.py", line 47, in convert
data = transform.convert(orig, data, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 48, in convert
doc.convert()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 197, in convert
base_content_type=self.mimetype,)
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_HTML_to_ODT_conversion_keep_related_image_list (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and an Image.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1376, in test_HTML_to_ODT_conversion_keep_related_image_list
mime_type, odt_archive = web_page.convert('odt')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 169, in convert
encoding=charset)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 205, in convertToData
context, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/TransformEngine.py", line 186, in convertTo
result = transform.convert(orig, data, context=context, usedby=usedby, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/PortalTransforms/Transform.py", line 188, in convert
return self._v_transform.convert(*args, **kwargs)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/html_to_odt.py", line 48, in convert
doc.convert()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/transforms/oood_commandtransform.py", line 197, in convert
base_content_type=self.mimetype,)
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/ERP5/Document/File.py", line 108, in _edit
Base._edit(self, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1687, in _edit
unmodified_key_list = setChangedPropertyList(unordered_key_list)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1671, in setChangedPropertyList
modified_object_list = self._setProperty(key, kw[key])
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/Base.py", line 1454, in _setProperty
return method(value, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Member_download_pdf_format (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 616, in test_Member_download_pdf_format
doc.edit(file=makeFileUpload('import.file.with.dot.in.filename.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
ERROR: test_Owner_Base_download (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 593, in test_Owner_Base_download
doc.edit(file=makeFileUpload('import_data_list.ods'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 238, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/File.py", line 106, in _edit
self._setFile(file, precondition=precondition)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 253, in __call__
wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
script(sci) # May throw an exception
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, 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 10, in Document_convertToBaseFormat
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Accessor/Alias.py", line 57, in __call__
modified_object_list = method(*args, **kw)
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/ERP5/mixin/base_convertable_and_file.py", line 54, in _setBaseData
if not isinstance(data, Pdata) and data is not None:
NameError: global name 'Pdata' is not defined
FAIL: test_09_SearchableText (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 800, in test_09_SearchableText
getAdvancedSearchTextResultList('ScriptableKey'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 805, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<File at /erp5_portal_efe675ffc6dff92eecfb7dac1e0cc9a6/document_module/25>] != []
FAIL: test_11_SearchStringSearchCapability (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1093, in test_11_SearchStringSearchCapability
self.assertSameSet([document_1,web_page_1], getAdvancedSearchStringResultList(**kw))
(truncated) ...
More information about the Erp5-report
mailing list