[Python-checkins] Python Regression Test Failures all (3)

Neal Norwitz nnorwitz at gmail.com
Wed Feb 16 01:24:36 CET 2011


350 tests OK.
3 tests failed:
    test_robotparser test_smtpnet test_ssl
28 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
    test_epoll test_gdb test_gl test_imgfile test_ioctl test_kqueue
    test_macos test_macostools test_multiprocessing test_pep277
    test_py3kwarn test_scriptpackages test_startfile test_sunaudiodev
    test_tcl test_tk test_ttk_guionly test_ttk_textonly
    test_unicode_file test_winreg test_winsound test_zipfile64
7 skips unexpected on linux2:
    test_epoll test_gdb test_ioctl test_multiprocessing test_tk
    test_ttk_guionly test_ttk_textonly

== CPython 2.7 (trunk:88430M, Feb 15 2011, 16:01:36) [GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)]
==   Linux-2.6.9-gentoo-r1-i686-AMD_Athlon-tm-_XP_3000+-with-gentoo-1.4.16 little-endian
==   /tmp/test_python_29777
test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_MimeWriter
test_SimpleHTTPServer
test_StringIO
test___all__
test___future__
test__locale
test_abc
test_abstract_numbers
test_aepack
test_aepack skipped -- No module named aetypes
test_aifc
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named MacOS
test_argparse
test_array
test_ascii_formatd
test_ast
test_asynchat
test_asyncore
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
Test path prefix:  /tmp/z-test_bsddb3-29777
test_buffer
test_bufio
test_bytes
test_bz2
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd
test_cmd_line
test_cmd_line_script
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_hk
test_codecmaps_jp
test_codecmaps_kr
test_codecmaps_tw
test_codecs
test_codeop
test_coding
test_coercion
test_collections
test_colorsys
test_commands
test_compare
test_compile
test_compileall
test_compiler
  testCompileLibrary still working, be patient...
test_complex
test_complex_args
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_cprofile
test_crypt
test_csv
test_ctypes
test_datetime
test_dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_dictcomps
test_dictviews
test_difflib
test_dircache
test_dis
test_distutils
[19643 refs]
test_dl
test_docxmlrpc
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_epoll
test_epoll skipped -- kernel doesn't support epoll()
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_file2k
test_filecmp
test_fileinput
test_fileio
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_fractions
test_frozen
test_ftplib
test_funcattrs
test_functools
test_future
test_future3
test_future4
test_future5
test_future_builtins
test_gc
test_gdb
test_gdb skipped -- gdb versions before 7.0 didn't support python embedding Saw:
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-linux-gnu".

