[Erp5-report] ERP5_z28 r17665: 1321 Tests, 11 Errors, 9 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Nov 18 20:48:20 CET 2007


Test Suite: ERP5_z28
Revision: 17665
Result: FAIL

All tests: 1321
Failures: 9
Errors: 11


The following tests failed:

  testAccountingRules                                (10 errors)
   Simple Invoice.
   Same test as SimpleInvoice but directly confirm the invoice
   Simple Invoice, 2 lines.
   Simple Invoice, 2 cells.
   Add a new line then updateAppliedRule.
   Tests that editing a line updates simulation correctly
   Tests that removing a line updates simulation correctly
   Tests that replacing a line by cells updates simulation correctly
   Tests that updating an applied rule many times doesn't break the
   Multiple lines invoice.

  testERP5Category                                   (4 failures)
   test_01_RenameCategory (testERP5Category.TestERP5Category)
   test_02_RenameCategoryTree (testERP5Category.TestERP5Category)
   test_03_RenameRelatedObject (testERP5Category.TestERP5Category)
   test_04_RenameObjectWithRelatedSubObject (testERP5Category.TestERP5Category)

  testInventoryAPI                                   (3 failures)
   test_TimeZone (testInventoryAPI.TestInventory)
   test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)

  testPerformance                                    (2 failures)
   test_00_viewBarObject (testPerformance.TestPerformance)
   test_01_viewBarModule (testPerformance.TestPerformance)

  testConstraint                                     (1 errors)
   Tests PropertyTypeValidity can repairs categories when this property
-------------- next part --------------

ERROR: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1462, in test_04_SimpleInvoice
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
      CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleSaleInvoice
      PlanInvoice
    > Tic
      CheckFirstRuleIsApplied
      CheckPaymentRuleIsApplied
      ConfirmInvoice
      Tic
      CheckAccountingLinesCoherantWithSimulation
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 190, in stepTic
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1494, in test_04b_SimpleInvoiceConfirm
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleSaleInvoice
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1525, in test_04c_SimpleInvoiceTwoLines
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleSaleInvoiceTwoLines
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1556, in test_04d_SimpleInvoiceTwoCells
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleSaleInvoiceTwoCells
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1590, in test_05a_SimpleInvoiceReExpandAddLine
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateEmptyInvoice
      PlanInvoice
      Tic
      AddInvoiceLine
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1622, in test_05b_SimpleInvoiceReExpandEditLine
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateOtherSimpleSaleInvoice
      PlanInvoice
      Tic
      EditInvoiceLine
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1654, in test_05c_SimpleInvoiceReExpandDeleteLine
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleSaleInvoice
      AddInvoiceLine
      PlanInvoice
      Tic
      DeleteInvoiceLine
      Tic
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1688, in test_05d_SimpleInvoiceReExpandCreateCell
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateOtherSimpleSaleInvoice
      PlanInvoice
      Tic
      AddCellsInInvoiceLine
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1745, in test_05e_SimpleInvoiceExpandManyTimes
    """, quiet=quiet )
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      CreateNotebookFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateSimpleSaleInvoice
      PlanInvoice
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      EditInvoiceLine
      UpdateAppliedRule
      Tic
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForSimpleInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



ERROR: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1759, in test_06_MultiLineInvoice
    self.playSequence("""
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 101, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateAccounts
      CreateEntities
      CreateCurrencies
      CreateProducts
    > CreateSaleInvoiceTransactionRule
      Tic
      UpdateSaleInvoiceTransactionRuleMatrix
      ValidateSaleInvoiceTransaction
      Tic
      CreateNotebookFranceCell
      CreateBareboneFranceCell
      Tic
      ClearSimulation
      ClearAccountingModule
      CreateMultiLineSaleInvoice
      PlanInvoice
      ConfirmInvoice
      Tic
      CheckAccountingLinesCreatedForMultiLineInvoice
      RebuildAndCheckNothingIsCreated
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 200, in stepCreateSaleInvoiceTransactionRule
    self.tic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_dcfea2620c5518173c2447c6c5320b6b/accounting_module/simple_invoice', 'expand', -2, 6)]



