Source: python-pylxd
Version: 2.2.10-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> set -e ; set -x ; for pyvers in 3.12 3.11; do \
>       python$pyvers -m pytest -v pylxd/deprecated/tests ; \
> done
> + python3.12 -m pytest -v pylxd/deprecated/tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 -- 
> /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> collecting ... collected 154 items
> 
> pylxd/deprecated/tests/test_certificate.py::LXDAPICertificateTest::test_certificate_operations_1_delete
>  PASSED [  0%]
> pylxd/deprecated/tests/test_certificate.py::LXDAPICertificateTest::test_certificate_operations_2_create
>  PASSED [  1%]
> pylxd/deprecated/tests/test_certificate.py::LXDAPICertificateTest::test_certificate_show
>  PASSED [  1%]
> pylxd/deprecated/tests/test_certificate.py::LXDAPICertificateTest::test_list_certificates
>  PASSED [  2%]
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_get_connection_1_unix
>  PASSED [  3%]
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_get_connection_2_unix_path
>  PASSED [  3%]
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_get_connection_3_https
>  PASSED [  4%]
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_get_connection_4_https_port
>  PASSED [  5%]
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_http_connection
>  PASSED [  5%]
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_https_connection
>  FAILED [  6%]
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_https_proxy_connection
>  FAILED [  7%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_object_1_null
>  PASSED [  7%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_object_2_200
>  PASSED [  8%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_object_3_202
>  PASSED [  9%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_object_4_500
>  PASSED [  9%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_raw_1_null
>  PASSED [ 10%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_raw_2_200
>  PASSED [ 11%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_raw_3_500
>  PASSED [ 11%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_status_1_null
>  PASSED [ 12%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_status_2_200
>  PASSED [ 12%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_status_3_202
>  PASSED [ 13%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_status_4_200
>  PASSED [ 14%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_status_5_500
>  PASSED [ 14%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_ws_1_fake_host
>  PASSED [ 15%]
> pylxd/deprecated/tests/test_connection.py::LXDConnectionTest::test_get_ws_2_None
>  PASSED [ 16%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_actions_1_start
>  PASSED [ 16%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_actions_2_stop
>  PASSED [ 17%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_actions_3_suspend
>  PASSED [ 18%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_actions_4_resume
>  PASSED [ 18%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_actions_5_reboot
>  PASSED [ 19%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_config
>  PASSED [ 20%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_destroy
>  PASSED [ 20%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_info
>  PASSED [ 21%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_init
>  PASSED [ 22%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_log
>  PASSED [ 22%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_migrate
>  PASSED [ 23%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_publish
>  PASSED [ 24%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_put_file
>  PASSED [ 24%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_run_command
>  PASSED [ 25%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_1_STOPPED
>  PASSED [ 25%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_2_STOPPING
>  PASSED [ 26%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_3_ABORTING
>  PASSED [ 27%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_4_RUNNING
>  PASSED [ 27%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_5_STARTING
>  PASSED [ 28%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_6_FREEZING
>  PASSED [ 29%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_7_FROZEN
>  PASSED [ 29%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_running_8_THAWED
>  PASSED [ 30%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_state
>  PASSED [ 31%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_container_update
>  PASSED [ 31%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_list_containers
>  PASSED [ 32%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_list_snapshots
>  PASSED [ 33%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_snapshot_operations_1_create
>  PASSED [ 33%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_snapshot_operations_2_info
>  PASSED [ 34%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_snapshot_operations_3_rename
>  PASSED [ 35%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestObject::test_snapshot_operations_4_delete
>  PASSED [ 35%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestStatus::test_container_defined
>  PASSED [ 36%]
> pylxd/deprecated/tests/test_container.py::LXDAPIContainerTestRaw::test_container_file
>  PASSED [ 37%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_1_lxd_api_compat
>  PASSED [ 37%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_2_lxd_host_trust
>  PASSED [ 38%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_3_lxd_backing_fs
>  PASSED [ 38%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_4_lxd_driver
>  PASSED [ 39%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_5_lxc_version
>  PASSED [ 40%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_6_lxd_version
>  PASSED [ 40%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_7_kernel_version
>  PASSED [ 41%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_fail_1_lxd_api_compat
>  PASSED [ 42%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_fail_2_lxd_host_trust
>  PASSED [ 42%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_fail_3_lxd_backing_fs
>  PASSED [ 43%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_fail_4_lxd_driver
>  PASSED [ 44%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_fail_5_lxc_version
>  PASSED [ 44%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_fail_6_lxd_version
>  PASSED [ 45%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_data_fail_7_kernel_version
>  PASSED [ 46%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestObject::test_get_host_info 
> PASSED [ 46%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestStatus::test_get_host_ping_1_True
>  PASSED [ 47%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestStatus::test_get_host_ping_2_False
>  PASSED [ 48%]
> pylxd/deprecated/tests/test_host.py::LXDAPIHostTestStatus::test_get_host_ping_fail
>  PASSED [ 48%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_date_1_upload
>  PASSED [ 49%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_date_2_create
>  PASSED [ 50%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_date_3_expire
>  PASSED [ 50%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_date_fail_1_upload
>  PASSED [ 51%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_date_fail_2_create
>  PASSED [ 51%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_date_fail_3_expire
>  PASSED [ 52%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_defined_1_True
>  PASSED [ 53%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_defined_2_False
>  PASSED [ 53%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_defined_fail_1_APIError
>  PASSED [ 54%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_defined_fail_2_PyLXDException
>  PASSED [ 55%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_info 
> PASSED [ 55%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_image_info_fail
>  PASSED [ 56%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_list_images_1_list
>  PASSED [ 57%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_list_images_2_search
>  PASSED [ 57%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_list_images_fail_1_list
>  PASSED [ 58%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestObject::test_list_images_fail_2_search
>  PASSED [ 59%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestStatus::test_image_operations_1_delete
>  PASSED [ 59%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestStatus::test_image_operations_2_update
>  PASSED [ 60%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestStatus::test_image_operations_3_rename
>  PASSED [ 61%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestStatus::test_image_operations_fail_1_delete
>  PASSED [ 61%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestStatus::test_image_operations_fail_2_update
>  PASSED [ 62%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestStatus::test_image_operations_fail_3_rename
>  PASSED [ 62%]
> pylxd/deprecated/tests/test_image.py::LXDAPAPIImageTestUpload::test_image_upload_file
>  PASSED [ 63%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestRaw::test_image_export 
> PASSED [ 64%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageTestRaw::test_image_export_fail
>  PASSED [ 64%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_01_permission_true
>  PASSED [ 65%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_02_permission_false
>  PASSED [ 66%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_03_size
>  PASSED [ 66%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_04_fingerprint
>  PASSED [ 67%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_05_architecture_Unknown
>  PASSED [ 68%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_06_architecture_i686
>  PASSED [ 68%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_07_architecture_x86_64
>  PASSED [ 69%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_08_architecture_armv7l
>  PASSED [ 70%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_09_architecture_aarch64
>  PASSED [ 70%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_10_architecture_ppc
>  PASSED [ 71%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_11_architecture_ppc64
>  PASSED [ 72%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_12_architecture_ppc64le
>  PASSED [ 72%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_fail_1_permission
>  PASSED [ 73%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_fail_2_size
>  PASSED [ 74%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_fail_3_size
>  PASSED [ 74%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_fail_4_fingerprint
>  PASSED [ 75%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_fail_5_architecture
>  PASSED [ 75%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_data_fail_6_architecture_invalid
>  PASSED [ 76%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_1_permission
>  PASSED [ 77%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_2_size
>  PASSED [ 77%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_3_fingerprint
>  PASSED [ 78%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_4_architecture
>  PASSED [ 79%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_fail_1_permission
>  PASSED [ 79%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_fail_2_size
>  PASSED [ 80%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_fail_3_fingerprint
>  PASSED [ 81%]
> pylxd/deprecated/tests/test_image.py::LXDAPIImageInfoTest::test_info_no_data_fail_4_architecture
>  PASSED [ 81%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestObject::test_alias_list
>  PASSED [ 82%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestObject::test_alias_show
>  PASSED [ 83%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestStatus::test_alias_defined_1_True
>  PASSED [ 83%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestStatus::test_alias_defined_2_False
>  PASSED [ 84%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestStatus::test_alias_operations_1_create
>  PASSED [ 85%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestStatus::test_alias_operations_2_update
>  PASSED [ 85%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestStatus::test_alias_operations_3_rename
>  PASSED [ 86%]
> pylxd/deprecated/tests/test_image_alias.py::LXDAPIImageAliasTestStatus::test_alias_operations_4_delete
>  PASSED [ 87%]
> pylxd/deprecated/tests/test_network.py::LXDAPINetworkTest::test_list_networks 
> PASSED [ 87%]
> pylxd/deprecated/tests/test_network.py::LXDAPINetworkTest::test_network_data_1_name
>  PASSED [ 88%]
> pylxd/deprecated/tests/test_network.py::LXDAPINetworkTest::test_network_data_2_type
>  PASSED [ 88%]
> pylxd/deprecated/tests/test_network.py::LXDAPINetworkTest::test_network_data_3_members
>  PASSED [ 89%]
> pylxd/deprecated/tests/test_network.py::LXDAPINetworkTest::test_network_show 
> PASSED [ 90%]
> pylxd/deprecated/tests/test_operation.py::LXDAPIOperationTestObject::test_list_operations
>  PASSED [ 90%]
> pylxd/deprecated/tests/test_operation.py::LXDAPIOperationTestObject::test_operation_info
>  PASSED [ 91%]
> pylxd/deprecated/tests/test_operation.py::LXDAPIOperationTestObject::test_operation_show_1_create_time
>  PASSED [ 92%]
> pylxd/deprecated/tests/test_operation.py::LXDAPIOperationTestObject::test_operation_show_2_update_time
>  PASSED [ 92%]
> pylxd/deprecated/tests/test_operation.py::LXDAPIOperationTestObject::test_operation_show_3_status
>  PASSED [ 93%]
> pylxd/deprecated/tests/test_operation.py::LXDAPIOperationTestStatus::test_operation_actions_1_operation_delete
>  PASSED [ 94%]
> pylxd/deprecated/tests/test_operation.py::LXDAPIOperationTestStatus::test_operation_actions_2_wait_container_operation
>  PASSED [ 94%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestObject::test_list_profiles
>  PASSED [ 95%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestObject::test_profile_show
>  PASSED [ 96%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestStatus::test_profile_defined_1_True
>  PASSED [ 96%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestStatus::test_profile_defined_2_False
>  PASSED [ 97%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestStatus::test_profile_operations_1_create
>  PASSED [ 98%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestStatus::test_profile_operations_2_update
>  PASSED [ 98%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestStatus::test_profile_operations_3_rename
>  PASSED [ 99%]
> pylxd/deprecated/tests/test_profiles.py::LXDAPIProfilesTestStatus::test_profile_operations_4_delete
>  PASSED [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________ LXDInitConnectionTest.test_https_connection 
> __________________
> /usr/lib/python3/dist-packages/mock/mock.py:1343: in patched
>     with self.decoration_helper(patched,
> /usr/lib/python3.12/contextlib.py:137: in __enter__
>     return next(self.gen)
> /usr/lib/python3/dist-packages/mock/mock.py:1325: in decoration_helper
>     arg = exit_stack.enter_context(patching)
> /usr/lib/python3.12/contextlib.py:526: in enter_context
>     result = _enter(cm)
> /usr/lib/python3/dist-packages/mock/mock.py:1414: in __enter__
>     original, local = self.get_original()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <mock.mock._patch object at 0x7f8692186990>
> 
>     def get_original(self):
>         target = self.getter()
>         name = self.attribute
>     
>         original = DEFAULT
>         local = False
>     
>         try:
>             original = target.__dict__[name]
>         except (AttributeError, KeyError):
>             original = getattr(target, name, DEFAULT)
>         else:
>             local = True
>     
>         if name in _builtins and isinstance(target, ModuleType):
>             self.create = True
>     
>         if not self.create and original is DEFAULT:
> >           raise AttributeError(
>                 "%s does not have the attribute %r" % (target, name)
>             )
> E           AttributeError: <module 'ssl' from '/usr/lib/python3.12/ssl.py'> 
> does not have the attribute 'wrap_socket'
> 
> /usr/lib/python3/dist-packages/mock/mock.py:1387: AttributeError
> ______________ LXDInitConnectionTest.test_https_proxy_connection 
> _______________
> /usr/lib/python3/dist-packages/mock/mock.py:1343: in patched
>     with self.decoration_helper(patched,
> /usr/lib/python3.12/contextlib.py:137: in __enter__
>     return next(self.gen)
> /usr/lib/python3/dist-packages/mock/mock.py:1325: in decoration_helper
>     arg = exit_stack.enter_context(patching)
> /usr/lib/python3.12/contextlib.py:526: in enter_context
>     result = _enter(cm)
> /usr/lib/python3/dist-packages/mock/mock.py:1414: in __enter__
>     original, local = self.get_original()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <mock.mock._patch object at 0x7f86921843e0>
> 
>     def get_original(self):
>         target = self.getter()
>         name = self.attribute
>     
>         original = DEFAULT
>         local = False
>     
>         try:
>             original = target.__dict__[name]
>         except (AttributeError, KeyError):
>             original = getattr(target, name, DEFAULT)
>         else:
>             local = True
>     
>         if name in _builtins and isinstance(target, ModuleType):
>             self.create = True
>     
>         if not self.create and original is DEFAULT:
> >           raise AttributeError(
>                 "%s does not have the attribute %r" % (target, name)
>             )
> E           AttributeError: <module 'ssl' from '/usr/lib/python3.12/ssl.py'> 
> does not have the attribute 'wrap_socket'
> 
> /usr/lib/python3/dist-packages/mock/mock.py:1387: AttributeError
> =============================== warnings summary 
> ===============================
> ../../../usr/lib/python3/dist-packages/pbr/packaging.py:42
>   /usr/lib/python3/dist-packages/pbr/packaging.py:42: DeprecationWarning: 
> pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> ../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37
>   /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: 
> datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal 
> in a future version. Use timezone-aware objects to represent datetimes in 
> UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
>     EPOCH = datetime.datetime.utcfromtimestamp(0)
> 
> pylxd/deprecated/tests/test_operation.py:48
>   /<<PKGBUILDDIR>>/pylxd/deprecated/tests/test_operation.py:48: 
> DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
> scheduled for removal in a future version. Use timezone-aware objects to 
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
> datetime.UTC).
>     datetime.datetime.utcfromtimestamp(1433876844)
> 
> pylxd/deprecated/tests/test_operation.py:51
>   /<<PKGBUILDDIR>>/pylxd/deprecated/tests/test_operation.py:51: 
> DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
> scheduled for removal in a future version. Use timezone-aware objects to 
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
> datetime.UTC).
>     datetime.datetime.utcfromtimestamp(1433876843)
> 
> pylxd/deprecated/tests/test_certificate.py: 4 warnings
> pylxd/deprecated/tests/test_container.py: 32 warnings
> pylxd/deprecated/tests/test_host.py: 18 warnings
> pylxd/deprecated/tests/test_image.py: 25 warnings
> pylxd/deprecated/tests/test_image_alias.py: 8 warnings
> pylxd/deprecated/tests/test_network.py: 5 warnings
> pylxd/deprecated/tests/test_operation.py: 7 warnings
> pylxd/deprecated/tests/test_profiles.py: 8 warnings
>   /<<PKGBUILDDIR>>/pylxd/deprecated/api.py:30: DeprecationWarning: 
> pylxd.api.API is deprecated. Please use pylxd.Client.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_https_connection
> FAILED 
> pylxd/deprecated/tests/test_connection.py::LXDInitConnectionTest::test_https_proxy_connection
> ================= 2 failed, 152 passed, 111 warnings in 0.74s 
> ==================
> make[1]: *** [debian/rules:30: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-pylxd_2.2.10-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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 mark 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