python testrunner/lib_python_tests.py
in dir /build_dir/pypy-c-jit-linux-x86-64/build (timeout 4000 secs)
watching logfiles {'pytestLog': 'cpython.log'}
argv: ['python', 'testrunner/lib_python_tests.py']
environment:
AUDITWHEEL_ARCH=x86_64
AUDITWHEEL_PLAT=manylinux2014_x86_64
AUDITWHEEL_POLICY=manylinux2014
DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
HOME=/home/buildslave
HOSTNAME=a58a84039819
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64
LOGNAME=buildslave
PATH=/python27_virt/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig
PWD=/build_dir/pypy-c-jit-linux-x86-64/build
PYPY_LOCALBASE=/usr/local
PYPY_MAKE_PORTABLE=1
PYPY_USESSION_DIR=/tmp/pytest
SETUPTOOLS_USE_DISTUTILS=stdlib
SHELL=/bin/bash
SHLVL=2
SSL_CERT_FILE=/opt/_internal/certs.pem
TERM=xterm
TMPDIR=/tmp/pytest
USER=buildslave
USE_CURL=1
_=/python27_virt/bin/buildslave
using PTY: False
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/pypy-c-jit-linux-x86-64/build/.hypothesis/examples')
rootdir: /build_dir/pypy-c-jit-linux-x86-64/build, inifile: pytest.ini
plugins: hypothesis-4.42.0
collected 406 items
lib-python/2.7/test/test_MimeWriter.py .
lib-python/2.7/test/test_SimpleHTTPServer.py .
lib-python/2.7/test/test_StringIO.py .
lib-python/2.7/test/test___all__.py .
lib-python/2.7/test/test___future__.py .
lib-python/2.7/test/test__locale.py .
lib-python/2.7/test/test__osx_support.py .
lib-python/2.7/test/test_abc.py .
lib-python/2.7/test/test_abstract_numbers.py .
lib-python/2.7/test/test_aepack.py s
lib-python/2.7/test/test_aifc.py .
lib-python/2.7/test/test_al.py s
lib-python/2.7/test/test_anydbm.py .
lib-python/2.7/test/test_applesingle.py s
lib-python/2.7/test/test_argparse.py .
lib-python/2.7/test/test_array.py .
lib-python/2.7/test/test_ascii_formatd.py s
lib-python/2.7/test/test_ast.py .
lib-python/2.7/test/test_asynchat.py .
lib-python/2.7/test/test_asyncore.py .
lib-python/2.7/test/test_atexit.py .
lib-python/2.7/test/test_audioop.py .
lib-python/2.7/test/test_augassign.py .
lib-python/2.7/test/test_base64.py .
lib-python/2.7/test/test_bastion.py .
lib-python/2.7/test/test_bdb.py s
lib-python/2.7/test/test_bigaddrspace.py .
lib-python/2.7/test/test_bigmem.py .
lib-python/2.7/test/test_binascii.py .
lib-python/2.7/test/test_binhex.py .
lib-python/2.7/test/test_binop.py .
lib-python/2.7/test/test_bisect.py s
lib-python/2.7/test/test_bool.py .
lib-python/2.7/test/test_bsddb.py s
lib-python/2.7/test/test_bsddb185.py s
lib-python/2.7/test/test_bsddb3.py s
lib-python/2.7/test/test_buffer.py .
lib-python/2.7/test/test_bufio.py .
lib-python/2.7/test/test_builtin.py .
lib-python/2.7/test/test_bytes.py .
lib-python/2.7/test/test_bz2.py .
lib-python/2.7/test/test_calendar.py .
lib-python/2.7/test/test_call.py .
lib-python/2.7/test/test_capi.py .
lib-python/2.7/test/test_cd.py s
lib-python/2.7/test/test_cfgparser.py .
lib-python/2.7/test/test_cgi.py .
lib-python/2.7/test/test_charmapcodec.py .
lib-python/2.7/test/test_cl.py s
lib-python/2.7/test/test_class.py .
lib-python/2.7/test/test_cmath.py .
lib-python/2.7/test/test_cmd.py .
lib-python/2.7/test/test_cmd_line.py .
lib-python/2.7/test/test_cmd_line_script.py .
lib-python/2.7/test/test_code.py .
lib-python/2.7/test/test_codeccallbacks.py .
lib-python/2.7/test/test_codecencodings_cn.py .
lib-python/2.7/test/test_codecencodings_hk.py .
lib-python/2.7/test/test_codecencodings_iso2022.py .
lib-python/2.7/test/test_codecencodings_jp.py .
lib-python/2.7/test/test_codecencodings_kr.py .
lib-python/2.7/test/test_codecencodings_tw.py .
lib-python/2.7/test/test_codecmaps_cn.py .
lib-python/2.7/test/test_codecmaps_hk.py .
lib-python/2.7/test/test_codecmaps_jp.py .
lib-python/2.7/test/test_codecmaps_kr.py .
lib-python/2.7/test/test_codecmaps_tw.py .
lib-python/2.7/test/test_codecs.py .
lib-python/2.7/test/test_codeop.py .
lib-python/2.7/test/test_coercion.py .
lib-python/2.7/test/test_collections.py .
lib-python/2.7/test/test_colorsys.py .
lib-python/2.7/test/test_commands.py .
lib-python/2.7/test/test_compare.py .
lib-python/2.7/test/test_compile.py .
lib-python/2.7/test/test_compileall.py .
lib-python/2.7/test/test_compiler.py s
lib-python/2.7/test/test_complex.py .
lib-python/2.7/test/test_complex_args.py .
lib-python/2.7/test/test_contains.py .
lib-python/2.7/test/test_contextlib.py .
lib-python/2.7/test/test_cookie.py .
lib-python/2.7/test/test_cookielib.py .
lib-python/2.7/test/test_copy.py .
lib-python/2.7/test/test_copy_reg.py .
lib-python/2.7/test/test_cpickle.py .
lib-python/2.7/test/test_cprofile.py .
lib-python/2.7/test/test_crypt.py .
lib-python/2.7/test/test_csv.py .
lib-python/2.7/test/test_ctypes.py .
lib-python/2.7/test/test_curses.py .
lib-python/2.7/test/test_datetime.py .
lib-python/2.7/test/test_dbm.py .
lib-python/2.7/test/test_decimal.py .
lib-python/2.7/test/test_decorators.py .
lib-python/2.7/test/test_defaultdict.py .
lib-python/2.7/test/test_deque.py .
lib-python/2.7/test/test_descr.py .
lib-python/2.7/test/test_descrtut.py .
lib-python/2.7/test/test_dict.py .
lib-python/2.7/test/test_dictcomps.py .
lib-python/2.7/test/test_dictviews.py .
lib-python/2.7/test/test_difflib.py .
lib-python/2.7/test/test_dircache.py .
lib-python/2.7/test/test_dis.py .
lib-python/2.7/test/test_distutils.py s
lib-python/2.7/test/test_dl.py s
lib-python/2.7/test/test_doctest.py .
lib-python/2.7/test/test_doctest2.py .
lib-python/2.7/test/test_docxmlrpc.py .
lib-python/2.7/test/test_dumbdbm.py .
lib-python/2.7/test/test_dummy_thread.py .
lib-python/2.7/test/test_dummy_threading.py .
lib-python/2.7/test/test_email.py .
lib-python/2.7/test/test_email_codecs.py .
lib-python/2.7/test/test_email_renamed.py .
lib-python/2.7/test/test_ensurepip.py .
lib-python/2.7/test/test_enumerate.py .
lib-python/2.7/test/test_eof.py .
lib-python/2.7/test/test_epoll.py .
lib-python/2.7/test/test_errno.py .
lib-python/2.7/test/test_exception_variations.py .
lib-python/2.7/test/test_exceptions.py .
lib-python/2.7/test/test_extcall.py .
lib-python/2.7/test/test_fcntl.py .
lib-python/2.7/test/test_file.py .
lib-python/2.7/test/test_file2k.py .
lib-python/2.7/test/test_file_eintr.py .
lib-python/2.7/test/test_filecmp.py .
lib-python/2.7/test/test_fileinput.py .
lib-python/2.7/test/test_fileio.py .
lib-python/2.7/test/test_float.py .
lib-python/2.7/test/test_fnmatch.py .
lib-python/2.7/test/test_fork1.py .
lib-python/2.7/test/test_format.py .
lib-python/2.7/test/test_fpformat.py .
lib-python/2.7/test/test_fractions.py .
lib-python/2.7/test/test_frozen.py s
lib-python/2.7/test/test_ftplib.py .
lib-python/2.7/test/test_funcattrs.py .
lib-python/2.7/test/test_functools.py .
lib-python/2.7/test/test_future.py .
lib-python/2.7/test/test_future1.py .
lib-python/2.7/test/test_future2.py .
lib-python/2.7/test/test_future3.py .
lib-python/2.7/test/test_future4.py .
lib-python/2.7/test/test_future5.py .
lib-python/2.7/test/test_future_builtins.py .
lib-python/2.7/test/test_gc.py s
lib-python/2.7/test/test_gdb.py s
lib-python/2.7/test/test_gdbm.py .
lib-python/2.7/test/test_generators.py .
lib-python/2.7/test/test_genericpath.py .
lib-python/2.7/test/test_genexps.py .
lib-python/2.7/test/test_getargs.py .
lib-python/2.7/test/test_getargs2.py s
lib-python/2.7/test/test_getopt.py .
lib-python/2.7/test/test_gettext.py .
lib-python/2.7/test/test_gl.py s
lib-python/2.7/test/test_glob.py .
lib-python/2.7/test/test_global.py .
lib-python/2.7/test/test_grammar.py .
lib-python/2.7/test/test_grp.py .
lib-python/2.7/test/test_gzip.py .
lib-python/2.7/test/test_hash.py .
lib-python/2.7/test/test_hashlib.py .
lib-python/2.7/test/test_heapq.py .
lib-python/2.7/test/test_hmac.py .
lib-python/2.7/test/test_hotshot.py s
lib-python/2.7/test/test_htmllib.py .
lib-python/2.7/test/test_htmlparser.py .
lib-python/2.7/test/test_httplib.py .
lib-python/2.7/test/test_httpservers.py .
lib-python/2.7/test/test_idle.py .
lib-python/2.7/test/test_imageop.py s
lib-python/2.7/test/test_imaplib.py .
lib-python/2.7/test/test_imgfile.py s
lib-python/2.7/test/test_imghdr.py .
lib-python/2.7/test/test_imp.py .
lib-python/2.7/test/test_import.py .
lib-python/2.7/test/test_import_magic.py .
lib-python/2.7/test/test_importhooks.py .
lib-python/2.7/test/test_importlib.py .
lib-python/2.7/test/test_index.py .
lib-python/2.7/test/test_inspect.py .
lib-python/2.7/test/test_int.py .
lib-python/2.7/test/test_int_literal.py .
lib-python/2.7/test/test_io.py .
lib-python/2.7/test/test_ioctl.py s
lib-python/2.7/test/test_isinstance.py .
lib-python/2.7/test/test_iter.py .
lib-python/2.7/test/test_iterlen.py .
lib-python/2.7/test/test_itertools.py .
lib-python/2.7/test/test_json.py .
lib-python/2.7/test/test_kqueue.py s
lib-python/2.7/test/test_largefile.py .
lib-python/2.7/test/test_lib2to3.py .
lib-python/2.7/test/test_linecache.py .
lib-python/2.7/test/test_linuxaudiodev.py s
lib-python/2.7/test/test_list.py .
lib-python/2.7/test/test_locale.py .
lib-python/2.7/test/test_logging.py .
lib-python/2.7/test/test_long.py .
lib-python/2.7/test/test_long_future.py .
lib-python/2.7/test/test_longexp.py .
lib-python/2.7/test/test_macos.py s
lib-python/2.7/test/test_macostools.py s
lib-python/2.7/test/test_macpath.py .
lib-python/2.7/test/test_macurl2path.py .
lib-python/2.7/test/test_mailbox.py .
lib-python/2.7/test/test_marshal.py .
lib-python/2.7/test/test_math.py .
lib-python/2.7/test/test_md5.py .
lib-python/2.7/test/test_memoryio.py .
lib-python/2.7/test/test_memoryview.py .
lib-python/2.7/test/test_mhlib.py .
lib-python/2.7/test/test_mimetools.py .
lib-python/2.7/test/test_mimetypes.py .
lib-python/2.7/test/test_minidom.py .
lib-python/2.7/test/test_mmap.py .
lib-python/2.7/test/test_module.py .
lib-python/2.7/test/test_modulefinder.py .
lib-python/2.7/test/test_msilib.py s
lib-python/2.7/test/test_multibytecodec.py .
lib-python/2.7/test/test_multifile.py .
lib-python/2.7/test/test_multiprocessing.py .
lib-python/2.7/test/test_mutants.py .
lib-python/2.7/test/test_mutex.py .
lib-python/2.7/test/test_netrc.py .
lib-python/2.7/test/test_new.py .
lib-python/2.7/test/test_nis.py s
lib-python/2.7/test/test_nntplib.py .
lib-python/2.7/test/test_normalization.py .
lib-python/2.7/test/test_ntpath.py .
lib-python/2.7/test/test_old_mailbox.py .
lib-python/2.7/test/test_opcodes.py .
lib-python/2.7/test/test_openpty.py .
lib-python/2.7/test/test_operator.py .
lib-python/2.7/test/test_optparse.py .
lib-python/2.7/test/test_ordered_dict.py .
lib-python/2.7/test/test_os.py .
lib-python/2.7/test/test_ossaudiodev.py s
lib-python/2.7/test/test_parser.py s
lib-python/2.7/test/test_pdb.py .
lib-python/2.7/test/test_peepholer.py .
lib-python/2.7/test/test_pep247.py .
lib-python/2.7/test/test_pep277.py .
lib-python/2.7/test/test_pep352.py .
lib-python/2.7/test/test_pickle.py .
lib-python/2.7/test/test_pickletools.py .
lib-python/2.7/test/test_pipes.py .
lib-python/2.7/test/test_pkg.py .
lib-python/2.7/test/test_pkgimport.py .
lib-python/2.7/test/test_pkgutil.py .
lib-python/2.7/test/test_platform.py .
lib-python/2.7/test/test_plistlib.py .
lib-python/2.7/test/test_poll.py .
lib-python/2.7/test/test_popen.py .
lib-python/2.7/test/test_popen2.py .
lib-python/2.7/test/test_poplib.py .
lib-python/2.7/test/test_posix.py .
lib-python/2.7/test/test_posixpath.py .
lib-python/2.7/test/test_pow.py .
lib-python/2.7/test/test_pprint.py .
lib-python/2.7/test/test_print.py .
lib-python/2.7/test/test_profile.py .
lib-python/2.7/test/test_property.py .
lib-python/2.7/test/test_pstats.py .
lib-python/2.7/test/test_pty.py .
lib-python/2.7/test/test_pwd.py .
lib-python/2.7/test/test_py3kwarn.py s
lib-python/2.7/test/test_py_compile.py .
lib-python/2.7/test/test_pyclbr.py .
lib-python/2.7/test/test_pydoc.py .
lib-python/2.7/test/test_pyexpat.py .
lib-python/2.7/test/test_queue.py .
lib-python/2.7/test/test_quopri.py .
lib-python/2.7/test/test_random.py .
lib-python/2.7/test/test_re.py .
lib-python/2.7/test/test_readline.py .
lib-python/2.7/test/test_regrtest.py .
lib-python/2.7/test/test_repr.py .
lib-python/2.7/test/test_resource.py .
lib-python/2.7/test/test_rfc822.py .
lib-python/2.7/test/test_richcmp.py .
lib-python/2.7/test/test_rlcompleter.py .
lib-python/2.7/test/test_robotparser.py .
lib-python/2.7/test/test_runpy.py .
lib-python/2.7/test/test_sax.py .
lib-python/2.7/test/test_scope.py .
lib-python/2.7/test/test_scriptpackages.py s
lib-python/2.7/test/test_select.py .
lib-python/2.7/test/test_set.py .
lib-python/2.7/test/test_setcomps.py .
lib-python/2.7/test/test_sets.py .
lib-python/2.7/test/test_sgmllib.py .
lib-python/2.7/test/test_sha.py .
lib-python/2.7/test/test_shelve.py .
lib-python/2.7/test/test_shlex.py .
lib-python/2.7/test/test_shutil.py .
lib-python/2.7/test/test_signal.py .
lib-python/2.7/test/test_site.py .
lib-python/2.7/test/test_slice.py .
lib-python/2.7/test/test_smtplib.py .
lib-python/2.7/test/test_smtpnet.py .
lib-python/2.7/test/test_socket.py .
lib-python/2.7/test/test_socketserver.py .
lib-python/2.7/test/test_softspace.py .
lib-python/2.7/test/test_sort.py .
lib-python/2.7/test/test_source_encoding.py .
lib-python/2.7/test/test_spwd.py s
lib-python/2.7/test/test_sqlite.py .
lib-python/2.7/test/test_ssl.py F
lib-python/2.7/test/test_startfile.py s
lib-python/2.7/test/test_stat.py .
lib-python/2.7/test/test_str.py .
lib-python/2.7/test/test_strftime.py .
lib-python/2.7/test/test_string.py .
lib-python/2.7/test/test_stringprep.py .
lib-python/2.7/test/test_strop.py s
lib-python/2.7/test/test_strptime.py .
lib-python/2.7/test/test_strtod.py .
lib-python/2.7/test/test_struct.py .
lib-python/2.7/test/test_structmembers.py s
lib-python/2.7/test/test_structseq.py .
lib-python/2.7/test/test_subprocess.py .
lib-python/2.7/test/test_sunau.py .
lib-python/2.7/test/test_sunaudiodev.py s
lib-python/2.7/test/test_sundry.py .
lib-python/2.7/test/test_symtable.py s
lib-python/2.7/test/test_syntax.py .
lib-python/2.7/test/test_sys.py .
lib-python/2.7/test/test_sys_setprofile.py .
lib-python/2.7/test/test_sys_settrace.py .
lib-python/2.7/test/test_sysconfig.py .
lib-python/2.7/test/test_tarfile.py .
lib-python/2.7/test/test_tcl.py .
lib-python/2.7/test/test_telnetlib.py .
lib-python/2.7/test/test_tempfile.py .
lib-python/2.7/test/test_test_support.py .
lib-python/2.7/test/test_textwrap.py .
lib-python/2.7/test/test_thread.py .
lib-python/2.7/test/test_threaded_import.py .
lib-python/2.7/test/test_threadedtempfile.py .
lib-python/2.7/test/test_threading.py .
lib-python/2.7/test/test_threading_local.py .
lib-python/2.7/test/test_threadsignals.py .
lib-python/2.7/test/test_time.py .
lib-python/2.7/test/test_timeit.py .
lib-python/2.7/test/test_timeout.py .
lib-python/2.7/test/test_tk.py s
lib-python/2.7/test/test_tokenize.py .
lib-python/2.7/test/test_tools.py s
lib-python/2.7/test/test_trace.py .
lib-python/2.7/test/test_traceback.py .
lib-python/2.7/test/test_transformer.py .
lib-python/2.7/test/test_ttk_guionly.py s
lib-python/2.7/test/test_ttk_textonly.py .
lib-python/2.7/test/test_tuple.py .
lib-python/2.7/test/test_turtle.py .
lib-python/2.7/test/test_typechecks.py .
lib-python/2.7/test/test_types.py .
lib-python/2.7/test/test_ucn.py .
lib-python/2.7/test/test_unary.py .
lib-python/2.7/test/test_undocumented_details.py .
lib-python/2.7/test/test_unicode.py .
lib-python/2.7/test/test_unicode_file.py .
lib-python/2.7/test/test_unicodedata.py .
lib-python/2.7/test/test_unittest.py .
lib-python/2.7/test/test_univnewlines.py .
lib-python/2.7/test/test_univnewlines2k.py .
lib-python/2.7/test/test_unpack.py .
lib-python/2.7/test/test_urllib.py .
lib-python/2.7/test/test_urllib2.py .
lib-python/2.7/test/test_urllib2_localnet.py .
lib-python/2.7/test/test_urllib2net.py .
lib-python/2.7/test/test_urllibnet.py .
lib-python/2.7/test/test_urlparse.py .
lib-python/2.7/test/test_userdict.py .
lib-python/2.7/test/test_userlist.py .
lib-python/2.7/test/test_userstring.py .
lib-python/2.7/test/test_uu.py .
lib-python/2.7/test/test_uuid.py .
lib-python/2.7/test/test_wait3.py .
lib-python/2.7/test/test_wait4.py .
lib-python/2.7/test/test_warnings.py .
lib-python/2.7/test/test_wave.py .
lib-python/2.7/test/test_weakref.py .
lib-python/2.7/test/test_weakset.py .
lib-python/2.7/test/test_whichdb.py .
lib-python/2.7/test/test_winreg.py s
lib-python/2.7/test/test_winsound.py s
lib-python/2.7/test/test_with.py .
lib-python/2.7/test/test_wsgiref.py .
lib-python/2.7/test/test_xdrlib.py .
lib-python/2.7/test/test_xml_etree.py .
lib-python/2.7/test/test_xml_etree_c.py .
lib-python/2.7/test/test_xmllib.py .
lib-python/2.7/test/test_xmlrpc.py .
lib-python/2.7/test/test_xpickle.py .
lib-python/2.7/test/test_xrange.py .
lib-python/2.7/test/test_zipfile.py .
lib-python/2.7/test/test_zipfile64.py .
lib-python/2.7/test/test_zipimport.py .
lib-python/2.7/test/test_zipimport_support.py .
lib-python/2.7/test/test_zlib.py .
=================================== FAILURES ===================================
_______________________________________ _______________________________________
test_ssl: testing with 'OpenSSL 3.0.12 24 Oct 2023' (3, 0, 0, 12, 0)
under Linux ('CentOS Linux', '7.9.2009', 'Core')
HAS_SNI = True
OP_ALL = 0x80000050
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) ... 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_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) ... skipped 'local time needs to be different from UTC'
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) ... ok
test_parse_all_sans (test.test_ssl.BasicSocketTests) ... ok
test_parse_cert (test.test_ssl.BasicSocketTests) ...
{'issuer': ((('countryName', 'XY'),),
(('localityName', 'Castle Anthrax'),),
(('organizationName', 'Python Software Foundation'),),
(('commonName', 'localhost'),)),
'notAfter': 'Aug 26 14:23:15 2028 GMT',
'notBefore': 'Aug 29 14:23:15 2018 GMT',
'serialNumber': '98A7CF88C74A32ED',
'subject': ((('countryName', 'XY'),),
(('localityName', 'Castle Anthrax'),),
(('organizationName', 'Python Software Foundation'),),
(('commonName', 'localhost'),)),
'subjectAltName': (('DNS', 'localhost'),),
'version': 3}
{'OCSP': ('http://ocsp.verisign.com',),
'caIssuers': ('http://SVRIntl-G3-aia.verisign.com/SVRIntlG3.cer',),
'crlDistributionPoints': ('http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',),
'issuer': ((('countryName', 'US'),),
(('organizationName', 'VeriSign, Inc.'),),
(('organizationalUnitName', 'VeriSign Trust Network'),),
(('organizationalUnitName',
'Terms of use at https://www.verisign.com/rpa (c)10'),),
(('commonName', 'VeriSign Class 3 International Server CA - G3'),)),
'notAfter': 'Sep 20 23:59:59 2012 GMT',
'notBefore': 'Sep 21 00:00:00 2011 GMT',
'serialNumber': '2EE6EA7640A075CEE5005F4D7C79549A',
'subject': ((('countryName', 'FI'),),
(('stateOrProvinceName', 'Espoo'),),
(('localityName', 'Espoo'),),
(('organizationName', 'Nokia'),),
(('organizationalUnitName', 'BI'),),
(('commonName', 'projects.developer.nokia.com'),)),
'subjectAltName': (('DNS', 'projects.developer.nokia.com'),
('DNS', 'projects.forum.nokia.com')),
'version': 3}
ok
test_parse_cert_CVE_2013_4238 (test.test_ssl.BasicSocketTests) ...
{'issuer': ((('countryName', 'US'),),
(('stateOrProvinceName', 'Oregon'),),
(('localityName', 'Beaverton'),),
(('organizationName', 'Python Software Foundation'),),
(('organizationalUnitName', 'Python Core Development'),),
(('commonName', 'null.python.org\x00example.org'),),
(('emailAddress', 'python-dev@python.org'),)),
'notAfter': 'Aug 7 13:12:52 2013 GMT',
'notBefore': 'Aug 7 13:11:52 2013 GMT',
'serialNumber': '00',
'subject': ((('countryName', 'US'),),
(('stateOrProvinceName', 'Oregon'),),
(('localityName', 'Beaverton'),),
(('organizationName', 'Python Software Foundation'),),
(('organizationalUnitName', 'Python Core Development'),),
(('commonName', 'null.python.org\x00example.org'),),
(('emailAddress', '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': 3}
ok
test_parse_cert_CVE_2019_5010 (test.test_ssl.BasicSocketTests) ...
{'issuer': ((('countryName', 'UK'),), (('commonName', 'cody-ca'),)),
'notAfter': 'Jun 14 18:00:58 2028 GMT',
'notBefore': 'Jun 18 18:00:58 2018 GMT',
'serialNumber': '02',
'subject': ((('countryName', 'UK'),),
(('commonName', 'codenomicon-vm-2.test.lal.cisco.com'),)),
'subjectAltName': (('DNS', 'codenomicon-vm-2.test.lal.cisco.com'),),
'version': 3}
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) ... skipped 'implementation detail specific to cpython'
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_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) ... FAIL
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
Verified certificate for self-signed.pythontest.net:443 is
-----BEGIN CERTIFICATE-----
MIIF9zCCA9+gAwIBAgIUH98b4Fw/DyugC9cV7VK7ZODzHsIwDQYJKoZIhvcNAQEL
BQAwgYoxCzAJBgNVBAYTAlhZMRcwFQYDVQQIDA5DYXN0bGUgQW50aHJheDEYMBYG
A1UEBwwPQXJndW1lbnQgQ2xpbmljMSMwIQYDVQQKDBpQeXRob24gU29mdHdhcmUg
Rm91bmRhdGlvbjEjMCEGA1UEAwwac2VsZi1zaWduZWQucHl0aG9udGVzdC5uZXQw
HhcNMTkwNTA4MDEwMjQzWhcNMjcwNzI0MDEwMjQzWjCBijELMAkGA1UEBhMCWFkx
FzAVBgNVBAgMDkNhc3RsZSBBbnRocmF4MRgwFgYDVQQHDA9Bcmd1bWVudCBDbGlu
aWMxIzAhBgNVBAoMGlB5dGhvbiBTb2Z0d2FyZSBGb3VuZGF0aW9uMSMwIQYDVQQD
DBpzZWxmLXNpZ25lZC5weXRob250ZXN0Lm5ldDCCAiIwDQYJKoZIhvcNAQEBBQAD
ggIPADCCAgoCggIBAMKdJlyCThkahwoBb7pl5q64Pe9Fn5jrIvzsveHTc97TpjV2
RLfICnXKrltPk/ohkVl6K5SUZQZwMVzFubkyxE0nZPHYHlpiKWQxbsYVkYv01rix
IFdLvaxxbGYke2jwQao31s4o61AdlsfK1SdpHQUynBBMssqI3SB4XPmcA7e+wEEx
jxjVish4ixA1vuIZOx8yibu+CFCf/geEjoBMF3QPdzULzlrCSw8k/45iZCSoNbvK
DoL4TVV07PHOxpheDh8ZQmepGvU6pVqhb9m4lgmV0OGWHgozd5Ur9CbTVDmxIEz3
TSoRtNJK7qtyZdGNqwjksQxgZTjM/d/Lm/BJG99AiOmYOjsl9gbQMZgvQmMAtUsI
aMJnQuZ6R+KEpW/TR5qSKLWZSG45z/op+tzI2m+cE6HwTRVAWbcuJxcAA55MZjqU
OOOu3BBYMjS5nf2sQ9uoXsVBFH7i0mQqoW1SLzr9opI8KsWwFxQmO2vBxWYaN+lH
OmwBZBwyODIsmI1YGXmTp09NxRYz3Qe5GCgFzYowpMrcxUC24iduIdMwwhRM7rKg
7GtIWMSrFfuI1XCLRmSlhDbhNN6fVg2f8Bo9PdH9ihiIyxSrc+FOUasUYCCJvlSZ
8hFUlLvcmrZlWuazohm0lsXuMK1JflmQr/DA/uXxP9xzFfRy+RU3jDyxJbRHAgMB
AAGjUzBRMB0GA1UdDgQWBBSQJyxiPMRK01i+0BsV9zUwDiBaHzAfBgNVHSMEGDAW
gBSQJyxiPMRK01i+0BsV9zUwDiBaHzAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3
DQEBCwUAA4ICAQCR+7a7N/m+WLkxPPIA/CB4MOr2Uf8ixTv435Nyv6rXOun0+lTP
ExSZ0uYQ+L0WylItI3cQHULldDueD+s8TGzxf5woaLKf6tqyr0NYhKs+UeNEzDnN
9PHQIhX0SZw3XyXGUgPNBfRCg2ZDdtMMdOU4XlQN/IN/9hbYTrueyY7eXq9hmtI9
1srftAMqr9SR1JP7aHI6DVgrEsZVMTDnfT8WmLSGLlY1HmGfdEn1Ip5sbo9uSkiH
AEPgPfjYIvR5LqTOMn4KsrlZyBbFIDh9Sl99M1kZzgH6zUGVLCDg1y6Cms69fx/e
W1HoIeVkY4b4TY7Bk7JsqyNhIuqu7ARaxkdaZWhYaA2YyknwANdFfNpfH+elCLIk
BUt5S3f4i7DaUePTvKukCZiCq4Oyln7RcOn5If73wCeLB/ZM9Ei1HforyLWP1CN8
XLfpHaoeoPSWIveI0XHUl65LsPN2UbMbul/F23hwl+h8+BLmyAS680Yhn4zEN6Ku
B7Po90HoFa1Du3bmx4jsN73UkT/dwMTi6K072FbipnC1904oGlWmLwvAHvrtxxmL
Pl3pvEaZIu8wa/PNF6Y7J7VIewikIJq6Ta6FrWeFfzMWOj2qA1ZZi6fUaDSNYvuV
J5quYKCc/O+I/yDDf8wyBbZ/gvUXzUHTMYGG+bFrn1p7XDbYYeEJ6R/xEg==
-----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 2 calls to do_handshake() to establish session.
ok
test_timeout_connect_ex (test.test_ssl.NetworkedTests) ... ok
test_alpn_protocols (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 38346)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 40640)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 58554)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 47772)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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_asyncore_server (test.test_ssl.ThreadedTests)
Check the example asyncore integration. ...
server: new connection from 127.0.0.1:45194
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 0x0000000001d21b78>
server: read '' from client
cleanup: successfully joined.
ok
test_check_hostname (test.test_ssl.ThreadedTests) ...
server: new connection from ('127.0.0.1', 36388)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
Test server failure:
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1871, in run
msg = self.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1848, in read
return self.sslconn.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 639, in read
v = self._sslobj.read(len)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 556, in read
return self._read_no_buf(length)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 602, in _read_no_buf
raise pyssl_error(self, count)
SSLError: Connection reset by peer
server: new connection from ('127.0.0.1', 56664)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
Test server failure:
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1871, in run
msg = self.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1848, in read
return self.sslconn.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 639, in read
v = self._sslobj.read(len)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 556, in read
return self._read_no_buf(length)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 602, in _read_no_buf
raise pyssl_error(self, count)
SSLError: Connection reset by peer
ok
test_compression (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 49120)
client: sending 'FOO\n'...
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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', 53680)
client: sending 'FOO\n'...
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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', 41454)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
Test server failure:
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1871, in run
msg = self.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1848, in read
return self.sslconn.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 639, in read
v = self._sslobj.read(len)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 556, in read
return self._read_no_buf(length)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 602, in _read_no_buf
raise pyssl_error(self, count)
SSLError: Connection reset by peer
server: new connection from ('127.0.0.1', 56422)
server: bad connection attempt from ('127.0.0.1', 56422):
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1791, in wrap_conn
self.sock, server_side=True)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 369, in wrap_socket
_context=self)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 597, in __init__
self.do_handshake()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 826, in do_handshake
self._sslobj.do_handshake()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 473, in do_handshake
raise pyssl_error(self, ret)
SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca
server: new connection from ('127.0.0.1', 36372)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
Test server failure:
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1871, in run
msg = self.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1848, in read
return self.sslconn.read()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 639, in read
v = self._sslobj.read(len)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 556, in read
return self._read_no_buf(length)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 602, in _read_no_buf
raise pyssl_error(self, count)
SSLError: Connection reset by peer
ok
test_default_ecdh_curve (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 41672)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 256)
server: selected protocol is now None
ok
test_dh_params (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 33094)
server: connection cipher is now ('DHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 49124)
client: sending 'FOO\n'...
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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', 37652)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 'XY'),),
(('localityName', 'Castle Anthrax'),),
(('organizationName', 'Python Software Foundation'),),
(('commonName', 'localhost'),)),
'notAfter': 'Aug 26 14:23:15 2028 GMT',
'notBefore': 'Aug 29 14:23:15 2018 GMT',
'serialNumber': '98A7CF88C74A32ED',
'subject': ((('countryName', 'XY'),),
(('localityName', 'Castle Anthrax'),),
(('organizationName', 'Python Software Foundation'),),
(('commonName', 'localhost'),)),
'subjectAltName': (('DNS', 'localhost'),),
'version': 3}
Connection cipher is ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256).
ok
test_getpeercert_enotconn (test.test_ssl.ThreadedTests) ... ok
test_handshake_timeout (test.test_ssl.ThreadedTests) ... ok
test_no_shared_ciphers (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 33524)
server: bad connection attempt from ('127.0.0.1', 33524):
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1791, in wrap_conn
self.sock, server_side=True)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 369, in wrap_socket
_context=self)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 597, in __init__
self.do_handshake()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/ssl.py", line 826, in do_handshake
self._sslobj.do_handshake()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 473, in do_handshake
raise pyssl_error(self, ret)
SSLError: [SSL: NO_SHARED_CIPHER] no shared cipher
ok
test_npn_protocols (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 59164)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 40448)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 45176)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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', 48544)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 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 ... skipped 'OpenSSL 3 effectively disables TLS < 1.2'
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 ... skipped 'OpenSSL 3 effectively disables TLS < 1.2'
test_protocol_tlsv1_1 (test.test_ssl.ThreadedTests)
Connecting to a TLSv1.1 server with various client options. ... skipped 'OpenSSL 3 effectively disables TLS < 1.2'
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_TLS->PROTOCOL_TLSv1_2} CERT_NONE
PROTOCOL_TLSv1_2->PROTOCOL_TLS 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', 60498)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
ok
test_recv_zero (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 40574)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 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 ('127.0.0.1', 50582)
client: sending 'FOO\n'...
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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) ... server: new connection from ('127.0.0.1', 43096)
client: sending 'FOO\n'...
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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_npn_protocol (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 35124)
client: sending 'FOO\n'...
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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', 34522)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
server: new connection from ('127.0.0.1', 55842)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
server: new connection from ('127.0.0.1', 37914)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 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', 37691):37691 ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)):
[11/Jun/2026 22:30:14] "GET /keycert.pem HTTP/1.1" 200 -
client: read 4058 bytes from remote server '<HTTPSServerThread <HTTPSServer localhost:37691>>'
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 ('127.0.0.1', 49846)
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...
client: sending 'MSG 3'...
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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_tls1_3 (test.test_ssl.ThreadedTests) ... server: new connection from ('127.0.0.1', 51088)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
ok
test_tls_unique_channel_binding (test.test_ssl.ThreadedTests)
Test tls-unique channel binding. ...
server: new connection from ('127.0.0.1', 43572)
got channel binding data: '\xe7\xeej\xceyi\xdf\xdd\xd2\xdc\xfd\xf0"\xc3\x15\x18\x8d\x8b\xda\x1d\xa6:_Jr@\xecA\x0b\x00>z\x82\xb5\xab\x15\xef\xd9\x1a\x15\x90\xd2\xe6H\xa9\x08bG'
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
server: new connection from ('127.0.0.1', 43578)
got another channel binding data: '4d\xd6\xa7h\xc2\xd1\xf8D\xca\xb6r\x89=\xdas\xc9\x1f\x10\x95\xc9\xcfv?\xeb\xa7\x185\xb9\xa2\xb5\x97\x13\xc9\xb5\xe8Hj\xd4c\x80M\xc6\x0bB\xb7\x0bH'
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
server: selected protocol is now None
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, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error')
ok
======================================================================
FAIL: test_connect_ex (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1495, in test_connect_ex
self.assertEqual(0, s.connect_ex((REMOTE_HOST, 443)))
AssertionError: 0 != 11
----------------------------------------------------------------------
Ran 109 tests in 134.839s
FAILED (failures=1, skipped=12)
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/pypy/tool/pytest/run-script/regrverbose.py", line 14, in <module>
indirect_test()
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 3373, in test_main
support.run_unittest(*tests)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/support/__init__.py", line 1687, in run_unittest
_run_suite(suite)
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/support/__init__.py", line 1578, in _run_suite
raise TestFailed(err)
TestFailed: Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/2.7/test/test_ssl.py", line 1495, in test_connect_ex
self.assertEqual(0, s.connect_ex((REMOTE_HOST, 443)))
AssertionError: 0 != 11
=========================== short test summary info ============================
FAIL lib-python/2.7/test/test_ssl.py::unmodified
========================== slowest 10 test durations ===========================
190.29s call lib-python/2.7/test/test_zipfile64.py::unmodified
135.01s call lib-python/2.7/test/test_ssl.py::unmodified
108.84s call lib-python/2.7/test/test_urllib2net.py::unmodified
64.03s call lib-python/2.7/test/test_xpickle.py::unmodified
46.07s call lib-python/2.7/test/test_multiprocessing.py::unmodified
32.54s call lib-python/2.7/test/test_subprocess.py::unmodified
28.17s call lib-python/2.7/test/test_io.py::unmodified
15.85s call lib-python/2.7/test/test_socket.py::unmodified
11.13s call lib-python/2.7/test/test_select.py::unmodified
11.03s call lib-python/2.7/test/test_poll.py::unmodified
============== 1 failed, 361 passed, 44 skipped in 898.77 seconds ==============
program finished with exit code 1
elapsedTime=901.717427