test_gdbm
test_generators
test_genericpath
test_genexps
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_httpservers
[15648 refs]
[15648 refs]
[15648 refs]
[25315 refs]
test_imageop
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_importlib
test_index
test_inspect
test_int
test_int_literal
test_io
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_json
test_kqueue
test_kqueue skipped -- test works only on BSD
test_largefile
test_lib2to3
test_linecache
test_list
test_locale
test_logging
test_long
test_long_future
test_longexp
test_macos
test_macos skipped -- No module named MacOS
test_macostools
test_macostools skipped -- No module named MacOS
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_memoryio
test_memoryview
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test_multibytecodec_support
test_multifile
test_multiprocessing
test_multiprocessing skipped -- This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
test_mutants
test_mutex
test_netrc
test_new
test_nis
test_normalization
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
[15648 refs]
[15648 refs]
test_parser
Expecting 's_push: parser stack overflow' in next line
s_push: parser stack overflow
test_pdb
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- only NT+ and systems with Unicode-friendly filesystem encoding
test_pep292
test_pep352
test_pickle
test_pickletools
test_pipes
test_pkg
test_pkgimport
test_pkgutil
test_platform
[17044 refs]
[17044 refs]
test_plistlib
test_poll
test_popen
[15653 refs]
[15653 refs]
[15653 refs]
test_popen2
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_print
test_profile
test_profilehooks
test_property
test_pstats
test_pty
test_pwd
test_py3kwarn
test_py3kwarn skipped -- test.test_py3kwarn must be run with the -3 flag
test_pyclbr
test_pydoc
[20862 refs]
[20862 refs]
[20862 refs]
[20862 refs]
[20862 refs]
[20861 refs]
[20861 refs]
test_pyexpat
test_queue
test_quopri
[18479 refs]
[18479 refs]
test_random
test_re
test_readline
test_repr
test_resource
test_rfc822
test_richcmp
test_robotparser
test test_robotparser failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_robotparser.py", line 224, in testPythonOrg
    parser.read()
  File "/tmp/python-test/local/lib/python2.7/robotparser.py", line 57, in read
    f = opener.open(self.url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution

Re-running test 'test_robotparser' in verbose mode
RobotTest(1, good, /) ... ok
RobotTest(1, good, /test.html) ... ok
RobotTest(1, bad, /cyberworld/map/index.html) ... ok
RobotTest(1, bad, /tmp/xxx) ... ok
RobotTest(1, bad, /foo.html) ... ok
RobotTest(2, good, /) ... ok
RobotTest(2, good, /test.html) ... ok
RobotTest(2, good, ('cybermapper', '/cyberworld/map/index.html')) ... ok
RobotTest(2, bad, /cyberworld/map/index.html) ... ok
RobotTest(3, bad, /cyberworld/map/index.html) ... ok
RobotTest(3, bad, /) ... ok
RobotTest(3, bad, /tmp/) ... ok
RobotTest(4, bad, /tmp) ... ok
RobotTest(4, bad, /tmp.html) ... ok
RobotTest(4, bad, /tmp/a.html) ... ok
RobotTest(4, bad, /a%3cd.html) ... ok
RobotTest(4, bad, /a%3Cd.html) ... ok
RobotTest(4, bad, /a%2fb.html) ... ok
RobotTest(4, bad, /~joe/index.html) ... ok
RobotTest(5, bad, /tmp) ... ok
RobotTest(5, bad, /tmp.html) ... ok
RobotTest(5, bad, /tmp/a.html) ... ok
RobotTest(5, bad, /a%3cd.html) ... ok
RobotTest(5, bad, /a%3Cd.html) ... ok
RobotTest(5, bad, /a%2fb.html) ... ok
RobotTest(5, bad, /~joe/index.html) ... ok
RobotTest(6, good, /tmp) ... ok
RobotTest(6, bad, /tmp/) ... ok
RobotTest(6, bad, /tmp/a.html) ... ok
RobotTest(6, bad, /a%3cd.html) ... ok
RobotTest(6, bad, /a%3Cd.html) ... ok
RobotTest(6, bad, /a/b.html) ... ok
RobotTest(6, bad, /%7Ejoe/index.html) ... ok
RobotTest(7, good, /foo.html) ... ok
RobotTest(8, good, /folder1/myfile.html) ... ok
RobotTest(8, bad, /folder1/anotherfile.html) ... ok
RobotTest(9, bad, /something.jpg) ... ok
RobotTest(10, bad, /something.jpg) ... ok
RobotTest(11, bad, /something.jpg) ... ok
RobotTest(12, good, /something.jpg) ... ok
RobotTest(13, good, /folder1/myfile.html) ... ok
RobotTest(13, bad, /folder1/anotherfile.html) ... ok

----------------------------------------------------------------------
Ran 42 tests in 0.012s

OK
testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) ... skipped 'http://mueblesmoraleda.com is unavailable'
testPythonOrg (test.test_robotparser.NetworkTestCase) ... ERROR

======================================================================
ERROR: testPythonOrg (test.test_robotparser.NetworkTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_robotparser.py", line 224, in testPythonOrg
    parser.read()
  File "/tmp/python-test/local/lib/python2.7/robotparser.py", line 57, in read
    f = opener.open(self.url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution

----------------------------------------------------------------------
Ran 2 tests in 3.143s

FAILED (errors=1, skipped=1)
test test_robotparser failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_robotparser.py", line 224, in testPythonOrg
    parser.read()
  File "/tmp/python-test/local/lib/python2.7/robotparser.py", line 57, in read
    f = opener.open(self.url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -3] Temporary failure in name resolution

test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_setcomps
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
test_slice
test_smtplib
test_smtpnet
test test_smtpnet failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 752, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 757, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -3] Temporary failure in name resolution

Re-running test 'test_smtpnet' in verbose mode
test_connect (test.test_smtpnet.SmtpSSLTest) ... ERROR

======================================================================
ERROR: test_connect (test.test_smtpnet.SmtpSSLTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 752, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 757, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -3] Temporary failure in name resolution

----------------------------------------------------------------------
Ran 1 test in 1.339s

FAILED (errors=1)
test test_smtpnet failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 752, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 757, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -3] Temporary failure in name resolution

