[Erp5-report] PERF r39168 : 12 Tests, 12 Errors, 0 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 14 16:46:55 CEST 2010


Test Suite: PERF
Revision: 39168
Result: FAIL

All tests: 12
Failures: 0
Errors: 12
Skips: 0


The following tests failed:

  testPerformance                                    (4 errors)
   test_00_viewBarObject (testPerformance.TestPerformance)

  testPerformance                                    (4 errors)
   test_00_viewBarObject (testPerformance.TestPerformance)

  testPerformance                                    (4 errors)
   test_00_viewBarObject (testPerformance.TestPerformance)

-------------- next part --------------
Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test' loaded ... 
done (15.821s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (111.102s)
Running ZServer at 127.0.0.1:55166
Adding erp5_base business template ... (imported in 16.911s) done (49.929s)
Adding erp5_ui_test business template ... (imported in 4.568s) done (14.646s)
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 928, in setUpERP5Site
    'Assignor', 'Author', 'Auditor', 'Associate'], [])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 920, in _doAddUser
    user = self.getUser( login )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 191, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 712, in _findUser
    , plugins=plugins )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 643, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 125, in _getGroupsForPrincipal
    catalog_result = self.portal_catalog.unrestrictedSearchResults(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2385, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2379, in queryResults
    sql_kw = self._queryResults(REQUEST=REQUEST, build_sql_query_method=build_sql_query_method, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2359, in _queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2292, in buildSQLQuery
    extra_column_list=extra_column_list)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2274, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2136, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1938, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 123, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined
Ran Unit test of Performance (installation failed)
ERROR
test_01_viewBarModule (testPerformance.TestPerformance) ... test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... test_viewProxyField (testPerformance.TestPerformance) ... 
======================================================================
ERROR: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 538, in setUp
    use_dummy_mail_host=use_dummy_mail_host)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 928, in setUpERP5Site
    'Assignor', 'Author', 'Auditor', 'Associate'], [])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 920, in _doAddUser
    user = self.getUser( login )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 191, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 712, in _findUser
    , plugins=plugins )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 643, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 125, in _getGroupsForPrincipal
    catalog_result = self.portal_catalog.unrestrictedSearchResults(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2385, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2379, in queryResults
    sql_kw = self._queryResults(REQUEST=REQUEST, build_sql_query_method=build_sql_query_method, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2359, in _queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2292, in buildSQLQuery
    extra_column_list=extra_column_list)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2274, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2136, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1938, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 123, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined

----------------------------------------------------------------------
Ran 4 tests in 177.160s

FAILED (errors=4)
Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test' loaded ... 
done (12.519s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (109.284s)
Running ZServer at 127.0.0.1:55166
Adding erp5_base business template ... (imported in 16.547s) done (49.509s)
Adding erp5_ui_test business template ... (imported in 4.527s) done (14.624s)
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 928, in setUpERP5Site
    'Assignor', 'Author', 'Auditor', 'Associate'], [])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 920, in _doAddUser
    user = self.getUser( login )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 191, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 712, in _findUser
    , plugins=plugins )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 643, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 125, in _getGroupsForPrincipal
    catalog_result = self.portal_catalog.unrestrictedSearchResults(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2385, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2379, in queryResults
    sql_kw = self._queryResults(REQUEST=REQUEST, build_sql_query_method=build_sql_query_method, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2359, in _queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2292, in buildSQLQuery
    extra_column_list=extra_column_list)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2274, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2136, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1938, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 123, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined
Ran Unit test of Performance (installation failed)
ERROR
test_01_viewBarModule (testPerformance.TestPerformance) ... test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... test_viewProxyField (testPerformance.TestPerformance) ... 
======================================================================
ERROR: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 538, in setUp
    use_dummy_mail_host=use_dummy_mail_host)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 928, in setUpERP5Site
    'Assignor', 'Author', 'Auditor', 'Associate'], [])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 920, in _doAddUser
    user = self.getUser( login )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 191, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 712, in _findUser
    , plugins=plugins )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 643, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 125, in _getGroupsForPrincipal
    catalog_result = self.portal_catalog.unrestrictedSearchResults(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2385, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2379, in queryResults
    sql_kw = self._queryResults(REQUEST=REQUEST, build_sql_query_method=build_sql_query_method, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2359, in _queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2292, in buildSQLQuery
    extra_column_list=extra_column_list)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2274, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2136, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1938, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 123, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined

----------------------------------------------------------------------
Ran 4 tests in 174.917s

FAILED (errors=4)
Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test' loaded ... 
done (12.538s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (109.224s)
Running ZServer at 127.0.0.1:55166
Adding erp5_base business template ... (imported in 16.869s) done (50.018s)
Adding erp5_ui_test business template ... (imported in 4.525s) done (14.625s)
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 928, in setUpERP5Site
    'Assignor', 'Author', 'Auditor', 'Associate'], [])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 920, in _doAddUser
    user = self.getUser( login )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 191, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 712, in _findUser
    , plugins=plugins )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 643, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 125, in _getGroupsForPrincipal
    catalog_result = self.portal_catalog.unrestrictedSearchResults(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2385, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2379, in queryResults
    sql_kw = self._queryResults(REQUEST=REQUEST, build_sql_query_method=build_sql_query_method, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2359, in _queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2292, in buildSQLQuery
    extra_column_list=extra_column_list)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2274, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2136, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1938, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 123, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined
Ran Unit test of Performance (installation failed)
ERROR
test_01_viewBarModule (testPerformance.TestPerformance) ... test_02_viewFooObjectWithManyLines (testPerformance.TestPerformance) ... test_viewProxyField (testPerformance.TestPerformance) ... 
======================================================================
ERROR: test_00_viewBarObject (testPerformance.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 538, in setUp
    use_dummy_mail_host=use_dummy_mail_host)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 928, in setUpERP5Site
    'Assignor', 'Author', 'Auditor', 'Associate'], [])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 920, in _doAddUser
    user = self.getUser( login )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 191, in getUser
    return self._findUser( plugins, user_info['id'], user_info['login'])
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 712, in _findUser
    , plugins=plugins )
  File "/usr/lib/erp5/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 643, in _getGroupsForPrincipal
    groups = groupmaker.getGroupsForPrincipal( principal, request )
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 193, in getGroupsForPrincipal
    path=self.getPhysicalPath())
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 265, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Type/Cache.py", line 164, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Security/ERP5GroupManager.py", line 125, in _getGroupsForPrincipal
    catalog_result = self.portal_catalog.unrestrictedSearchResults(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 651, in unrestrictedSearchResults
    return ZCatalog.searchResults(self, REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1065, in searchResults
    return apply(catalog.searchResults, (REQUEST, ), kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2385, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2379, in queryResults
    sql_kw = self._queryResults(REQUEST=REQUEST, build_sql_query_method=build_sql_query_method, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2359, in _queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2292, in buildSQLQuery
    extra_column_list=extra_column_list)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2274, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2136, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1938, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 123, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined

----------------------------------------------------------------------
Ran 4 tests in 175.347s

FAILED (errors=4)


More information about the Erp5-report mailing list