Page MenuHomeFreeBSD
Authored By
brnrd
Jun 29 2016, 2:17 PM
Size
48 KB
Referenced Files
None
Subscribers
None

make-test.out

Script started on Wed Jun 29 15:42:01 2016
Agent pid 81023
% [brnrd@build python27]$ [?2004hmmake test[?2004l
===> Testing for python27-2.7.12
running build
running build_ext
building dbm using ndbm
INFO: Can't locate Tcl/Tk libs and/or headers
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _tkinter 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.12/Tools/scripts/pydoc -> build/scripts-2.7
copying and adjusting /usr/ports/lang/python27/work/Python-2.7.12/Tools/scripts/idle -> build/scripts-2.7
copying and adjusting /usr/ports/lang/python27/work/Python-2.7.12/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.12 ./python -Wd -3 -E -tt -R ./Lib/test/regrtest.py -uall -rwW -j1
== CPython 2.7.12 (default, Jun 29 2016, 14:25:56) [GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)]
== FreeBSD-10.3-RELEASE-p4-amd64-64bit-ELF little-endian
== /usr/ports/lang/python27/work/Python-2.7.12/build/test_python_88455
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 3843172
[ 1/401] test_stat
[ 2/401] test_heapq
[ 3/401] test_codecencodings_iso2022
[ 4/401] test_iter
[ 5/401] test_unicode
[ 6/401] test_socket
[ 7/401] test_threading_local
[ 8/401] test_httpservers
[ 9/401] test_normalization
[ 10/401] test_future5
[ 11/401] test_pprint
test_epoll skipped -- test works only on Linux 2.6
[ 12/401] test_epoll
[ 13/401] test_pyexpat
[ 14/401] test_MimeWriter
[ 15/401] test_platform
[ 16/401] test_codecencodings_kr
[ 17/401] test_longexp
[ 18/401] test_complex_args
[ 19/401] test_mutants
[ 20/401] test_long
[ 21/401] test_wait4
[ 22/401] test_timeit
[ 23/401] test_uu
[ 24/401] test_descrtut
[ 25/401] test_sunau
[ 26/401] test_setcomps
[ 27/401] test_format
[ 28/401] test_logging
[ 29/401] test_random
[ 30/401] test_cmd_line_script
test_dl skipped -- No module named dl
[ 31/401] test_dl
[ 32/401] test_mailbox
[ 33/401] test_urllib2net
[ 34/401] test_urllib2_localnet
[ 35/401] test_crypt
[ 36/401] test_getopt
test_applesingle skipped -- No module named MacOS
[ 37/401] test_applesingle
[ 38/401] test___all__
test_cd skipped -- No module named cd
[ 39/401] test_cd
[ 40/401] test_ucn
[ 41/401] test_cfgparser
[ 42/401] test_codecencodings_tw
[ 43/401] test_future4
[ 44/401] test_dummy_thread
[ 45/401] test_tools
[ 46/401] test_site
[ 47/401] test_descr
[ 48/401] test_shutil
[ 49/401] test_py_compile
[ 50/401] test_repr
test_ttk_textonly skipped -- No module named _tkinter
[ 51/401] test_ttk_textonly
[ 52/401] test_functools
test_imageop skipped -- No module named imageop
[ 53/401] test_imageop
[ 54/401] test_list
[ 55/401] test_tuple
[ 56/401] test_import
[ 57/401] test_optparse
[ 58/401] test_weakset
[ 59/401] test_grammar
[ 60/401] test_xml_etree_c
[ 61/401] test_genericpath
[ 62/401] test_syntax
[ 63/401] test_whichdb
[ 64/401] test_source_encoding
test test_posix failed -- Traceback (most recent call last):
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/test_posix.py", line 283, in test_makedev
self.assertGreaterEqual(minor, 0)
AssertionError: -1382547391 not greater than or equal to 0
[ 65/401/1] test_posix
[ 66/401/1] test_undocumented_details
[ 67/401/1] test_parser
[ 68/401/1] test_structmembers
[ 69/401/1] test_ascii_formatd
[ 70/401/1] test_deque
[ 71/401/1] test_SimpleHTTPServer
[ 72/401/1] test_strtod
[ 73/401/1] test_zlib
[ 74/401/1] test_popen
[ 75/401/1] test_richcmp
[ 76/401/1] test_memoryview
test_tk skipped -- No module named _tkinter
[ 77/401/1] test_tk
[ 78/401/1] test_imp
[ 79/401/1] test_struct
[ 80/401/1] test_thread
[ 81/401/1] test_ensurepip
[ 82/401/1] test_xdrlib
[ 83/401/1] test_abc
[ 84/401/1] test_imghdr
test_pep277 skipped -- only NT+ and systems with Unicode-friendly filesystem encoding
[ 85/401/1] test_pep277
[ 86/401/1] test_fork1
[ 87/401/1] test_itertools
[ 88/401/1] test_select
[ 89/401/1] test_memoryio
test_winreg skipped -- No module named _winreg
[ 90/401/1] test_winreg
test_winsound skipped -- No module named winsound
[ 91/401/1] test_winsound
[ 92/401/1] test_minidom
[ 93/401/1] test_int
[ 94/401/1] test_userstring
[ 95/401/1] test_pep247
[ 96/401/1] test_code
[ 97/401/1] test_contains
[ 98/401/1] test_charmapcodec
[ 99/401/1] test_warnings
[100/401/1] test_pty
[101/401/1] test_doctest
[102/401/1] test_wait3
[103/401/1] test_codecmaps_kr
[104/401/1] test_zipimport_support
[105/401/1] test_global
[106/401/1] test_bigmem
[107/401/1] test_peepholer
[108/401/1] test_frozen
[109/401/1] test_userlist
[110/401/1] test_getargs2
test_sunaudiodev skipped -- No module named sunaudiodev
[111/401/1] test_sunaudiodev
[112/401/1] test_future_builtins
[113/401/1] test_xmllib
[114/401/1] test_StringIO
[115/401/1] test_nntplib
[116/401/1] test_codecencodings_jp
[117/401/1] test_imaplib
[118/401/1] test_complex
test_macostools skipped -- No module named MacOS
[119/401/1] test_macostools
[120/401/1] test_string
[121/401/1] test_bytes
[122/401/1] test_smtpnet
[123/401/1] test_zipimport
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1565: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_six(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1583: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_seven(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1636: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class SimpleNewObj(int):
[124/401/1] test_pickle
[125/401/1] test_cmath
[126/401/1] test_quopri
[127/401/1] test__osx_support
[128/401/1] test_univnewlines
[129/401/1] test_multifile
[130/401/1] test_bastion
test_spwd skipped -- No module named spwd
[131/401/1] test_spwd
[132/401/1] test_codecmaps_tw
[133/401/1] test_htmllib
test_bsddb3 skipped -- No module named _bsddb
[134/401/1] test_bsddb3
[135/401/1] test_py3kwarn
[136/401/1] test_mutex
[137/401/1] test_docxmlrpc
[138/401/1] test_queue
[139/401/1] test_cprofile
[140/401/1] test_signal
[141/401/1] test_decimal
[142/401/1] test_univnewlines2k
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
[143/401/1] test_zipfile64
[144/401/1] test_exceptions
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1565: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_six(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1583: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_seven(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1636: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class SimpleNewObj(int):
[145/401/1] test_pickletools
[146/401/1] test_argparse
Resource 'sha256.tbs-internet.com' is not available
test test_ssl failed -- multiple errors occurred; run in verbose mode for details
[147/401/2] test_ssl
[148/401/2] test_symtable
[149/401/2] test_compileall
[150/401/2] test_multibytecodec
[151/401/2] test_asynchat
test_msilib skipped -- No module named _msi
[152/401/2] test_msilib
[153/401/2] test_binascii
[154/401/2] test_hash
[155/401/2] test_httplib
[156/401/2] test_poplib
test_al skipped -- No module named al
[157/401/2] test_al
[158/401/2] test_copy
[159/401/2] test_print
[160/401/2] test_wave
[161/401/2] test_types
[162/401/2] test_gc
[163/401/2] test_contextlib
[164/401/2] test_unary
[165/401/2] test_codecencodings_cn
[166/401/2] test_re
[167/401/2] test_pkgutil
[168/401/2] test_inspect
test_gdbm skipped -- No module named gdbm
[169/401/2] test_gdbm
[170/401/2] test_typechecks
[171/401/2] test_collections
test_tcl skipped -- No module named _tkinter
[172/401/2] test_tcl
[173/401/2] test_module
[174/401/2] test_index
[175/401/2] test_email
test_gdb skipped -- gdb versions before 7.0 didn't support python embedding. Saw 6.1:
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".
[176/401/2] test_gdb
[177/401/2] test_cmd
test_macos skipped -- No module named MacOS
[178/401/2] test_macos
[179/401/2] test_runpy
[180/401/2] test_multibytecodec_support
[181/401/2] test_openpty
[182/401/2] test_audioop
[183/401/2] test_float
[184/401/2] test_pkg
[185/401/2] test_nis
[186/401/2] test_telnetlib
[187/401/2] test_sys_setprofile
[188/401/2] test_userdict
[189/401/2] test_timeout
[190/401/2] test_sys_settrace
[191/401/2] test_fileio
[192/401/2] test_dis
[193/401/2] test_uuid
[194/401/2] test_structseq
[195/401/2] test_ordered_dict
[196/401/2] test_curses
[197/401/2] test_threading
[198/401/2] test_trace
[199/401/2] test_dummy_threading
[200/401/2] test_call
[201/401/2] test_grp
[202/401/2] test_macurl2path
[203/401/2] test_sysconfig
[204/401/2] test_stringprep
[205/401/2] test_socketserver
[206/401/2] test_strptime
[207/401/2] test_codecmaps_cn
[208/401/2] test_compile
[209/401/2] test_time
[210/401/2] test__locale
[211/401/2] test_json
[212/401/2] test_buffer
[213/401/2] test_codecmaps_hk
[214/401/2] test_multiprocessing
[215/401/2] test_fcntl
[216/401/2] test_largefile
[217/401/2] test_distutils
[218/401/2] test_marshal
/usr/ports/lang/python27/work/Python-2.7.12/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.12/Lib/dbhash.py:7: DeprecationWarning: in 3.x, the bsddb module has been removed; please use the pybsddb project instead
import bsddb
[219/401/2] test_bsddb185
[220/401/2] test_codeccallbacks
[221/401/2] test_fnmatch
[222/401/2] test_gettext
[223/401/2] test_locale
[224/401/2] test_extcall
[225/401/2] test_with
[226/401/2] test_strop
[227/401/2] test_datetime
[228/401/2] test_new
[229/401/2] test_sha
[230/401/2] test_future
[231/401/2] test_tokenize
test_scriptpackages skipped -- No module named aetools
[232/401/2] test_scriptpackages
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1565: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_six(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1583: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_seven(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1636: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class SimpleNewObj(int):
[233/401/2] test_copy_reg
[234/401/2] test_binhex
[235/401/2] test_old_mailbox
[236/401/2] test_math
[237/401/2] test_atexit
[238/401/2] test_opcodes
test_cl skipped -- No module named cl
[239/401/2] test_cl
[240/401/2] test_urllib2
[241/401/2] test_exception_variations
[242/401/2] test_anydbm
test_turtle skipped -- No module named _tkinter
[243/401/2] test_turtle
[244/401/2] test_poll
[245/401/2] test_mimetools
[246/401/2] test_sax
[247/401/2] test_readline
[248/401/2] test_codeop
[249/401/2] test_weakref
[250/401/2] test_cgi
[251/401/2] test_sgmllib
[252/401/2] test_coercion
[253/401/2] test_property
[254/401/2] test_bool
[255/401/2] test_mhlib
[256/401/2] test_unittest
[257/401/2] test_smtplib
[258/401/2] test_xml_etree
[259/401/2] test_email_renamed
[260/401/2] test_codecs
[261/401/2] test_str
[262/401/2] test_md5
[263/401/2] test_long_future
[264/401/2] test_cookie
[265/401/2] test_hmac
test_aepack skipped -- No module named aetypes
[266/401/2] test_aepack
[267/401/2] test_generators
[268/401/2] test_ntpath
[269/401/2] test_wsgiref
[270/401/2] test_pow
[271/401/2] test_file_eintr
[272/401/2] test___future__
[273/401/2] test_calendar
[274/401/2] test_pyclbr
test_linuxaudiodev skipped -- No module named linuxaudiodev
[275/401/2] test_linuxaudiodev
[276/401/2] test_threadedtempfile
[277/401/2] test_linecache
[278/401/2] test_compare
[279/401/2] test_modulefinder
[280/401/2] test_dictcomps
[281/401/2] test_htmlparser
[282/401/2] test_importhooks
[283/401/2] test_pdb
[284/401/2] test_tempfile
[285/401/2] test_scope
test_startfile skipped -- module os has no attribute startfile
[286/401/2] test_startfile
[287/401/2] test_xrange
[288/401/2] test_errno
[289/401/2] test_macpath
[290/401/2] test_hashlib
[291/401/2] test_pwd
[292/401/2] test_dircache
test_idle skipped -- No module named _tkinter
[293/401/2] test_idle
[294/401/2] test_sort
[295/401/2] test_bisect
[296/401/2] test_capi
test_ttk_guionly skipped -- No module named _tkinter
[297/401/2] test_ttk_guionly
[298/401/2] test_ctypes
[299/401/2] test_kqueue
[300/401/2] test_pipes
[301/401/2] test_zipfile
[302/401/2] test_pep352
[303/401/2] test_int_literal
[304/401/2] test_resource
[305/401/2] test_fractions
[306/401/2] test_urlparse
[307/401/2] test_pydoc
[308/401/2] test_file2k
[309/401/2] test_augassign
[310/401/2] test_dict
[311/401/2] test_tarfile
[312/401/2] test_fpformat
[313/401/2] test_unicodedata
[314/401/2] test_textwrap
[315/401/2] test_eof
[316/401/2] test_commands
[317/401/2] test_codecencodings_hk
[318/401/2] test_enumerate
[319/401/2] test_dictviews
[320/401/2] test_netrc
[321/401/2] test_decorators
[322/401/2] test_iterlen
test_imgfile skipped -- No module named imgfile
[323/401/2] test_imgfile
[324/401/2] test_dumbdbm
[325/401/2] test_pkgimport
[326/401/2] test_cookielib
[327/401/2] test_funcattrs
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1565: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_six(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1583: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class REX_seven(object):
/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/pickletester.py:1636: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
class SimpleNewObj(int):
[328/401/2] test_cpickle
[329/401/2] test_lib2to3
[330/401/2] test_bufio
[331/401/2] test_isinstance
[332/401/2] test_difflib
[333/401/2] test_mimetypes
[334/401/2] test_glob
[335/401/2] test_pstats
[336/401/2] test_csv
[337/401/2] test_abstract_numbers
[338/401/2] test_genexps
[339/401/2] test_set
test_bsddb skipped -- No module named _bsddb
[340/401/2] test_bsddb
[341/401/2] test_sundry
[342/401/2] test_cmd_line
[343/401/2] test_posixpath
test_gl skipped -- No module named gl
[344/401/2] test_gl
[345/401/2] test_aifc
[346/401/2] test_ioctl
[347/401/2] test_profile
[348/401/2] test_rlcompleter
[349/401/2] test_ast
[350/401/2] test_gzip
[351/401/2] test_threadsignals
[352/401/2] test_filecmp
[353/401/2] test_slice
[354/401/2] test_shelve
test.pickletester:1565: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
test.pickletester:1583: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
test.pickletester:1636: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
python2.4: not found
python2.5: not found
python2.6: not found
[355/401/2] test_xpickle
[356/401/2] test_base64
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
[357/401/2] test_unicode_file
[358/401/2] test_io
[359/401/2] test_xmlrpc
[360/401/2] test_importlib
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/test_asyncore.py", line 712, in <lambda>
t = threading.Thread(target=lambda: asyncore.loop(timeout=0.1, count=500))
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/asyncore.py", line 220, in loop
poll_fun(timeout, map)
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/asyncore.py", line 145, in poll
r, w, e = select.select(r, w, e, timeout)
error: (9, 'Bad file descriptor')
[361/401/2] test_asyncore
test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'
[362/401/2] test_ossaudiodev
[363/401/2] test_urllibnet
[364/401/2] test_bigaddrspace
test_sqlite skipped -- No module named _sqlite3
[365/401/2] test_sqlite
[366/401/2] test_shlex
[367/401/2] test_codecmaps_jp
[368/401/2] test_array
[369/401/2] test_binop
[370/401/2] test_email_codecs
[371/401/2] test_popen2
[372/401/2] test_defaultdict
[373/401/2] test_operator
[374/401/2] test_sys
[375/401/2] test_transformer
[376/401/2] test_mmap
[377/401/2] test_plistlib
[378/401/2] test_rfc822
[379/401/2] test_getargs
[380/401/2] test_strftime
[381/401/2] test_file
[382/401/2] test_future3
[383/401/2] test_softspace
[384/401/2] test_sets
[385/401/2] test_doctest2
[386/401/2] test_bz2
[387/401/2] test_hotshot
[388/401/2] test_dbm
[389/401/2] test_colorsys
[390/401/2] test_class
[391/401/2] test_os
Resource 'mueblesmoraleda.com' is not available
[392/401/2] test_robotparser
[393/401/2] test_ftplib
[394/401/2] test_threaded_import
[395/401/2] test_unpack
[396/401/2] test_urllib
[397/401/2] test_fileinput
[398/401/2] test_compiler
[399/401/2] test_builtin
[400/401/2] test_subprocess
[401/401/2] test_traceback
364 tests OK.
2 tests failed:
test_posix test_ssl
35 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb3
test_cd test_cl 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_ossaudiodev test_pep277
test_scriptpackages test_spwd test_sqlite test_startfile
test_sunaudiodev test_tcl test_tk test_ttk_guionly
test_ttk_textonly test_turtle 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_posix' in verbose mode
testNoArgFunctions (test.test_posix.PosixTester) ... ok
test_access (test.test_posix.PosixTester) ... ok
test_chdir (test.test_posix.PosixTester) ... ok
test_chflags (test.test_posix.PosixTester) ... skipped 'chflag UF_IMMUTABLE not supported by underlying fs'
test_chown (test.test_posix.PosixTester) ... ok
test_confstr (test.test_posix.PosixTester) ... ok
test_dup (test.test_posix.PosixTester) ... ok
test_dup2 (test.test_posix.PosixTester) ... ok
test_fchown (test.test_posix.PosixTester) ... ok
test_fdopen (test.test_posix.PosixTester) ... ok
test_fdopen_directory (test.test_posix.PosixTester) ... ok
test_fdopen_keeps_fd_open_on_errors (test.test_posix.PosixTester) ... ok
test_fstat (test.test_posix.PosixTester) ... ok
test_fstatvfs (test.test_posix.PosixTester) ... ok
test_ftruncate (test.test_posix.PosixTester) ... ok
test_getcwd_long_pathnames (test.test_posix.PosixTester) ... ok
test_getgroups (test.test_posix.PosixTester) ... ok
test_getresgid (test.test_posix.PosixTester) ... ok
test_getresuid (test.test_posix.PosixTester) ... ok
test_initgroups (test.test_posix.PosixTester) ... ok
test_lchflags_regular_file (test.test_posix.PosixTester) ... skipped 'chflag UF_IMMUTABLE not supported by underlying fs'
test_lchflags_symlink (test.test_posix.PosixTester) ... skipped 'chflag UF_IMMUTABLE not supported by underlying fs'
test_lchown (test.test_posix.PosixTester) ... ok
test_lsdir (test.test_posix.PosixTester) ... skipped 'test needs posix.lsdir()'
test_makedev (test.test_posix.PosixTester) ... FAIL
test_osexlock (test.test_posix.PosixTester) ... ok
test_osshlock (test.test_posix.PosixTester) ... ok
test_pipe (test.test_posix.PosixTester) ... ok
test_setresgid (test.test_posix.PosixTester) ... ok
test_setresgid_exception (test.test_posix.PosixTester) ... ok
test_setresuid (test.test_posix.PosixTester) ... ok
test_setresuid_exception (test.test_posix.PosixTester) ... ok
test_stat (test.test_posix.PosixTester) ... ok
test_statvfs (test.test_posix.PosixTester) ... ok
test_strerror (test.test_posix.PosixTester) ... ok
test_tempnam (test.test_posix.PosixTester) ... ok
test_tmpfile (test.test_posix.PosixTester) ... ok
test_umask (test.test_posix.PosixTester) ... ok
test_utime (test.test_posix.PosixTester) ... ok
test_initgroups (test.test_posix.PosixGroupsTester) ... skipped 'not enough privileges'
test_setgroups (test.test_posix.PosixGroupsTester) ... skipped 'not enough privileges'
======================================================================
FAIL: test_makedev (test.test_posix.PosixTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/test_posix.py", line 283, in test_makedev
self.assertGreaterEqual(minor, 0)
AssertionError: -1382547391 not greater than or equal to 0
----------------------------------------------------------------------
Ran 41 tests in 0.128s
FAILED (failures=1, skipped=6)
test test_posix failed -- Traceback (most recent call last):
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/test_posix.py", line 283, in test_makedev
self.assertGreaterEqual(minor, 0)
AssertionError: -1382547391 not greater than or equal to 0
Re-running test 'test_ssl' in verbose mode
test_ssl: testing with 'LibreSSL 2.4.1' (2, 0, 0, 0, 0)
under 'FreeBSD-10.3-RELEASE-p4-amd64-64bit-ELF'
HAS_SNI = True
OP_ALL = 0x80000014
OP_NO_TLSv1_1 = 0x10000000
test__create_stdlib_context (test.test_ssl.ContextTests) ... ok
test__https_verify_certificates (test.test_ssl.ContextTests) ... ok
test__https_verify_envvar (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) ... FAIL
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) ... ok
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_empty_cert (test.test_ssl.BasicSocketTests)
Wrapping with an empty cert file ... 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_malformed_cert (test.test_ssl.BasicSocketTests)
Wrapping with a badly formatted certificate (syntax error) ... ok
test_malformed_key (test.test_ssl.BasicSocketTests)
Wrapping with a badly formatted key (syntax error) ... 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) ... skipped "Resource 'sha256.tbs-internet.com' is not available"
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:590)
Verified certificate for self-signed.pythontest.net:443 is
-----BEGIN CERTIFICATE-----
MIIClTCCAf6gAwIBAgIJAKGU95wKR8pTMA0GCSqGSIb3DQEBBQUAMHAxCzAJBgNV
BAYTAlhZMRcwFQYDVQQHDA5DYXN0bGUgQW50aHJheDEjMCEGA1UECgwaUHl0aG9u
IFNvZnR3YXJlIEZvdW5kYXRpb24xIzAhBgNVBAMMGnNlbGYtc2lnbmVkLnB5dGhv
bnRlc3QubmV0MB4XDTE0MTEwMjE4MDkyOVoXDTI0MTAzMDE4MDkyOVowcDELMAkG
A1UEBhMCWFkxFzAVBgNVBAcMDkNhc3RsZSBBbnRocmF4MSMwIQYDVQQKDBpQeXRo
b24gU29mdHdhcmUgRm91bmRhdGlvbjEjMCEGA1UEAwwac2VsZi1zaWduZWQucHl0
aG9udGVzdC5uZXQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANDXQXW9tjyZ
Xt0Iv2tLL1+jinr4wGg36ioLDLFkMf+2Y1GL0v0BnKYG4N1OKlAU15LXGeGer8vm
Sv/yIvmdrELvhAbbo3w4a9TMYQA4XkIVLdvu3mvNOAet+8PMJxn26dbDhG809ALv
EHY57lQsBS3G59RZyBPVqAqmImWNJnVzAgMBAAGjNzA1MCUGA1UdEQQeMByCGnNl
bGYtc2lnbmVkLnB5dGhvbnRlc3QubmV0MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcN
AQEFBQADgYEAIuzAhgMouJpNdf3URCHIineyoSt6WK/9+eyUcjlKOrDoXNZaD72h
TXMeKYoWvJyVcSLKL8ckPtDobgP2OTt0UkyAaj0n+ZHaqq1lH2yVfGUA1ILJv515
C8BqbvVZuqm3i7ygmw3bqE/lYMgOrYtXXnqOrz6nvsE6Yc9V9rFflOM=
-----END CERTIFICATE-----
ok
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_alpn_protocols (test.test_ssl.ThreadedTests) ... skipped 'ALPN support needed for this test'
test_asyncore_server (test.test_ssl.ThreadedTests)
Check the example asyncore integration. ...
server: new connection from 172.17.2.6:12610
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.
server: read 'over\n' from client
server: closed connection <ssl.SSLSocket object at 0x8064cf2a8>
server: read '' from client
cleanup: successfully joined.
ok
test_check_hostname (test.test_ssl.ThreadedTests) ...
server: new connection from ('172.17.2.6', 12612)
server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
server: new connection from ('172.17.2.6', 12614)
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 ('172.17.2.6', 12617)
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 ('172.17.2.6', 12619)
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 ('172.17.2.6', 12621)
server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
server: new connection from ('172.17.2.6', 12623)
server: bad connection attempt from ('172.17.2.6', 12623):
Traceback (most recent call last):
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/test_ssl.py", line 1654, in wrap_conn
self.sock, server_side=True)
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/ssl.py", line 353, in wrap_socket
_context=self)
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/ssl.py", line 601, in __init__
self.do_handshake()
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/ssl.py", line 830, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:590)
server: new connection from ('172.17.2.6', 12625)
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 ('172.17.2.6', 12629)
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 ('172.17.2.6', 12631)
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 ('172.17.2.6', 12633)
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 ('172.17.2.6', 12635)
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 ('172.17.2.6', 12637)
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 ('172.17.2.6', 12639)
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_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_npn_protocols (test.test_ssl.ThreadedTests) ... server: new connection from ('172.17.2.6', 12646)
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 ('172.17.2.6', 12649)
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 ('172.17.2.6', 12651)
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 ('172.17.2.6', 12653)
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_SSLv23->PROTOCOL_SSLv23 CERT_NONE
PROTOCOL_TLSv1->PROTOCOL_SSLv23 CERT_NONE
PROTOCOL_SSLv23->PROTOCOL_SSLv23 CERT_OPTIONAL
PROTOCOL_TLSv1->PROTOCOL_SSLv23 CERT_OPTIONAL
PROTOCOL_SSLv23->PROTOCOL_SSLv23 CERT_REQUIRED
PROTOCOL_TLSv1->PROTOCOL_SSLv23 CERT_REQUIRED
PROTOCOL_SSLv23->PROTOCOL_SSLv23 CERT_NONE
{PROTOCOL_TLSv1->PROTOCOL_SSLv23} CERT_NONE
ok
test_protocol_sslv3 (test.test_ssl.ThreadedTests)
Connecting to an SSLv3 server with various client options ... skipped 'OpenSSL is compiled without SSLv3 support'
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_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_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_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 ('172.17.2.6', 12706)
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_alpn_protocol (test.test_ssl.ThreadedTests) ... server: new connection from ('172.17.2.6', 12710)
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_selected_alpn_protocol_if_server_uses_alpn (test.test_ssl.ThreadedTests) ... skipped 'ALPN support required'
test_selected_npn_protocol (test.test_ssl.ThreadedTests) ... server: new connection from ('172.17.2.6', 12712)
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 ('172.17.2.6', 12716)
server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
server: new connection from ('172.17.2.6', 12718)
server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
server: new connection from ('172.17.2.6', 12720)
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 (('172.17.2.6', 12727):12727 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[29/Jun/2016 15:51:54] "GET /keycert.pem HTTP/1.1" 200 -
client: read 1783 bytes from remote server '<HTTPSServerThread <HTTPSServer localhost:12727>>'
stopping HTTPS server
joining HTTPS thread
ok
test_starttls (test.test_ssl.ThreadedTests)
Switching from clear text to encrypted and back again. ...
client: sending 'msg 1'...
server: new connection from ('172.17.2.6', 12730)
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...
server: connection is now unencrypted...
client: sending 'msg 5'...
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 ('172.17.2.6', 12732)
server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
got channel binding data: '\x0f(\x83\xdc\x92\xc5\xe3P:\xe1\xa6,'
server: new connection from ('172.17.2.6', 12733)
server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
got another channel binding data: '\x1f\xbcg\xfa\xf7r\x8b\xa6C\xf3\x16o'
ok
test_version_basic (test.test_ssl.ThreadedTests) ... ok
test_wrong_cert (test.test_ssl.ThreadedTests)
Connecting when the server rejects the client's certificate ...
SSLError is SSLError(1, u'[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:590)')
ok
======================================================================
FAIL: test_load_default_certs_env (test.test_ssl.ContextTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/test_ssl.py", line 1097, in test_load_default_certs_env
self.assertEqual(ctx.cert_store_stats(), {"crl": 0, "x509": 1, "x509_ca": 0})
AssertionError: {'crl': 0, 'x509': 174, 'x509_ca': 174} != {'crl': 0, 'x509': 1, 'x509_ca': 0}
- {'crl': 0, 'x509': 174, 'x509_ca': 174}
? -- ^^^
+ {'crl': 0, 'x509': 1, 'x509_ca': 0}
? ^
======================================================================
FAIL: test_openssl_version (test.test_ssl.BasicSocketTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/ports/lang/python27/work/Python-2.7.12/Lib/test/test_ssl.py", line 286, in test_openssl_version
(s, t))
AssertionError: ('LibreSSL 2.4.1', (2, 0, 0, 0, 0))
----------------------------------------------------------------------
Ran 107 tests in 8.716s
FAILED (failures=2, skipped=9)
test test_ssl failed -- multiple errors occurred
2 tests failed again:
test_posix test_ssl
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/lang/python27/work/Python-2.7.12
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/python27
% [brnrd@build python27]$ [?2004h[?2004l
% [brnrd@build python27]$ [?2004h[?2004l
Script done on Wed Jun 29 16:16:17 2016

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
541947
Default Alt Text
make-test.out (48 KB)

Event Timeline