test_socket
test_socketserver
test_softspace
test_sort
test_sqlite
test_ssl
test test_ssl failed -- multiple errors occurred; run in verbose mode for details
Re-running test 'test_ssl' in verbose mode
test_DER_to_PEM (test.test_ssl.BasicTests) ... ok
test_ciphers (test.test_ssl.BasicTests) ... ERROR
test_constants (test.test_ssl.BasicTests) ... ok
test_openssl_version (test.test_ssl.BasicTests) ... ok
test_parse_cert (test.test_ssl.BasicTests) ... 
{'notAfter': 'Feb 16 16:54:50 2013 GMT',
 'subject': ((('countryName', u'US'),),
             (('stateOrProvinceName', u'Delaware'),),
             (('localityName', u'Wilmington'),),
             (('organizationName', u'Python Software Foundation'),),
             (('organizationalUnitName', u'SSL'),),
             (('commonName', u'somemachine.python.org'),))}
ok
test_random (test.test_ssl.BasicTests) ... 
 RAND_status is 1 (sufficient randomness)
ok
test_refcycle (test.test_ssl.BasicTests) ... ok
test_sslwrap_simple (test.test_ssl.BasicTests) ... ok
test_algorithms (test.test_ssl.NetworkedTests) ... skipped "SHA256 not available on 'OpenSSL 0.9.7d 17 Mar 2004'"
test_connect (test.test_ssl.NetworkedTests) ... ERROR
test_get_server_certificate (test.test_ssl.NetworkedTests) ... ERROR
test_makefile_close (test.test_ssl.NetworkedTests) ... ERROR
test_non_blocking_handshake (test.test_ssl.NetworkedTests) ... ERROR
test_asyncore_server (test.test_ssl.ThreadedTests)
Check the example asyncore integration. ... 
 server:  new connection from 127.0.0.1:51182
 client:  sending 'TEST MESSAGE of mixed case\n'...
 client:  read 'test message of mixed case\n'
 client:  closing connection.
 server:  closed connection <ssl.SSLSocket object at 0xb48b7534>
ok
test_echo (test.test_ssl.ThreadedTests)
Basic test of an SSL client connecting to a server ... 
 server:  new connection from ('127.0.0.1', 51184)
 client:  sending 'FOO\n'...
 server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending bytearray(b'FOO\n')...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending <memory at 0xb489cfa4>...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  closing connection.
 server: client closed connection
ok
test_empty_cert (test.test_ssl.ThreadedTests)
Connecting with an empty cert file ... 
SSLError is _ssl.c:347: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
ok
test_getpeercert (test.test_ssl.ThreadedTests) ... 
{'notAfter': 'Feb 16 16:54:50 2013 GMT',
 'subject': ((('countryName', u'US'),),
             (('stateOrProvinceName', u'Delaware'),),
             (('localityName', u'Wilmington'),),
             (('organizationName', u'Python Software Foundation'),),
             (('organizationalUnitName', u'SSL'),),
             (('commonName', u'somemachine.python.org'),))}
Connection cipher is ('AES256-SHA', 'TLSv1/SSLv3', 256).
ok
test_handshake_timeout (test.test_ssl.ThreadedTests) ... ok
test_malformed_cert (test.test_ssl.ThreadedTests)
Connecting with a badly formatted certificate (syntax error) ... 
SSLError is _ssl.c:361: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
ok
test_malformed_key (test.test_ssl.ThreadedTests)
Connecting with a badly formatted key (syntax error) ... 
SSLError is _ssl.c:347: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
ok
test_nonexisting_cert (test.test_ssl.ThreadedTests)
Connecting with a non-existing cert file ... 
SSLError is _ssl.c:499: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
ok
test_protocol_sslv2 (test.test_ssl.ThreadedTests)
Connecting to an SSLv2 server with various client options ... 
 SSLv2->SSLv2 CERT_NONE
 SSLv2->SSLv2 CERT_OPTIONAL
 SSLv2->SSLv2 CERT_REQUIRED
 SSLv23->SSLv2 CERT_NONE
 {SSLv3->SSLv2} CERT_NONE
 {TLSv1->SSLv2} CERT_NONE
