[Zope-tests] FAIL (too much output from test runner) -- Z2 Tests/Linux -- HEAD/Py23maint (nightly build)

zope-tests at plope.com zope-tests at plope.com
Wed Jan 28 06:01:53 EST 2004


======================================================================
Python Version:2.3.3 (#1, Jan 28 2004, 01:29:12) 
[GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)]

Modules included:
Zope (HEAD)

Running unit tests from /home/chrism/opt/tests/sandbox/Zope
Error in test test_bound_used_context_method_w_roles (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/tests/testBindings.py", line 306, in test_bound_used_context_method_w_roles
    self.assertEqual(ps(), 'method called')
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 318, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in ps
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 244, in validate
    roles = getattr(container, '__roles__', roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 176, in __getattr__
    self.__you_lose()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 182, in __you_lose
    raise Unauthorized('Not authorized to access binding: %s' % name)
Unauthorized: Not authorized to access binding: context

Failure in test checkPackWhileWriting (BDBStorage.tests.test_storage_api.MinimalTest)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/PackableStorage.py", line 206, in checkPackWhileWriting
    self._PackWhileWriting(pack_now=0)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/PackableStorage.py", line 189, in _PackWhileWriting
    t.join(30)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 39, in run
    self.runtest()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/PackableStorage.py", line 567, in runtest
    get_transaction().commit()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Transaction.py", line 254, in commit
    self._cleanup(objects, ncommitted, jars, subjars)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Transaction.py", line 250, in commit
    self._finish_one(jars[0])
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Transaction.py", line 359, in _finish_one
    jar.tpc_finish(self)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 672, in tpc_finish
    self._storage.tpc_finish(transaction, callback)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/BaseStorage.py", line 209, in tpc_finish
    self._finish(self._tid, u, d, e)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/BDBStorage/BDBMinimalStorage.py", line 308, in _finish
    self._withtxn(self._docommit, self._tid)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/BDBStorage/BerkeleyBase.py", line 439, in _withtxn
    ret = meth(txn, *args, **kws)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/BDBStorage/BDBMinimalStorage.py", line 218, in _docommit
    deltas = self._update_refcounts(deltas, txn)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/BDBStorage/BDBMinimalStorage.py", line 224, in _update_refcounts
    assert refcount >= 0
AssertionError

Error in test testAutoReqPopulate (Products.Sessions.tests.testSessionDataManager.TestSessionManager)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/Sessions/tests/testSessionDataManager.py", line 217, in testAutoReqPopulate
    self.app.REQUEST.traverse('/')
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testUnlazifyAutoPopulated (Products.Sessions.tests.testSessionDataManager.TestSessionManager)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/Sessions/tests/testSessionDataManager.py", line 223, in testUnlazifyAutoPopulated
    self.app.REQUEST.traverse('/')
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse0 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse1 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse2 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse3 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse4 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse5 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse6 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testTraverse7 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

Error in test testSetupServers (Zope.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Zope/Startup/tests/testStarter.py", line 173, in testSetupServers
    starter.setupServers()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Zope/Startup/__init__.py", line 195, in setupServers
    raise ZConfig.ConfigurationError(socket_err
ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)

======================================================================
ERROR: test_bound_used_context_method_w_roles (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/tests/testBindings.py", line 306, in test_bound_used_context_method_w_roles
    self.assertEqual(ps(), 'method called')
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 318, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in ps
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 244, in validate
    roles = getattr(container, '__roles__', roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 176, in __getattr__
    self.__you_lose()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 182, in __you_lose
    raise Unauthorized('Not authorized to access binding: %s' % name)
Unauthorized: Not authorized to access binding: context

======================================================================
ERROR: testAutoReqPopulate (Products.Sessions.tests.testSessionDataManager.TestSessionManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/Sessions/tests/testSessionDataManager.py", line 217, in testAutoReqPopulate
    self.app.REQUEST.traverse('/')
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

======================================================================
ERROR: testUnlazifyAutoPopulated (Products.Sessions.tests.testSessionDataManager.TestSessionManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/Sessions/tests/testSessionDataManager.py", line 223, in testUnlazifyAutoPopulated
    self.app.REQUEST.traverse('/')
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

======================================================================
ERROR: testTraverse0 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonymous' in roles:
TypeError: iterable argument required

======================================================================
ERROR: testTraverse1 (Products.SiteAccess.tests.testVirtualHostMonster.VHMRegressions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py", line 77, in test
    ob = self.traverse('%s/%s/' % (vaddr, p))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZPublisher/BaseRequest.py", line 426, in traverse
    else: user=v(request, auth, roles)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 647, in validate
    if self._isTop() and self.authorize(self._nobody, a,c,n,v,roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/User.py", line 595, in authorize
    if security.validate(accessed, container, name, value, roles):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/AccessControl/ImplPython.py", line 291, in validate
    if roles is None or 'Anonym
<truncated>



More information about the Zope-tests mailing list