Script started on Sun Mar 15 12:40:12 2015 root@bsdkamer:/usr/ports/lang/python27 # make regression-test running build running build_ext building dbm using ndbm Python build finished, but the necessary bits to build these modules were not found: _bsddb dl imageop linuxaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. running build_scripts copying and adjusting /usr/ports/lang/python27/work/Python-2.7.9/Tools/scripts/pydoc -> build/scripts-2.7 copying and adjusting /usr/ports/lang/python27/work/Python-2.7.9/Tools/scripts/idle -> build/scripts-2.7 copying and adjusting /usr/ports/lang/python27/work/Python-2.7.9/Tools/scripts/2to3 -> build/scripts-2.7 changing mode of build/scripts-2.7/pydoc from 644 to 755 changing mode of build/scripts-2.7/idle from 644 to 755 changing mode of build/scripts-2.7/2to3 from 644 to 755 renaming build/scripts-2.7/pydoc to build/scripts-2.7/pydoc2.7 renaming build/scripts-2.7/idle to build/scripts-2.7/idle2.7 renaming build/scripts-2.7/2to3 to build/scripts-2.7/2to3-2.7 LD_LIBRARY_PATH=/usr/ports/lang/python27/work/Python-2.7.9 ./python -Wd -3 -E -tt -R ./Lib/test/regrtest.py -uall -rwW -j4 == CPython 2.7.9 (default, Mar 15 2015, 12:39:04) [GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)] == FreeBSD-10.1-RELEASE-p6-amd64-64bit-ELF little-endian == /usr/ports/lang/python27/work/Python-2.7.9/build/test_python_38231 Testing with flags: sys.flags(debug=0, py3k_warning=1, division_warning=1, division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=1, tabcheck=2, verbose=0, unicode=0, bytes_warning=0, hash_randomization=1) Using random seed 2217305 [ 1/400] test_defaultdict [ 2/400] test_shlex [ 3/400] test_fileio [ 4/400] test_pprint [ 5/400] test_macpath [ 6/400] test_ioctl [ 7/400] test_netrc [ 8/400] test_xdrlib [ 9/400] test_hash [ 10/400] test_urllib [ 11/400] test_cookie [ 12/400] test_pkgutil [ 13/400] test_codecmaps_hk [ 14/400] test_pstats [ 15/400] test_dis [ 16/400] test_coercion [ 17/400] test_xmllib [ 18/400] test_genericpath [ 19/400] test_StringIO [ 20/400] test_weakset [ 21/400] test_quopri [ 22/400] test_cfgparser [ 23/400] test_long [ 24/400] test_rfc822 [ 25/400] test_sort test_sqlite skipped -- No module named _sqlite3 [ 26/400] test_sqlite [ 27/400] test_modulefinder [ 28/400] test_codecencodings_jp [ 29/400] test_types [ 30/400] test_email_renamed test_curses skipped -- sys.__stdout__ is not a tty [ 31/400] test_curses [ 32/400] test_bastion [ 33/400] test_int_literal [ 34/400] test_plistlib [ 35/400] test_anydbm [ 36/400] test_linecache [ 37/400] test_filecmp [ 38/400] test_bz2 [ 39/400] test__locale test_al skipped -- No module named al [ 40/400] test_al [ 41/400] test_deque [ 42/400] test_mimetypes [ 43/400] test_strop [ 44/400] test_ast [ 45/400] test_generators [ 46/400] test_xml_etree_c [ 47/400] test_augassign [ 48/400] test_py3kwarn [ 49/400] test_doctest [ 50/400] test_cmd_line_script [ 51/400] test_mhlib [ 52/400] test_threadedtempfile [ 53/400] test_unary [ 54/400] test_popen [ 55/400] test_email [ 56/400] test_getopt [ 57/400] test_readline [ 58/400] test_frozen [ 59/400] test_multibytecodec [ 60/400] test_cookielib test_macos skipped -- No module named MacOS [ 61/400] test_macos test_ttk_guionly skipped -- No module named _tkinter [ 62/400] test_ttk_guionly [ 63/400] test_ntpath [ 64/400] test_logging [ 65/400] test_py_compile [ 66/400] test_sunau [ 67/400] test_sundry [ 68/400] test_peepholer test_cl skipped -- No module named cl [ 69/400] test_cl [ 70/400] test_pkg [ 71/400] test_fork1 [ 72/400] test_index [ 73/400] test_memoryview [ 74/400] test_userlist [ 75/400] test___future__ [ 76/400] test_smtpnet [ 77/400] test_csv [ 78/400] test_iterlen /usr/ports/lang/python27/work/Python-2.7.9/Lib/ctypes/util.py:180: DeprecationWarning: the cmp argument is not supported in 3.x res.sort(cmp= lambda x,y: cmp(_num_version(x), _num_version(y))) [ 79/400] test_os [ 80/400] test_socket [ 81/400] test_marshal [ 82/400] test_string [ 83/400] test_undocumented_details [ 84/400] test_typechecks fetching http://www.pythontest.net/unicode/CP932.TXT ... fetching http://www.pythontest.net/unicode/EUC-JISX0213.TXT ... fetching http://www.pythontest.net/unicode/EUC-JP.TXT ... fetching http://www.pythontest.net/unicode/SHIFTJIS.TXT ... fetching http://www.pythontest.net/unicode/SHIFT_JISX0213.TXT ... [ 85/400] test_codecmaps_jp [ 86/400] test_contextlib [ 87/400] test_property [ 88/400] test_pep292 [ 89/400] test_minidom [ 90/400] test_codecs [ 91/400] test_resource [ 92/400] test_sys [ 93/400] test_trace [ 94/400] test_urllib2_localnet [ 95/400] test_collections [ 96/400] test_imghdr [ 97/400] test_thread [ 98/400] test_inspect [ 99/400] test_grammar fetching http://www.pythontest.net/unicode/CP949.TXT ... fetching http://www.pythontest.net/unicode/EUC-KR.TXT ... fetching http://www.pythontest.net/unicode/JOHAB.TXT ... [100/400] test_codecmaps_kr test_ttk_textonly skipped -- No module named _tkinter [101/400] test_ttk_textonly [102/400] test_pty [103/400] test_codecencodings_iso2022 [104/400] test_compare [105/400] test_mimetools [106/400] test_pyexpat [107/400] test_dircache [108/400] test_pep352 [109/400] test_extcall [110/400] test_fpformat [111/400] test_wait4 [112/400] test_hashlib [113/400] test_posix [114/400] test_tokenize [115/400] test_time [116/400] test_bool [117/400] test_codecencodings_hk [118/400] test_structmembers [119/400] test_math [120/400] test_ascii_formatd [121/400] test_old_mailbox [122/400] test_abstract_numbers [123/400] test_htmllib [124/400] test_bufio [125/400] test_threaded_import [126/400] test_future [127/400] test_code [128/400] test_strptime [129/400] test_pow [130/400] test_with [131/400] test_atexit [132/400] test_stat [133/400] test_new test_applesingle skipped -- No module named MacOS [134/400] test_applesingle [135/400] test_errno [136/400] test_popen2 [137/400] test_optparse /usr/ports/lang/python27/work/Python-2.7.9/Lib/ctypes/util.py:180: DeprecationWarning: the cmp argument is not supported in 3.x res.sort(cmp= lambda x,y: cmp(_num_version(x), _num_version(y))) [138/400] test_uuid [139/400] test_call [140/400] test_whichdb [141/400] test_file_eintr [142/400] test_calendar test_imageop skipped -- No module named imageop [143/400] test_imageop [144/400] test_array [145/400] test_file [146/400] test_syntax [147/400] test_codeop [148/400] test_cmd [149/400] test_compiler [150/400] test_strtod [151/400] test_wsgiref [152/400] test_pickletools [153/400] test_poplib [154/400] test_imaplib [155/400] test_select test_macostools skipped -- No module named MacOS [156/400] test_macostools [157/400] test_opcodes [158/400] test_enumerate [159/400] test_sax [160/400] test_isinstance test_imgfile skipped -- No module named imgfile [161/400] test_imgfile [162/400] test_set [163/400] test_symtable [164/400] test_gc [165/400] test_colorsys [166/400] test_dictcomps test_aepack skipped -- No module named aetypes [167/400] test_aepack [168/400] test_sets [169/400] test_bytes [170/400] test_threading_local [171/400] test_bisect [172/400] test_eof [173/400] test_pydoc [174/400] test_re [175/400] test_weakref [176/400] test_grp [177/400] test_mailbox [178/400] test_univnewlines test_winsound skipped -- No module named winsound [179/400] test_winsound [180/400] test_capi [181/400] test_io [182/400] test_dbm [183/400] test_md5 [184/400] test_xml_etree [185/400] test_cprofile test_gl skipped -- No module named gl [186/400] test_gl test.test_warnings:559: UserWarning: test [187/400] test_warnings [188/400] test_funcattrs test_pep277 skipped -- only NT+ and systems with Unicode-friendly filesystem encoding [189/400] test_pep277 [190/400] test_fileinput [191/400] test_cpickle [192/400] test_format [193/400] test_gzip [194/400] test_normalization [195/400] test_getargs [196/400] test_bigaddrspace [197/400] test_site [198/400] test_traceback [199/400] test_codecencodings_kr [200/400] test_iter [201/400] test_tempfile [202/400] test_compileall [203/400] test_future4 [204/400] test_socketserver [205/400] test_complex_args [206/400] test_codecmaps_tw [207/400] test_unittest [208/400] test_audioop [209/400] test_copy [210/400] test_compile [211/400] test_dummy_thread Warning -- os.environ was modified by test_distutils [212/400/1] test_distutils [213/400/1] test_builtin [214/400/1] test_urllib2 [215/400/1] test_binascii [216/400/1] test_longexp [217/400/1] test_random [218/400/1] test_urllibnet [219/400/1] test_dumbdbm [220/400/1] test_list [221/400/1] test_setcomps [222/400/1] test_multifile [223/400/1] test_copy_reg /usr/ports/lang/python27/work/Python-2.7.9/Lib/anydbm.py:45: DeprecationWarning: in 3.x, the dbhash module has been removed _mod = __import__(_name) /usr/ports/lang/python27/work/Python-2.7.9/Lib/dbhash.py:7: DeprecationWarning: in 3.x, the bsddb module has been removed; please use the pybsddb project instead import bsddb [224/400/1] test_bsddb185 test_spwd skipped -- No module named spwd [225/400/1] test_spwd [226/400/1] test_ucn [227/400/1] test_module [228/400/1] test_itertools [229/400/1] test_asynchat [230/400/1] test_datetime [231/400/1] test_xrange [232/400/1] test_float [233/400/1] test_operator test_linuxaudiodev skipped -- No module named linuxaudiodev [234/400/1] test_linuxaudiodev [235/400/1] test_aifc [236/400/1] test_threading [237/400/1] test_tarfile [238/400/1] test_str [239/400/1] test_functools [240/400/1] test_int [241/400/1] test_zlib [242/400/1] test_argparse [243/400/1] test_import [244/400/1] test_urlparse [245/400/1] test_parser [246/400/1] test_ftplib [247/400/1] test_difflib [248/400/1] test_shelve [249/400/1] test_tuple [250/400/1] test_MimeWriter [251/400/1] test_multiprocessing [252/400/1] test_base64 [253/400/1] test_transformer [254/400/1] test_strftime [255/400/1] test_charmapcodec [256/400/1] test_queue test_unicode_file skipped -- No Unicode filesystem semantics on this platform. [257/400/1] test_unicode_file [258/400/1] test_multibytecodec_support [259/400/1] test_richcmp [260/400/1] test_class [261/400/1] test_glob test_tk skipped -- No module named _tkinter [262/400/1] test_tk test_winreg skipped -- No module named _winreg [263/400/1] test_winreg [264/400/1] test_ossaudiodev [265/400/1] test_pdb [266/400/1] test_shutil [267/400/1] test_softspace [268/400/1] test_genexps [269/400/1] test_hmac [270/400/1] test_tools [271/400/1] test_sysconfig [272/400/1] test_hotshot [273/400/1] test_heapq [274/400/1] test_robotparser [275/400/1] test_future3 [276/400/1] test_unicode [277/400/1] test_telnetlib [278/400/1] test_cgi [279/400/1] test_mutants test_idle skipped -- No module named _tkinter [280/400/1] test_idle [281/400/1] test_codecencodings_tw [282/400/1] test_pipes test_gdbm skipped -- No module named gdbm [283/400/1] test_gdbm test_cd skipped -- No module named cd [284/400/1] test_cd [285/400/1] test_crypt [286/400/1] test_getargs2 [287/400/1] test_cmath [288/400/1] test_httpservers [289/400/1] test_email_codecs [290/400/1] test_textwrap [291/400/1] test_commands test_bsddb3 skipped -- No module named _bsddb [292/400/1] test_bsddb3 [293/400/1] test_mmap [294/400/1] test_pickle [295/400/1] test_bigmem [296/400/1] test_zipimport_support test_scriptpackages skipped -- No module named aetools [297/400/1] test_scriptpackages [298/400/1] test_wait3 [299/400/1] test_binhex [300/400/1] test_scope [301/400/1] test_exception_variations [302/400/1] test_codeccallbacks [303/400/1] test_memoryio test_gdb skipped -- gdb versions before 7.0 didn't support python embedding Saw: GNU gdb 6.1.1 [FreeBSD] 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 "amd64-marcel-freebsd". [304/400/1] test_gdb [305/400/1] test_sys_settrace [306/400/1] test_sgmllib [307/400/1] test_fractions test_tcl skipped -- No module named _tkinter [308/400/1] test_tcl [309/400/1] test_nis [310/400/1] test_locale [311/400/1] test_xmlrpc [312/400/1] test_doctest2 [313/400/1] test_lib2to3 [314/400/1] test_htmlparser [315/400/1] test_slice [316/400/1] test_pwd [317/400/1] test_userstring [318/400/1] test_future_builtins [319/400/1] test_fnmatch [320/400/1] test_stringprep [321/400/1] test_largefile python2.4: not found python2.5: not found python2.6: not found [322/400/1] test_xpickle [323/400/1] test_json [324/400/1] test_nntplib [325/400/1] test_subprocess [326/400/1] test_cmd_line /usr/ports/lang/python27/work/Python-2.7.9/Lib/encodings/uu_codec.py:87: DeprecationWarning: classic int division nbytes = (((ord(s[0])-32) & 63) * 4 + 5) / 3 [327/400/1] test_uu test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run [328/400/1] test_zipfile64 [329/400/1] test_posixpath [330/400/1] test_sha test_bsddb skipped -- No module named _bsddb [331/400/1] test_bsddb [332/400/1] test_global [333/400/1] test_userdict [334/400/1] test_zipfile [335/400/1] test_repr test_epoll skipped -- test works only on Linux 2.6 [336/400/1] test_epoll [337/400/1] test_SimpleHTTPServer [338/400/1] test_mutex [339/400/1] test_threadsignals test_msilib skipped -- No module named _msi [340/400/1] test_msilib test_startfile skipped -- module os has no attribute startfile [341/400/1] test_startfile [342/400/1] test_smtplib [343/400/1] test_complex [344/400/1] test_wave [345/400/1] test_importlib [346/400/1] test_pkgimport [347/400/1] test_unicodedata [348/400/1] test_structseq [349/400/1] test_urllib2net [350/400/1] test___all__ [351/400/1] test_pyclbr [352/400/1] test_httplib [353/400/1] test_macurl2path [354/400/1] test_codecencodings_cn [355/400/1] test_coding [356/400/1] test_profile [357/400/1] test_struct [358/400/1] test_importhooks [359/400/1] test__osx_support [360/400/1] test_imp test_dl skipped -- No module named dl [361/400/1] test_dl [362/400/1] test_zipimport [363/400/1] test_platform [364/400/1] test_asyncore [365/400/1] test_gettext [366/400/1] test_descrtut [367/400/1] test_runpy [368/400/1] test_kqueue [369/400/1] test_abc [370/400/1] test_dict [371/400/1] test_docxmlrpc [372/400/1] test_sys_setprofile [373/400/1] test_future5 [374/400/1] test_contains test_sunaudiodev skipped -- No module named sunaudiodev [375/400/1] test_sunaudiodev [376/400/1] test_buffer [377/400/1] test_binop [378/400/1] test_rlcompleter [379/400/1] test_univnewlines2k [380/400/1] test_fcntl [381/400/1] test_exceptions [382/400/1] test_decorators [383/400/1] test_pep263 [384/400/1] test_timeout [385/400/1] test_pep247 [386/400/1] test_file2k fetching http://www.pythontest.net/unicode/gb-18030-2000.xml ... fetching http://www.pythontest.net/unicode/EUC-CN.TXT ... fetching http://www.pythontest.net/unicode/CP936.TXT ... [387/400/1] test_codecmaps_cn [388/400/1] test_unpack [389/400/1] test_print /usr/ports/lang/python27/work/Python-2.7.9/Lib/ctypes/util.py:180: DeprecationWarning: the cmp argument is not supported in 3.x res.sort(cmp= lambda x,y: cmp(_num_version(x), _num_version(y))) [390/400/1] test_ctypes [391/400/1] test_dummy_threading [392/400/1] test_descr [393/400/1] test_poll [394/400/1] test_dictviews [395/400/1] test_ensurepip [396/400/1] test_openpty [397/400/1] test_long_future [398/400/1] test_signal Resource 'ipv6.google.com' is not available test test_ssl failed -- multiple errors occurred; run in verbose mode for details [399/400/2] test_ssl [400/400/2] test_decimal 364 tests OK. 1 test failed: test_ssl 1 test altered the execution environment: test_distutils 34 tests skipped: test_aepack test_al test_applesingle test_bsddb test_bsddb3 test_cd test_cl test_curses test_dl test_epoll test_gdb test_gdbm test_gl test_idle test_imageop test_imgfile test_linuxaudiodev test_macos test_macostools test_msilib test_pep277 test_scriptpackages test_spwd test_sqlite test_startfile test_sunaudiodev test_tcl test_tk test_ttk_guionly test_ttk_textonly test_unicode_file test_winreg test_winsound test_zipfile64 Ask someone to teach regrtest.py about which tests are expected to get skipped on freebsd10. Re-running failed tests in verbose mode Re-running test 'test_ssl' in verbose mode test_ssl: testing with 'LibreSSL 2.1.4' (1, 0, 1, 7, 15) under 'FreeBSD-10.1-RELEASE-p6-amd64-64bit-ELF' HAS_SNI = True OP_ALL = 0x800003ff OP_NO_TLSv1_1 = 0x10000000 test__create_stdlib_context (test.test_ssl.ContextTests) ... ok test_cert_store_stats (test.test_ssl.ContextTests) ... ok test_check_hostname (test.test_ssl.ContextTests) ... ok test_ciphers (test.test_ssl.ContextTests) ... ok test_constructor (test.test_ssl.ContextTests) ... ok test_create_default_context (test.test_ssl.ContextTests) ... ok test_get_ca_certs (test.test_ssl.ContextTests) ... ok test_load_cert_chain (test.test_ssl.ContextTests) ... ok test_load_default_certs (test.test_ssl.ContextTests) ... ok test_load_default_certs_env (test.test_ssl.ContextTests) ... ok test_load_default_certs_env_windows (test.test_ssl.ContextTests) ... skipped 'Windows specific' test_load_dh_params (test.test_ssl.ContextTests) ... ok test_load_verify_cadata (test.test_ssl.ContextTests) ... ok test_load_verify_locations (test.test_ssl.ContextTests) ... ok test_options (test.test_ssl.ContextTests) ... FAIL test_protocol (test.test_ssl.ContextTests) ... ok test_session_stats (test.test_ssl.ContextTests) ... ok test_set_default_verify_paths (test.test_ssl.ContextTests) ... ok test_set_ecdh_curve (test.test_ssl.ContextTests) ... ok test_sni_callback (test.test_ssl.ContextTests) ... ok test_sni_callback_refcycle (test.test_ssl.ContextTests) ... ok test_verify_flags (test.test_ssl.ContextTests) ... ok test_verify_mode (test.test_ssl.ContextTests) ... ok test_sslwrap_simple (test.test_ssl.BasicTests) ... ok test_DER_to_PEM (test.test_ssl.BasicSocketTests) ... ok test_asn1object (test.test_ssl.BasicSocketTests) ... ok test_cert_time_to_seconds (test.test_ssl.BasicSocketTests) ... ok test_cert_time_to_seconds_locale (test.test_ssl.BasicSocketTests) ... skipped 'locale-specific month name needs to be different from C locale' test_cert_time_to_seconds_timezone (test.test_ssl.BasicSocketTests) ... ok test_constants (test.test_ssl.BasicSocketTests) ... ok test_enum_certificates (test.test_ssl.BasicSocketTests) ... skipped 'Windows specific' test_enum_crls (test.test_ssl.BasicSocketTests) ... skipped 'Windows specific' test_errors (test.test_ssl.BasicSocketTests) ... ok test_get_default_verify_paths (test.test_ssl.BasicSocketTests) ... ok test_match_hostname (test.test_ssl.BasicSocketTests) ... ok test_openssl_version (test.test_ssl.BasicSocketTests) ... FAIL test_parse_cert (test.test_ssl.BasicSocketTests) ... {'issuer': ((('countryName', u'XY'),), (('localityName', u'Castle Anthrax'),), (('organizationName', u'Python Software Foundation'),), (('commonName', u'localhost'),)), 'notAfter': 'Oct 5 23:01:56 2020 GMT', 'notBefore': u'Oct 8 23:01:56 2010 GMT', 'serialNumber': u'D7C7381919AFC24E', 'subject': ((('countryName', u'XY'),), (('localityName', u'Castle Anthrax'),), (('organizationName', u'Python Software Foundation'),), (('commonName', u'localhost'),)), 'subjectAltName': (('DNS', 'localhost'),), 'version': 3L} {'OCSP': (u'http://ocsp.verisign.com',), 'caIssuers': (u'http://SVRIntl-G3-aia.verisign.com/SVRIntlG3.cer',), 'crlDistributionPoints': (u'http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',), 'issuer': ((('countryName', u'US'),), (('organizationName', u'VeriSign, Inc.'),), (('organizationalUnitName', u'VeriSign Trust Network'),), (('organizationalUnitName', u'Terms of use at https://www.verisign.com/rpa (c)10'),), (('commonName', u'VeriSign Class 3 International Server CA - G3'),)), 'notAfter': 'Sep 20 23:59:59 2012 GMT', 'notBefore': u'Sep 21 00:00:00 2011 GMT', 'serialNumber': u'2EE6EA7640A075CEE5005F4D7C79549A', 'subject': ((('countryName', u'FI'),), (('stateOrProvinceName', u'Espoo'),), (('localityName', u'Espoo'),), (('organizationName', u'Nokia'),), (('organizationalUnitName', u'BI'),), (('commonName', u'projects.developer.nokia.com'),)), 'subjectAltName': (('DNS', 'projects.developer.nokia.com'), ('DNS', 'projects.forum.nokia.com')), 'version': 3L} ok test_parse_cert_CVE_2013_4238 (test.test_ssl.BasicSocketTests) ... {'issuer': ((('countryName', u'US'),), (('stateOrProvinceName', u'Oregon'),), (('localityName', u'Beaverton'),), (('organizationName', u'Python Software Foundation'),), (('organizationalUnitName', u'Python Core Development'),), (('commonName', u'null.python.org\x00example.org'),), (('emailAddress', u'python-dev@python.org'),)), 'notAfter': 'Aug 7 13:12:52 2013 GMT', 'notBefore': u'Aug 7 13:11:52 2013 GMT', 'serialNumber': u'00', 'subject': ((('countryName', u'US'),), (('stateOrProvinceName', u'Oregon'),), (('localityName', u'Beaverton'),), (('organizationName', u'Python Software Foundation'),), (('organizationalUnitName', u'Python Core Development'),), (('commonName', u'null.python.org\x00example.org'),), (('emailAddress', u'python-dev@python.org'),)), 'subjectAltName': (('DNS', 'altnull.python.org\x00example.com'), ('email', 'null@python.org\x00user@example.org'), ('URI', 'http://null.python.org\x00http://example.org'), ('IP Address', '192.0.2.1'), ('IP Address', '2001:DB8:0:0:0:0:0:1\n')), 'version': 3L} ok test_purpose_enum (test.test_ssl.BasicSocketTests) ... ok test_random (test.test_ssl.BasicSocketTests) ... RAND_status is 1 (sufficient randomness) ok test_refcycle (test.test_ssl.BasicSocketTests) ... ok test_server_side (test.test_ssl.BasicSocketTests) ... ok test_timeout (test.test_ssl.BasicSocketTests) ... ok test_tls_unique_channel_binding (test.test_ssl.BasicSocketTests) ... ok test_unknown_channel_binding (test.test_ssl.BasicSocketTests) ... ok test_unsupported_dtls (test.test_ssl.BasicSocketTests) ... ok test_wrapped_unconnected (test.test_ssl.BasicSocketTests) ... ok test_lib_reason (test.test_ssl.SSLErrorTests) ... ok test_str (test.test_ssl.SSLErrorTests) ... ok test_subclass (test.test_ssl.SSLErrorTests) ... ok test_algorithms (test.test_ssl.NetworkedTests) ... Cipher with ('sha256.tbs-internet.com', 443) is ('RC4-SHA', 'TLSv1/SSLv3', 128) Certificate is: {'OCSP': (u'http://ocsp.tbs-x509.com',), 'caIssuers': (u'http://crt.tbs-internet.com/TBSX509CASGC.crt', u'http://crt.tbs-x509.com/TBSX509CASGC.crt'), 'crlDistributionPoints': (u'http://crl.tbs-internet.com/TBSX509CASGC.crl', u'http://crl.tbs-x509.com/TBSX509CASGC.crl'), 'issuer': ((('countryName', u'FR'),), (('stateOrProvinceName', u'Calvados'),), (('localityName', u'Caen'),), (('organizationName', u'TBS INTERNET'),), (('organizationalUnitName', u'Terms and Conditions: http://www.tbs-internet.com/CA/repository'),), (('organizationalUnitName', u'TBS INTERNET CA'),), (('commonName', u'TBS X509 CA SGC'),)), 'notAfter': 'Feb 17 23:59:59 2016 GMT', 'notBefore': u'Feb 11 00:00:00 2014 GMT', 'serialNumber': u'1F94DEE8F046B340A6026500A4002CF8', 'subject': ((('countryName', u'FR'),), (('postalCode', u'14000'),), (('stateOrProvinceName', u'Calvados'),), (('localityName', u'CAEN'),), (('streetAddress', u'22 RUE DE BRETAGNE'),), (('organizationName', u'TBS INTERNET'),), (('organizationalUnitName', u'0002 440443810'),), (('organizationalUnitName', u'sha-256 production'),), (('commonName', u'sha256.tbs-internet.com'),)), 'subjectAltName': (('DNS', 'sha256.tbs-internet.com'), ('DNS', 'www.sha256.tbs-internet.com')), 'version': 3L} ok test_ciphers (test.test_ssl.NetworkedTests) ... ok test_connect (test.test_ssl.NetworkedTests) ... ok test_connect_cadata (test.test_ssl.NetworkedTests) ... ok test_connect_capath (test.test_ssl.NetworkedTests) ... ok test_connect_ex (test.test_ssl.NetworkedTests) ... ok test_connect_ex_error (test.test_ssl.NetworkedTests) ... ok test_connect_with_context (test.test_ssl.NetworkedTests) ... ok test_context_setget (test.test_ssl.NetworkedTests) ... ok test_get_ca_certs_capath (test.test_ssl.NetworkedTests) ... ok test_get_server_certificate (test.test_ssl.NetworkedTests) ... [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) Verified certificate for svn.python.org:443 is -----BEGIN CERTIFICATE----- MIIEzzCCAregAwIBAgIDDkGJMA0GCSqGSIb3DQEBBQUAMHkxEDAOBgNVBAoTB1Jv b3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UEAxMZ Q0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9y dEBjYWNlcnQub3JnMB4XDTEzMTIyNDIwMjgzMloXDTE1MTIyNDIwMjgzMlowGTEX MBUGA1UEAxMOc3ZuLnB5dGhvbi5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQDM6un3wTW9+HVJ7KC+/GwL0KAxehug0tw2YoSSX+TGxLyr9AUtBHQk hCNWhRLewa0WMOY6hxIIQY1Hp6vreDiCbBehjVkEAydlKBzaAsgYCEbCC/ZaMzhv aaFAiLVeaxAKJsBGUJNz5hGgzd67A6SGz+XK7qDWig4NR5eFrsr3DvjyEM7txMiG gftGWLkadOuqUQsI20AykBGi+RxmrQIwqO2svGmje89DsWVILdP37PssM2zqRonh 4fUKooei3L43tXbTdHayXc9NtFS7q8T4eUlyWaD+BtP80QQOQFFvi+qZpme9bmYI 7YPX+e86lZtxAKM9nWrP93qc+2nS0MsHAgMBAAGjgb8wgbwwDAYDVR0TAQH/BAIw ADAOBgNVHQ8BAf8EBAMCA6gwNAYDVR0lBC0wKwYIKwYBBQUHAwIGCCsGAQUFBwMB BglghkgBhvhCBAEGCisGAQQBgjcKAwMwMwYIKwYBBQUHAQEEJzAlMCMGCCsGAQUF BzABhhdodHRwOi8vb2NzcC5jYWNlcnQub3JnLzAxBgNVHR8EKjAoMCagJKAihiBo dHRwOi8vY3JsLmNhY2VydC5vcmcvcmV2b2tlLmNybDANBgkqhkiG9w0BAQUFAAOC AgEAvq2TlM5voqqwlfbEIwdNM3RlqHattH/h2Pqkr5FV6nynhcNyP9wBJyS5mdlt +tj1Fy6oV+iN0s8VglrwhsmYN2pbJkCJZcNgrhFTiOvZ3HJ0jxkQ8TaROfcH1RnZ q45DcbSnryiIDBQNYxmUf/bE6Ce+48fiOJpTRtrC8iWfz4J/JHYZ5FVKx+SsC67o E1iCT2/r1PSvzTg/bohL1kX6Aj3H3UqlXDuDybyHRrTn9kUwCgXK2h4x/qae6xjo Gy++gtzg4XlJEAh65znJ2RlAYi3lvhCls+viR5vSIXBEXmBPFNonGnPtGRyx6Tii 5ncSUP+bp6aaRZb0qEi0k1R5XYPt5Hm7T/h4IOAKlx7gPMMLOXqbrlWpjgwhfysI f/KkgGBq7nTsC6WeaW/QUQtdXqWULrK+nINY+s/CRX5UxdAWpqMxqgNkP3zef9yO etgfpR+6NArjiLNcfJO2yGZTcXn1H2gewTcxwmc+QVWday9HcS3paMpot8BwWUpI LzOLGTeNH+rQCUAKJHAiK3Ogee+hka4icIN7cKOIIVfZ/XBj1Ex7zjc3j72axNba S1buqvrm12YCE5+xAjYwU/Nrl4HNFKCoPW7qfEaEuwp49pieAIOnXa82rCh/UdAv dSj5JpEvxjTuZdVfbk2VUc/z2OeLzFlrQRJsOt1MisY0Aoc= -----END CERTIFICATE----- skipped "Resource 'ipv6.google.com' is not available" test_makefile_close (test.test_ssl.NetworkedTests) ... ok test_non_blocking_connect_ex (test.test_ssl.NetworkedTests) ... ok test_non_blocking_handshake (test.test_ssl.NetworkedTests) ... Needed 3 calls to do_handshake() to establish session. ok test_timeout_connect_ex (test.test_ssl.NetworkedTests) ... ok test_asyncore_server (test.test_ssl.ThreadedTests) Check the example asyncore integration. ... server: new connection from 127.0.0.1:41409 client: sending 'FOO\n'... server: read 'FOO\n' from client client: read 'foo\n' client: closing connection. client: connection closed. cleanup: stopping server. cleanup: joining server thread. cleanup: successfully joined. ok test_check_hostname (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41411) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None server: new connection from ('127.0.0.1', 41413) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None ok test_compression (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41416) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. got compression: None ok test_compression_disabled (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41418) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. ok test_crl_check (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41420) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None server: new connection from ('127.0.0.1', 41422) server: bad connection attempt from ('127.0.0.1', 41422): Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 1571, in wrap_conn self.sock, server_side=True) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 354, in wrap_socket _context=self) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 570, in __init__ self.do_handshake() File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 792, in do_handshake self._sslobj.do_handshake() SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:581) server: new connection from ('127.0.0.1', 41424) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None ok test_default_ciphers (test.test_ssl.ThreadedTests) ... ok test_default_ecdh_curve (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41428) server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) server: selected protocol is now None ok test_dh_params (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41430) server: connection cipher is now ('DHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. ok test_do_handshake_enotconn (test.test_ssl.ThreadedTests) ... 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', 41432) server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 41434) server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 41436) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 41438) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 41440) server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. ok test_empty_cert (test.test_ssl.ThreadedTests) Connecting with an empty cert file ... SSLError is [SSL] PEM lib (_ssl.c:2506) ok test_getpeercert (test.test_ssl.ThreadedTests) ... {'issuer': ((('countryName', u'XY'),), (('localityName', u'Castle Anthrax'),), (('organizationName', u'Python Software Foundation'),), (('commonName', u'localhost'),)), 'notAfter': 'Oct 5 23:01:56 2020 GMT', 'notBefore': u'Oct 8 23:01:56 2010 GMT', 'serialNumber': u'D7C7381919AFC24E', 'subject': ((('countryName', u'XY'),), (('localityName', u'Castle Anthrax'),), (('organizationName', u'Python Software Foundation'),), (('commonName', u'localhost'),)), 'subjectAltName': (('DNS', 'localhost'),), 'version': 3L} Connection cipher is ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256). ok test_getpeercert_enotconn (test.test_ssl.ThreadedTests) ... 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] PEM lib (_ssl.c:2506) ok test_malformed_key (test.test_ssl.ThreadedTests) Connecting with a badly formatted key (syntax error) ... SSLError is [SSL] PEM lib (_ssl.c:2506) ok test_nonexisting_cert (test.test_ssl.ThreadedTests) Connecting with a non-existing cert file ... SSLError is [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:581) ok test_npn_protocols (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41452) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now http/1.1 client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 41454) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now http/1.1 client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 41456) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now spdy/2 client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 41458) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now abc client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. ok test_protocol_sslv2 (test.test_ssl.ThreadedTests) Connecting to an SSLv2 server with various client options ... skipped 'OpenSSL is compiled without SSLv2 support' test_protocol_sslv23 (test.test_ssl.ThreadedTests) Connecting to an SSLv23 server with various client options ... PROTOCOL_SSLv3->PROTOCOL_SSLv23 CERT_NONE ERROR test_protocol_sslv3 (test.test_ssl.ThreadedTests) Connecting to an SSLv3 server with various client options ... PROTOCOL_SSLv3->PROTOCOL_SSLv3 CERT_NONE PROTOCOL_SSLv3->PROTOCOL_SSLv3 CERT_OPTIONAL PROTOCOL_SSLv3->PROTOCOL_SSLv3 CERT_REQUIRED {PROTOCOL_SSLv23->PROTOCOL_SSLv3} CERT_NONE {PROTOCOL_TLSv1->PROTOCOL_SSLv3} CERT_NONE PROTOCOL_SSLv23->PROTOCOL_SSLv3 CERT_NONE ERROR test_protocol_tlsv1 (test.test_ssl.ThreadedTests) Connecting to a TLSv1 server with various client options ... PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_NONE PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_OPTIONAL PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_REQUIRED {PROTOCOL_SSLv3->PROTOCOL_TLSv1} CERT_NONE {PROTOCOL_SSLv23->PROTOCOL_TLSv1} CERT_NONE ok test_protocol_tlsv1_1 (test.test_ssl.ThreadedTests) Connecting to a TLSv1.1 server with various client options. ... PROTOCOL_TLSv1_1->PROTOCOL_TLSv1_1 CERT_NONE {PROTOCOL_SSLv3->PROTOCOL_TLSv1_1} CERT_NONE {PROTOCOL_SSLv23->PROTOCOL_TLSv1_1} CERT_NONE PROTOCOL_TLSv1_1->PROTOCOL_SSLv23 CERT_NONE {PROTOCOL_TLSv1->PROTOCOL_TLSv1_1} CERT_NONE {PROTOCOL_TLSv1_1->PROTOCOL_TLSv1} CERT_NONE ok test_protocol_tlsv1_2 (test.test_ssl.ThreadedTests) Connecting to a TLSv1.2 server with various client options. ... PROTOCOL_TLSv1_2->PROTOCOL_TLSv1_2 CERT_NONE {PROTOCOL_SSLv3->PROTOCOL_TLSv1_2} CERT_NONE {PROTOCOL_SSLv23->PROTOCOL_TLSv1_2} CERT_NONE PROTOCOL_TLSv1_2->PROTOCOL_SSLv23 CERT_NONE {PROTOCOL_TLSv1->PROTOCOL_TLSv1_2} CERT_NONE {PROTOCOL_TLSv1_2->PROTOCOL_TLSv1} CERT_NONE {PROTOCOL_TLSv1_1->PROTOCOL_TLSv1_2} CERT_NONE {PROTOCOL_TLSv1_2->PROTOCOL_TLSv1_1} CERT_NONE ok test_read_write_after_close_raises_valuerror (test.test_ssl.ThreadedTests) ... ok test_recv_send (test.test_ssl.ThreadedTests) Test recv(), send() and friends. ... server: new connection from ('127.0.0.1', 41514) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None ok test_rude_shutdown (test.test_ssl.ThreadedTests) A brutal shutdown of an SSL server should raise an OSError ... ok test_selected_npn_protocol (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41518) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: sending 'FOO\n'... client: read 'foo\n' client: closing connection. ok test_server_accept (test.test_ssl.ThreadedTests) ... ok test_sni_callback (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41522) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None server: new connection from ('127.0.0.1', 41524) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None server: new connection from ('127.0.0.1', 41526) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None ok test_sni_callback_alert (test.test_ssl.ThreadedTests) ... ok test_sni_callback_raising (test.test_ssl.ThreadedTests) ... ok test_sni_callback_wrong_return_type (test.test_ssl.ThreadedTests) ... ok test_socketserver (test.test_ssl.ThreadedTests) Using a SocketServer to create and manage SSL connections. ... server (('127.0.0.1', 41533):41533 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)): [15/Mar/2015 12:42:10] "GET /keycert.pem HTTP/1.1" 200 - client: read 1783 bytes from remote server '>' stopping HTTPS server joining HTTPS thread ok test_starttls (test.test_ssl.ThreadedTests) Switching from clear text to encrypted and back again. ... server: new connection from ('127.0.0.1', 41536) client: sending 'msg 1'... 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' from server, starting TLS... server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None 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' 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_tls_unique_channel_binding (test.test_ssl.ThreadedTests) Test tls-unique channel binding. ... server: new connection from ('127.0.0.1', 41538) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None got channel binding data: '\xe3\xbfD\xf5;\x83Iw\t\x7f\xb8\x86' server: new connection from ('127.0.0.1', 41539) server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256) server: selected protocol is now None got another channel binding data: '?\x95T\xe2c\tZp\x1c\xf14f' ok test_version_basic (test.test_ssl.ThreadedTests) ... ok ====================================================================== ERROR: test_protocol_sslv23 (test.test_ssl.ThreadedTests) Connecting to an SSLv23 server with various client options ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 2224, in test_protocol_sslv23 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, 'SSLv3') File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 1976, in try_protocol_combo chatty=False, connectionchatty=False) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 1906, in server_params_test s.connect((HOST, server.port)) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 828, in connect self._real_connect(addr, False) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 819, in _real_connect self.do_handshake() File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 792, in do_handshake self._sslobj.do_handshake() SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:581) ====================================================================== ERROR: test_protocol_sslv3 (test.test_ssl.ThreadedTests) Connecting to an SSLv3 server with various client options ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 2267, in test_protocol_sslv3 client_options=ssl.OP_NO_SSLv2) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 1976, in try_protocol_combo chatty=False, connectionchatty=False) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 1906, in server_params_test s.connect((HOST, server.port)) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 828, in connect self._real_connect(addr, False) File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 819, in _real_connect self.do_handshake() File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/ssl.py", line 792, in do_handshake self._sslobj.do_handshake() SSLError: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:581) ====================================================================== FAIL: test_options (test.test_ssl.ContextTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 719, in test_options ctx.options) AssertionError: 2164261887 != 2197816319L ====================================================================== FAIL: test_openssl_version (test.test_ssl.BasicSocketTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/lang/python27/work/Python-2.7.9/Lib/test/test_ssl.py", line 284, in test_openssl_version (s, t)) AssertionError: ('LibreSSL 2.1.4', (1, 0, 1, 7, 15)) ---------------------------------------------------------------------- Ran 102 tests in 3.030s FAILED (failures=2, errors=2, skipped=6) Warning -- asyncore.socket_map was modified by test_ssl test test_ssl failed -- multiple errors occurred *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/python27/work/Python-2.7.9 *** Error code 1 Stop. make: stopped in /usr/ports/lang/python27 root@bsdkamer:/usr/ports/lang/python27 # ^Dexit Script done on Sun Mar 15 13:01:49 2015