ok
test_protocol_sslv23 (test.test_ssl.ThreadedTests)
Connecting to an SSLv23 server with various client options ... 
 SSLv2->SSLv23 CERT_NONE
 SSLv3->SSLv23 CERT_NONE
 SSLv23->SSLv23 CERT_NONE
 TLSv1->SSLv23 CERT_NONE
 SSLv3->SSLv23 CERT_OPTIONAL
 SSLv23->SSLv23 CERT_OPTIONAL
 TLSv1->SSLv23 CERT_OPTIONAL
 SSLv3->SSLv23 CERT_REQUIRED
 SSLv23->SSLv23 CERT_REQUIRED
 TLSv1->SSLv23 CERT_REQUIRED
ok
test_protocol_sslv3 (test.test_ssl.ThreadedTests)
Connecting to an SSLv3 server with various client options ... 
 SSLv3->SSLv3 CERT_NONE
 SSLv3->SSLv3 CERT_OPTIONAL
 SSLv3->SSLv3 CERT_REQUIRED
 {SSLv2->SSLv3} CERT_NONE
 {SSLv23->SSLv3} CERT_NONE
 {TLSv1->SSLv3} CERT_NONE
ok
test_protocol_tlsv1 (test.test_ssl.ThreadedTests)
Connecting to a TLSv1 server with various client options ... 
 TLSv1->TLSv1 CERT_NONE
 TLSv1->TLSv1 CERT_OPTIONAL
 TLSv1->TLSv1 CERT_REQUIRED
 {SSLv2->TLSv1} CERT_NONE
 {SSLv3->TLSv1} CERT_NONE
 {SSLv23->TLSv1} CERT_NONE
ok
test_recv_send (test.test_ssl.ThreadedTests)
Test recv(), send() and friends. ... 
 server:  new connection from ('127.0.0.1', 51255)
 server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
ok
test_rude_shutdown (test.test_ssl.ThreadedTests)
A brutal shutdown of an SSL server should raise an IOError ... ok
test_socketserver (test.test_ssl.ThreadedTests)
Using a SocketServer to create and manage SSL connections. ... 
 server (('127.0.0.1', 51258):51258 ('AES256-SHA', 'TLSv1/SSLv3', 256)):
   [15/Feb/2011 19:11:25] "GET /keycert.pem HTTP/1.0" 200 -
 client: read 1872 bytes from remote server '<SocketServerHTTPSServer <HTTPSServer localhost:51258>>'
ok
test_starttls (test.test_ssl.ThreadedTests)
Switching from clear text to encrypted and back again. ... 
 client:  sending 'msg 1'...
 server:  new connection from ('127.0.0.1', 51261)
 server: read 'msg 1' (unencrypted), sending back 'msg 1' (unencrypted)...
 client:  read 'msg 1' from server
 client:  sending 'MSG 2'...
 server: read 'MSG 2' (unencrypted), sending back 'msg 2' (unencrypted)...
 client:  read 'msg 2' from server
 client:  sending 'STARTTLS'...
 server: read STARTTLS from client, sending OK...
 client:  read 'OK\n' from server, starting TLS...
 client:  sending 'MSG 3'...
 server: read 'MSG 3' (encrypted), sending back 'msg 3' (encrypted)...
 client:  read 'msg 3' from server
 client:  sending 'msg 4'...
 server: read 'msg 4' (encrypted), sending back 'msg 4' (encrypted)...
 client:  read 'msg 4' from server
 client:  sending 'ENDTLS'...
 server: read ENDTLS from client, sending OK...
 client:  read 'OK\n' from server, ending TLS...
 client:  sending 'msg 5'...
 server: connection is now unencrypted...
 server: read 'msg 5' (unencrypted), sending back 'msg 5' (unencrypted)...
 client:  read 'msg 5' from server
 client:  sending 'msg 6'...
 server: read 'msg 6' (unencrypted), sending back 'msg 6' (unencrypted)...
 client:  read 'msg 6' from server
 client:  closing connection.
 server: client closed connection
