[Erp5-report] ERP5 r32046: 3160 Tests, 84 Errors, 24 Failures, 18 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 28 11:08:11 CET 2010


Test Suite: ERP5
Revision: 32046
Result: FAIL

All tests: 3160
Failures: 24
Errors: 84
Skips: 18


The following tests failed:

  testAccountingReports                              (1 errors)
   testProfitAndLoss (testAccountingReports.TestAccountingReports)

  testCRM                                            (1 failures)
   test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)

  testDeliveryBuilderToSupportMultipleLines          (3 failures)
   test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
   test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)

  testDms                                            (13 errors)
   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_CMYKImageTextContent (testDms.TestDocument)
   test_PDFTextContent (testDms.TestDocument)
   test_PDFToImage (testDms.TestDocument)
   test_PDF_content_information (testDms.TestDocument)
   test_PDF_content_information_extra_metadata (testDms.TestDocument)
   test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)

  testDmsWithFlare                                   (12 errors)
   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_CMYKImageTextContent (testDmsWithFlare.TestDocumentWithFlare)
   test_PDFTextContent (testDmsWithFlare.TestDocumentWithFlare)
   test_PDFToImage (testDmsWithFlare.TestDocumentWithFlare)
   test_PDF_content_information (testDmsWithFlare.TestDocumentWithFlare)
   test_PDF_content_information_extra_metadata (testDmsWithFlare.TestDocumentWithFlare)

  testERP5Catalog                                    (1 failures, 3 skips)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

  testERP5Interfaces                                 (17 errors)
   test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
   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)
   test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.Transformation_Transformation_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
   test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)

  testERP5Simulation                                 (1 failures, 2 errors)
   test_08_InvoiceDecreaseQuantity (testERP5Simulation.TestERP5SimulationInvoice)
   test_13_SplitAndDeferInvoice (testERP5Simulation.TestERP5SimulationInvoice)
   test_07_InvoiceAddPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)

  testERP5SimulationBPMEvaluation                    (4 errors)
   test_divergence_accept (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
   test_divergence_accept_force (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
   test_divergence_adopt (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
   test_divergence_split (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)

  testERP5TypeInterfaces                             (1 errors)
   test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)

  testFormPrintoutAsODG                              (3 errors)
   test_01_TextField (testFormPrintoutAsODG.TestFormPrintoutAsODG)
   test_03_Image (testFormPrintoutAsODG.TestFormPrintoutAsODG)
   test_04_ProxyField (testFormPrintoutAsODG.TestFormPrintoutAsODG)

  testFormPrintoutAsODT                              (2 failures, 8 errors)
   test_01_Paragraph (testFormPrintoutAsODT.TestFormPrintoutAsODT)
   test_01_Paragraph_07_LinesField (testFormPrintoutAsODT.TestFormPrintoutAsODT), test LinesField into multi line
   test_01_Paragraph_08_Field_Format (testFormPrintoutAsODT.TestFormPrintoutAsODT), test a field with format
   test_01_Paragraph_09_RangeReferenceWithSpan (testFormPrintoutAsODT.TestFormPrintoutAsODT), test range reference and span setting
   test_04_Iteration (testFormPrintoutAsODT.TestFormPrintoutAsODT)
   test_04_Iteration_02_Section (testFormPrintoutAsODT.TestFormPrintoutAsODT)
   test_04_Iteration_03_ReportBox_and_Section (testFormPrintoutAsODT.TestFormPrintoutAsODT)
   test_07_Image (testFormPrintoutAsODT.TestFormPrintoutAsODT)
   test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: cell format cetting
   test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents

  testICal                                           (1 failures)
   test_01_renderEvent (testICal.TestICal)

  testIngestion                                      (9 errors)
   test_04_MetadataExtraction (testIngestion.TestIngestion)
   test_04_MetadataExtraction (testIngestion.TestIngestion)
   test_09_Contribute (testIngestion.TestIngestion)
   test_09_Contribute (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)

  testIngestionWithFlare                             (9 errors)
   test_04_MetadataExtraction (testIngestionWithFlare.TestIngestionWithFlare)
   test_04_MetadataExtraction (testIngestionWithFlare.TestIngestionWithFlare)
   test_09_Contribute (testIngestionWithFlare.TestIngestionWithFlare)
   test_09_Contribute (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)

  testOOoConversionCache                             (5 errors)
   test_01_PersistentCacheConversion (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)

  testOpenOrder                                      (2 failures)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testPayroll_l10n_fr                                (1 failures)
   test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice

  testProxyField                                     (1 failures)
   testSkinSelectionTemplateField (testProxyField.TestProxyField)

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

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

  testTradeModelLine                                 (2 failures)
   test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
   test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio

  testTradeModelLinePurchase                         (2 failures)
   test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
   test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio

  testXHTML                                          (3 failures)
   test_configurationOfFieldLibrary (testXHTML.TestXHTML)
   test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)

  testXMLMatrix                                      (1 failures)
   test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)

