[Erp5-report] ERP5_z28 r17508: 1310 Tests, 3 Errors, 9 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Nov 10 11:35:28 CET 2007
Test Suite: ERP5_z28
Revision: 17508
Result: FAIL
All tests: 1310
Failures: 9
Errors: 3
The following tests failed:
testGeographicalAddress (1 failures)
test_02_asTextScript (testGeographicalAddress.TestGeographicalAddress)
testImmobilisation (1 failures)
test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
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)
testSessionTool (3 errors)
Create a session object and check if API (newContent) is properly working.
Delete session keys.
Get session object and check keys stored in previous test.
testIngestion (2 failures)
test_04_MetadataExtraction (testIngestion.TestIngestion)
test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
-------------- next part --------------
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'
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/20'), '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/29'), '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/20'), '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/19'), '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/10'), '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/09'), '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/09'), '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.1608 < 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.2008 < 0.1750
ERROR: Create a session object and check if API (newContent) is properly working.
----------------------------------------------------------------------
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/testSessionTool.py", line 103, in test_02_CreateSessionObject
attr_6 = 'string',)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 129, in newContent
session = self._getSessionObject(id)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 152, in _getSessionObject
return self._getCacheMethod(session_id)()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 112, in __call__
self.quick_cache.set(cache_id, scope, value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/CachePlugins/RamCache.py", line 84, in set
cache[scope][cache_id] = CacheEntry(value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 795, in __init__
dumps(value)
File "/usr/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 712, in save_inst
args = obj.__getinitargs__()
TypeError: 'NoneType' object is not callable
ERROR: Delete session keys.
----------------------------------------------------------------------
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/testSessionTool.py", line 128, in test_03_DeleteSessionObjectAttributes
session = portal_sessions[self.session_id]
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 119, in __getitem__
session = self._getSessionObject(key)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 152, in _getSessionObject
return self._getCacheMethod(session_id)()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 112, in __call__
self.quick_cache.set(cache_id, scope, value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/CachePlugins/RamCache.py", line 84, in set
cache[scope][cache_id] = CacheEntry(value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 795, in __init__
dumps(value)
File "/usr/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 712, in save_inst
args = obj.__getinitargs__()
TypeError: 'NoneType' object is not callable
ERROR: Get session object and check keys stored in previous test.
----------------------------------------------------------------------
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/testSessionTool.py", line 146, in test_04_DeleteSessionObject
session = portal_sessions[self.session_id]
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 119, in __getitem__
session = self._getSessionObject(key)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Tool/SessionTool.py", line 152, in _getSessionObject
return self._getCacheMethod(session_id)()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 192, in __call__
value = CachingMethod.factories[self.cache_factory](
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Cache.py", line 112, in __call__
self.quick_cache.set(cache_id, scope, value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/CachePlugins/RamCache.py", line 84, in set
cache[scope][cache_id] = CacheEntry(value, cache_duration, calculation_time)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 795, in __init__
dumps(value)
File "/usr/lib/python2.4/pickle.py", line 1386, in dumps
Pickler(file, protocol, bin).dump(obj)
File "/usr/lib/python2.4/pickle.py", line 231, in dump
self.save(obj)
File "/usr/lib/python2.4/pickle.py", line 293, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib/python2.4/pickle.py", line 712, in save_inst
args = obj.__getinitargs__()
TypeError: 'NoneType' object is not callable
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