FAIL: test_01_RenameCategory (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testERP5Category.py", line 185, in test_01_RenameCategory
    self.failIfDifferentSet(organisation.getCategoryList(),self.new_cat_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 511, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: ['abc/1', 'abc/2'] != ['abc/3', 'abc/2']



FAIL: test_02_RenameCategoryTree (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testERP5Category.py", line 198, in test_02_RenameCategoryTree
    self.failIfDifferentSet(organisation.getCategoryList(),self.new_deep_cat_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 511, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: ['abc/1/1', 'abc/2/1'] != ['abc/3/1', 'abc/2/1']



FAIL: test_03_RenameRelatedObject (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testERP5Category.py", line 212, in test_03_RenameRelatedObject
    self.assertEquals(organisation.getAbcValueList(),[organisation2])
AssertionError: [] != [<Organisation at /erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946/organisation_module/new_id>]



FAIL: test_04_RenameObjectWithRelatedSubObject (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testERP5Category.py", line 229, in test_04_RenameObjectWithRelatedSubObject
    self.assertEquals(organisation.getAbcValueList(),[telephone2])
AssertionError: [] != [<Telephone at /erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946/organisation_module/new_id/1>]



FAIL: test_TimeZone (testInventoryAPI.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 618, in test_TimeZone
    at_date=date_gmt1))
AssertionError: 0 != 1.0



FAIL: test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1786, in test_07_InventoryListAtEarlierFullInventoryDate
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1685, in _checkInventoryList
    raise AssertionError, 'No line in %r match %r' % \
AssertionError: No line in [{'variation_text': '', 'total_price': None, 'total_quantity': 10000.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/372', 'node_uid': 1421L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1415L, 'resource_relative_url': 'currency_module/73', 'inventory': 10000.0, 'section_relative_url': 'organisation_module/370', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/14/1', 'stock_uid': 1406L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1423L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1417L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/372', 'node_uid': 1421L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1415L, 'resource_relative_url': 'currency_module/73', 'inventory': 2.0, 'section_relative_url': 'organisation_module/370', 'simulation_state': 'delivered', 'date': DateTime('2007/11/06'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/128', 'stock_uid': 1405L, 'mirror_node_uid': 1416L, 'payment_uid': None, 'section_uid': 1423L}] match {'date': DateTime('2007/10/28'), 'node_uid': 1421L, 'inventory': 10000}



FAIL: test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1806, in test_08_InventoryListBeforeFullInventoryAfterPartialInventory
    self._checkInventoryList(inventory, reference_inventory)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1685, in _checkInventoryList
    raise AssertionError, 'No line in %r match %r' % \
AssertionError: No line in [{'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1395L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 2.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/27'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/130', 'stock_uid': 1386L, 'mirror_node_uid': 1394L, 'payment_uid': None, 'section_uid': 1401L}, {'variation_text': '', 'total_price': None, 'total_quantity': 999.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 999.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/18'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/15/1', 'stock_uid': 1387L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1401L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1395L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/377', 'node_uid': 1399L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1393L, 'resource_relative_url': 'currency_module/74', 'inventory': 2.0, 'section_relative_url': 'organisation_module/375', 'simulation_state': 'delivered', 'date': DateTime('2007/10/17'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/129', 'stock_uid': 1389L, 'mirror_node_uid': 1394L, 'payment_uid': None, 'section_uid': 1401L}] match {'date': DateTime('2007/10/17'), 'node_uid': 1399L, 'inventory': 2}



FAIL: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 129, in test_00_viewBarObject
    prefix='objective')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 117, in checkViewBarObject
    '%.4f < %.4f < %.4f' % (min, req_time, max))
AssertionError: 0.1120 < 0.1610 < 0.1220



FAIL: test_01_viewBarModule (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 202, in test_01_viewBarModule
    'View: %.4f < %.4f < %.4f' % (
AssertionError: View: 0.1250 < 0.1997 < 0.1750



ERROR: Tests PropertyTypeValidity can repairs categories when this property
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testConstraint.py", line 1190, in test_PropertyTypeValidityFixLocalPropertiesForCategories
    constraint.fixConsistency(obj)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Constraint/Constraint.py", line 103, in fixConsistency
    return self.checkConsistency(obj, fixit=1)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Constraint/PropertyTypeValidity.py", line 84, in checkConsistency
    value = obj.getProperty(property_id)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1268, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Accessor/Category.py", line 175, in __call__
    checked_permission=kw.get('checked_permission', None))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 2208, in _getDefaultAcquiredCategoryMembership
    checked_permission=checked_permission)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 2149, in _getAcquiredCategoryMembershipList
    category, base=base, spec=spec, filter=filter, **kw )
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1107, in getAcquiredCategoryMembershipList
    spec=spec, filter=filter, acquired_object_dict=acquired_object_dict, **kw ))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 847, in getSingleCategoryAcquiredMembershipList
    acquired_object_dict = acquired_object_dict,
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 974, in _getSingleCategoryAcquiredMembershipList
    acquisition_pt = base_category_value.getAcquisitionPortalTypeList(())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Accessor/List.py", line 291, in __call__
    list_value = evaluateTales(instance=instance, value=list_value)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 193, in __call__
    value = CachingMethod.factories[self.cache_factory](
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 110, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Accessor/Base.py", line 110, in _evaluateTales
    return expression(econtext)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/Expression.py", line 41, in __call__
    compiled = self._v_compiled = getEngine().compile(self.text)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 123, in compile
    m = _parse_expr(expression)
TypeError: expected string or buffer



More information about the Erp5-report mailing list