Source: python-trio Version: 0.19.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220412 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:239: python3.10 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:239: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/abc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_sync.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_highlevel_ssl_helpers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_file_io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/to_thread.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_highlevel_open_tcp_listeners.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_threads.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_subprocess.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_socket.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_wait_for_object.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_abc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_windows_pipes.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/lowlevel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/from_thread.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_timeouts.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_signals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_highlevel_generic.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_deprecate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_highlevel_open_tcp_stream.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_ssl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_unix_pipes.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_highlevel_socket.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/socket.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_channel.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_highlevel_open_unix_stream.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > copying trio/_highlevel_serve_listeners.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_generated_run.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_generated_instrumentation.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_traps.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_io_common.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_windows_cffi.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_entry_queue.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_wakeup_socketpair.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_asyncgens.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_local.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_mock_clock.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_generated_io_epoll.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_generated_io_windows.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_instrumentation.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_unbounded_queue.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_generated_io_kqueue.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_io_kqueue.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_thread_cache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_run.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_io_epoll.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_ki.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_exceptions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_parking_lot.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_io_windows.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > copying trio/_core/_multierror.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_subprocess_platform > copying trio/_subprocess_platform/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_subprocess_platform > copying trio/_subprocess_platform/kqueue.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_subprocess_platform > copying trio/_subprocess_platform/waitid.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_subprocess_platform > copying trio/_subprocess_platform/windows.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_subprocess_platform > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > copying trio/testing/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > copying trio/testing/_checkpoints.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > copying trio/testing/_memory_streams.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > copying trio/testing/_check_streams.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > copying trio/testing/_trio_test.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > copying trio/testing/_sequencer.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > copying trio/testing/_network.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/testing > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_tools > copying trio/_tools/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_tools > copying trio/_tools/gen_exports.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_tools > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_file_io.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_channel.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_socket.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_ssl.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_subprocess.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_highlevel_open_tcp_stream.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_unix_pipes.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_exports.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_testing.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_scheduler_determinism.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_signals.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/module_with_deprecations.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_highlevel_ssl_helpers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_deprecate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_windows_pipes.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_highlevel_open_unix_stream.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_highlevel_open_tcp_listeners.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_abc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_path.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_wait_for_object.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/conftest.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_highlevel_socket.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_highlevel_generic.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_timeouts.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_highlevel_serve_listeners.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_threads.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > copying trio/tests/test_sync.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_tutil.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_unbounded_queue.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_mock_clock.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/tutil.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_thread_cache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_run.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_guest_mode.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_ki.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_io.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_windows.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_asyncgen.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/conftest.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_parking_lot.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_multierror.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_local.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > copying trio/_core/tests/test_instrumentation.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/apport_excepthook.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/simple_excepthook_IPython.py > -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/_common.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/simple_excepthook.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/simple_excepthook_partial.py > -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/custom_excepthook.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > copying trio/_core/tests/test_multierror_scripts/ipython_custom_exc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/_core/tests/test_multierror_scripts > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests/tools > copying trio/tests/tools/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests/tools > copying trio/tests/tools/test_gen_exports.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trio/tests/tools > running egg_info > writing trio.egg-info/PKG-INFO > writing dependency_links to trio.egg-info/dependency_links.txt > writing requirements to trio.egg-info/requires.txt > writing top-level names to trio.egg-info/top_level.txt > reading manifest file 'trio.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no files found matching '*.pem' under directory > 'trio/tests/test_ssl_certs' > no previously-included directories found matching 'docs/build' > adding license file 'LICENSE' > adding license file 'LICENSE.APACHE2' > adding license file 'LICENSE.MIT' > writing manifest file 'trio.egg-info/SOURCES.txt' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; > python3.10 -m pytest -m not\ redistributors_should_skip > ============================= test session starts > ============================== > platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 > rootdir: /<<PKGBUILDDIR>>, configfile: pyproject.toml > collected 610 items / 14 deselected / 596 selected > > trio/_core/tests/test_asyncgen.py ....... [ > 1%] > trio/_core/tests/test_guest_mode.py ............ [ > 3%] > trio/_core/tests/test_instrumentation.py ........ [ > 4%] > trio/_core/tests/test_io.py ............................ [ > 9%] > trio/_core/tests/test_ki.py ........... [ > 11%] > trio/_core/tests/test_local.py .... [ > 11%] > trio/_core/tests/test_mock_clock.py ...... [ > 12%] > trio/_core/tests/test_multierror.py .............ss.ss [ > 15%] > trio/_core/tests/test_parking_lot.py .... [ > 16%] > trio/_core/tests/test_run.py ........................................... [ > 23%] > ...................................................... [ > 32%] > trio/_core/tests/test_thread_cache.py ..... [ > 33%] > trio/_core/tests/test_tutil.py . [ > 33%] > trio/_core/tests/test_unbounded_queue.py ..... [ > 34%] > trio/_core/tests/test_windows.py ssssss [ > 35%] > trio/tests/test_abc.py .. [ > 35%] > trio/tests/test_channel.py ............. [ > 38%] > trio/tests/test_deprecate.py ........... [ > 39%] > trio/tests/test_exports.py .. [ > 40%] > trio/tests/test_file_io.py ................ [ > 42%] > trio/tests/test_highlevel_generic.py .. [ > 43%] > trio/tests/test_highlevel_open_tcp_listeners.py .................. [ > 46%] > trio/tests/test_highlevel_open_tcp_stream.py ...................... [ > 50%] > trio/tests/test_highlevel_open_unix_stream.py ..... [ > 50%] > trio/tests/test_highlevel_serve_listeners.py .... [ > 51%] > trio/tests/test_highlevel_socket.py ....... [ > 52%] > trio/tests/test_highlevel_ssl_helpers.py .E. [ > 53%] > trio/tests/test_path.py ..................................... [ > 59%] > trio/tests/test_scheduler_determinism.py .. [ > 59%] > trio/tests/test_signals.py ........ [ > 61%] > trio/tests/test_socket.py .......s........................ [ > 66%] > trio/tests/test_ssl.py ..........................F....EEEEEEEEEEEEEEEEEE [ > 74%] > EEEEEEEEEEEE.. [ > 77%] > trio/tests/test_subprocess.py ................. [ > 79%] > trio/tests/test_sync.py .................................. [ > 85%] > trio/tests/test_testing.py .................. [ > 88%] > trio/tests/test_threads.py ................................. [ > 94%] > trio/tests/test_timeouts.py ... [ > 94%] > trio/tests/test_unix_pipes.py ........... [ > 96%] > trio/tests/test_util.py ........ [ > 97%] > trio/tests/test_wait_for_object.py ssss [ > 98%] > trio/tests/test_windows_pipes.py ssssss [ > 99%] > trio/tests/tools/test_gen_exports.py ... > [100%] > > ==================================== ERRORS > ==================================== > __ ERROR at setup of test_open_ssl_over_tcp_stream_and_everything_else[tls12] > __ > > request = <SubRequest 'client_ctx' for <Function > test_open_ssl_over_tcp_stream_and_everything_else[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb6046738c0> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _______________ ERROR at setup of test_ssl_client_basics[tls12] > ________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _______________ ERROR at setup of test_ssl_server_basics[tls12] > ________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ___________________ ERROR at setup of test_attributes[tls12] > ___________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _______________ ERROR at setup of test_full_duplex_basics[tls12] > _______________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ______________ ERROR at setup of test_renegotiation_simple[tls12] > ______________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ____________ ERROR at setup of test_renegotiation_randomized[tls12] > ____________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ______________ ERROR at setup of test_resource_busy_errors[tls12] > ______________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________________ ERROR at setup of test_checkpoints[tls12] > ___________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _____________ ERROR at setup of test_send_all_empty_string[tls12] > ______________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ____________ ERROR at setup of test_SSLStream_generic[tls12-False] > _____________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _____________ ERROR at setup of test_SSLStream_generic[tls12-True] > _____________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _____________________ ERROR at setup of test_unwrap[tls12] > _____________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _______________ ERROR at setup of test_closing_nice_case[tls12] > ________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________ ERROR at setup of test_send_all_fails_in_the_middle[tls12] > __________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________________ ERROR at setup of test_ssl_over_ssl[tls12] > __________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ________________ ERROR at setup of test_ssl_bad_shutdown[tls12] > ________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________ ERROR at setup of test_ssl_bad_shutdown_but_its_ok[tls12] > ___________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________ ERROR at setup of test_ssl_only_closes_stream_once[tls12] > ___________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ______ ERROR at setup of test_ssl_https_compatibility_disagreement[tls12] > ______ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ________ ERROR at setup of test_https_mode_eof_before_handshake[tls12] > _________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________ ERROR at setup of test_send_error_during_handshake[tls12] > ___________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _________ ERROR at setup of test_receive_error_during_handshake[tls12] > _________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ____ ERROR at setup of test_selected_alpn_protocol_before_handshake[tls12] > _____ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ______ ERROR at setup of test_selected_alpn_protocol_when_not_set[tls12] > _______ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _____ ERROR at setup of test_selected_npn_protocol_before_handshake[tls12] > _____ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > _______ ERROR at setup of test_selected_npn_protocol_when_not_set[tls12] > _______ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ______ ERROR at setup of test_get_channel_binding_before_handshake[tls12] > ______ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > ______ ERROR at setup of test_get_channel_binding_after_handshake[tls12] > _______ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________________ ERROR at setup of test_getpeercert[tls12] > ___________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > __________________ ERROR at setup of test_SSLListener[tls12] > ___________________ > > request = <SubRequest 'client_ctx' for <Function > test_ssl_client_basics[tls12]>> > > @pytest.fixture(scope="module", params=client_ctx_params) > def client_ctx(request): > ctx = ssl.create_default_context() > TRIO_TEST_CA.configure_trust(ctx) > if request.param in ["default", "tls13"]: > return ctx > elif request.param == "tls12": > > ctx.options |= ssl.OP_NO_TLSv1_3 > > trio/tests/test_ssl.py:83: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLContext object at 0x7fb604384f40> > value = > <Options.OP_ALL|OP_NO_TLSv1_3|OP_NO_SSLv3|OP_CIPHER_SERVER_PREFERENCE|OP_ENABLE_MIDDLEBOX_COMPAT|OP_NO_COMPRESSION: > 2723283028> > > @options.setter > def options(self, value): > > super(SSLContext, SSLContext).options.__set__(self, value) > E DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are > deprecated > > /usr/lib/python3.10/ssl.py:619: DeprecationWarning > =================================== FAILURES > =================================== > ________________ test_selected_npn_protocol_when_not_set[tls13] > ________________ > > client_ctx = <ssl.SSLContext object at 0x7fb604729e40> > > @pytest.mark.filterwarnings( > r"ignore: ssl module. NPN is deprecated, use ALPN instead:UserWarning" > ) > async def test_selected_npn_protocol_when_not_set(client_ctx): > # NPN protocol still returns None when it's not set, > # instead of raising an exception > client, server = ssl_memory_stream_pair(client_ctx) > > async with _core.open_nursery() as nursery: > nursery.start_soon(client.do_handshake) > nursery.start_soon(server.do_handshake) > > > assert client.selected_npn_protocol() is None > > trio/tests/test_ssl.py:1214: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <ssl.SSLObject object at 0x7fb604ff43a0> > > def selected_npn_protocol(self): > """Return the currently selected NPN protocol as a string, or ``None`` > if a next protocol was not negotiated or if NPN is not supported by > one > of the peers.""" > > warnings.warn( > "ssl NPN is deprecated, use ALPN instead", > DeprecationWarning, > stacklevel=2 > ) > E DeprecationWarning: ssl NPN is deprecated, use ALPN instead > > /usr/lib/python3.10/ssl.py:940: DeprecationWarning > =========================== short test summary info > ============================ > FAILED trio/tests/test_ssl.py::test_selected_npn_protocol_when_not_set[tls13] > ERROR > trio/tests/test_highlevel_ssl_helpers.py::test_open_ssl_over_tcp_stream_and_everything_else[tls12] > ERROR trio/tests/test_ssl.py::test_ssl_client_basics[tls12] - > DeprecationWarn... > ERROR trio/tests/test_ssl.py::test_ssl_server_basics[tls12] - > DeprecationWarn... > ERROR trio/tests/test_ssl.py::test_attributes[tls12] - DeprecationWarning: > ss... > ERROR trio/tests/test_ssl.py::test_full_duplex_basics[tls12] - > DeprecationWar... > ERROR trio/tests/test_ssl.py::test_renegotiation_simple[tls12] - > DeprecationW... > ERROR trio/tests/test_ssl.py::test_renegotiation_randomized[tls12] - > Deprecat... > ERROR trio/tests/test_ssl.py::test_resource_busy_errors[tls12] - > DeprecationW... > ERROR trio/tests/test_ssl.py::test_checkpoints[tls12] - DeprecationWarning: > s... > ERROR trio/tests/test_ssl.py::test_send_all_empty_string[tls12] - > Deprecation... > ERROR trio/tests/test_ssl.py::test_SSLStream_generic[tls12-False] - > Deprecati... > ERROR trio/tests/test_ssl.py::test_SSLStream_generic[tls12-True] - > Deprecatio... > ERROR trio/tests/test_ssl.py::test_unwrap[tls12] - DeprecationWarning: > ssl.OP... > ERROR trio/tests/test_ssl.py::test_closing_nice_case[tls12] - > DeprecationWarn... > ERROR trio/tests/test_ssl.py::test_send_all_fails_in_the_middle[tls12] - > Depr... > ERROR trio/tests/test_ssl.py::test_ssl_over_ssl[tls12] - DeprecationWarning: > ... > ERROR trio/tests/test_ssl.py::test_ssl_bad_shutdown[tls12] - > DeprecationWarni... > ERROR trio/tests/test_ssl.py::test_ssl_bad_shutdown_but_its_ok[tls12] - > Depre... > ERROR trio/tests/test_ssl.py::test_ssl_only_closes_stream_once[tls12] - > Depre... > ERROR trio/tests/test_ssl.py::test_ssl_https_compatibility_disagreement[tls12] > ERROR trio/tests/test_ssl.py::test_https_mode_eof_before_handshake[tls12] - > D... > ERROR trio/tests/test_ssl.py::test_send_error_during_handshake[tls12] - > Depre... > ERROR trio/tests/test_ssl.py::test_receive_error_during_handshake[tls12] - > De... > ERROR > trio/tests/test_ssl.py::test_selected_alpn_protocol_before_handshake[tls12] > ERROR trio/tests/test_ssl.py::test_selected_alpn_protocol_when_not_set[tls12] > ERROR > trio/tests/test_ssl.py::test_selected_npn_protocol_before_handshake[tls12] > ERROR trio/tests/test_ssl.py::test_selected_npn_protocol_when_not_set[tls12] > ERROR trio/tests/test_ssl.py::test_get_channel_binding_before_handshake[tls12] > ERROR trio/tests/test_ssl.py::test_get_channel_binding_after_handshake[tls12] > ERROR trio/tests/test_ssl.py::test_getpeercert[tls12] - DeprecationWarning: > s... > ERROR trio/tests/test_ssl.py::test_SSLListener[tls12] - DeprecationWarning: > s... > ===== 1 failed, 543 passed, 21 skipped, 14 deselected, 31 errors in 21.93s > ===== > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest -m not\ > redistributors_should_skip > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/04/12/python-trio_0.19.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.