[Zope-tests] FAILED (failures=2, errors=1) : Zope-2.10 Python-2.4.3 : Linux

Zope Unit Tests zope-tests at epy.co.at
Wed Aug 30 21:34:00 EDT 2006


Zope Unit Tests : FAILED (failures=2, errors=1)
Zope-2.10 Python-2.4.3 : Linux

Running /usr/local/python2.4/bin/python test.py -q --all
Test-module import failures:

Module: Products.Five.viewlet.tests

IOError: [Errno 2] No such file or directory: '/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/zopedoctest/directives.txt'


Running unit tests:


Failure in test /home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/pages.txt
Failed doctest test for pages.txt
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/pages.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/pages.txt", line 310, in pages.txt
Failed example:
    print view()
Expected:
    <html><body><img alt=""
                     src="http://nohost/test_folder_1_/testoid/++resource++pattern.png" /></body></html>
Got:
    <html><body><img alt=""
                     src="http://127.0.0.1:55481/test_folder_1_/testoid/++resource++pattern.png" /></body></html>
    <BLANKLINE>



Failure in test /home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/resource.txt
Failed doctest test for resource.txt
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/resource.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/resource.txt", line 34, in resource.txt
Failed example:
    resource()
Expected:
    'http://nohost/test_folder_1_/testoid/++resource++cockatiel.html'
Got:
    'http://127.0.0.1:55481/test_folder_1_/testoid/++resource++cockatiel.html'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/resource.txt", line 43, in resource.txt
Failed example:
    resource()
Expected:
    'http://nohost/test_folder_1_/testoid/++resource++style.css'
Got:
    'http://127.0.0.1:55481/test_folder_1_/testoid/++resource++style.css'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/resource.txt", line 52, in resource.txt
Failed example:
    resource()
Expected:
    'http://nohost/test_folder_1_/testoid/++resource++pattern.png'
Got:
    'http://127.0.0.1:55481/test_folder_1_/testoid/++resource++pattern.png'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/resource.txt", line 61, in resource.txt
Failed example:
    abs_url + '/' == base_url % ''
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/tests/resource.txt", line 66, in resource.txt
Failed example:
    for r in dir_resource_names:
        resource = self.folder.unrestrictedTraverse(base % r)
        self.assert_(isinstance(resource, Resource))
        if not isinstance(resource, PageTemplateResource):
            self.assertEquals(resource(), base_url % r)
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest resource.txt[23]>", line 5, in ?
        self.assertEquals(resource(), base_url % r)
      File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
        raise self.failureException, \
    AssertionError: 'http://127.0.0.1:55481/test_folder_1_/testoid/++resource++fivetest_resources/pattern.png' != 'http://nohost/test_folder_1_/testoid/++resource++fivetest_resources/pattern.png'

The following test left new threads behind:
testURLAccessProtectedObject (Testing.ZopeTestCase.testWebserver.TestWebserver)
New thread(s): [<_DummyThread(Dummy-3, started daemon)>, <_DummyThread(Dummy-2, started daemon)>]


Error in test testSetupZServerThreads (Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Zope2/Startup/tests/testStarter.py", line 170, in testSetupZServerThreads
    starter.setupZServer()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Zope2/Startup/__init__.py", line 211, in setupZServer
    ZServer.setNumberOfThreads(self.cfg.zserver_threads)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/ZServer/PubCore/__init__.py", line 30, in setNumberOfThreads
    del setNumberOfThreads
NameError: global name 'setNumberOfThreads' is not defined

The following test left new threads behind:
runTest (zope.i18n.locales.tests.test_xmlfactory.LocaleXMLFileTestCase)
New thread(s): [<_DummyThread(Dummy-28, started daemon)>]
Exception in thread Thread-55:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/server/http/tests/test_httpserver.py", line 123, in loop
    poll(0.1)
  File "/usr/local/python2.4/lib/python2.4/asyncore.py", line 122, in poll
    r, w, e = select.select(r, w, e, timeout)
error: (9, 'Ung\xc3\xbcltiger Dateideskriptor')

Exception in thread Thread-57:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/server/http/tests/test_httpserver.py", line 123, in loop
    poll(0.1)
  File "/usr/local/python2.4/lib/python2.4/asyncore.py", line 122, in poll
    r, w, e = select.select(r, w, e, timeout)
error: (9, 'Ung\xc3\xbcltiger Dateideskriptor')

Exception in thread Thread-62:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/local/python2.4/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/server/http/tests/test_httpserver.py", line 123, in loop
    poll(0.1)
  File "/usr/local/python2.4/lib/python2.4/asyncore.py", line 122, in poll
    r, w, e = select.select(r, w, e, timeout)
error: (9, 'Ung\xc3\xbcltiger Dateideskriptor')

  Ran 5684 tests with 2 failures and 1 errors in 219.073 seconds.
Running Testing.ZopeTestCase.zopedoctest.test_layerextraction.TestLayer tests:
  Set up Testing.ZopeTestCase.zopedoctest.test_layerextraction.TestLayer in 0.004 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.020 seconds.
Tearing down left over layers:
  Tear down Testing.ZopeTestCase.zopedoctest.test_layerextraction.TestLayer in 0.003 seconds.
Total: 5686 tests, 2 failures, 1 errors

Test-modules with import problems:
  Products.Five.viewlet.tests

FAILED (failures=2, errors=1)


More information about the Zope-tests mailing list