Source: python-securesystemslib
Version: 0.22.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220326 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --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:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/signer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/settings.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/interface.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/schema.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/rsa_keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/ecdsa_keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/formats.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/unittest_toolbox.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/storage.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/process.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/ed25519_keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> copying securesystemslib/hash.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/dsa.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/rsa.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/eddsa.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/common.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/handlers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/functions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/gpg
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor
> copying securesystemslib/_vendor/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor
> copying securesystemslib/_vendor/ssl_match_hostname.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/test_ed25519.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/ed25519.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/science.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build/securesystemslib/_vendor/ed25519
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/signer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/settings.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/interface.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/schema.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/rsa_keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/ecdsa_keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/formats.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/unittest_toolbox.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/storage.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/process.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/ed25519_keys.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> copying securesystemslib/hash.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/dsa.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/rsa.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/eddsa.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/common.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/handlers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/functions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> copying securesystemslib/gpg/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/gpg
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor
> copying securesystemslib/_vendor/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor
> copying securesystemslib/_vendor/ssl_match_hostname.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/test_ed25519.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/ed25519.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor/ed25519
> copying securesystemslib/_vendor/ed25519/science.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/securesystemslib/_vendor/ed25519
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_securesystemslib/build; python3.10 -m 
> unittest discover -v tests
> test_create_ecdsa_public_and_private_from_pem 
> (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_create_signature (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_generate_public_and_private (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_verify_signature (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_create_signature (test_ed25519_keys.TestEd25519_keys) ... ok
> test_generate_public_and_private (test_ed25519_keys.TestEd25519_keys) ... ok
> test_verify_signature (test_ed25519_keys.TestEd25519_keys) ... ok
> test_bad_hash_error (test_exceptions.TestExceptions) ... Observed hash 
> ('56789') != expected hash ('01234')
> ok
> test_bad_signature_error (test_exceptions.TestExceptions) ... 'bad sig' 
> metadata has bad signature.
> ok
> test_invalid_metadata_json_error (test_exceptions.TestExceptions) ... 
> FormatError('Improperly formatted JSON')
> ok
> test_datetime_to_unix_timestamp (test_formats.TestFormats) ... ok
> test_encode_canonical (test_formats.TestFormats) ... ok
> test_format_base64 (test_formats.TestFormats) ... ok
> test_parse_base64 (test_formats.TestFormats) ... ok
> test_schemas (test_formats.TestFormats) ... ok
> test_unix_timestamp_to_datetime (test_formats.TestFormats) ... ok
> test_assign_certified_key_info_errors (test_gpg.TestCommon)
> Test _assign_certified_key_info errors with manually crafted data ... ok
> test_assign_certified_key_info_expiration (test_gpg.TestCommon)
> Test assignment of key expiration date in ... ok
> test_get_pubkey_bundle_errors (test_gpg.TestCommon)
> Test correct error raising in get_pubkey_bundle. ... ok
> test_get_verified_subkeys (test_gpg.TestCommon)
> Test correct assignment of subkey expiration date in ... ok
> test_get_verified_subkeys_errors (test_gpg.TestCommon)
> Test _get_verified_subkeys errors with manually crafted data based on ... ok
> test_parse_pubkey_bundle (test_gpg.TestCommon)
> Assert presence of packets expected returned from `parse_pubkey_bundle` ... ok
> test_parse_pubkey_bundle_errors (test_gpg.TestCommon)
> Test parse_pubkey_bundle errors with manually crafted data partially ... ok
> test_parse_pubkey_payload_errors (test_gpg.TestCommon)
> Test parse_pubkey_payload errors with manually crafted data. ... ok
> test_parse_signature_packet_errors (test_gpg.TestCommon)
> Test parse_signature_packet errors with manually crafted data. ... ok
> test_export_pubkey (test_gpg.TestGPGDSA)
> export a public key and make sure the parameters are the right ones: ... ok
> test_gpg_sign_and_verify_object (test_gpg.TestGPGDSA)
> Create a signature using a specific key on the keyring ... ok
> test_gpg_sign_and_verify_object_with_default_key (test_gpg.TestGPGDSA)
> Create a signature using the default key on the keyring ... ok
> test_gpg_sign_and_verify_object_with_default_key (test_gpg.TestGPGEdDSA)
> Create a signature using the default key on the keyring ... ok
> test_gpg_sign_and_verify_object_with_specific_key (test_gpg.TestGPGEdDSA)
> Create a signature using a specific key on the keyring ... ok
> test_verify_short_signature (test_gpg.TestGPGEdDSA)
> Correctly verify a special-crafted short signature. ... ok
> test_create_signature_with_expired_key (test_gpg.TestGPGRSA)
> Test signing with expired key raises gpg CommandError. ... ok
> test_export_pubkey (test_gpg.TestGPGRSA)
> export a public key and make sure the parameters are the right ones: ... 
> Exporting master key '8465a1e2e0fb2b40adb2478e18fb3f537e0c8a17' including 
> subkeys '6a112fd3390b2e53afc2e57f8fc8e12099aeceea, 
> c5a0abe6ec19d0d65f85e2c39be9df5131d924e9' for passed keyid 
> 'C5A0ABE6EC19D0D65F85E2C39BE9DF5131D924E9'.
> ok
> test_export_pubkey_error (test_gpg.TestGPGRSA)
> Test correct error is raised if function called incorrectly. ... ok
> test_export_pubkeys (test_gpg.TestGPGRSA)
> Test export multiple pubkeys at once. ... ok
> test_gpg_sign_and_verify_object (test_gpg.TestGPGRSA)
> Create a signature using a specific key on the keyring ... ok
> test_gpg_sign_and_verify_object_default_keyring (test_gpg.TestGPGRSA)
> Sign/verify using keyring from envvar. ... ok
> test_gpg_sign_and_verify_object_with_default_key (test_gpg.TestGPGRSA)
> Create a signature using the default key on the keyring ... ok
> test_verify_signature_with_expired_key (test_gpg.TestGPGRSA)
> Test sig verification with expired key raises KeyExpirationError. ... ok
> test_get_hashing_class (test_gpg.TestUtil) ... ok
> test_parse_packet_header (test_gpg.TestUtil)
> Test parse_packet_header with manually crafted data. ... ok
> test_parse_subpacket_header (test_gpg.TestUtil)
> Test parse_subpacket_header with manually crafted data. ... ok
> test_version_utils_return_types (test_gpg.TestUtil)
> Run dummy tests for coverage. ... ok
> test_blake2b_256_update (test_hash.TestHash) ... ok
> test_blake2b_update (test_hash.TestHash) ... ok
> test_blake2s_update (test_hash.TestHash) ... ok
> test_digest_from_rsa_scheme (test_hash.TestHash) ... ok
> test_digest_size (test_hash.TestHash) ... ok
> test_md5_update (test_hash.TestHash) ... ok
> test_sha1_update (test_hash.TestHash) ... ok
> test_sha224_update (test_hash.TestHash) ... ok
> test_sha256_update (test_hash.TestHash) ... ok
> test_sha384_update (test_hash.TestHash) ... ok
> test_sha512_update (test_hash.TestHash) ... ok
> test_unsupported_algorithm (test_hash.TestHash) ... ok
> test_unsupported_digest_algorithm_and_library (test_hash.TestHash) ... ok
> test_update_file_obj (test_hash.TestHash) ... ok
> test_update_filename (test_hash.TestHash) ... ok
> test_update_filename_normalize (test_hash.TestHash) ... ok
> test_ecdsa (test_interface.TestInterfaceFunctions)
> Test ecdsa key _generation and import interface functions. ... ok
> test_ed25519 (test_interface.TestInterfaceFunctions)
> Test ed25519 key _generation and import interface functions. ... ok
> test_generate_keypair_wrappers (test_interface.TestInterfaceFunctions)
> Basic tests for thin wrappers around _generate_and_write_*_keypair. ... ok
> test_import_privatekey_from_file (test_interface.TestInterfaceFunctions)
> Test generic private key import function. ... ok
> test_import_publickeys_from_file (test_interface.TestInterfaceFunctions)
> Test import multiple public keys with different types. ... ok
> test_rsa (test_interface.TestInterfaceFunctions)
> Test RSA key _generation and import interface functions. ... ok
> test_create_rsa_encrypted_pem (test_keys.TestKeys) ... ok
> test_create_signature (test_keys.TestKeys) ... ok
> test_decrypt_key (test_keys.TestKeys) ... ok
> test_extract_pem (test_keys.TestKeys) ... ok
> test_format_keyval_to_metadata (test_keys.TestKeys) ... ok
> test_format_metadata_to_key (test_keys.TestKeys) ... ok
> test_generate_ecdsa_key (test_keys.TestKeys) ... ok
> test_generate_rsa_key (test_keys.TestKeys) ... ok
> test_helper_get_keyid (test_keys.TestKeys) ... ok
> test_import_ecdsakey_from_pem (test_keys.TestKeys) ... ok
> test_import_ecdsakey_from_private_pem (test_keys.TestKeys) ... ok
> test_import_ecdsakey_from_public_pem (test_keys.TestKeys) ... ok
> test_import_rsakey_from_pem (test_keys.TestKeys) ... ok
> test_import_rsakey_from_private_pem (test_keys.TestKeys) ... ok
> test_import_rsakey_from_public_pem (test_keys.TestKeys) ... ok
> test_is_pem_private (test_keys.TestKeys) ... ok
> test_is_pem_public (test_keys.TestKeys) ... ok
> test_verify_signature (test_keys.TestKeys) ... ok
> test__default_timeout (test_process.Test_Process)
> Test default timeout modification. ... ok
> test_run_cmd_arg_return_code (test_process.Test_Process)
> Test command arg as string and list using return code. ... ok
> test_run_duplicate_streams (test_process.Test_Process)
> Test output as streams and as returned. ... ok
> test_run_duplicate_streams_timeout (test_process.Test_Process)
> Test raise TimeoutExpired. ... ok
> test_run_input_vs_stdin (test_process.Test_Process)
> Test that stdin kwarg is only used if input kwarg is not supplied. ... ok
> test_create_rsa_encrypted_pem (test_rsa_keys.TestRSA_keys) ... ok
> test_create_rsa_public_and_private_from_pem (test_rsa_keys.TestRSA_keys) ... 
> ok
> test_create_rsa_signature (test_rsa_keys.TestRSA_keys) ... ok
> test_decrypt_key (test_rsa_keys.TestRSA_keys) ... ok
> test_encrypt_key (test_rsa_keys.TestRSA_keys) ... ok
> test_generate_rsa_public_and_private (test_rsa_keys.TestRSA_keys) ... ok
> test_verify_rsa_signature (test_rsa_keys.TestRSA_keys) ... ok
> test_AllOf (test_schema.TestSchema) ... ok
> test_Any (test_schema.TestSchema) ... ok
> test_AnyBytes (test_schema.TestSchema) ... ok
> test_AnyNonemptyString (test_schema.TestSchema) ... ok
> test_AnyString (test_schema.TestSchema) ... ok
> test_Boolean (test_schema.TestSchema) ... ok
> test_DictOf (test_schema.TestSchema) ... ok
> test_Integer (test_schema.TestSchema) ... ok
> test_LengthBytes (test_schema.TestSchema) ... ok
> test_LengthString (test_schema.TestSchema) ... ok
> test_ListOf (test_schema.TestSchema) ... ok
> test_Object (test_schema.TestSchema) ... ok
> test_OneOf (test_schema.TestSchema) ... ok
> test_Optional (test_schema.TestSchema) ... ok
> test_RegularExpression (test_schema.TestSchema) ... ok
> test_Schema (test_schema.TestSchema) ... ok
> test_String (test_schema.TestSchema) ... ok
> test_Struct (test_schema.TestSchema) ... ok
> test_signature_eq_ (test_signer.TestSSlibSigner) ... ok
> test_signature_from_to_dict (test_signer.TestSSlibSigner) ... ok
> test_sslib_sign (test_signer.TestSSlibSigner) ... ok
> test_exceptions (test_storage.TestStorage) ... ok
> test_files (test_storage.TestStorage) ... ok
> test_folders (test_storage.TestStorage) ... ok
> test_singleton (test_storage.TestStorage) ... ok
> test_B1_get_file_details (test_util.TestUtil) ... ok
> test_B2_get_file_hashes (test_util.TestUtil) ... ok
> test_B3_get_file_length (test_util.TestUtil) ... ok
> test_B4_ensure_parent_dir (test_util.TestUtil) ... ok
> test_B5_file_in_confined_directories (test_util.TestUtil) ... ok
> test_B7_load_json_string (test_util.TestUtil) ... ok
> test_B8_load_json_file (test_util.TestUtil) ... ok
> test_B9_persist_temp_file (test_util.TestUtil) ... ok
> test_C5_unittest_toolbox_make_temp_directory (test_util.TestUtil) ... ok
> test_c5_unittest_toolbox_random_path (test_util.TestUtil) ... ok
> test_digests_are_equal (test_util.TestUtil) ... ok
> 
> ----------------------------------------------------------------------
> Ran 131 tests in 10.857s
> 
> OK
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build; python3.9 -m 
> unittest discover -v tests
> test_create_ecdsa_public_and_private_from_pem 
> (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_create_signature (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_generate_public_and_private (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_verify_signature (test_ecdsa_keys.TestECDSA_keys) ... ok
> test_create_signature (test_ed25519_keys.TestEd25519_keys) ... ok
> test_generate_public_and_private (test_ed25519_keys.TestEd25519_keys) ... ok
> test_verify_signature (test_ed25519_keys.TestEd25519_keys) ... ok
> test_bad_hash_error (test_exceptions.TestExceptions) ... Observed hash 
> ('56789') != expected hash ('01234')
> ok
> test_bad_signature_error (test_exceptions.TestExceptions) ... 'bad sig' 
> metadata has bad signature.
> ok
> test_invalid_metadata_json_error (test_exceptions.TestExceptions) ... 
> FormatError('Improperly formatted JSON')
> ok
> test_datetime_to_unix_timestamp (test_formats.TestFormats) ... ok
> test_encode_canonical (test_formats.TestFormats) ... ok
> test_format_base64 (test_formats.TestFormats) ... ok
> test_parse_base64 (test_formats.TestFormats) ... ok
> test_schemas (test_formats.TestFormats) ... ok
> test_unix_timestamp_to_datetime (test_formats.TestFormats) ... ok
> test_assign_certified_key_info_errors (test_gpg.TestCommon)
> Test _assign_certified_key_info errors with manually crafted data ... ok
> test_assign_certified_key_info_expiration (test_gpg.TestCommon)
> Test assignment of key expiration date in ... ok
> test_get_pubkey_bundle_errors (test_gpg.TestCommon)
> Test correct error raising in get_pubkey_bundle. ... ok
> test_get_verified_subkeys (test_gpg.TestCommon)
> Test correct assignment of subkey expiration date in ... ok
> test_get_verified_subkeys_errors (test_gpg.TestCommon)
> Test _get_verified_subkeys errors with manually crafted data based on ... ok
> test_parse_pubkey_bundle (test_gpg.TestCommon)
> Assert presence of packets expected returned from `parse_pubkey_bundle` ... ok
> test_parse_pubkey_bundle_errors (test_gpg.TestCommon)
> Test parse_pubkey_bundle errors with manually crafted data partially ... ok
> test_parse_pubkey_payload_errors (test_gpg.TestCommon)
> Test parse_pubkey_payload errors with manually crafted data. ... ok
> test_parse_signature_packet_errors (test_gpg.TestCommon)
> Test parse_signature_packet errors with manually crafted data. ... ok
> test_export_pubkey (test_gpg.TestGPGDSA)
> export a public key and make sure the parameters are the right ones: ... ok
> test_gpg_sign_and_verify_object (test_gpg.TestGPGDSA)
> Create a signature using a specific key on the keyring ... ok
> test_gpg_sign_and_verify_object_with_default_key (test_gpg.TestGPGDSA)
> Create a signature using the default key on the keyring ... ok
> ERROR
> test_gpg_sign_and_verify_object_with_default_key (test_gpg.TestGPGEdDSA)
> Create a signature using the default key on the keyring ... ok
> test_gpg_sign_and_verify_object_with_specific_key (test_gpg.TestGPGEdDSA)
> Create a signature using a specific key on the keyring ... ok
> test_verify_short_signature (test_gpg.TestGPGEdDSA)
> Correctly verify a special-crafted short signature. ... ok
> test_create_signature_with_expired_key (test_gpg.TestGPGRSA)
> Test signing with expired key raises gpg CommandError. ... ok
> test_export_pubkey (test_gpg.TestGPGRSA)
> export a public key and make sure the parameters are the right ones: ... 
> Exporting master key '8465a1e2e0fb2b40adb2478e18fb3f537e0c8a17' including 
> subkeys '6a112fd3390b2e53afc2e57f8fc8e12099aeceea, 
> c5a0abe6ec19d0d65f85e2c39be9df5131d924e9' for passed keyid 
> 'C5A0ABE6EC19D0D65F85E2C39BE9DF5131D924E9'.
> ok
> test_export_pubkey_error (test_gpg.TestGPGRSA)
> Test correct error is raised if function called incorrectly. ... ok
> test_export_pubkeys (test_gpg.TestGPGRSA)
> Test export multiple pubkeys at once. ... ok
> test_gpg_sign_and_verify_object (test_gpg.TestGPGRSA)
> Create a signature using a specific key on the keyring ... ok
> test_gpg_sign_and_verify_object_default_keyring (test_gpg.TestGPGRSA)
> Sign/verify using keyring from envvar. ... ok
> test_gpg_sign_and_verify_object_with_default_key (test_gpg.TestGPGRSA)
> Create a signature using the default key on the keyring ... ok
> test_verify_signature_with_expired_key (test_gpg.TestGPGRSA)
> Test sig verification with expired key raises KeyExpirationError. ... ok
> test_get_hashing_class (test_gpg.TestUtil) ... ok
> test_parse_packet_header (test_gpg.TestUtil)
> Test parse_packet_header with manually crafted data. ... ok
> test_parse_subpacket_header (test_gpg.TestUtil)
> Test parse_subpacket_header with manually crafted data. ... ok
> test_version_utils_return_types (test_gpg.TestUtil)
> Run dummy tests for coverage. ... ok
> test_blake2b_256_update (test_hash.TestHash) ... ok
> test_blake2b_update (test_hash.TestHash) ... ok
> test_blake2s_update (test_hash.TestHash) ... ok
> test_digest_from_rsa_scheme (test_hash.TestHash) ... ok
> test_digest_size (test_hash.TestHash) ... ok
> test_md5_update (test_hash.TestHash) ... ok
> test_sha1_update (test_hash.TestHash) ... ok
> test_sha224_update (test_hash.TestHash) ... ok
> test_sha256_update (test_hash.TestHash) ... ok
> test_sha384_update (test_hash.TestHash) ... ok
> test_sha512_update (test_hash.TestHash) ... ok
> test_unsupported_algorithm (test_hash.TestHash) ... ok
> test_unsupported_digest_algorithm_and_library (test_hash.TestHash) ... ok
> test_update_file_obj (test_hash.TestHash) ... ok
> test_update_filename (test_hash.TestHash) ... ok
> test_update_filename_normalize (test_hash.TestHash) ... ok
> test_ecdsa (test_interface.TestInterfaceFunctions)
> Test ecdsa key _generation and import interface functions. ... ok
> test_ed25519 (test_interface.TestInterfaceFunctions)
> Test ed25519 key _generation and import interface functions. ... ok
> test_generate_keypair_wrappers (test_interface.TestInterfaceFunctions)
> Basic tests for thin wrappers around _generate_and_write_*_keypair. ... ok
> test_import_privatekey_from_file (test_interface.TestInterfaceFunctions)
> Test generic private key import function. ... ok
> test_import_publickeys_from_file (test_interface.TestInterfaceFunctions)
> Test import multiple public keys with different types. ... ok
> test_rsa (test_interface.TestInterfaceFunctions)
> Test RSA key _generation and import interface functions. ... ok
> test_create_rsa_encrypted_pem (test_keys.TestKeys) ... ok
> test_create_signature (test_keys.TestKeys) ... ok
> test_decrypt_key (test_keys.TestKeys) ... ok
> test_extract_pem (test_keys.TestKeys) ... ok
> test_format_keyval_to_metadata (test_keys.TestKeys) ... ok
> test_format_metadata_to_key (test_keys.TestKeys) ... ok
> test_generate_ecdsa_key (test_keys.TestKeys) ... ok
> test_generate_rsa_key (test_keys.TestKeys) ... ok
> test_helper_get_keyid (test_keys.TestKeys) ... ok
> test_import_ecdsakey_from_pem (test_keys.TestKeys) ... ok
> test_import_ecdsakey_from_private_pem (test_keys.TestKeys) ... ok
> test_import_ecdsakey_from_public_pem (test_keys.TestKeys) ... ok
> test_import_rsakey_from_pem (test_keys.TestKeys) ... ok
> test_import_rsakey_from_private_pem (test_keys.TestKeys) ... ok
> test_import_rsakey_from_public_pem (test_keys.TestKeys) ... ok
> test_is_pem_private (test_keys.TestKeys) ... ok
> test_is_pem_public (test_keys.TestKeys) ... ok
> test_verify_signature (test_keys.TestKeys) ... ok
> test__default_timeout (test_process.Test_Process)
> Test default timeout modification. ... ok
> test_run_cmd_arg_return_code (test_process.Test_Process)
> Test command arg as string and list using return code. ... ok
> test_run_duplicate_streams (test_process.Test_Process)
> Test output as streams and as returned. ... ok
> test_run_duplicate_streams_timeout (test_process.Test_Process)
> Test raise TimeoutExpired. ... ok
> test_run_input_vs_stdin (test_process.Test_Process)
> Test that stdin kwarg is only used if input kwarg is not supplied. ... ok
> test_create_rsa_encrypted_pem (test_rsa_keys.TestRSA_keys) ... ok
> test_create_rsa_public_and_private_from_pem (test_rsa_keys.TestRSA_keys) ... 
> ok
> test_create_rsa_signature (test_rsa_keys.TestRSA_keys) ... ok
> test_decrypt_key (test_rsa_keys.TestRSA_keys) ... ok
> test_encrypt_key (test_rsa_keys.TestRSA_keys) ... ok
> test_generate_rsa_public_and_private (test_rsa_keys.TestRSA_keys) ... ok
> test_verify_rsa_signature (test_rsa_keys.TestRSA_keys) ... ok
> test_AllOf (test_schema.TestSchema) ... ok
> test_Any (test_schema.TestSchema) ... ok
> test_AnyBytes (test_schema.TestSchema) ... ok
> test_AnyNonemptyString (test_schema.TestSchema) ... ok
> test_AnyString (test_schema.TestSchema) ... ok
> test_Boolean (test_schema.TestSchema) ... ok
> test_DictOf (test_schema.TestSchema) ... ok
> test_Integer (test_schema.TestSchema) ... ok
> test_LengthBytes (test_schema.TestSchema) ... ok
> test_LengthString (test_schema.TestSchema) ... ok
> test_ListOf (test_schema.TestSchema) ... ok
> test_Object (test_schema.TestSchema) ... ok
> test_OneOf (test_schema.TestSchema) ... ok
> test_Optional (test_schema.TestSchema) ... ok
> test_RegularExpression (test_schema.TestSchema) ... ok
> test_Schema (test_schema.TestSchema) ... ok
> test_String (test_schema.TestSchema) ... ok
> test_Struct (test_schema.TestSchema) ... ok
> test_signature_eq_ (test_signer.TestSSlibSigner) ... ok
> test_signature_from_to_dict (test_signer.TestSSlibSigner) ... ok
> test_sslib_sign (test_signer.TestSSlibSigner) ... ok
> test_exceptions (test_storage.TestStorage) ... ok
> test_files (test_storage.TestStorage) ... ok
> test_folders (test_storage.TestStorage) ... ok
> test_singleton (test_storage.TestStorage) ... ok
> test_B1_get_file_details (test_util.TestUtil) ... ok
> test_B2_get_file_hashes (test_util.TestUtil) ... ok
> test_B3_get_file_length (test_util.TestUtil) ... ok
> test_B4_ensure_parent_dir (test_util.TestUtil) ... ok
> test_B5_file_in_confined_directories (test_util.TestUtil) ... ok
> test_B7_load_json_string (test_util.TestUtil) ... ok
> test_B8_load_json_file (test_util.TestUtil) ... ok
> test_B9_persist_temp_file (test_util.TestUtil) ... ok
> test_C5_unittest_toolbox_make_temp_directory (test_util.TestUtil) ... ok
> test_c5_unittest_toolbox_random_path (test_util.TestUtil) ... ok
> test_digests_are_equal (test_util.TestUtil) ... ok
> 
> ======================================================================
> ERROR: tearDownClass (test_gpg.TestGPGDSA)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build/tests/test_gpg.py",
>  line 667, in tearDownClass
>     shutil.rmtree(self.test_dir)
>   File "/usr/lib/python3.9/shutil.py", line 732, in rmtree
>     _rmtree_safe_fd(fd, path, onerror)
>   File "/usr/lib/python3.9/shutil.py", line 665, in _rmtree_safe_fd
>     _rmtree_safe_fd(dirfd, fullname, onerror)
>   File "/usr/lib/python3.9/shutil.py", line 688, in _rmtree_safe_fd
>     onerror(os.unlink, fullname, sys.exc_info())
>   File "/usr/lib/python3.9/shutil.py", line 686, in _rmtree_safe_fd
>     os.unlink(entry.name, dir_fd=topfd)
> FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
> 
> ----------------------------------------------------------------------
> Ran 131 tests in 9.674s
> 
> FAILED (errors=1)
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_securesystemslib/build; python3.9 -m 
> unittest discover -v tests
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned 
> exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/03/26/python-securesystemslib_0.22.0-1_unstable.log

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.

Reply via email to