[Erp5-report] ERP5_z28 r17478: 1305 Tests, 0 Errors, 10 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 8 22:46:02 CET 2007


Test Suite: ERP5_z28
Revision: 17478
Result: FAIL

All tests: 1305
Failures: 10
Errors: 0


The following tests failed:

  testImmobilisation                                 (1 failures)
   test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)

  testInventoryAPI                                   (7 failures)
   test_TimeZone (testInventoryAPI.TestInventory)
   test_05_InventoryListWithFullInventory (testInventoryAPI.TestInventoryDocument)
   test_06_InventoryListAtLatestFullInventoryDate (testInventoryAPI.TestInventoryDocument)
   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)
-------------- next part --------------

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_05_InventoryListWithFullInventory (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 1755, in test_05_InventoryListWithFullInventory
    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': 100000.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/362', 'node_uid': 1465L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1459L, 'resource_relative_url': 'currency_module/71', 'inventory': 100000.0, 'section_relative_url': 'organisation_module/360', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/11/1', 'stock_uid': 1447L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1467L}, {'variation_text': '', 'total_price': None, 'total_quantity': 2.0, 'mirror_section_uid': 1461L, 'section_title': 'Section', 'node_relative_url': 'organisation_module/362', 'node_uid': 1465L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1459L, 'resource_relative_url': 'currency_module/71', 'inventory': 2.0, 'section_relative_url': 'organisation_module/360', 'simulation_state': 'delivered', 'date': DateTime('2007/10/29'), 'sub_variation_text': '', 'path': '/inventory_api_test/testing_folder/123', 'stock_uid': 1446L, 'mirror_node_uid': 1460L, 'payment_uid': None, 'section_uid': 1467L}] match {'date': DateTime('2007/10/28'), 'node_uid': 1465L, 'inventory': 100000}



FAIL: test_06_InventoryListAtLatestFullInventoryDate (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 1769, in test_06_InventoryListAtLatestFullInventoryDate
    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': 100000.0, 'mirror_section_uid': None, 'section_title': 'Section', 'node_relative_url': 'organisation_module/367', 'node_uid': 1443L, 'node_title': 'Node', 'resource_title': 'Resource', 'resource_uid': 1437L, 'resource_relative_url': 'currency_module/72', 'inventory': 100000.0, 'section_relative_url': 'organisation_module/365', 'simulation_state': 'delivered', 'date': DateTime('2007/10/28'), 'sub_variation_text': '', 'path': '/inventory_api_test/inventory_module/13/1', 'stock_uid': 1425L, 'mirror_node_uid': None, 'payment_uid': None, 'section_uid': 1445L}] match {'date': DateTime('2007/10/28'), 'node_uid': 1443L, 'inventory': 100000}



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/18'), '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/27'), '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/18'), '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/17'), '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/08'), '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/07'), '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/07'), '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/27'), '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/28'), '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/29'), '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/27'), '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/27'), '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/27'), '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



More information about the Erp5-report mailing list