[Zope-tests] FAILED (failures=3) : Zope-trunk Python-2.4.5 : Linux
Zope Tests
zope-tests at epy.co.at
Sat Nov 29 20:38:43 EST 2008
Zope Tests : FAILED (failures=3)
Zope-trunk Python-2.4.5 : Linux
Running /usr/local/python2.4/bin/python test.py -q --all
Running unit tests:
/home/stefan/autotest/temp/python24-zope212/lib/python/DocumentTemplate/DT_Raise.py:63: DeprecationWarning: String exceptions are deprecated starting with Python 2.5 and will be removed in a future release
t, v = upgradeException(t, v)
The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-39, started daemon)>, <_DummyThread(Dummy-38, started daemon)>]
The following test left new threads behind:
testDELE (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-46, started daemon)>]
Ran 5682 tests with 0 failures and 0 errors in 3 minutes 16.057 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 1.053 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.259 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.006 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt
Failed doctest test for aqlegacy_ftest.txt
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 126, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/implicit_zcmltemplate')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest aqlegacy_ftest.txt[43]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/implicit_zcmltemplate')
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 231, in open
self.mech_browser.open(url, data)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
raise error
HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 127, in aqlegacy_ftest.txt
Failed example:
print browser.contents
Differences (ndiff with -expected +actual):
- <p>The falcon has taken flight</p>
+ <html>
+ <head><title>test_folder_1_</title></head>
+ <body bgcolor="#FFFFFF">
+ <BLANKLINE>
+ Object: <Products.Five.metaclass.SimpleViewClass from /home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/falcon.pt object at 0x4566504c>, name: 'index_html'
+ <BLANKLINE>
+ </body>
+ </html>
+ <BLANKLINE>
+ <BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 134, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/aqlegacyprovider')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest aqlegacy_ftest.txt[45]>", line 1, in ?
browser.open('http://localhost/test_folder_1_/aqlegacyprovider')
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 231, in open
self.mech_browser.open(url, data)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 202, in _mech_open
response = UserAgent.open(self, self.request, data)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_opener.py", line 235, in open
response = urlopen(self, req, data)
File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/testbrowser.py", line 85, in http_open
return self.do_open(PublisherConnection, req)
File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 993, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/testing.py", line 85, in request
self.response = self.caller(request_string, handle_errors)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Test.py", line 202, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Publish.py", line 150, in publish
sys.exc_info()[2],
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Zope2/App/startup.py", line 260, in __call__
error_log_url=error_log_url)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Publish.py", line 119, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Publish.py", line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/app/pagetemplate/simpleviewclass.py", line 44, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/pagetemplatefile.py", line 53, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tal/talinterpreter.py", line 623, in do_insertText_tal
text = self.engine.evaluateText(stuff[0])
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/PageTemplates/Expressions.py", line 196, in evaluateText
text = self.evaluate(expr)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/contentprovider/tales.py", line 77, in __call__
provider.update()
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy.py", line 95, in update
assert self.aq_parent == self.context
AttributeError: aq_parent
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 135, in aqlegacy_ftest.txt
Failed example:
print browser.contents
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest aqlegacy_ftest.txt[46]>", line 1, in ?
print browser.contents
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 193, in contents
old_location = response.tell()
AttributeError: 'NoneType' object has no attribute 'tell'
Ran 627 tests with 1 failures and 0 errors in 24.596 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.005 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.122 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.004 seconds.
Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds.
Ran 2 tests with 0 failures and 0 errors in 0.021 seconds.
Running zope.formlib.tests.FormlibLayer tests:
Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.formlib.tests.FormlibLayer in 2.700 seconds.
Ran 5 tests with 0 failures and 0 errors in 0.015 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
Tear down zope.formlib.tests.FormlibLayer in 0.028 seconds.
Set up zope.testbrowser.tests.TestBrowserLayer in 1.402 seconds.
Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/README.txt
Failed doctest test for README.txt
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/README.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/README.txt", line 1162, in README.txt
Failed example:
print browser.contents,
Expected:
CONTENT_LENGTH: 13
HTTP_USER_AGENT: Python-urllib/2.4
HTTP_CONNECTION: close
HTTP_COOKIE:
HTTP_REFERER: localhost
HTTP_ACCEPT_LANGUAGE: en-US
REQUEST_METHOD: POST
HTTP_HOST: localhost
PATH_INFO: /@@echo.html
CONTENT_TYPE: application/x-javascipt
SERVER_PROTOCOL: HTTP/1.1
Body: '{"x":1,"y":2}'
Got:
CONTENT_LENGTH: 13
HTTP_USER_AGENT: Python-urllib/2.4
HTTP_CONNECTION: close
HTTP_COOKIE:
HTTP_REFERER: localhost
HTTP_ACCEPT_LANGUAGE: en-US
REQUEST_METHOD: POST
HTTP_HOST: localhost
PATH_INFO: /@@echo.html
CONTENT_TYPE: application/x-javascipt
SERVER_PROTOCOL: HTTP/1.1
QUERY_STRING:
Body: ''
Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/fixed-bugs.txt
Failed doctest test for fixed-bugs.txt
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/fixed-bugs.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/fixed-bugs.txt", line 87, in fixed-bugs.txt
Failed example:
browser.open('http://localhost/@@/testbrowser/fragment.html#asdf')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest fixed-bugs.txt[22]>", line 1, in ?
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 231, in open
self.mech_browser.open(url, data)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
raise error
HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/fixed-bugs.txt", line 90, in fixed-bugs.txt
Failed example:
browser.getLink('Follow me')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest fixed-bugs.txt[24]>", line 1, in ?
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 313, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/fixed-bugs.txt", line 92, in fixed-bugs.txt
Failed example:
browser.getLink('Follow me').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest fixed-bugs.txt[25]>", line 1, in ?
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 313, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
Ran 114 tests with 2 failures and 0 errors in 2.979 seconds.
Running zope.traversing.tests.layer.TraversingLayer tests:
Tear down zope.testbrowser.tests.TestBrowserLayer in 0.008 seconds.
Set up zope.traversing.tests.layer.TraversingLayer/home/stefan/autotest/temp/python24-zope212/lib/python/zope/configuration/config.py:197: DeprecationWarning: ZopeSecurityPolicy is deprecated. It has moved to zope.securitypolicy.zopepolicy This reference will be removed somedays
obj = getattr(mod, oname)
in 1.195 seconds.
Ran 7 tests with 0 failures and 0 errors in 0.471 seconds.
Tearing down left over layers:
Tear down zope.traversing.tests.layer.TraversingLayer in 0.008 seconds.
Total: 6469 tests, 3 failures, 0 errors in 4 minutes 2.967 seconds.
FAILED (failures=3)
More information about the Zope-tests
mailing list