[Zope-tests] FAILED (failures=1, errors=7) : Zope-trunk Python-2.4.4 : Linux

Zope Unit Tests zope-tests at epy.co.at
Thu Dec 27 21:02:26 EST 2007


Zope Unit Tests : FAILED (failures=1, errors=7)
Zope-trunk Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python test.py -q --all
Running unit tests:


Error in test testSetupConfiguredLoggers (Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/Startup/tests/testStarter.py", line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZConfig/components/logger/tests/test_logger.py", line 72, in tearDown
    self.assertEqual(loghandler._reopenable_handlers, [])
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<weakref at 0xb52815a4; to 'instance' at 0xb559758c>, <weakref at 0xb528170c; to 'instance' at 0xb559730c>, <weakref at 0xb5281734; to 'instance' at 0xb559790c>] != []



Error in test testSetupLocale (Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/Startup/tests/testStarter.py", line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZConfig/components/logger/tests/test_logger.py", line 72, in tearDown
    self.assertEqual(loghandler._reopenable_handlers, [])
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<weakref at 0xb52815a4; to 'instance' at 0xb559758c>, <weakref at 0xb528170c; to 'instance' at 0xb559730c>, <weakref at 0xb5281734; to 'instance' at 0xb559790c>] != []



Error in test testSetupServers (Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/Startup/tests/testStarter.py", line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZConfig/components/logger/tests/test_logger.py", line 72, in tearDown
    self.assertEqual(loghandler._reopenable_handlers, [])
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<weakref at 0xb52815a4; to 'instance' at 0xb559758c>, <weakref at 0xb528170c; to 'instance' at 0xb559730c>, <weakref at 0xb5281734; to 'instance' at 0xb559790c>] != []



Error in test testSetupStartupHandler (Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/Startup/tests/testStarter.py", line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZConfig/components/logger/tests/test_logger.py", line 72, in tearDown
    self.assertEqual(loghandler._reopenable_handlers, [])
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<weakref at 0xb52815a4; to 'instance' at 0xb559758c>, <weakref at 0xb528170c; to 'instance' at 0xb559730c>, <weakref at 0xb5281734; to 'instance' at 0xb559790c>] != []



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 270, in run
    self.tearDown()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/Startup/tests/testStarter.py", line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZConfig/components/logger/tests/test_logger.py", line 72, in tearDown
    self.assertEqual(loghandler._reopenable_handlers, [])
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<weakref at 0xb52815a4; to 'instance' at 0xb559758c>, <weakref at 0xb528170c; to 'instance' at 0xb559730c>, <weakref at 0xb5281734; to 'instance' at 0xb559790c>] != []



Error in test testZopeRunConfigure (Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/Startup/tests/testStarter.py", line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZConfig/components/logger/tests/test_logger.py", line 72, in tearDown
    self.assertEqual(loghandler._reopenable_handlers, [])
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<weakref at 0xb52815a4; to 'instance' at 0xb559758c>, <weakref at 0xb528170c; to 'instance' at 0xb559730c>, <weakref at 0xb5281734; to 'instance' at 0xb559790c>] != []



Error in test test_log_record (zLOG.tests.test_logging.LoggingIntegrationTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZConfig/components/logger/tests/test_logger.py", line 72, in tearDown
    self.assertEqual(loghandler._reopenable_handlers, [])
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<weakref at 0xb52815a4; to 'instance' at 0xb559758c>, <weakref at 0xb528170c; to 'instance' at 0xb559730c>, <weakref at 0xb5281734; to 'instance' at 0xb559790c>] != []

The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-36, started daemon)>]
  Ran 5802 tests with 0 failures and 7 errors in 3 minutes 29.223 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 1.128 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.224 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.
  Ran 668 tests with 0 failures and 0 errors in 30.206 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
  Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.235 seconds.
  Ran 16 tests with 0 failures and 0 errors in 0.501 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
  Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.004 seconds.
  Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.004 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 1.646 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.014 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
  Tear down zope.formlib.tests.FormlibLayer in 0.008 seconds.
  Set up zope.testbrowser.tests.TestBrowserLayer in 1.371 seconds.


Failure in test /home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/over_the_wire.txt
Failed doctest test for over_the_wire.txt
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/over_the_wire.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/over_the_wire.txt", line 33, in over_the_wire.txt
Failed example:
    browser.getControl('Google Search').click()
Expected:
    Traceback (most recent call last):
    ...
    httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt
Got:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest over_the_wire.txt[7]>", line 1, in ?
        browser.getControl('Google Search').click()
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 591, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 380, in _clickSubmit
        self.mech_browser.open(form.click(
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 177, in open
        return self._mech_open(url, data)
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
        raise error
    RobotExclusionError: HTTP Error 403: request disallowed by robots.txt

  Ran 108 tests with 1 failures and 0 errors in 3.155 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 in 1.410 seconds.
  Ran 7 tests with 0 failures and 0 errors in 0.460 seconds.
Tearing down left over layers:
  Tear down zope.traversing.tests.layer.TraversingLayer in 0.007 seconds.
Total: 6640 tests, 1 failures, 7 errors in 53.964 seconds.

FAILED (failures=1, errors=7)


More information about the Zope-tests mailing list