The following tests were at least partly skipped:

  testBase                                           (3 skips)

  testMRP                                            (4 skips)

  testSQLCachedWorklist                              (1 skips)

  testSelectionTool                                  (7 skips)
-------------- next part --------------

ERROR: testProfitAndLoss (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 2881, in testProfitAndLoss
    odf = self.portal.account_module.AccountModule_viewProfitAndLossReport()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 256, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/OOoTemplate.py", line 495, in pt_render
    extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 477, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "modules["DateTime"].DateTime(at_date.year() - 1, at_date.month(), at_date.day().latestTime())"", line 1, in <expression>
AttributeError: 'int' object has no attribute 'latestTime'


FAIL: test_Base_getEntityListFromFromHeader (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testCRM.py", line 452, in test_Base_getEntityListFromFromHeader
    '%r should return %r, but returned %r' %
AssertionError: '"me at erp5.org,sender at customer.com," <he at erp5.org>' should return ['person_module/he'], but returned ['person_module/sender', 'person_module/he']


FAIL: test_02_AdoptingPrevision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 266, in test_02_AdoptingPrevision
    self.assertEquals('solved', document.getCausalityState())
AssertionError: 'solved' != 'diverged'


FAIL: test_03_AcceptingDecision (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 298, in test_03_AcceptingDecision
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      UpdateBuilderForMultipleLineList
      SetPythonScriptForDeliveryBuilder
      StartPackingList
      CheckInvoicingRule
      Tic
      GetRelatedInvoiceFromPackingList
      UpdateInvoice
      Tic
      CheckInvoiceIsDivergent
      AcceptDecisionInvoiceQuantity
      Tic
    > CheckInvoiceIsNotDivergent
      CheckPackingListIsDivergent
      AdoptPrevisionPackingListQuantity
      Tic
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2292, in stepCheckInvoiceIsNotDivergent
    self.fail(invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x6ef4ef0
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['organisation_module/8/bank']
  'prevision_title': 'bank'
  'mapping': {}
  'object_relative_url': 'accounting_module/3/1/1'
  'simulation_movement': <SimulationMovement at /erp5_portal_c7c340909daceaadc76e23f325317a72/portal_simulation/5/1/1/1>
  'tested_property': 'destination_payment'
  'decision_title': ''
  'message': 'Destination Payment'>, <DivergenceMessage object at 0x68fae60
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['organisation_module/7/bank']
  'prevision_title': 'bank'
  'mapping': {}
  'object_relative_url': 'accounting_module/3/1/1'
  'simulation_movement': <SimulationMovement at /erp5_portal_c7c340909daceaadc76e23f325317a72/portal_simulation/5/1/1/1>
  'tested_property': 'source_payment'
  'decision_title': ''
  'message': 'Source Payment'>]


FAIL: test_04_MergingMultipleSaleOrders (testDeliveryBuilderToSupportMultipleLines.TestNestedLine)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py", line 358, in test_04_MergingMultipleSaleOrders
    self.assertEquals('solved', document.getCausalityState())
AssertionError: 'solved' != 'diverged'


ERROR: test_02_RevisionSystem (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 223, in test_02_RevisionSystem
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_06_ProcessingStateOfAClonedDocument (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 654, in test_06_ProcessingStateOfAClonedDocument
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_07_EmbeddedDocumentOfAClonedDocument (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 696, in test_07_EmbeddedDocumentOfAClonedDocument
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_07_testImplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 456, in test_07_testImplicitRelations
    document1 = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_08_EmbeddedDocumentState (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 727, in test_08_EmbeddedDocumentState
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_Base_createNewFile (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 859, in test_Base_createNewFile
    file=makeFileUpload('TEST-en-002.odt'))
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 42, in Base_createNewFile
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 339, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 361, in builtin_guarded_apply
    return func(*arglist, **argdict)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_Base_createNewFile_empty (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 886, in test_Base_createNewFile_empty
    file=empty_file_upload)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 42, in Base_createNewFile
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 339, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 361, in builtin_guarded_apply
    return func(*arglist, **argdict)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_CMYKImageTextContent (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 821, in test_CMYKImageTextContent
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDFTextContent (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 767, in test_PDFTextContent
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDFToImage (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 778, in test_PDFToImage
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDF_content_information (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 788, in test_PDF_content_information
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDF_content_information_extra_metadata (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 800, in test_PDF_content_information_extra_metadata
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1021, in test_ShowPreviewAfterSubmitted
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_02_RevisionSystem (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 223, in test_02_RevisionSystem
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_06_ProcessingStateOfAClonedDocument (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 654, in test_06_ProcessingStateOfAClonedDocument
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_07_EmbeddedDocumentOfAClonedDocument (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 696, in test_07_EmbeddedDocumentOfAClonedDocument
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_07_testImplicitRelations (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 456, in test_07_testImplicitRelations
    document1 = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_08_EmbeddedDocumentState (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 727, in test_08_EmbeddedDocumentState
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_Base_createNewFile (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 859, in test_Base_createNewFile
    file=makeFileUpload('TEST-en-002.odt'))
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 42, in Base_createNewFile
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 339, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 361, in builtin_guarded_apply
    return func(*arglist, **argdict)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_Base_createNewFile_empty (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 886, in test_Base_createNewFile_empty
    file=empty_file_upload)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 42, in Base_createNewFile
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 339, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 361, in builtin_guarded_apply
    return func(*arglist, **argdict)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_CMYKImageTextContent (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 821, in test_CMYKImageTextContent
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDFTextContent (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 767, in test_PDFTextContent
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDFToImage (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 778, in test_PDFToImage
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDF_content_information (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 788, in test_PDF_content_information
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_PDF_content_information_extra_metadata (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 800, in test_PDF_content_information_extra_metadata
    document = self.portal.portal_contributions.newContent(file=upload_file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2323, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3


ERROR: test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IAmountList.IAmountList>

        


ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IBusinessPath.IBusinessPath>

        The getExpectedCompletionDuration attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of _getAcquiredCategoryMembershipList violates its contract
        because implementation doesn't allow enough arguments.
        


ERROR: test_Products.ERP5Type.Document.Document_Document_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.EmailDocument_EmailDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.Event_Event_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.File_File_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.Image_Image_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.OOoDocument_OOoDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.TextDocument_TextDocument_implements_IDocument (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IDocument.IDocument>

        


ERROR: test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IRule.IRule>

        The updateMovementCollection attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IRule.IRule>

        The updateMovementCollection attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.Transformation_Transformation_implements_IAmountGenerator (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IAmountGenerator.IAmountGenerator>

        The getGeneratedAmountList attribute was not provided.
        


ERROR: test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of getVariationRangeCategoryItemList violates its contract
        because implementation doesn't allow enough arguments.
        


ERROR: test_08_InvoiceDecreaseQuantity (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2737, in test_08_InvoiceDecreaseQuantity
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
    > SplitAndDeferInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2307, in stepSplitAndDeferInvoice
    stop_date=self.datetime + 25,
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 21, in Delivery_callSplitAndDeferTransition
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 19, in Delivery_splitAndDefer
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 137, in solveMovement
    additional_parameters=additional_parameters, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 163, in _solveMovementOrDelivery
    result = solver.solveMovement(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/TargetSolver/TargetSolver.py", line 96, in solveMovement
    solved_movement_list.append(self.solve(simulation_movement))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/TargetSolver/SplitAndDefer.py", line 112, in solve
    deliverable=simulation_movement.isDeliverable(),
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/SimulationMovement.py", line 323, in isDeliverable
    return rule is not None and rule.isDeliverable(self)
AttributeError: isDeliverable


ERROR: test_13_SplitAndDeferInvoice (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3197, in test_13_SplitAndDeferInvoice
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 112, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      StopPackingList
      Tic
      DeliverPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListNotSplitted
      DecreaseInvoiceLineQuantity
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
    > SplitAndDeferInvoice
      Tic
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      CheckInvoiceSplitted
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckInvoiceTransactionRule
      SwitchInvoices
      StartInvoice
      Tic
      StopInvoice
      Tic
      DeliverInvoice
      Tic
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2307, in stepSplitAndDeferInvoice
    stop_date=self.datetime + 25,
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 21, in Delivery_callSplitAndDeferTransition
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/Base.py", line 242, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 411, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1210, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 19, in Delivery_splitAndDefer
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 137, in solveMovement
    additional_parameters=additional_parameters, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 163, in _solveMovementOrDelivery
    result = solver.solveMovement(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/TargetSolver/TargetSolver.py", line 96, in solveMovement
    solved_movement_list.append(self.solve(simulation_movement))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/TargetSolver/SplitAndDefer.py", line 112, in solve
    deliverable=simulation_movement.isDeliverable(),
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Document/SimulationMovement.py", line 323, in isDeliverable
    return rule is not None and rule.isDeliverable(self)
AttributeError: isDeliverable


FAIL: test_07_InvoiceAddPackingListLine (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2698, in test_07_InvoiceAddPackingListLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      AddPackingListLine
      SetContainerFullQuantity
      Tic
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
    > CheckInvoiceBuilding
      RebuildAndCheckNothingIsCreated
      CheckInvoicesConsistency
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1895, in stepCheckInvoiceBuilding
    invoice.getTotalQuantity())
AssertionError: 299.0 != 398.0


ERROR: test_divergence_accept (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 762, in afterSetUp
    self.assertEqual('quantity', self.divergence.divergence_scope)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ObjectMessage.py", line 78, in __getattr__
    obj = self.getObject()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ObjectMessage.py", line 89, in getObject
    request = get_request()['PARENTS']
  File "/usr/lib/erp5/lib/python/ZPublisher/HTTPRequest.py", line 1213, in __getitem__
    raise KeyError, key
KeyError: 'PARENTS'


ERROR: test_divergence_accept_force (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 716, in afterSetUp
    TestBPMEvaluationMixin.afterSetUp(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 64, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 208, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
    ob = m(id, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
    return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
  File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 408, in _setObject
    v=self._checkId(id)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 878, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/CMFBTreeFolder.py", line 65, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/PortalFolder.py", line 426, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 84, in checkValidId
    raise BadRequest, (
BadRequest: The id "test_invoice_transaction_rule" is invalid - it is already in use.


ERROR: test_divergence_adopt (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 716, in afterSetUp
    TestBPMEvaluationMixin.afterSetUp(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 64, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 208, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
    ob = m(id, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
    return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
  File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 408, in _setObject
    v=self._checkId(id)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 878, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/CMFBTreeFolder.py", line 65, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/PortalFolder.py", line 426, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 84, in checkValidId
    raise BadRequest, (
BadRequest: The id "test_invoice_transaction_rule" is invalid - it is already in use.


ERROR: test_divergence_split (Products.ERP5.tests.testBPMEvaluation.TestDivergenceSolving)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 127, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 462, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 716, in afterSetUp
    TestBPMEvaluationMixin.afterSetUp(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMEvaluation.py", line 64, in afterSetUp
    TestBPMMixin.afterSetUp(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 208, in afterSetUp
    self.createInvoiceTransactionRule()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 138, in createInvoiceTransactionRule
    version=100)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
    ob = m(id, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
    return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
  File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 408, in _setObject
    v=self._checkId(id)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/Core/Folder.py", line 878, in _checkId
    return CMFBTreeFolder._checkId(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/CMFBTreeFolder.py", line 65, in _checkId
    PortalFolderBase._checkId(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/PortalFolder.py", line 426, in _checkId
    PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 84, in checkValidId
    raise BadRequest, (
BadRequest: The id "test_invoice_transaction_rule" is invalid - it is already in use.


ERROR: test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/Products/ERP5Type/tests/testERP5TypeInterfaces.py", line 66, in testMethod
    verifyClass(Interface, Klass)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass Products.ERP5Type.interfaces.consistency_message.IConsistencyMessage>

        The fix attribute was not provided.
        


ERROR: test_01_TextField (testFormPrintoutAsODG.TestFormPrintoutAsODG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODG.py", line 209, in test_01_TextField
    odf_document = foo_printout() # call
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_03_Image (testFormPrintoutAsODG.TestFormPrintoutAsODG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODG.py", line 329, in test_03_Image
    odf_document = foo_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_04_ProxyField (testFormPrintoutAsODG.TestFormPrintoutAsODG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODG.py", line 459, in test_04_ProxyField
    odf_document = foo_printout() # call
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_01_Paragraph (testFormPrintoutAsODT.TestFormPrintoutAsODT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 204, in test_01_Paragraph
    odf_document = foo_printout() # call
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_01_Paragraph_07_LinesField (testFormPrintoutAsODT.TestFormPrintoutAsODT), test LinesField into multi line
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 240, in test_01_Paragraph_07_LinesField
    odf_document = foo_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_01_Paragraph_08_Field_Format (testFormPrintoutAsODT.TestFormPrintoutAsODT), test a field with format
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 265, in test_01_Paragraph_08_Field_Format
    odf_document = foo_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_01_Paragraph_09_RangeReferenceWithSpan (testFormPrintoutAsODT.TestFormPrintoutAsODT), test range reference and span setting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 295, in test_01_Paragraph_09_RangeReferenceWithSpan
    odf_document = foo_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_04_Iteration (testFormPrintoutAsODT.TestFormPrintoutAsODT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 822, in test_04_Iteration
    odf_document = foo_report_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_04_Iteration_02_Section (testFormPrintoutAsODT.TestFormPrintoutAsODT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 926, in test_04_Iteration_02_Section
    odf_document = foo_report_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_04_Iteration_03_ReportBox_and_Section (testFormPrintoutAsODT.TestFormPrintoutAsODT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1038, in test_04_Iteration_03_ReportBox_and_Section
    odf_document = foo_report_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


ERROR: test_07_Image (testFormPrintoutAsODT.TestFormPrintoutAsODT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1113, in test_07_Image
    odf_document = foo_printout()
TypeError: index_html() takes at least 2 arguments (1 given)


FAIL: test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: cell format cetting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 630, in test_02_Table_07_CellFormat
    self.assertEqual(date_column.attrib[date_value_attrib], '2009-04-20')
AssertionError: '2009-04-19' != '2009-04-20'


FAIL: test_09_FieldReplacement (testFormPrintoutAsODT.TestFormPrintoutAsODT), test field in ODF Documents
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1163, in test_09_FieldReplacement
    self._validate(self.getODFDocumentFromPrintout(foo_printout))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testFormPrintout.py", line 60, in _validate
    self.fail(''.join(error_list))
AssertionError: <string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"
<string>:2:0:ERROR:VALID:DTD_UNKNOWN_ID: IDREF attribute control references an unknown ID "control1"


FAIL: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testICal.py", line 151, in test_01_renderEvent
    self.assertEquals( # if this fail for you, try to set $TZ to Europe/Paris
AssertionError: '20070815T143000Z' != '20070815T083000Z'


ERROR: test_04_MetadataExtraction (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1075, in test_04_MetadataExtraction
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > UploadTextFromContributionTool
      SetSimulatedDiscoveryScript
      Tic
      TestMetadataSetting
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 591, in stepUploadTextFromContributionTool
    self.portal.portal_contributions.newContent(id='one', file=f)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_04_MetadataExtraction (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_09_Contribute (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1267, in test_09_Contribute
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > ContributeFileListWithNoType
      CleanUp
      ContributeFileListWithType
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 870, in stepContributeFileListWithNoType
    self.contributeFileList(with_portal_type=False)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 379, in contributeFileList
    ob = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_09_Contribute (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_11_EmailIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1333, in test_11_EmailIngestion
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
      ReceiveEmailFromUnknown
      CreatePerson
    > ReceiveEmailFromJohn
      VerifyEmailedDocuments
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 947, in stepReceiveEmailFromJohn
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_5ce6393d7e557173bcbe3da5f2bf3e21/document_ingestion_module/2', 'discoverMetadata', -2, 6)] 
Last error message:
TypeError
arg is not a Python function
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5.Document.Document, line 1088, in discoverMetadata
  Module Products.ERP5.Document.Document, line 1104, in finishIngestion
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1210, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 44, in DocumentIngestionMessage_finishIngestion
   - <PythonScript at /erp5_portal_5ce6393d7e557173bcbe3da5f2bf3e21/DocumentIngestionMessage_finishIngestion used for /erp5_portal_5ce6393d7e557173bcbe3da5f2bf3e21/document_ingestion_module/2>
   - Line 44
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5.Tool.ContributionTool, line 243, in newContent
  Module inspect, line 670, in getargspec
TypeError: arg is not a Python function




ERROR: test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1353, in test_12_UploadTextFromContributionTool
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > UploadTextFromContributionTool
      CheckConvertingState
      Tic
      CheckConvertedState
      DiscoverFromFilename
      Tic
      ReuploadTextFromContributionTool
      UploadAnotherTextFromContributionTool
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 591, in stepUploadTextFromContributionTool
    self.portal.portal_contributions.newContent(id='one', file=f)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1406, in test_13_UploadTextFromContributionToolWithNonASCIIFilename
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > UploadTextFromContributionToolWithNonASCIIFilename
      Tic
      DiscoverFromFilenameWithNonASCIIFilename
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1361, in stepUploadTextFromContributionToolWithNonASCIIFilename
    document = self.portal.portal_contributions.newContent(file=f)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_04_MetadataExtraction (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1075, in test_04_MetadataExtraction
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > UploadTextFromContributionTool
      SetSimulatedDiscoveryScript
      Tic
      TestMetadataSetting
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 591, in stepUploadTextFromContributionTool
    self.portal.portal_contributions.newContent(id='one', file=f)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_04_MetadataExtraction (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_09_Contribute (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1267, in test_09_Contribute
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > ContributeFileListWithNoType
      CleanUp
      ContributeFileListWithType
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 870, in stepContributeFileListWithNoType
    self.contributeFileList(with_portal_type=False)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 379, in contributeFileList
    ob = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_09_Contribute (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_11_EmailIngestion (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1333, in test_11_EmailIngestion
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
      ReceiveEmailFromUnknown
      CreatePerson
    > ReceiveEmailFromJohn
      VerifyEmailedDocuments
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 947, in stepReceiveEmailFromJohn
    self.tic()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 664, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_893f084273ed0abd34e094d47b411190/document_ingestion_module/2', 'discoverMetadata', -2, 6)] 
Last error message:
TypeError
arg is not a Python function
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 294, in __call__
  Module Products.ERP5.Document.Document, line 1088, in discoverMetadata
  Module Products.ERP5.Document.Document, line 1104, in finishIngestion
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1210, in _exec
  Module Products.PythonScripts.PythonScript, line 325, in _exec
  Module None, line 44, in DocumentIngestionMessage_finishIngestion
   - <PythonScript at /erp5_portal_893f084273ed0abd34e094d47b411190/DocumentIngestionMessage_finishIngestion used for /erp5_portal_893f084273ed0abd34e094d47b411190/document_ingestion_module/2>
   - Line 44
  Module AccessControl.ZopeGuards, line 339, in guarded_apply
  Module AccessControl.ZopeGuards, line 361, in builtin_guarded_apply
  Module Products.ERP5.Tool.ContributionTool, line 243, in newContent
  Module inspect, line 670, in getargspec
TypeError: arg is not a Python function




ERROR: test_12_UploadTextFromContributionTool (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1353, in test_12_UploadTextFromContributionTool
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > UploadTextFromContributionTool
      CheckConvertingState
      Tic
      CheckConvertedState
      DiscoverFromFilename
      Tic
      ReuploadTextFromContributionTool
      UploadAnotherTextFromContributionTool
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 591, in stepUploadTextFromContributionTool
    self.portal.portal_contributions.newContent(id='one', file=f)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_12_UploadTextFromContributionTool (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1406, in test_13_UploadTextFromContributionToolWithNonASCIIFilename
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 977, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CleanUp
    > UploadTextFromContributionToolWithNonASCIIFilename
      Tic
      DiscoverFromFilenameWithNonASCIIFilename
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1361, in stepUploadTextFromContributionToolWithNonASCIIFilename
    document = self.portal.portal_contributions.newContent(file=f)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_13_UploadTextFromContributionToolWithNonASCIIFilename (testIngestionWithFlare.TestIngestionWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 149, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 979, in tearDown
    return PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 123, in beforeTearDown
    assert not activity_status
AssertionError


ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 157, in test_01_PersistentCacheConversion
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 259, in test_04_PersistentCacheConversionWithFlare
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 293, in test_05_checksum_conversion
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 323, in test_06_check_md5_is_updated
    document = self.portal.portal_contributions.newContent(file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


ERROR: test_07_check_cache_key_is_escaped (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5OOo/tests/testOOoConversionCache.py", line 349, in test_07_check_cache_key_is_escaped
    document = self.portal.portal_contributions.newContent(id=document_id, file=file)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/Tool/ContributionTool.py", line 243, in newContent
    if 'set_filename__' in inspect.getargspec(document._edit)[0]:
  File "/usr/lib64/python2.4/inspect.py", line 670, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function


FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 303, in testOpenOrderRule
    [(DateTime(3000,2,10,10,0), DateTime(3000,2,11,10,0)),
AssertionError: [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 US/Eastern'), DateTime('3000/03/11 10:00:00 US/Eastern'))] != [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 GMT-4'), DateTime('3000/03/11 10:00:00 GMT-4'))]


FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 185, in testPeriodicityDateList
    [(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]


FAIL: test_01_getYearToDateSlice (testPayroll_l10n_fr.TestPayroll_l10n_fr), Check that is possible to calculate the total amount spend on a slice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 118, in test_01_getYearToDateSlice
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      SetCurrencyOnModel
      ModelCreateUrssafModelLineWithSlices
      UrssafModelLineWithSlicesCreateMovements
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
      CreateBasicPaysheet
      PaysheetSetModelAndApplyIt
      PaysheetCreateLabourPaySheetLine
      CreateBusinessProcess
      CreateBusinessPath
      CreateUrssafRoubaixOrganisation
      ModifyBusinessPathTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturnUsingSlices
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreatedUsingSlices
      CheckPaysheetLineAmountsUsingSlices
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsUsingSlices
    > CheckYearToDateSliceAmount
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testPayroll_l10n_fr.py", line 89, in stepCheckYearToDateSliceAmount
    paysheet_list[1].PaySheetTransaction_getYearToDateSlice(\
AssertionError: 400 != 0.0


FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Form/tests/testProxyField.py", line 189, in testSkinSelectionTemplateField
    self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'


FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
    self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}


FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
    self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1


FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
    self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2


FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale), Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2104, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
    sequence_list.play(self, quiet=True)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      GetInvoiceLineDiscounted
      GetInvoiceLineDiscountedTaxed
      GetInvoiceLineTaxed
      ModifyQuantityInvoiceLineDiscounted
      ModifyQuantityInvoiceLineDiscountedTaxed
      ModifyQuantityInvoiceLineTaxed
      Tic
      CheckInvoiceCausalityStateDiverged
      AcceptDecisionQuantityInvoice
      Tic
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
    invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x56af908
  'decision_value': 1.9999999999999998
  'divergence_scope': 'quantity'
  'prevision_value': 5.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/3/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '1.9999999999999998'
  'message': 'Quantity'>, <DivergenceMessage object at 0xa88a128
  'decision_value': -0.60000000000000009
  'divergence_scope': 'quantity'
  'prevision_value': -1.5
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/2>
  'tested_property': 'quantity'
  'decision_title': '-0.60000000000000009'
  'message': 'Quantity'>, <DivergenceMessage object at 0x6e6ea70
  'decision_value': 28.5
  'divergence_scope': 'quantity'
  'prevision_value': 71.25
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/2>
  'tested_property': 'quantity'
  'decision_title': '28.5'
  'message': 'Quantity'>, <DivergenceMessage object at 0x9a87b00
  'decision_value': 12.0
  'divergence_scope': 'quantity'
  'prevision_value': 30.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '12.0'
  'message': 'Quantity'>, <DivergenceMessage object at 0x768cb48
  'decision_value': 30.0
  'divergence_scope': 'quantity'
  'prevision_value': 75.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '30.0'
  'message': 'Quantity'>]


FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2185, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self, quiet=True)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
    invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x6cb5248
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x56bdf38
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/2/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]


FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check that after changing invoice line invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2104, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
    sequence_list.play(self, quiet=True)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      GetInvoiceLineDiscounted
      GetInvoiceLineDiscountedTaxed
      GetInvoiceLineTaxed
      ModifyQuantityInvoiceLineDiscounted
      ModifyQuantityInvoiceLineDiscountedTaxed
      ModifyQuantityInvoiceLineTaxed
      Tic
      CheckInvoiceCausalityStateDiverged
      AcceptDecisionQuantityInvoice
      Tic
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
    invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x7100248
  'decision_value': 1.9999999999999998
  'divergence_scope': 'quantity'
  'prevision_value': 5.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/3/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '1.9999999999999998'
  'message': 'Quantity'>, <DivergenceMessage object at 0x6dada28
  'decision_value': -0.60000000000000009
  'divergence_scope': 'quantity'
  'prevision_value': -1.5
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/2/1/1/2/2>
  'tested_property': 'quantity'
  'decision_title': '-0.60000000000000009'
  'message': 'Quantity'>, <DivergenceMessage object at 0x69f14d0
  'decision_value': 28.5
  'divergence_scope': 'quantity'
  'prevision_value': 71.25
  'mapping': {}
  'object_relative_url': 'accounting_module/5/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/1/1/1/2/2>
  'tested_property': 'quantity'
  'decision_title': '28.5'
  'message': 'Quantity'>, <DivergenceMessage object at 0x800ed40
  'decision_value': 12.0
  'divergence_scope': 'quantity'
  'prevision_value': 30.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/2/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '12.0'
  'message': 'Quantity'>, <DivergenceMessage object at 0x71a6830
  'decision_value': 30.0
  'divergence_scope': 'quantity'
  'prevision_value': 75.0
  'mapping': {}
  'object_relative_url': 'accounting_module/5/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/8/1/1/1/2/1>
  'tested_property': 'quantity'
  'decision_title': '30.0'
  'message': 'Quantity'>]


FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2185, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self, quiet=True)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 459, in stepCheckInvoiceCausalityStateSolved
    invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x7d702d8
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/21/2/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0xa356560
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/21/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]


FAIL: test_configurationOfFieldLibrary (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testXHTML.py", line 186, in test_configurationOfFieldLibrary
    self.fail(message) # uncomment above for details on each field
AssertionError: 5408 fields to modify


FAIL: test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testXHTML.py", line 406, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 519 column 43 : there is no attribute "class"
Error: line 519 column 63 : there is no attribute "style"
Error: line 519 column 105 : there is no attribute "src"
Error: line 519 column 222 : there is no attribute "onload"
Error: line 519 column 244 : element "iframe" undefined


FAIL: test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testXHTML.py", line 406, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 519 column 43 : there is no attribute "class"
Error: line 519 column 63 : there is no attribute "style"
Error: line 519 column 105 : there is no attribute "src"
Error: line 519 column 222 : there is no attribute "onload"
Error: line 519 column 244 : element "iframe" undefined


FAIL: test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 134, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/Products/ERP5Type/tests/testXMLMatrix.py", line 341, in test_9999_SetCellRangeAndCatalogWithoutActivities
    self.checkSetCellRangeAndCatalog(active=0)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/Products/ERP5Type/tests/testXMLMatrix.py", line 219, in checkSetCellRangeAndCatalog
    cell = matrix.newCell(portal_type="Purchase Order Cell",
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 229, in newCell
    return XMLMatrix.newCell(self, *kw, **kwd)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/XMLMatrix.py", line 509, in newCell
    return self.newCellContent(cell_id,**kwd)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/XMLMatrix.py", line 523, in newCellContent
    return self.newContent(id=id, portal_type=portal_type, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 455, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 163, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/ERP5Type.py", line 357, in constructInstance
    ob = m(id, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Utils.py", line 460, in __call__
    folder._setObject(id, o)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 205, in __call__
    return apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 884, in _setObject
    return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
  File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 431, in _setObject
    object.manage_afterAdd(object, self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/CopySupport.py", line 318, in manage_afterAdd
    self.reindexObject()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/Document/OrderCell.py", line 72, in reindexObject
    self.recursiveReindexObject(*k,**kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1197, in recursiveReindexObject
    serialization_tag=self.getRootDocumentPath(),
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1222, in recursiveImmediateReindexObject
    self.immediateReindexObject(**kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/Base.py", line 2885, in immediateReindexObject
    PortalContent.reindexObject(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
    catalog.reindexObject(self, idxs=idxs, *args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 770, in reindexObject
    self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 702, in catalog_object
    self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 832, in catalogObjectList
    catalog.catalogObjectList(wrapped_object_list, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1253, in catalogObjectList
    idxs=idxs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1359, in _catalogObjectList
    'uid of %r changed from %r to %r as old one is assigned'
  File "/usr/lib/erp5/lib/python/zLOG/__init__.py", line 134, in LOG
    log_write(subsystem, severity, summary, detail, error)
  File "/usr/lib/erp5/lib/python/zLOG/EventLogger.py", line 57, in log_write
    logger.log(level, msg, exc_info=(error is not None))
  File "/usr/lib64/python2.4/logging/__init__.py", line 1040, in log
    apply(self._log, (level, msg, args), kwargs)
  File "/usr/lib64/python2.4/logging/__init__.py", line 1079, in _log
    self.handle(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 1089, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 1126, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 638, in handle
    rv = self.filter(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 539, in filter
    if not f.filter(record):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Type/tests/utils.py", line 322, in filter
    raise AssertionError("%s(%s): %s" %
AssertionError: SQLCatalog(ERROR): uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/3/1/quantity_0_0> changed from 514L to 514L as old one is assigned to /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/3/1 in catalog !!! This can be fatal.


More information about the Erp5-report mailing list