[Erp5-report] ERP5_z28 r17497: 1307 Tests, 7 Errors, 12 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Nov 10 05:45:07 CET 2007


Test Suite: ERP5_z28
Revision: 17497
Result: FAIL

All tests: 1307
Failures: 12
Errors: 7


The following tests failed:

  testOrder                                          (4 errors)
   test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
   test_17_orderExpand (testOrder.TestOrder)
   test_18_SimulationStateIndexation (testOrder.TestOrder)
   test_20_testHierarchicalOrderAppliedRuleGeneration (testOrder.TestOrder)

  testGeographicalAddress                            (1 failures)
   test_02_asTextScript (testGeographicalAddress.TestGeographicalAddress)

  testPurchaseOrder                                  (3 errors)
   test_16_deliveryBuilderWithNoTic (testPurchaseOrder.TestPurchaseOrder)
   test_17_orderExpand (testPurchaseOrder.TestPurchaseOrder)
   test_18_SimulationStateIndexation (testPurchaseOrder.TestPurchaseOrder)

  testERP5Web                                        (1 failures)
   test_05_WebPageVersioning (testERP5Web.TestERP5Web)

  testImmobilisation                                 (1 failures)
   test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)

  testInventoryAPI                                   (5 failures)
   test_TimeZone (testInventoryAPI.TestInventory)
   test_07_InventoryListAtEarlierFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_08_InventoryListBeforeFullInventoryAfterPartialInventory (testInventoryAPI.TestInventoryDocument)
   test_11_InventoryListAroundLatestInventoryDate (testInventoryAPI.TestInventoryDocument)
   test_12_InventoryListWithOrderByDate (testInventoryAPI.TestInventoryDocument)

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

  testIngestion                                      (2 failures)
   test_04_MetadataExtraction (testIngestion.TestIngestion)
   test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
-------------- next part --------------

ERROR: test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1737, in test_16_deliveryBuilderWithNoTic
    sequence_list.play(self)
  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:
      CreateOrganisation1
      CreateOrganisation2
      Tic
      CreateOrder
      SetOrderProfile
      CreateVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CheckOrderLineTotalQuantity
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
      CreateNotVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      CheckDeliveryBuilding
  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/testOrder.py", line 112, 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_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'calculatePacking', -1, 1), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'Delivery_updateAppliedRule', -1, 3), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6)]



