From nobody Sat Sep 02 00:58:29 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RcxNP2H3zz4s8bK for ; Sat, 2 Sep 2023 00:58:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcxNP0Q5cz3PKL for ; Sat, 2 Sep 2023 00:58:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693616309; a=rsa-sha256; cv=none; b=JB/VZ4DkdEP25tAnH1XjpUmtd3JwW0Vnqz/EXlhlAwlaC5Sm2EMmhhI4wLjhOh987Sz4JP t+cFY0+EnTDZOAd8FYaXlzPlmh3+VJK1iZhuGx0+3gtVEyL7031seu7DrqKR+kBttKpPMP h8IaSdu+hJiW9+mw38oQrqIVkdCMcR+nQTl+oVIZJlysL1Cjdg8Qjh+RIrxBYv+7wJAfw6 RVFrvJlFqFoVzeOVnzZQ4JDOSjcyMu00An0gCuW/q6fgaYeni0Z6rHSSVY5waBVo87V7h8 6PunBiW8UsG9jjLCSQS1PuqvawUF3rJ6mr0NvXhZ3sHrRHjStrDgw0ymDvtH/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693616309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gGjku4v1+lD8NDjMh9ajqTk7q7U+bKbOO/h5qg9CV4Y=; b=RZ5ZwjBzUOYzVtB+wJZVE/ci+62qaxZw5RdxLpUvPejGq8AXEYnpKnq3KR6EaoG2G+l8sF kC/XhWHkgM6S+BSf71WIX1p03tXnvGupXDsllSrndJC47x+jIhCn1lO5twbCQA+I022AHM zc+pGks7UF5f7b391KyqOC2IabShXJwsNVyeGHgheMFjP9Jv0wb3QQYxhMVhJRzyVQ2z0j EWvApq4/McdgrwIhH4rpOURCGWhn6pWwP+RIVqkCQXt7hkPpuxCxUMMUSTtMcDsiP94m/6 U0/axCfl6p/8nCij8NuaHe80W0YwiVLfkvxvXoyAe4M6FpZvAeqN6aWELJovPw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RcxNN6f6Gz7jK for ; Sat, 2 Sep 2023 00:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3820wSee052789 for ; Sat, 2 Sep 2023 00:58:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3820wSB1052788 for freebsd-arm@FreeBSD.org; Sat, 2 Sep 2023 00:58:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 273506] main [so: 15] aarch64 kyua python use fails with: "RuntimeError: OpenSSL 3.0's legacy provider failed to load" Date: Sat, 02 Sep 2023 00:58:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273506 Bug ID: 273506 Summary: main [so: 15] aarch64 kyua python use fails with: "RuntimeError: OpenSSL 3.0's legacy provider failed to load" Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: marklmi26-fbsd@yahoo.com [openssl3 related failures are not clear to me for system vs. ports. Pick Base System for this initially.] On aarch64 [and armv7 via aarch64 chroot] after recent port progressions to openssl3 kyua that invovles python gets: # /usr/bin/kyua test -k /usr/tests/Kyuafile examples/test_examples.py examples/test_examples.py:__test_cases_list__ -> broken: Test program did= not exit cleanly [0.002s] [By contrast, amd64 worked fine.] Doing this in a form that exposes the error report about legacy support: # env PYTHONPATH=3D/usr/tests /usr/local/bin/python3.9 /usr/local/bin/pytes= t -vv -p no:cacheprovider -s --atf --confcutdir=3D/usr/tests --atf-file=3D/tmp/kyua.dabz6H/2/result.atf /usr/tests/examples/test_examples.py::TestExampleSimple::test_with_cleanup INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/_pytest/main.= py", line 266, in wrap_session INTERNALERROR> config._do_configure() INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1= 054, in _do_configure INTERNALERROR>=20=20=20=20 self.hook.pytest_configure.call_historic(kwargs=3Ddict(config=3Dself)) INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 452, in call_historic INTERNALERROR> res =3D self._hookexec(self.name, self._hookimpls, kwarg= s, False) INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 112, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 116, in _multicall INTERNALERROR> raise exception.with_traceback(exception.__traceback__) INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 80, in _multicall INTERNALERROR> res =3D hook_impl.function(*args) INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/pytest_twisted.py", line 516, in pytest_configure INTERNALERROR> reactor_installers[config.getoption("reactor")]() INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/pytest_twisted.py", line 435, in init_default_reactor INTERNALERROR> import twisted.internet.default INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/twisted/internet/default.py", line = 55, in INTERNALERROR> install =3D _getInstallFunction(platform) INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/twisted/internet/default.py", line = 47, in _getInstallFunction INTERNALERROR> from twisted.internet.pollreactor import install INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/twisted/internet/pollreactor.py", l= ine 29, in INTERNALERROR> from twisted.internet import posixbase INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/twisted/internet/posixbase.py", line 16, in INTERNALERROR> from twisted.internet import error, tcp, udp INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/twisted/internet/tcp.py", line 38, = in INTERNALERROR> from twisted.internet._newtls import ( INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/twisted/internet/_newtls.py", line = 18, in INTERNALERROR> from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/twisted/protocols/tls.py", line 42,= in INTERNALERROR> from OpenSSL.SSL import Connection, Error, SysCallError, WantReadError, ZeroReturnError INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in INTERNALERROR> from OpenSSL import SSL, crypto INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.p= y", line 9, in INTERNALERROR> from OpenSSL._util import ( INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", line 6, in INTERNALERROR> from cryptography.hazmat.bindings.openssl.binding import Binding INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 167, in INTERNALERROR> Binding.init_static_locks() INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 134, in init_static_locks INTERNALERROR> cls._ensure_ffi_initialized() INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 123, in _ensure_ffi_initialized INTERNALERROR> _legacy_provider_error(cls._legacy_provider_loaded) INTERNALERROR> File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 43, in _legacy_provider_error INTERNALERROR> raise RuntimeError( INTERNALERROR> RuntimeError: OpenSSL 3.0's legacy provider failed to load. = This is a fatal error by default, but cryptography supports running without lega= cy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGA= CY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. For reference: # uname -apKU FreeBSD CA78C-WDK23-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT aarch64 1500000 #= 13 main-n265027-2f06449d6429-dirty: Fri Aug 25 09:20:31 PDT 2023=20=20=20=20 root@CA78C-WDK23-ZFS:/usr/obj/BUILDs/main-CA78C-nodbg-clang/usr/main-src/ar= m64.aarch64/sys/GENERIC-NODBG-CA78C arm64 aarch64 1500000 1500000 # ~/fbsd-based-on-what-commit.sh -C /usr/ports/ 8f7f59bbc250 (HEAD -> main, freebsd/main, freebsd/HEAD) sysutils/bmd-plugin-hookcmd: add new ports. Author: Vanilla I. Shu Commit: Vanilla I. Shu CommitDate: 2023-09-01 02:54:14 +0000 branch: main merge-base: 8f7f59bbc2504672483c7840638c7fc171e1b9f5 merge-base: CommitDate: 2023-09-01 02:54:14 +0000 n632086 (--first-parent --count for merge-base) --=20 You are receiving this mail because: You are the assignee for the bug.=