Package: src:oscrypto Version: 1.3.0-6 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild pybuild --configure -i python{version} -p 3.12 D: pybuild pybuild:602: version: 6.20240824 D: pybuild pybuild:603: ['/usr/bin/pybuild', '--configure', '-i', 'python{version}', '-p', '3.12'] D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, detect_only=False, clean_only=False, configure_only=True, build_only=False, install_only=False, test_only=False, autopkgtest_only=False, list_systems=False, print_args=None, before_clean=None, clean_args=None, after_clean=None, before_configure=None, configure_args=None, after_configure=None, before_build=None, build_args=None, after_build=None, before_install=None, install_args=None, after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, test_nose2=False, test_pytest=False, test_tox=False, test_stestr=False, test_custom=False, dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, name='oscrypto', system=None, versions=['3.12'], interpreter=['python{version}'], disable=None, custom_tests=False) D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 'cmake' D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson' D: pybuild tools:231: invoking: /usr/bin/dpkg-architecture D: pybuild debhelper:174: source=oscrypto, binary packages=['python3-oscrypto'] D: pybuild pybuild:124: Plugin autopkgtest: certainty 0 D: pybuild pybuild:124: Plugin custom: certainty 0 D: pybuild pybuild:124: Plugin distutils: certainty 50 D: pybuild pybuild:124: Plugin pyproject: certainty -20 D: pybuild pybuild:151: detected build system: distutils (certainty: 50%) D: pybuild plugin_distutils:54: pydistutils config file: [clean] all=1 [build] build_lib=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build [install] force=1 install_layout=deb install_scripts=$base/bin install_lib=/usr/lib/python3.12/dist-packages prefix=/usr I: pybuild base:311: python3.12 setup.py config D: pybuild tools:231: invoking: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running config dh_auto_build -O--buildsystem=pybuild pybuild --build -i python{version} -p 3.12 D: pybuild pybuild:602: version: 6.20240824 D: pybuild pybuild:603: ['/usr/bin/pybuild', '--build', '-i', 'python{version}', '-p', '3.12'] D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, detect_only=False, clean_only=False, configure_only=False, build_only=True, install_only=False, test_only=False, autopkgtest_only=False, list_systems=False, print_args=None, before_clean=None, clean_args=None, after_clean=None, before_configure=None, configure_args=None, after_configure=None, before_build=None, build_args=None, after_build=None, before_install=None, install_args=None, after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, test_nose2=False, test_pytest=False, test_tox=False, test_stestr=False, test_custom=False, dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, name='oscrypto', system=None, versions=['3.12'], interpreter=['python{version}'], disable=None, custom_tests=False) D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 'cmake' D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson' D: pybuild tools:231: invoking: /usr/bin/dpkg-architecture D: pybuild debhelper:174: source=oscrypto, binary packages=['python3-oscrypto'] D: pybuild pybuild:124: Plugin autopkgtest: certainty 0 D: pybuild pybuild:124: Plugin custom: certainty 0 D: pybuild pybuild:124: Plugin distutils: certainty 50 D: pybuild pybuild:124: Plugin pyproject: certainty -20 D: pybuild pybuild:151: detected build system: distutils (certainty: 50%) I: pybuild base:311: /usr/bin/python3 setup.py build D: pybuild tools:231: invoking: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_asn1.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/kdf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_rand.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_ecdsa.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/asymmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_cipher_suites.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_pkcs1.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_ffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_int.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/keys.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_pkcs12.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/tls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_asymmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/symmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_pkcs5.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/_tls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto copying oscrypto/trust_list.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_security.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_common_crypto.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_core_foundation_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/asymmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_security_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/tls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_core_foundation_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_core_foundation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_security_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_common_crypto_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/symmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/trust_list.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac copying oscrypto/_mac/_common_crypto_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_mac creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/asymmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/_libssl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/_libcrypto.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/_libcrypto_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/tls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/_libcrypto_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/_libssl_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/symmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/_libssl_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl copying oscrypto/_openssl/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_secur32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_kernel32_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_crypt32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/asymmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_crypt32_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_decode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_cng_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/tls.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_kernel32_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_advapi32_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_cng.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_secur32_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/symmetric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_advapi32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_advapi32_ctypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_secur32_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/trust_list.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_kernel32.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_crypt32_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win copying oscrypto/_win/_cng_cffi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_win creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_linux_bsd copying oscrypto/_linux_bsd/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_linux_bsd copying oscrypto/_linux_bsd/trust_list.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_linux_bsd dh_auto_test -O--buildsystem=pybuild pybuild --test -i python{version} -p 3.12 D: pybuild pybuild:602: version: 6.20240824 D: pybuild pybuild:603: ['/usr/bin/pybuild', '--test', '-i', 'python{version}', '-p', '3.12'] D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, detect_only=False, clean_only=False, configure_only=False, build_only=False, install_only=False, test_only=True, autopkgtest_only=False, list_systems=False, print_args=None, before_clean=None, clean_args=None, after_clean=None, before_configure=None, configure_args=None, after_configure=None, before_build=None, build_args=None, after_build=None, before_install=None, install_args=None, after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, test_nose2=False, test_pytest=False, test_tox=False, test_stestr=False, test_custom=False, dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, name='oscrypto', system=None, versions=['3.12'], interpreter=['python{version}'], disable=None, custom_tests=False) D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 'cmake' D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 'meson' D: pybuild tools:231: invoking: /usr/bin/dpkg-architecture D: pybuild debhelper:174: source=oscrypto, binary packages=['python3-oscrypto'] D: pybuild pybuild:124: Plugin autopkgtest: certainty 0 D: pybuild pybuild:124: Plugin custom: certainty 0 D: pybuild pybuild:124: Plugin distutils: certainty 50 D: pybuild pybuild:124: Plugin pyproject: certainty -20 D: pybuild pybuild:151: detected build system: distutils (certainty: 50%) D: pybuild base:64: Copying /<<PKGBUILDDIR>>/tests to /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests for tests I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build; python3.12 -m unittest discover -v D: pybuild tools:231: invoking: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build; python3.12 -m unittest discover -v test_cert_attributes (tests.test_asymmetric.AsymmetricTests.test_cert_attributes) ... ok test_cert_ec_attributes (tests.test_asymmetric.AsymmetricTests.test_cert_ec_attributes) ... ok test_dh_generate (tests.test_asymmetric.AsymmetricTests.test_dh_generate) ... ok test_dsa_2048_sha1_sign (tests.test_asymmetric.AsymmetricTests.test_dsa_2048_sha1_sign) ... ok test_dsa_2048_sha2_sign (tests.test_asymmetric.AsymmetricTests.test_dsa_2048_sha2_sign) ... ok test_dsa_3072_sign (tests.test_asymmetric.AsymmetricTests.test_dsa_3072_sign) ... ok test_dsa_3072_sign_sha1 (tests.test_asymmetric.AsymmetricTests.test_dsa_3072_sign_sha1) ... ok test_dsa_fingerprint (tests.test_asymmetric.AsymmetricTests.test_dsa_fingerprint) ... ok test_dsa_generate (tests.test_asymmetric.AsymmetricTests.test_dsa_generate) ... ok test_dsa_private_key_unwrap (tests.test_asymmetric.AsymmetricTests.test_dsa_private_key_unwrap) ... ok test_dsa_public_key_attr (tests.test_asymmetric.AsymmetricTests.test_dsa_public_key_attr) ... ok test_dsa_public_key_unwrap (tests.test_asymmetric.AsymmetricTests.test_dsa_public_key_unwrap) ... ok test_dsa_sign (tests.test_asymmetric.AsymmetricTests.test_dsa_sign) ... ok test_dsa_verify (tests.test_asymmetric.AsymmetricTests.test_dsa_verify) ... ok test_dsa_verify_fail (tests.test_asymmetric.AsymmetricTests.test_dsa_verify_fail) ... ok test_dsa_verify_fail_each_byte (tests.test_asymmetric.AsymmetricTests.test_dsa_verify_fail_each_byte) ... ok test_dsa_verify_key_size_mismatch (tests.test_asymmetric.AsymmetricTests.test_dsa_verify_key_size_mismatch) ... ok test_dump_certificate (tests.test_asymmetric.AsymmetricTests.test_dump_certificate) ... ok test_dump_private (tests.test_asymmetric.AsymmetricTests.test_dump_private) ... ok test_dump_private_openssl (tests.test_asymmetric.AsymmetricTests.test_dump_private_openssl) ... ok test_dump_public (tests.test_asymmetric.AsymmetricTests.test_dump_public) ... ok test_ec_fingerprints (tests.test_asymmetric.AsymmetricTests.test_ec_fingerprints) ... ok test_ec_generate (tests.test_asymmetric.AsymmetricTests.test_ec_generate) ... ok test_ec_private_key_unwrap (tests.test_asymmetric.AsymmetricTests.test_ec_private_key_unwrap) ... ok test_ec_public_key_attr (tests.test_asymmetric.AsymmetricTests.test_ec_public_key_attr) ... ok test_ec_public_key_unwrap (tests.test_asymmetric.AsymmetricTests.test_ec_public_key_unwrap) ... ok test_ecdsa_sign (tests.test_asymmetric.AsymmetricTests.test_ecdsa_sign) ... ok test_ecdsa_verify (tests.test_asymmetric.AsymmetricTests.test_ecdsa_verify) ... ok test_ecdsa_verify_fail_each_byte (tests.test_asymmetric.AsymmetricTests.test_ecdsa_verify_fail_each_byte) ... ok test_load_incomplete_dsa_cert (tests.test_asymmetric.AsymmetricTests.test_load_incomplete_dsa_cert) ... ok test_load_rsa_pss_cert (tests.test_asymmetric.AsymmetricTests.test_load_rsa_pss_cert) ... ok test_private_key_attributes (tests.test_asymmetric.AsymmetricTests.test_private_key_attributes) ... ok test_private_key_ec_attributes (tests.test_asymmetric.AsymmetricTests.test_private_key_ec_attributes) ... ok test_public_key_attributes (tests.test_asymmetric.AsymmetricTests.test_public_key_attributes) ... ok test_public_key_ec_attributes (tests.test_asymmetric.AsymmetricTests.test_public_key_ec_attributes) ... ok test_rsa_fingerprint (tests.test_asymmetric.AsymmetricTests.test_rsa_fingerprint) ... ok test_rsa_generate (tests.test_asymmetric.AsymmetricTests.test_rsa_generate) ... ok test_rsa_oaep_encrypt (tests.test_asymmetric.AsymmetricTests.test_rsa_oaep_encrypt) ... ok test_rsa_pkcs1v15_encrypt (tests.test_asymmetric.AsymmetricTests.test_rsa_pkcs1v15_encrypt) ... ok test_rsa_private_key_unwrap (tests.test_asymmetric.AsymmetricTests.test_rsa_private_key_unwrap) ... ok test_rsa_private_oaep_decrypt (tests.test_asymmetric.AsymmetricTests.test_rsa_private_oaep_decrypt) ... ok test_rsa_private_pkcs1v15_decrypt (tests.test_asymmetric.AsymmetricTests.test_rsa_private_pkcs1v15_decrypt) ... ok test_rsa_pss_sha256_sign (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_sha256_sign) ... ok test_rsa_pss_sha256_sign_pss_cert (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_sha256_sign_pss_cert) ... ok test_rsa_pss_sign (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_sign) ... ok test_rsa_pss_sign_pss_cert (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_sign_pss_cert) ... ok test_rsa_pss_verify (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_verify) ... ok test_rsa_pss_verify_fail (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_verify_fail) ... ok test_rsa_pss_verify_pss_cert (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_verify_pss_cert) ... ok test_rsa_pss_verify_pss_cert_fail (tests.test_asymmetric.AsymmetricTests.test_rsa_pss_verify_pss_cert_fail) ... ok test_rsa_public_key_attr (tests.test_asymmetric.AsymmetricTests.test_rsa_public_key_attr) ... ok test_rsa_public_key_unwrap (tests.test_asymmetric.AsymmetricTests.test_rsa_public_key_unwrap) ... ok test_rsa_raw_sign (tests.test_asymmetric.AsymmetricTests.test_rsa_raw_sign) ... ok test_rsa_raw_verify (tests.test_asymmetric.AsymmetricTests.test_rsa_raw_verify) ... ok test_rsa_raw_verify_fail (tests.test_asymmetric.AsymmetricTests.test_rsa_raw_verify_fail) ... ok test_rsa_sign (tests.test_asymmetric.AsymmetricTests.test_rsa_sign) ... ok test_rsa_verify (tests.test_asymmetric.AsymmetricTests.test_rsa_verify) ... ok test_rsa_verify_fail (tests.test_asymmetric.AsymmetricTests.test_rsa_verify_fail) ... ok test_rsa_verify_fail_each_byte (tests.test_asymmetric.AsymmetricTests.test_rsa_verify_fail_each_byte) ... ok test_rsa_verify_key_size_mismatch (tests.test_asymmetric.AsymmetricTests.test_rsa_verify_key_size_mismatch) ... ok test_load_order (tests.test_init.InitTests.test_load_order) ... ok test_pbkdf1 (tests.test_kdf.KDFTests.test_pbkdf1) ... ok test_pbkdf2 (tests.test_kdf.KDFTests.test_pbkdf2) ... ok test_pkcs12_kdf (tests.test_kdf.KDFTests.test_pkcs12_kdf) ... ok test_python_pbkdf2 (tests.test_kdf.KDFTests.test_python_pbkdf2) ... ok test_parse_certificate_1 (tests.test_keys.KeyTests.test_parse_certificate_1) ... ok test_parse_certificate_10 (tests.test_keys.KeyTests.test_parse_certificate_10) ... ok test_parse_certificate_2 (tests.test_keys.KeyTests.test_parse_certificate_2) ... ok test_parse_certificate_3 (tests.test_keys.KeyTests.test_parse_certificate_3) ... ok test_parse_certificate_4 (tests.test_keys.KeyTests.test_parse_certificate_4) ... ok test_parse_certificate_5 (tests.test_keys.KeyTests.test_parse_certificate_5) ... ok test_parse_certificate_6 (tests.test_keys.KeyTests.test_parse_certificate_6) ... ok test_parse_certificate_7 (tests.test_keys.KeyTests.test_parse_certificate_7) ... ok test_parse_certificate_8 (tests.test_keys.KeyTests.test_parse_certificate_8) ... ok test_parse_certificate_9 (tests.test_keys.KeyTests.test_parse_certificate_9) ... ok test_parse_certificate_pem_leading_whitespace (tests.test_keys.KeyTests.test_parse_certificate_pem_leading_whitespace) ... ok test_parse_pkcs12_aes128 (tests.test_keys.KeyTests.test_parse_pkcs12_aes128) ... ok test_parse_pkcs12_aes256 (tests.test_keys.KeyTests.test_parse_pkcs12_aes256) ... ok test_parse_pkcs12_chain (tests.test_keys.KeyTests.test_parse_pkcs12_chain) ... ok test_parse_pkcs12_dsa (tests.test_keys.KeyTests.test_parse_pkcs12_dsa) ... ok test_parse_pkcs12_rc2 (tests.test_keys.KeyTests.test_parse_pkcs12_rc2) ... ok test_parse_pkcs12_tripledes (tests.test_keys.KeyTests.test_parse_pkcs12_tripledes) ... ok test_parse_pkcs12_tripledes_blank (tests.test_keys.KeyTests.test_parse_pkcs12_tripledes_blank) ... ok test_parse_pkcs12_tripledes_blank_none (tests.test_keys.KeyTests.test_parse_pkcs12_tripledes_blank_none) ... ok test_parse_private_1 (tests.test_keys.KeyTests.test_parse_private_1) ... ok test_parse_private_10 (tests.test_keys.KeyTests.test_parse_private_10) ... ok test_parse_private_11 (tests.test_keys.KeyTests.test_parse_private_11) ... ok test_parse_private_12 (tests.test_keys.KeyTests.test_parse_private_12) ... ok test_parse_private_13 (tests.test_keys.KeyTests.test_parse_private_13) ... ok test_parse_private_14 (tests.test_keys.KeyTests.test_parse_private_14) ... ok test_parse_private_15 (tests.test_keys.KeyTests.test_parse_private_15) ... ok test_parse_private_16 (tests.test_keys.KeyTests.test_parse_private_16) ... ok test_parse_private_17 (tests.test_keys.KeyTests.test_parse_private_17) ... ok test_parse_private_18 (tests.test_keys.KeyTests.test_parse_private_18) ... ok test_parse_private_19 (tests.test_keys.KeyTests.test_parse_private_19) ... ok test_parse_private_2 (tests.test_keys.KeyTests.test_parse_private_2) ... ok test_parse_private_20 (tests.test_keys.KeyTests.test_parse_private_20) ... ok test_parse_private_21 (tests.test_keys.KeyTests.test_parse_private_21) ... ok test_parse_private_22 (tests.test_keys.KeyTests.test_parse_private_22) ... ok test_parse_private_23 (tests.test_keys.KeyTests.test_parse_private_23) ... ok test_parse_private_24 (tests.test_keys.KeyTests.test_parse_private_24) ... ok test_parse_private_3 (tests.test_keys.KeyTests.test_parse_private_3) ... ok test_parse_private_4 (tests.test_keys.KeyTests.test_parse_private_4) ... ok test_parse_private_5 (tests.test_keys.KeyTests.test_parse_private_5) ... ok test_parse_private_6 (tests.test_keys.KeyTests.test_parse_private_6) ... ok test_parse_private_7 (tests.test_keys.KeyTests.test_parse_private_7) ... ok test_parse_private_8 (tests.test_keys.KeyTests.test_parse_private_8) ... ok test_parse_private_9 (tests.test_keys.KeyTests.test_parse_private_9) ... ok test_parse_private_pem_leading_whitespace (tests.test_keys.KeyTests.test_parse_private_pem_leading_whitespace) ... ok test_parse_public_1 (tests.test_keys.KeyTests.test_parse_public_1) ... ok test_parse_public_2 (tests.test_keys.KeyTests.test_parse_public_2) ... ok test_parse_public_3 (tests.test_keys.KeyTests.test_parse_public_3) ... ok test_parse_public_4 (tests.test_keys.KeyTests.test_parse_public_4) ... ok test_parse_public_5 (tests.test_keys.KeyTests.test_parse_public_5) ... ok test_parse_public_6 (tests.test_keys.KeyTests.test_parse_public_6) ... ok test_parse_public_7 (tests.test_keys.KeyTests.test_parse_public_7) ... ok test_parse_public_8 (tests.test_keys.KeyTests.test_parse_public_8) ... ok test_parse_public_pem_leading_whitespace (tests.test_keys.KeyTests.test_parse_public_pem_leading_whitespace) ... ok test_3des_2k_encrypt_decrypt (tests.test_symmetric.SymmetricTests.test_3des_2k_encrypt_decrypt) ... ok test_3des_3k_encrypt_decrypt (tests.test_symmetric.SymmetricTests.test_3des_3k_encrypt_decrypt) ... ok test_aes_cbc_no_padding_encrypt_decrypt_128 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_encrypt_decrypt_128) ... ok test_aes_cbc_no_padding_encrypt_decrypt_192 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_encrypt_decrypt_192) ... ok test_aes_cbc_no_padding_encrypt_decrypt_256 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_encrypt_decrypt_256) ... ok test_aes_cbc_no_padding_encrypt_decrypt_two_block_128 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_encrypt_decrypt_two_block_128) ... ok test_aes_cbc_no_padding_encrypt_decrypt_two_block_192 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_encrypt_decrypt_two_block_192) ... ok test_aes_cbc_no_padding_encrypt_decrypt_two_block_256 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_encrypt_decrypt_two_block_256) ... ok test_aes_cbc_no_padding_wrong_length_128 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_wrong_length_128) ... ok test_aes_cbc_no_padding_wrong_length_192 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_wrong_length_192) ... ok test_aes_cbc_no_padding_wrong_length_256 (tests.test_symmetric.SymmetricTests.test_aes_cbc_no_padding_wrong_length_256) ... ok test_aes_encrypt_decrypt_128 (tests.test_symmetric.SymmetricTests.test_aes_encrypt_decrypt_128) ... ok test_aes_encrypt_decrypt_192 (tests.test_symmetric.SymmetricTests.test_aes_encrypt_decrypt_192) ... ok test_aes_encrypt_decrypt_256 (tests.test_symmetric.SymmetricTests.test_aes_encrypt_decrypt_256) ... ok test_des_encrypt_decrypt (tests.test_symmetric.SymmetricTests.test_des_encrypt_decrypt) ... ok test_rc2_40_encrypt_decrypt (tests.test_symmetric.SymmetricTests.test_rc2_40_encrypt_decrypt) ... ok test_rc2_64_encrypt_decrypt (tests.test_symmetric.SymmetricTests.test_rc2_64_encrypt_decrypt) ... ok test_rc4_128_encrypt_decrypt (tests.test_symmetric.SymmetricTests.test_rc4_128_encrypt_decrypt) ... ok test_rc4_40_encrypt_decrypt (tests.test_symmetric.SymmetricTests.test_rc4_40_encrypt_decrypt) ... ok test_tls_closed_connection_read (tests.test_tls.TLSTests.test_tls_closed_connection_read) ... ok test_tls_closed_connection_read_handshake (tests.test_tls.TLSTests.test_tls_closed_connection_read_handshake) ... ok test_tls_closed_connection_read_shutdown (tests.test_tls.TLSTests.test_tls_closed_connection_read_shutdown) ... ok test_tls_closed_connection_write (tests.test_tls.TLSTests.test_tls_closed_connection_write) ... /usr/lib/python3.12/socket.py:501: ResourceWarning: unclosed <socket.socket fd=5, family=2, type=1, proto=6, laddr=('127.0.0.1', 56498), raddr=('127.0.0.1', 8080)> def close(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback Exception ignored in: <function TLSSocket.__del__ at 0x7f713cdabd80> Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1284, in __del__ self.close() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1118, in close self.shutdown() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1110, in shutdown self._shutdown(True) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1070, in _shutdown self._raw_write() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 780, in _raw_write sent = self._socket.send(to_write) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 9] Bad file descriptor ok test_tls_closed_connection_write_handshake (tests.test_tls.TLSTests.test_tls_closed_connection_write_handshake) ... ok test_tls_closed_connection_write_shutdown (tests.test_tls.TLSTests.test_tls_closed_connection_write_shutdown) ... ok test_tls_connect_dh1024 (tests.test_tls.TLSTests.test_tls_connect_dh1024) ... ERROR test_tls_connect_google (tests.test_tls.TLSTests.test_tls_connect_google) ... ok test_tls_connect_package_control (tests.test_tls.TLSTests.test_tls_connect_package_control) ... ok test_tls_connect_revoked (tests.test_tls.TLSTests.test_tls_connect_revoked) ... ok test_tls_error_client_cert_required (tests.test_tls.TLSTests.test_tls_error_client_cert_required) ... ERROR test_tls_error_domain_mismatch (tests.test_tls.TLSTests.test_tls_error_domain_mismatch) ... ERROR test_tls_error_expired (tests.test_tls.TLSTests.test_tls_error_expired) ... ok test_tls_error_expired_2 (tests.test_tls.TLSTests.test_tls_error_expired_2) ... ok test_tls_error_ftp (tests.test_tls.TLSTests.test_tls_error_ftp) ... ok test_tls_error_handshake_error (tests.test_tls.TLSTests.test_tls_error_handshake_error) ... ok test_tls_error_handshake_error_2 (tests.test_tls.TLSTests.test_tls_error_handshake_error_2) ... ok test_tls_error_handshake_error_3 (tests.test_tls.TLSTests.test_tls_error_handshake_error_3) ... ok test_tls_error_http (tests.test_tls.TLSTests.test_tls_error_http) ... ERROR test_tls_error_missing_issuer (tests.test_tls.TLSTests.test_tls_error_missing_issuer) ... ok test_tls_error_non_web (tests.test_tls.TLSTests.test_tls_error_non_web) ... ok test_tls_error_not_yet_valid (tests.test_tls.TLSTests.test_tls_error_not_yet_valid) ... ok test_tls_error_san_mismatch (tests.test_tls.TLSTests.test_tls_error_san_mismatch) ... ERROR test_tls_error_self_signed (tests.test_tls.TLSTests.test_tls_error_self_signed) ... ok test_tls_error_weak_dh_params (tests.test_tls.TLSTests.test_tls_error_weak_dh_params) ... ERROR test_tls_error_wildcard_mismatch (tests.test_tls.TLSTests.test_tls_error_wildcard_mismatch) ... ERROR test_tls_extra_trust_roots (tests.test_tls.TLSTests.test_tls_extra_trust_roots) ... ERROR test_tls_extra_trust_roots_no_match (tests.test_tls.TLSTests.test_tls_extra_trust_roots_no_match) ... ok test_tls_graceful_disconnect (tests.test_tls.TLSTests.test_tls_graceful_disconnect) ... ok test_tls_large_download (tests.test_tls.TLSTests.test_tls_large_download) ... ok test_tls_pause_timeout (tests.test_tls.TLSTests.test_tls_pause_timeout) ... ok test_tls_protocol_version (tests.test_tls.TLSTests.test_tls_protocol_version) ... ok test_tls_wildcard_success (tests.test_tls.TLSTests.test_tls_wildcard_success) ... ERROR test_get_list (tests.test_trust_list.TrustListTests.test_get_list) ... /usr/lib/python3/dist-packages/asn1crypto/parser.py:140: ResourceWarning: unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('127.0.0.1', 56518)> def _parse(encoded_data, data_len, pointer=0, lengths_only=False, depth=0): ResourceWarning: Enable tracemalloc to get the object allocation traceback Exception ignored in: <function TLSSocket.__del__ at 0x7f713cdabd80> Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1284, in __del__ self.close() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1118, in close self.shutdown() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1110, in shutdown self._shutdown(True) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 1070, in _shutdown self._raw_write() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 780, in _raw_write sent = self._socket.send(to_write) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 9] Bad file descriptor ok test_get_list_callback (tests.test_trust_list.TrustListTests.test_get_list_callback) ... ok test_get_list_mutate (tests.test_trust_list.TrustListTests.test_get_list_mutate) ... ok test_get_path (tests.test_trust_list.TrustListTests.test_get_path) ... ok ====================================================================== ERROR: test_tls_connect_dh1024 (tests.test_tls.TLSTests.test_tls_connect_dh1024) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/unittest_data.py", line 51, in generated_test_function original_function(self, *params) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 102, in tls_connect connection = tls.TLSSocket(hostname, port, session=session) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 674, in _handshake raise_expired_not_yet_valid(cert) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_tls.py", line 509, in raise_expired_not_yet_valid raise TLSVerificationError(message, certificate) oscrypto.errors.TLSVerificationError: Server certificate verification failed - certificate expired 2024-01-01 00:00:00Z ====================================================================== ERROR: test_tls_error_client_cert_required (tests.test_tls.TLSTests.test_tls_error_client_cert_required) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 186, in test_tls_error_client_cert_required tls.TLSSocket('required-auth.badtls.io', 10003, session=session) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 674, in _handshake raise_expired_not_yet_valid(cert) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_tls.py", line 509, in raise_expired_not_yet_valid raise TLSVerificationError(message, certificate) oscrypto.errors.TLSVerificationError: Server certificate verification failed - certificate expired 2024-01-01 00:00:00Z ====================================================================== ERROR: test_tls_error_domain_mismatch (tests.test_tls.TLSTests.test_tls_error_domain_mismatch) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 155, in test_tls_error_domain_mismatch tls.TLSSocket('domain-mismatch.badtls.io', 11002, session=session) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 674, in _handshake raise_expired_not_yet_valid(cert) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_tls.py", line 509, in raise_expired_not_yet_valid raise TLSVerificationError(message, certificate) oscrypto.errors.TLSVerificationError: Server certificate verification failed - certificate expired 2024-01-01 00:00:00Z ====================================================================== ERROR: test_tls_error_http (tests.test_tls.TLSTests.test_tls_error_http) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 129, in test_tls_error_http tls.TLSSocket('www.google.com', 80) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 683, in _handshake handle_openssl_error(0, TLSError) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/_libcrypto.py", line 98, in handle_openssl_error raise exception_class(_try_decode(error_string)) oscrypto.errors.TLSError: error:0A0000C6:SSL routines::packet length too long ====================================================================== ERROR: test_tls_error_san_mismatch (tests.test_tls.TLSTests.test_tls_error_san_mismatch) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 161, in test_tls_error_san_mismatch tls.TLSSocket('san-mismatch.badtls.io', 11003, session=session) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 674, in _handshake raise_expired_not_yet_valid(cert) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_tls.py", line 509, in raise_expired_not_yet_valid raise TLSVerificationError(message, certificate) oscrypto.errors.TLSVerificationError: Server certificate verification failed - certificate expired 2024-01-01 00:00:00Z ====================================================================== ERROR: test_tls_error_weak_dh_params (tests.test_tls.TLSTests.test_tls_error_weak_dh_params) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 226, in test_tls_error_weak_dh_params tls.TLSSocket('dh512.badssl.com', 443) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 683, in _handshake handle_openssl_error(0, TLSError) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/_libcrypto.py", line 98, in handle_openssl_error raise exception_class(_try_decode(error_string)) oscrypto.errors.TLSError: error:030000A8:digital envelope routines::unknown security bits ====================================================================== ERROR: test_tls_error_wildcard_mismatch (tests.test_tls.TLSTests.test_tls_error_wildcard_mismatch) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 204, in test_tls_error_wildcard_mismatch tls.TLSSocket('wildcard.mismatch.badtls.io', 11007, session=session) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 674, in _handshake raise_expired_not_yet_valid(cert) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_tls.py", line 509, in raise_expired_not_yet_valid raise TLSVerificationError(message, certificate) oscrypto.errors.TLSVerificationError: Server certificate verification failed - certificate expired 2024-01-01 00:00:00Z ====================================================================== ERROR: test_tls_extra_trust_roots (tests.test_tls.TLSTests.test_tls_extra_trust_roots) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 250, in test_tls_extra_trust_roots tls.TLSSocket('domain-match.badtls.io', 10000, session=session) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 674, in _handshake raise_expired_not_yet_valid(cert) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_tls.py", line 509, in raise_expired_not_yet_valid raise TLSVerificationError(message, certificate) oscrypto.errors.TLSVerificationError: Server certificate verification failed - certificate expired 2024-01-01 00:00:00Z ====================================================================== ERROR: test_tls_wildcard_success (tests.test_tls.TLSTests.test_tls_wildcard_success) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 75, in wrapped f(*args) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/tests/test_tls.py", line 166, in test_tls_wildcard_success tls.TLSSocket('wildcard-match.badtls.io', 10001, session=session) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 456, in __init__ self._handshake() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_openssl/tls.py", line 674, in _handshake raise_expired_not_yet_valid(cert) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build/oscrypto/_tls.py", line 509, in raise_expired_not_yet_valid raise TLSVerificationError(message, certificate) oscrypto.errors.TLSVerificationError: Server certificate verification failed - certificate expired 2024-01-01 00:00:00Z ---------------------------------------------------------------------- Ran 174 tests in 37.117s FAILED (errors=9) E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build; python3.12 -m unittest discover -v Traceback (most recent call last): File "/usr/bin/pybuild", line 387, in main run(func, i, version, c) File "/usr/bin/pybuild", line 325, in run result = func(context, args) ^^^^^^^^^^^^^^^^^^^ File "/usr/share/dh-python/dhpython/build/base.py", line 365, in wrapped_func raise Exception(msg) Exception: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oscrypto/build; python3.12 -m unittest discover -v rm -fr -- /tmp/dh-xdg-rundir-XxkoLczE dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit code 13 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202409/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.