ERROR: test_17_orderExpand (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1810, in test_17_orderExpand
    sequence_list.play(self)
  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:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrder
      SetOrderProfile
      CreateNotVariatedResource
    > Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ModifyOrderLineQuantity
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckOrderSimulationStable
  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/testOrder.py", line 112, 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_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'calculatePacking', -1, 1), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'Delivery_updateAppliedRule', -1, 3), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6)]



ERROR: test_18_SimulationStateIndexation (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1848, in test_18_SimulationStateIndexation
    sequence_list.play(self)
  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:
      CreateOrganisation
      CreateOrder
      CreateNotVariatedResource
      CreateOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
    > Tic
      CheckCatalogued
      CheckCataloguedSimulation
      PlanOrder
      Tic
      CheckCatalogued
      CheckCataloguedSimulation
      OrderOrder
      Tic
      CheckCatalogued
      CheckCataloguedSimulation
      CancelOrder
      Tic
      CheckCatalogued
      CheckCataloguedSimulation
  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/testOrder.py", line 112, 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_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'calculatePacking', -1, 1), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'Delivery_updateAppliedRule', -1, 3), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6)]



ERROR: test_20_testHierarchicalOrderAppliedRuleGeneration (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 2027, in test_20_testHierarchicalOrderAppliedRuleGeneration
    sequence_list.play(self)
  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:
      CreateOrganisation
      CreateOrder
      CreateNotVariatedResource
      CreateOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CreateSubOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CreateSubSubOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CreateSubSubOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CreateSubOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CreateOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CheckOrderSimulation
      PlanOrder
    > Tic
      CheckOrderSimulation
      OrderOrder
      Tic
      CheckOrderSimulation
      CancelOrder
      Tic
      CheckOrderSimulation
  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/testOrder.py", line 112, 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_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'calculatePacking', -1, 1), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'Delivery_updateAppliedRule', -1, 3), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6), ('/erp5_portal_f56e40505f8cecd1db294fdab2822698/sale_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6)]



FAIL: test_02_asTextScript (testGeographicalAddress.TestGeographicalAddress)
----------------------------------------------------------------------
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/testGeographicalAddress.py", line 201, in test_02_asTextScript
    sequence_list.play(self)
  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:
      CreateEntity
      CreateAddress
      SetTextAddressValue
      CreateAsTextScript
    > CheckAddressAsTextScript
  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/testGeographicalAddress.py", line 181, in stepCheckAddressAsTextScript
    "%s %s\n%s %s" % (self.street_address_number,
AssertionError: '11 rue Truc\nCity1 12345' != '11 rue Truc\n12345 City1'



ERROR: test_16_deliveryBuilderWithNoTic (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1737, in test_16_deliveryBuilderWithNoTic
    sequence_list.play(self)
  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:
      CreateOrganisation1
      CreateOrganisation2
      Tic
      CreateOrder
      SetOrderProfile
      CreateVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
      CheckOrderLineTotalQuantity
      SetOrderLineFullVCL
      CompleteOrderLineMatrix
      CreateNotVariatedResource
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      CheckDeliveryBuilding
      ConfirmOrder
    > Tic
      CheckDeliveryBuilding
  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/testOrder.py", line 112, 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_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'Delivery_confirm', -1, 1), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'updateCausalityState', -1, 1), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'Delivery_updateAppliedRule', -1, 3), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6)]



ERROR: test_17_orderExpand (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1810, in test_17_orderExpand
    sequence_list.play(self)
  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:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrder
      SetOrderProfile
      CreateNotVariatedResource
    > Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ModifyOrderLineQuantity
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckOrderSimulationStable
  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/testOrder.py", line 112, 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_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'Delivery_confirm', -1, 1), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'updateCausalityState', -1, 1), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'Delivery_updateAppliedRule', -1, 3), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6)]



ERROR: test_18_SimulationStateIndexation (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1848, in test_18_SimulationStateIndexation
    sequence_list.play(self)
  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:
      CreateOrganisation
      CreateOrder
      CreateNotVariatedResource
      CreateOrderLine
      CheckOrderLineEmptyMatrix
      SetOrderLineResource
      SetOrderLineDefaultValues
      CheckOrderLineDefaultValues
    > Tic
      CheckCatalogued
      CheckCataloguedSimulation
      PlanOrder
      Tic
      CheckCatalogued
      CheckCataloguedSimulation
      OrderOrder
      Tic
      CheckCatalogued
      CheckCataloguedSimulation
      CancelOrder
      Tic
      CheckCatalogued
      CheckCataloguedSimulation
  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/testOrder.py", line 112, 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_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'Delivery_confirm', -1, 1), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'updateCausalityState', -1, 1), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'Delivery_updateAppliedRule', -1, 3), ('/erp5_portal_00858f2c2de98c339f32fc0be4cfdf31/purchase_packing_list_module/6', 'recursiveImmediateReindexObject', -2, 6)]



FAIL: test_05_WebPageVersioning (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
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/testERP5Web.py", line 311, in test_05_WebPageVersioning
    self.assertEquals(en_02, default_document)
AssertionError: <TextDocument at /erp5_portal_a016612210bcb7d3afb3dc7faa3f3cfb/web_page_module/9> != None



FAIL: test_19_TestAccountingBuildingAndDivergence (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3679, in test_19_TestAccountingBuildingAndDivergence
    sequence_list.play(self)
  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:
      SetTest19SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      TestSimpleAccountingBuild
      SetTest19SequenceData2
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      TestSimulationBuildAfterFirstAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterFirstChange
      DeletePackingList
      Tic
      TestSimulationBuildAfterSecondAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterSecondChange
      AdoptPrevision
      Tic
    > TestAccountingBuildAfterAdoptPrevision
      Test19ModifyPackingList
      Tic
      TestSimulationBuildAfterPackingListModification
      BuildAccounting
      Tic
      TestAccountingBuildAfterPackingListModification
  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/testImmobilisation.py", line 2640, in stepTestAccountingBuildAfterAdoptPrevision
    self._testAccountingBuild(c_transaction_list, e_transaction_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3027, in _testAccountingBuild
    self.failUnless(e_found_line is not None)
AssertionError



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/19'), '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/10/28'), '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/19'), '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/18'), '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/09'), '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/08'), '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/08'), 'node_uid': 1399L, 'inventory': 2}



FAIL: test_11_InventoryListAroundLatestInventoryDate (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 1859, in test_11_InventoryListAroundLatestInventoryDate
    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': 1329L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/392', 'node_uid': 1333L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1327L, 'resource_relative_url': 'currency_module/77', 'inventory': 2.0, 'section_relative_url': 'organisation_module/390', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/140', 'stock_uid': 1317L, 'mirror_node_uid': 1328L, 'payment_uid': None, 'section_uid': 1335L}, {'variation_text': '', 'total_price': None, 'total_quantity': 89999.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/392', 'node_uid': 1333L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1327L, 'resource_relative_url': 'currency_module/77', 'inventory': 89999.0, 'section_relative_url': 'organisation_module/390', 'simulation_state': 'delivered', 'date': DateTime('2007/10/29'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/23/1', 'stock_uid': 1315L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1335L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1329L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/392', 'node_uid': 1333L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1327L, 'resource_relative_url': 'currency_module/77', 'inventory': 2.0, 'section_relative_url': 'organisation_module/390', 'simulation_state': 'delivered', 'date': DateTime('2007/10/30'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/141', 'stock_uid': 1314L, 'mirror_node_uid': 1328L, 'payment_uid': None, 'section_uid': 1335L}] match {'date': DateTime('2007/10/28'), 'node_uid': 1333L, 'inventory': 2, 'resource_uid': 1327L}



FAIL: test_12_InventoryListWithOrderByDate (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 1887, in test_12_InventoryListWithOrderByDate
    ordered_check=True)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 1681, in _checkInventoryList
    raise AssertionError, 'Line %r do not match %r' % \
AssertionError: Line {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1307L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/397', 'node_uid': 1311L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1305L, 'resource_relative_url': 'currency_module/78', 'inventory': 2.0, 'section_relative_url': 'organisation_module/395', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/143', 'stock_uid': 1295L, 'mirror_node_uid': 1306L, 'payment_uid': None, 'section_uid': 1313L} do not match {'date': DateTime('2007/10/28'), 'node_uid': 1311L, 'inventory': 2, 'resource_uid': 1305L}



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 128, in test_00_viewBarObject
    prefix='objective')
  File "/home/buildbot/buildbot_slave/full.bot_28/build/Products/ERP5Type/tests/testPerformance.py", line 116, in checkViewBarObject
    self.failUnless(min < req_time < max)
AssertionError



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 200, in test_01_viewBarModule
    self.failUnless(min_view < module_value < max_view)
AssertionError



FAIL: test_04_MetadataExtraction (testIngestion.TestIngestion)
----------------------------------------------------------------------
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/ERP5OOo/tests/testIngestion.py", line 1005, in test_04_MetadataExtraction
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, 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:
      CleanUp
      CreateTextDocument
      SetSimulatedDiscoveryScript
    > TestMetadataSetting
  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/ERP5OOo/tests/testIngestion.py", line 637, in stepTestMetadataSetting
    self.assertEquals(context.getShortTitle(), 'short')
AssertionError: None != 'short'



FAIL: test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
----------------------------------------------------------------------
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/ERP5OOo/tests/testIngestion.py", line 1155, in test_10_MetadataSettingPreferenceOrder
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 911, 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:
      CleanUp
      CreateTextDocument
      StraightUpload
      SetSimulatedDiscoveryScriptForOrdering
      CheckMetadataSettingOrderFICU
      CreateTextDocument
      StraightUpload
      SetSimulatedDiscoveryScriptForOrdering
    > CheckMetadataSettingOrderCUFI
      CreateTextDocument
      StraightUpload
      SetSimulatedDiscoveryScriptForOrdering
      CheckMetadataSettingOrderUIFC
      CreateTextDocument
      StraightUpload
      SetSimulatedDiscoveryScriptForOrdering
      CheckMetadataSettingOrderICUF
      CreateTextDocument
      StraightUpload
      SetSimulatedDiscoveryScriptForOrdering
      CheckMetadataSettingOrderUFCI
  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/ERP5OOo/tests/testIngestion.py", line 839, in stepCheckMetadataSettingOrderCUFI
    self.checkMetadataOrder(expected_metadata)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 445, in checkMetadataOrder
    self.assertEquals(context.getProperty(k), v)
AssertionError: 'person_module/james' != 'person_module/jack'



More information about the Erp5-report mailing list