[Zope3-dev] FreeBSD Test Results - Zope 3 / Python 2.3 - Too many errors :-(
zope-tests@bitdance.com
zope-tests@bitdance.com
Sat, 2 Aug 2003 04:25:01 -0400 (EDT)
==============================================================================
==============================================================================
Python Version:2.3b2+ (#12, Jul 1 2003, 10:57:57)
[GCC 2.95.4 20020320 [FreeBSD]]
Modules included:
Zope3 (HEAD)
Running unit tests from /var/home/rdmurray/proj/zopeautotest/sandbox/Zope3
Error in test testPathSubscribe1 (zope.app.services.tests.test_eventservice.TestEventPublisher)
Traceback (most recent call last):
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/tests/test_eventservice.py", line 493, in testPathSubscribe1
self._createSubscribers()
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/tests/test_eventservice.py", line 140, in _createSubscribers
self.folder1_1.setObject("folder1_1Subscriber", DummySubscriber())
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/container/zopecontainer.py", line 197, in setObject
publish(self, ObjectAddedEvent(object))
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/event/__init__.py", line 29, in publish
return getEventService(context).publish(event)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/event.py", line 369, in publish
clean_self._notify(wrapped_self, event)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/event.py", line 91, in _notify
hubIdsService = queryService(wrapped_self, HubIds)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/component/__init__.py", line 47, in queryService
return sm.queryService(name, default)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/service.py", line 82, in queryService
return wrapped_self.getService(name)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/service.py", line 103, in getService
service = wrapped_self.queryActiveComponent(name)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/registration.py", line 510, in queryActiveComponent
return registration.getComponent()
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/registration.py", line 398, in getComponent
root = removeAllProxies(zapi.getRoot(service_manager))
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/traversing/__init__.py", line 70, in getRoot
return getAdapter(obj, IPhysicallyLocatable).getRoot()
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/component/__init__.py", line 64, in getAdapter
adapter = queryAdapter(object, interface, None, name, context)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/component/__init__.py", line 99, in queryAdapter
return queryNamedAdapter(object, interface, name, default, context)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/component/__init__.py", line 112, in queryNamedAdapter
adapters = getService(context, Adapters)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/component/__init__.py", line 43, in getService
return getServiceManager(context).getService(name)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/service.py", line 110, in getService
return getNextService(wrapped_self, name)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/component/nextservice.py", line 34, in getNextService
def getNextService(context, name):
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zdaemon/Daemon.py", line 33, in __call__
os.kill(self.pid, signum)
OSError: [Errno 3] No such process
Error in test unittest.FunctionTestCase (<lambda>)
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 413, in runTest
self.__testFunc()
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/testing/doctestunit.py", line 65, in <lambda>
lambda args=(tester, name, doc, filename, lineno):
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/testing/doctestunit.py", line 97, in _test
raise DocTestTestFailure(
DocTestTestFailure: Failed doctest test for zope.configuration.tests.test_simple
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/configuration/tests/test_simple.py", line 1 (or below), in test_simple
*****************************************************************
Failure in example:
for i in file_registry:
print "path:", clean_path(i.path)
print "title:", i.title
print "description:", '\n'.join(
[l.rstrip()
for l in i.description.strip().split('\n')
if l.rstrip()])
print "info:"
print clean_text_w_paths(i.info)
from line #110 of zope.configuration.tests.test_simple
Expected:
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
<files:register
path="test_simple.py"
title="How to create a simple directive"
>
Describes how to implement a simple directive
</files:register>
path: tests/simple.zcml
title:
description: Shows the ZCML directives needed to register a simple directive.
Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
<files:register path="simple.zcml">
Shows the ZCML directives needed to register a simple directive.
Also show some usage examples,
</files:register>
path: tests/__init__.py
title: Make this a package
description:
info:
File "tests/simple.zcml", line 32.2-32.67
<files:register path="__init__.py" title="Make this a package" />
Got:
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
<files:register
path="test_simple.py"
title="How to create a simple directive"
>
Describes how to implement a simple directive
</files:register>
path: tests/simple.zcml
title:
description: Shows the ZCML directives needed to register a simple directive.
Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
<files:register path="simple.zcml">
Shows the ZCML directives needed to register a simple directive.
Also show some usage examples,
</files:register>
path: tests/__init__.py
title: Make this a package
description:
info:
File "tests/simple.zcml", line 32.2-32.67
<files:register path="__init__.py" title="Make this a package" />
path: tests/test_simple.py
title: How to create a simple directive
description: Describes how to implement a simple directive
info:
File "tests/simple.zcml", line 19.2-24.2
<files:register
path="test_simple.py"
title="How to create a simple directive"
>
Describes how to implement a simple directive
</files:register>
path: tests/simple.zcml
title:
description: Shows the ZCML directives needed to register a simple directive.
Also show some usage examples,
info:
File "tests/simple.zcml", line 26.2-30.2
<files:register path="simple.zcml">
Shows the ZCML directives needed to register a simple directive.
Also show some usage examples,
</files:register>
path: tests/__init__.py
title: Make this a package
description:
info:
File "tests/simple.zcml", line 32.2-32.67
<files:register path="__init__.py" title="Make this a package" />
======================================================================
ERROR: testPathSubscribe1 (zope.app.services.tests.test_eventservice.TestEventPublisher)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/tests/test_eventservice.py", line 493, in testPathSubscribe1
self._createSubscribers()
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/tests/test_eventservice.py", line 140, in _createSubscribers
self.folder1_1.setObject("folder1_1Subscriber", DummySubscriber())
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/container/zopecontainer.py", line 197, in setObject
publish(self, ObjectAddedEvent(object))
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/event/__init__.py", line 29, in publish
return getEventService(context).publish(event)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/event.py", line 369, in publish
clean_self._notify(wrapped_self, event)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/event.py", line 91, in _notify
hubIdsService = queryService(wrapped_self, HubIds)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/component/__init__.py", line 47, in queryService
return sm.queryService(name, default)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/service.py", line 82, in queryService
return wrapped_self.getService(name)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/service.py", line 103, in getService
service = wrapped_self.queryActiveComponent(name)
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/registration.py", line 510, in queryActiveComponent
return registration.getComponent()
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/services/registration.py", line 398, in getComponent
root = removeAllProxies(zapi.getRoot(service_manager))
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/zope/app/traversing/__init__.py", line 70, in getRoot
return getAdapter(obj, IPhysicallyLocatable).getRoot()
File "/var/home/rdmurray/proj/zopeautotest/sandbox/Zope3/src/z
<truncated>