ok
test_wrapped_accept (test.test_ssl.ThreadedTests)
Check the accept() method on SSL sockets. ... 
 server:  wrapped server socket as <ssl.SSLSocket object at 0xb4aa7a34>
 client:  sending 'FOO\n'...
 server:  new connection from ('127.0.0.1', 51263)
 client cert is {'notAfter': 'Feb 16 16:54:50 2013 GMT',
 'subject': ((('countryName', u'US'),),
             (('stateOrProvinceName', u'Delaware'),),
             (('localityName', u'Wilmington'),),
             (('organizationName', u'Python Software Foundation'),),
             (('organizationalUnitName', u'SSL'),),
             (('commonName', u'somemachine.python.org'),))}
 cert binary is 683 bytes
 server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending bytearray(b'FOO\n')...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending <memory at 0xb489cfa4>...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  closing connection.
 server: client closed connection
ok

======================================================================
ERROR: test_ciphers (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 133, in test_ciphers
    s.connect(remote)
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno -2] Name or service not known

======================================================================
ERROR: test_connect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 160, in test_connect
    s.connect(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno -2] Name or service not known

======================================================================
ERROR: test_get_server_certificate (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 229, in test_get_server_certificate
    pem = ssl.get_server_certificate(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 403, in get_server_certificate
    s.connect(addr)
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno -2] Name or service not known

======================================================================
ERROR: test_makefile_close (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 191, in test_makefile_close
    ss.connect(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno -2] Name or service not known

======================================================================
ERROR: test_non_blocking_handshake (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 206, in test_non_blocking_handshake
    s.connect(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
gaierror: [Errno -2] Name or service not known

----------------------------------------------------------------------
Ran 30 tests in 6.884s

FAILED (errors=5, skipped=1)
test test_ssl failed -- multiple errors occurred
test_startfile
test_startfile skipped -- module os has no attribute startfile
test_str
test_strftime
test_string
test_stringprep
test_strop
test_strptime
test_strtod
test_struct
test_structmembers
test_structseq
test_subprocess
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15863 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
.
[15648 refs]
[15648 refs]
    this bit of output is from a test of stdout in a different process ...
[15648 refs]
[15648 refs]
[15863 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15863 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
.
[15648 refs]
[15648 refs]
    this bit of output is from a test of stdout in a different process ...
[15648 refs]
[15648 refs]
[15863 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[15648 refs]
[15648 refs]
[15648 refs]
[15877 refs]
[15671 refs]
test_sysconfig
[15648 refs]
[15648 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[15648 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
[18948 refs]
[21123 refs]
[20035 refs]
[20035 refs]
[20035 refs]
[20035 refs]
test_threading_local
test_threadsignals
test_time
test_timeout
test_tk
test_tk skipped -- No module named _tkinter
test_tokenize
test_trace
test_traceback
test_transformer
test_ttk_guionly
test_ttk_guionly skipped -- No module named _tkinter
test_ttk_textonly
test_ttk_textonly skipped -- No module named _tkinter
test_tuple
test_typechecks
test_ucn
test_unary
test_undocumented_details
test_unicode
test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_univnewlines
test_univnewlines2k
test_unpack
test_urllib
test_urllib2
test_urllib2_localnet
test_urllib2net
test_urllibnet
test_urlparse
test_userdict
test_userlist
test_userstring
test_uu
test_uuid
test_wait3
test_wait4
test_warnings
[15679 refs]
[15679 refs]
[15672 refs]
[15679 refs]
[15679 refs]
[15672 refs]
test_wave
test_weakref
test_weakset
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_wsgiref
test_xdrlib
test_xml_etree
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
sh: line 1: python2.4: command not found
sh: line 1: python2.6: command not found
test_xrange
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_zipimport
test_zipimport_support
test_zlib
350 tests OK.
3 tests failed:
    test_robotparser test_smtpnet test_ssl
28 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
    test_epoll test_gdb test_gl test_imgfile test_ioctl test_kqueue
    test_macos test_macostools test_multiprocessing test_pep277
    test_py3kwarn test_scriptpackages test_startfile test_sunaudiodev
    test_tcl test_tk test_ttk_guionly test_ttk_textonly
    test_unicode_file test_winreg test_winsound test_zipfile64
7 skips unexpected on linux2:
    test_epoll test_gdb test_ioctl test_multiprocessing test_tk
    test_ttk_guionly test_ttk_textonly
[985097 refs]


More information about the Python-checkins mailing list