[Erp5-report] ERP5 r26947: 2547 Tests, 28 Errors, 7 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 13 08:34:01 CEST 2009


Test Suite: ERP5
Revision: 26947
Result: FAIL

All tests: 2547
Failures: 7
Errors: 28


The following tests failed:

  testImmobilisation                                 (1 failures, 1 errors)
   test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
   test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)

  testAccounting                                     (9 errors)
   Transaction validation and accounts
   Transaction validation and balance
   Transaction validation and currency
   Transaction validation and dates
   Transaction validation and payment
   Transaction validation removes empty lines
   Transaction validation and section
   Make sure acounting transactions created by createAccountingTransaction
   Tests that accounting_period_workflow creates a balance transaction.

  testSQLCachedWorklist                              (1 failures)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testERP5Administration                             (1 failures)
   test_01_RunCheckStockTableAlarm (testERP5Administration.TestERP5Administration)

  testERP5Interfaces                                 (12 errors)
   test_BusinessPath_implements_IArrow (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_TransformationRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
   test_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)

  testBPMCore                                        (1 failures)
   test_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)

  testERP5CurrencyExchangeLine                       (6 errors)
   test_01_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
   test_01_CreateCELWithNoReferenceCurrency (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
   test_01_CreateEmptyCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
   test_01_NoCurrencyExchangeLineForResourceCurrency (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
   test_01_UseCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
   test_01_UseCurrencyExchangeLineForSource (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)

  testERP5Catalog                                    (1 failures)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog)

  testDms                                            (1 failures)
   test_09_ScriptableKeys (testDms.TestDocument)
-------------- next part --------------

ERROR: test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3869, in test_21_TestSimulationBuildingWithValidatedTransactions
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetTest21SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      TestSimpleAccountingBuild
    > ValidateAccounting
      Tic
      Test21FirstModifyPackingList
      Tic
      TestFirstSimulationBuildAfterAccountingValidation
      Test21SecondModifyPackingList
      Tic
      TestSecondSimulationBuildAfterAccountingValidation
      Test21ThirdModifyPackingList
      Tic
      TestThirdSimulationBuildAfterAccountingValidation
      Test21FourthModifyPackingList
      Tic
      TestFourthSimulationBuildAfterAccountingValidation
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 576, in stepValidateAccounting
    transaction.commit()
AttributeError: commit



FAIL: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3785, in test_20_TestAccountingAcceptDecisionSolver
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetTest20SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      ConfirmAmortisationTransaction
      Tic
      TestSimpleAccountingBuild
      ChangeAccountingPrice
      Tic
      AcceptDecision
      Tic
    > TestSimulationBuildAfterAcceptDecision
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2765, in stepTestSimulationBuildAfterAcceptDecision
    self._testSimulationBuild(c_simulation_movement_list, e_simulation_movement_list)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2163, in _testSimulationBuild
    self.fail('No expected movement found for\
AssertionError: No expected movement found for portal_simulation/86/start_input_0_0
	None
	None
	0.0
	10000.0
	currency_module/EUR
	account_module/account1
	organisation_module/A
	2000/01/01
	2000/01/01
[{'destination': None,
  'destination_section_value': None,
  'id': 1,
  'profit_quantity': -5000,
  'quantity': 10000,
  'resource': 'currency_module/EUR',
  'source': 'account_module/account1',
  'source_section_value': <Organisation at /erp5_portal_dda7662059c087a3f538e6be675d05b5/organisation_module/A>,
  'start_date': DateTime('2000/01/01'),
  'stop_date': DateTime('2000/01/01')}]



ERROR: Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3730, in test_AccountingTransactionValidationAccounts
    self.playSequence("""
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2618, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateClosedAccount
      CreateValidAccountingTransaction
      ValidateNoAccounts
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3277, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3743, in test_AccountingTransactionValidationBalanced
    self.playSequence("""
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2618, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNotBalanced
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3277, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3719, in test_AccountingTransactionValidationCurrency
    self.playSequence("""
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2618, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoCurrency
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3277, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3696, in test_AccountingTransactionValidationDate
    self.playSequence("""
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2618, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoDate
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3277, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3754, in test_AccountingTransactionValidationPayment
    self.playSequence("""
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2618, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoPayment
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3277, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Transaction validation removes empty lines
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3766, in test_AccountingTransactionValidationRemoveEmptyLines
    self.playSequence("""
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2618, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateRemoveEmptyLines
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3277, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3708, in test_AccountingTransactionValidationSection
    self.playSequence("""
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2618, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateEntities
      CreateCurrencies
      CreateAccounts
    > CreateValidAccountingTransaction
      ValidateNoSection
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3277, in stepCreateValidAccountingTransaction
    payable_account=sequence.get('payable_account'), )
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Make sure acounting transactions created by createAccountingTransaction
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3256, in test_createAccountingTransaction
    transaction = self.createAccountingTransaction()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 3245, in createAccountingTransaction
    transaction.commit()
AttributeError: commit



ERROR: Tests that accounting_period_workflow creates a balance transaction.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 1454, in test_AccountingPeriodWorkflow
    transaction.commit()
AttributeError: commit



FAIL: test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testWorklist.py", line 368, in test_02_related_key
    result = workflow_tool.listActions(object=document)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 564, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 202, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 530, in _getWorklistActionList
    src__=src__)
  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/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1034, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Base_getCountFromWorklistTable
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1038, in buildSQLQuery
    return catalog.buildSQLQuery(REQUEST=REQUEST, query_table=query_table, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2192, in buildSQLQuery
    result = query.asSQLExpression(self, only_group_columns).asSQLExpressionDict()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/EntireQuery.py", line 99, in asSQLExpression
    self.query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/AutoQuery.py", line 129, in registerColumnMap
    return self.wrapped_query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/RelatedQuery.py", line 87, in registerColumnMap
    self.group = self.search_key.registerColumnMap(column_map, table_alias_list=self.table_alias_list)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SearchKey/RelatedKey.py", line 144, in registerColumnMap
    column_map.registerCatalog()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ColumnMap.py", line 169, in registerCatalog
    assert self.catalog_table_name is not None
AssertionError



FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 183, in testPeriodicityDateList
    [(DateTime(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))]



FAIL: test_01_RunCheckStockTableAlarm (testERP5Administration.TestERP5Administration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Administration.py", line 80, in test_01_RunCheckStockTableAlarm
    checkStock(row_count-2) # alarm.solve will unindex 'mvt'
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Administration.py", line 66, in checkStock
    checkActiveProcess(0)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Administration.py", line 59, in checkActiveProcess
    failed)
AssertionError: True != 0



ERROR: test_BusinessPath_implements_IArrow (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 84, in test_BusinessPath_implements_IArrow
    verifyClass(IArrow, BusinessPath)
  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 IArrow.IArrow>

        The getDestinationArrowBaseCategoryList attribute was not provided.
        



ERROR: test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 79, in test_BusinessPath_implements_IBusinessPath
    verifyClass(IBusinessPath, BusinessPath)
  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 IBusinessPath.IBusinessPath>

        



ERROR: test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 89, in test_BusinessPath_implements_ICategoryAccessProvider
    verifyClass(ICategoryAccessProvider, BusinessPath)
  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_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 53, in test_TradeModelCell_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



ERROR: test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 63, in test_TradeModelLine_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



ERROR: test_TradeModelRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 98, in test_TradeModelRule_implements_IPredicate
    from Products.ERP5Type.Interface import IPredicate
ImportError: cannot import name IPredicate



ERROR: test_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 93, in test_TradeModelRule_implements_IRule
    from Products.ERP5Type.Interface import IRule
ImportError: cannot import name IRule



ERROR: test_TransformationRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 108, in test_TransformationRule_implements_IPredicate
    from Products.ERP5Type.Interface import IPredicate
ImportError: cannot import name IPredicate



ERROR: test_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 103, in test_TransformationRule_implements_IRule
    from Products.ERP5Type.Interface import IRule
ImportError: cannot import name IRule



ERROR: test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 69, in test_Transformation_implements_ITransformation
    verifyClass(ITransformation, Transformation)
  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 ITransformation.ITransformation>

        



ERROR: test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 73, in test_Transformation_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



ERROR: test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 113, in test_TransformedResource_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



FAIL: test_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1993, in test_BuinessPathDynamicCategoryAccessProvider
    business_path.getSource(context=context_movement))
AssertionError: 'organisation_module/1' != 'source/organisation_module/1'



ERROR: test_01_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 495, in test_01_CreateCELWithNoBasePrice
    transaction.commit()
UnboundLocalError: local variable 'transaction' referenced before assignment



ERROR: test_01_CreateCELWithNoReferenceCurrency (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 439, in test_01_CreateCELWithNoReferenceCurrency
    transaction.commit()
UnboundLocalError: local variable 'transaction' referenced before assignment



ERROR: test_01_CreateEmptyCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 202, in test_01_CreateEmptyCurrencyExchangeLineForDestination
    transaction.commit()
UnboundLocalError: local variable 'transaction' referenced before assignment



ERROR: test_01_NoCurrencyExchangeLineForResourceCurrency (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 326, in test_01_NoCurrencyExchangeLineForResourceCurrency
    transaction.commit()
UnboundLocalError: local variable 'transaction' referenced before assignment



ERROR: test_01_UseCurrencyExchangeLineForDestination (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 145, in test_01_UseCurrencyExchangeLineForDestination
    transaction.commit()
UnboundLocalError: local variable 'transaction' referenced before assignment



ERROR: test_01_UseCurrencyExchangeLineForSource (testERP5CurrencyExchangeLine.TestERP5CurrencyMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5CurrencyExchangeLine.py", line 272, in test_01_UseCurrencyExchangeLineForSource
    transaction.commit()
UnboundLocalError: local variable 'transaction' referenced before assignment



FAIL: test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1664, in test_49_IndexInOrderedSearchFolder
    self.failUnless('use index' in sql)
AssertionError



FAIL: test_09_ScriptableKeys (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 747, in test_09_ScriptableKeys
    self.assertEqual(len(self.portal.portal_catalog(advanced_search_text='ScriptableKey')), 1)
AssertionError: 155 != 1



More information about the Erp5-report mailing list