[Zope-Coders] breaking tests (FTP, XML, leaking sockets)

Chris Withers chrisw@nipltd.com
Thu, 18 Apr 2002 21:34:31 +0100


You should try those tests on Windows, it's much much more amusing :-(((

Stephan, Shane, any chance you can sort this mess out?!

cheers,

Chris

Christian Theune wrote:
> 
> Hi. Here are some - misteriously ;) - breaking tests. Running on Suse Linux 7.2.
> 
> ----snip
> Failure in test test_plugins (Zope.App.OFS.ApplicationControl.tests.testApplicationControl.Test)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testApplicationControl.py", line 67, in test_plugins
>     self.failUnlessEqual(assert_info, test_appctrl.getListOfViews())
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: [{'name': 'foo', 'title': "I'm a lumberjack"}, {'name': 'bar', 'title': 'and i feel fine.'}, {'name': 'nudges', 'title': 'The nudge'}, {'name': 'dash', 'title': 'The dash'}] != ({'name': 'foo', 'title': "I'm a lumberjack"}, {'name': 'bar', 'title': 'and i feel fine.'}, {'name': 'nudges', 'title': 'The nudge'}, {'name': 'dash', 'title': 'The dash'})
> 
> Failure in test testABOR (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 143, in testABOR
>     self.assertEqual(self.execute('ABOR', 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Error in test testABOR (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 95, in tearDown
>     self.fail('Leaked a socket: %s' % `socket_map`)
>   File "/usr/local/lib/python2.2/unittest.py", line 254, in fail
>     raise self.failureException, msg
> AssertionError: Leaked a socket: {9: <select-trigger (pipe) at 88c2e54>, 5: <Zope.Server.FTP.FTPServerChannel.FTPServerChannel connected 127.0.0.1:50688 at 0x8bb924c>}
> 
> Failure in test testCDUP (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 148, in testCDUP
>     self.assertEqual(self.execute(('CWD test', 'CDUP'), 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testCWD (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 155, in testCWD
>     self.assertEqual(self.execute('CWD test', 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testDELE (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 163, in testDELE
>     self.assertEqual(self.execute('DELE foo', 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testHELP (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 176, in testHELP
>     self.assertEqual(self.execute('HELP', 1), result)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testLIST (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 190, in testLIST
>     self.testNOOP()
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 194, in testNOOP
>     self.assertEqual(self.execute('NOOP', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testNOOP (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 194, in testNOOP
>     self.assertEqual(self.execute('NOOP', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testPASS (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 201, in testPASS
>     self.assertEqual(self.execute('PASS', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testQUIT (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 208, in testQUIT
>     self.assertEqual(self.execute('QUIT', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testSTOR (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 229, in testSTOR
>     self.testNOOP()
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 194, in testNOOP
>     self.assertEqual(self.execute('NOOP', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Failure in test testUSER (Zope.Server.FTP.tests.testFTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 233, in testUSER
>     self.assertEqual(self.execute('USER foo', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> Error in test testChunkingRequestWithContent (Zope.Server.HTTP.tests.testHTTPServer.Tests)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/HTTP/tests/testHTTPServer.py", line 105, in tearDown
>     self.fail('Leaked a socket: %s' % `socket_map`)
>   File "/usr/local/lib/python2.2/unittest.py", line 254, in fail
>     raise self.failureException, msg
> AssertionError: Leaked a socket: {9: <select-trigger (pipe) at 88c2e54>}
> 
> Failure in test check_simple_html (Zope.TAL.tests.test_xmlparser.XMLParserTestCase)
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/TAL/tests/test_xmlparser.py", line 127, in check_simple_html
>     self._run_check("""\
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/TAL/tests/test_xmlparser.py", line 108, in _run_check
>     self.assertEquals(parser.get_events(),events)
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: [('starttag', u'html', []), ('data', u' \n'), ('comment', u'comment1a\n-></foo><bar>&lt;<?pi?></foo<bar\ncomment1b'), ('data', u'\n'), ('starttag', u'img', [u'src', u'Bar', u'ismap', u'']), ('endtag', u'img'), ('data', u'sample\ntext\n'), ('comment', u'comment2a- -comment2b'), ('data', u'\n'), ('endtag', u'html')] != [('decl', '1.0', 'iso-8859-1', -1), ('doctype', 'html', 'foo', 'bar', 0), ('starttag', 'html', []), ('data', ' \n'), ('comment', 'comment1a\n-></foo><bar>&lt;<?pi?></foo<bar\ncomment1b'), ('data', '\n'), ('starttag', 'img', ['src', 'Bar', 'ismap', '']), ('endtag', 'img'), ('data', 'sample\ntext\n'), ('comment', 'comment2a- -comment2b'), ('data', '\n'), ('endtag', 'html')]
> 
> ======================================================================
> ERROR: testABOR (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 95, in tearDown
>     self.fail('Leaked a socket: %s' % `socket_map`)
>   File "/usr/local/lib/python2.2/unittest.py", line 254, in fail
>     raise self.failureException, msg
> AssertionError: Leaked a socket: {9: <select-trigger (pipe) at 88c2e54>, 5: <Zope.Server.FTP.FTPServerChannel.FTPServerChannel connected 127.0.0.1:50688 at 0x8bb924c>}
> 
> ======================================================================
> ERROR: testChunkingRequestWithContent (Zope.Server.HTTP.tests.testHTTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/HTTP/tests/testHTTPServer.py", line 105, in tearDown
>     self.fail('Leaked a socket: %s' % `socket_map`)
>   File "/usr/local/lib/python2.2/unittest.py", line 254, in fail
>     raise self.failureException, msg
> AssertionError: Leaked a socket: {9: <select-trigger (pipe) at 88c2e54>}
> 
> ======================================================================
> FAIL: test_plugins (Zope.App.OFS.ApplicationControl.tests.testApplicationControl.Test)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testApplicationControl.py", line 67, in test_plugins
>     self.failUnlessEqual(assert_info, test_appctrl.getListOfViews())
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: [{'name': 'foo', 'title': "I'm a lumberjack"}, {'name': 'bar', 'title': 'and i feel fine.'}, {'name': 'nudges', 'title': 'The nudge'}, {'name': 'dash', 'title': 'The dash'}] != ({'name': 'foo', 'title': "I'm a lumberjack"}, {'name': 'bar', 'title': 'and i feel fine.'}, {'name': 'nudges', 'title': 'The nudge'}, {'name': 'dash', 'title': 'The dash'})
> 
> ======================================================================
> FAIL: testABOR (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 143, in testABOR
>     self.assertEqual(self.execute('ABOR', 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testCDUP (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 148, in testCDUP
>     self.assertEqual(self.execute(('CWD test', 'CDUP'), 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testCWD (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 155, in testCWD
>     self.assertEqual(self.execute('CWD test', 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testDELE (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 163, in testDELE
>     self.assertEqual(self.execute('DELE foo', 1),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testHELP (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 176, in testHELP
>     self.assertEqual(self.execute('HELP', 1), result)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testLIST (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 190, in testLIST
>     self.testNOOP()
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 194, in testNOOP
>     self.assertEqual(self.execute('NOOP', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testNOOP (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 194, in testNOOP
>     self.assertEqual(self.execute('NOOP', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testPASS (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 201, in testPASS
>     self.assertEqual(self.execute('PASS', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testQUIT (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 208, in testQUIT
>     self.assertEqual(self.execute('QUIT', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testSTOR (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 229, in testSTOR
>     self.testNOOP()
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 194, in testNOOP
>     self.assertEqual(self.execute('NOOP', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: testUSER (Zope.Server.FTP.tests.testFTPServer.Tests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 233, in testUSER
>     self.assertEqual(self.execute('USER foo', 0),
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 125, in execute
>     ftp = self.getFTPConnection(login)
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/Server/FTP/tests/testFTPServer.py", line 111, in getFTPConnection
>     self.assertEqual(result, status_msgs['SERVER_READY'] %(
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: '220 localhost FTP server (Zope Async/Thread V0.1) ready.\r\n' != '220 localhost.localdomain FTP server (Zope Async/Thread V0.1) ready.\r\n'
> 
> ======================================================================
> FAIL: check_simple_html (Zope.TAL.tests.test_xmlparser.XMLParserTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/TAL/tests/test_xmlparser.py", line 127, in check_simple_html
>     self._run_check("""\
>   File "/home/ctheune/Development/Zope3/lib/python/Zope/TAL/tests/test_xmlparser.py", line 108, in _run_check
>     self.assertEquals(parser.get_events(),events)
>   File "/usr/local/lib/python2.2/unittest.py", line 286, in failUnlessEqual
>     raise self.failureException, \
> AssertionError: [('starttag', u'html', []), ('data', u' \n'), ('comment', u'comment1a\n-></foo><bar>&lt;<?pi?></foo<bar\ncomment1b'), ('data', u'\n'), ('starttag', u'img', [u'src', u'Bar', u'ismap', u'']), ('endtag', u'img'), ('data', u'sample\ntext\n'), ('comment', u'comment2a- -comment2b'), ('data', u'\n'), ('endtag', u'html')] != [('decl', '1.0', 'iso-8859-1', -1), ('doctype', 'html', 'foo', 'bar', 0), ('starttag', 'html', []), ('data', ' \n'), ('comment', 'comment1a\n-></foo><bar>&lt;<?pi?></foo<bar\ncomment1b'), ('data', '\n'), ('starttag', 'img', ['src', 'Bar', 'ismap', '']), ('endtag', 'img'), ('data', 'sample\ntext\n'), ('comment', 'comment2a- -comment2b'), ('data', '\n'), ('endtag', 'html')]
> 
> ----------------------------------------------------------------------
> Ran 1495 tests in 58.790s
> 
> FAILED (failures=13, errors=2)
> 
> ---snap
> 
> --
> Christian Theune - ct@gocept.com
> gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
> tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981
> 
> reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])
> 
>   --------------------------------------------------------------------------------
> 
>    Part 1.2           Type: application/pgp-signature
>            Download Status: Not downloaded with message