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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 14 15:31:00 CEST 2010


Test Suite: PERF
Revision: 39147
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.328s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (111.984s)
Running ZServer at 127.0.0.1:55166
Adding erp5_base business template ... (imported in 16.696s) done (49.692s)
Adding erp5_ui_test business template ... (imported in 4.607s) done (14.739s)
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 2386, 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 2380, 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 2360, 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 2293, 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 2275, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2137, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1939, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 124, 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 2386, 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 2380, 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 2360, 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 2293, 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 2275, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2137, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1939, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 124, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined

----------------------------------------------------------------------
Ran 4 tests in 177.911s

FAILED (errors=4)
Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test' loaded ... 
done (12.537s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (109.851s)
Running ZServer at 127.0.0.1:55166
Adding erp5_base business template ... (imported in 16.894s) done (49.916s)
Adding erp5_ui_test business template ... (imported in 4.605s) done (14.738s)
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 2386, 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 2380, 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 2360, 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 2293, 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 2275, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2137, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1939, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 124, 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 2386, 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 2380, 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 2360, 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 2293, 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 2275, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2137, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1939, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 124, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined

----------------------------------------------------------------------
Ran 4 tests in 175.973s

FAILED (errors=4)
Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test' loaded ... 
done (12.473s)test_00_viewBarObject (testPerformance.TestPerformance) ... 
Adding ERP5TypeTestCase user ... 
Adding erp5_portal_46b1242f30d521c53e744f4886ef0be0 ERP5 Site ... done (108.757s)
Running ZServer at 127.0.0.1:55166
Adding erp5_base business template ... (imported in 16.251s) done (49.188s)
Adding erp5_ui_test business template ... (imported in 4.536s) done (14.629s)
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 2386, 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 2380, 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 2360, 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 2293, 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 2275, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2137, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1939, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 124, 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 2386, 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 2380, 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 2360, 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 2293, 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 2275, in buildEntireQuery
    return EntireQuery(
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2137, in buildQuery
    script = self.getScriptableKeyScript(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1939, in getScriptableKeyScript
    return self._getgetScriptableKeyDict().get(key)
  File "/home/buildbot/slave/parts/bot_perf/full.PERF/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 124, in wrapper
    cache_id = str((self.cache_id,
NameError: global name 'getInstanceID' is not defined

----------------------------------------------------------------------
Ran 4 tests in 174.047s

FAILED (errors=4)


More information about the Erp5-report mailing list