Package: src:libcloud Version: 3.8.0+repack-5 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202602/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot 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 add an affects on src:libcloud, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:384: python3.14 setup.py clean /usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py:72: _ExperimentalConfiguration: `[tool.distutils]` in `pyproject.toml` is still *experimental* and likely to change in future releases. config = read_configuration(filepath, True, ignore_option_errors, dist) /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. [... snipped ...] ........................................................................ [ 62%] ........................................................................ [ 63%] ........................................................................ [ 64%] ........................................................................ [ 65%] ........................................................................ [ 65%] ........................................................................ [ 66%] ........................................................................ [ 67%] ........................................................................ [ 68%] ........................................................................ [ 69%] ........................................................................ [ 70%] .................................................................. [ 71%] libcloud/test/compute/test_rimuhosting.py ............... [ 71%] libcloud/test/compute/test_scaleway.py ....................... [ 71%] libcloud/test/compute/test_ssh_client.py ................s.............. [ 71%] .... [ 72%] libcloud/test/compute/test_types.py ............ [ 72%] libcloud/test/compute/test_upcloud.py ........... [ 72%] libcloud/test/compute/test_vcl.py ........ [ 72%] libcloud/test/compute/test_vcloud.py ................................... [ 72%] ........................................................ [ 73%] libcloud/test/compute/test_vpsnet.py ............... [ 73%] libcloud/test/compute/test_vsphere.py ...... [ 73%] libcloud/test/compute/test_vultr.py .................... [ 74%] libcloud/test/compute/test_vultr_v2.py ................................. [ 74%] .......... [ 74%] libcloud/test/container/test_docker.py ............ [ 74%] libcloud/test/container/test_docker_utils.py ... [ 74%] libcloud/test/container/test_ecs.py ................ [ 74%] libcloud/test/container/test_gke.py .. [ 74%] libcloud/test/container/test_kubernetes.py ......................... [ 75%] libcloud/test/container/test_lxd.py ............... [ 75%] libcloud/test/container/test_rancher.py ......................... [ 75%] libcloud/test/dns/test_auroradns.py .................... [ 76%] libcloud/test/dns/test_base.py ... [ 76%] libcloud/test/dns/test_buddyns.py ........ [ 76%] libcloud/test/dns/test_cloudflare.py ............................. [ 76%] libcloud/test/dns/test_digitalocean.py ........... [ 76%] libcloud/test/dns/test_dnsimple.py ............ [ 76%] libcloud/test/dns/test_dnspod.py ............... [ 76%] libcloud/test/dns/test_durabledns.py ........................ [ 77%] libcloud/test/dns/test_gandi.py ................. [ 77%] libcloud/test/dns/test_gandi_live.py ........................ [ 77%] libcloud/test/dns/test_godaddy.py ............ [ 77%] libcloud/test/dns/test_google.py ........... [ 78%] libcloud/test/dns/test_linode.py .................. [ 78%] libcloud/test/dns/test_linode_v4.py .............. [ 78%] libcloud/test/dns/test_liquidweb.py ................. [ 78%] libcloud/test/dns/test_luadns.py ................ [ 78%] libcloud/test/dns/test_nfsn.py ........... [ 79%] libcloud/test/dns/test_nsone.py ................. [ 79%] libcloud/test/dns/test_onapp.py ........... [ 79%] libcloud/test/dns/test_pointdns.py ..................................... [ 79%] ... [ 79%] libcloud/test/dns/test_powerdns.py ............... [ 80%] libcloud/test/dns/test_rackspace.py .................................... [ 80%] ............................ [ 80%] libcloud/test/dns/test_rcodezero.py .............. [ 80%] libcloud/test/dns/test_route53.py ....................... [ 81%] libcloud/test/dns/test_vultr.py ................ [ 81%] libcloud/test/dns/test_vultr_v2.py ........... [ 81%] libcloud/test/dns/test_worldwidedns.py .................... [ 81%] libcloud/test/dns/test_zerigo.py ....................... [ 82%] libcloud/test/dns/test_zonomi.py ..................... [ 82%] libcloud/test/loadbalancer/test_alb.py .................. [ 82%] libcloud/test/loadbalancer/test_brightbox.py ........ [ 82%] libcloud/test/loadbalancer/test_cloudstack.py ........ [ 82%] libcloud/test/loadbalancer/test_dimensiondata_v2_3.py .................. [ 83%] ..................... [ 83%] libcloud/test/loadbalancer/test_dimensiondata_v2_4.py .................. [ 83%] ..................... [ 83%] libcloud/test/loadbalancer/test_elb.py ................... [ 83%] libcloud/test/loadbalancer/test_gce.py ................ [ 84%] libcloud/test/loadbalancer/test_ninefold.py . [ 84%] libcloud/test/loadbalancer/test_nttcis.py .............................. [ 84%] .................. [ 84%] libcloud/test/loadbalancer/test_rackspace.py ........................... [ 85%] ........................................................................ [ 86%] ........................................................................ [ 86%] ............... [ 87%] libcloud/test/loadbalancer/test_slb.py ................................. [ 87%] . [ 87%] libcloud/test/storage/test_atmos.py .............................. [ 87%] libcloud/test/storage/test_aurora.py .............s..................... [ 88%] .............................s..................................... [ 89%] libcloud/test/storage/test_azure_blobs.py .............................. [ 89%] .................................................. [ 90%] libcloud/test/storage/test_backblaze_b2.py ................ [ 90%] libcloud/test/storage/test_base.py .......... [ 90%] libcloud/test/storage/test_cloudfiles.py ............................... [ 90%] .....................s.................................................. [ 91%] ......s........................................................s.... [ 92%] libcloud/test/storage/test_digitalocean_spaces.py ................... [ 92%] libcloud/test/storage/test_dummy.py .. [ 92%] libcloud/test/storage/test_google_storage.py .............s............. [ 93%] ............................................s........................... [ 94%] ................. [ 94%] libcloud/test/storage/test_minio.py .... [ 94%] libcloud/test/storage/test_ninefold.py ................................. [ 94%] .......................... [ 94%] libcloud/test/storage/test_oss.py .................................... [ 95%] libcloud/test/storage/test_ovh.py .............s........................ [ 95%] ............................s..................................... [ 96%] libcloud/test/storage/test_rgw.py ...... [ 96%] libcloud/test/storage/test_s3.py .............s......................... [ 97%] ............ [ 97%] libcloud/test/storage/test_scaleway.py .............s................... [ 97%] .................................s..................................... [ 98%] libcloud/test/test_connection.py ..s....................... [ 99%] libcloud/test/test_file_fixtures.py ...... [ 99%] libcloud/test/test_http.py .....ssss [ 99%] libcloud/test/test_init.py .... [ 99%] libcloud/test/test_logging_connection.py ....... [ 99%] libcloud/test/test_pricing.py ................ [ 99%] libcloud/test/test_response_classes.py ....... [ 99%] libcloud/test/test_types.py ........ [ 99%] libcloud/test/test_utils.py ........................ [100%] =================================== FAILURES =================================== _ OpenStackIdentityConnectionTestCase.test_token_expiration_and_force_reauthentication _ self = <libcloud.test.common.test_openstack_identity.OpenStackIdentityConnectionTestCase testMethod=test_token_expiration_and_force_reauthentication> def test_token_expiration_and_force_reauthentication(self): user_id = OPENSTACK_PARAMS[0] key = OPENSTACK_PARAMS[1] connection = self._get_mock_connection(OpenStack_2_0_MockHttp) auth_url = connection.auth_url osa = OpenStackIdentity_2_0_Connection( auth_url=auth_url, user_id=user_id, key=key, parent_conn=connection ) mocked_auth_method = Mock(wraps=osa._authenticate_2_0_with_body) osa._authenticate_2_0_with_body = mocked_auth_method # Force re-auth, expired token osa.auth_token = None osa.auth_token_expires = YESTERDAY count = 5 for i in range(0, count): osa.authenticate(force=True) self.assertEqual(mocked_auth_method.call_count, count) # No force reauth, expired token osa.auth_token = None osa.auth_token_expires = YESTERDAY mocked_auth_method.call_count = 0 self.assertEqual(mocked_auth_method.call_count, 0) for i in range(0, count): osa.authenticate(force=False) > self.assertEqual(mocked_auth_method.call_count, 1) E AssertionError: 6 != 1 libcloud/test/common/test_openstack_identity.py:244: AssertionError =============================== warnings summary =============================== libcloud/common/google.py:110 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/common/google.py:110: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return datetime.datetime.utcnow() libcloud/test/common/test_openstack_identity.py: 14 warnings libcloud/test/compute/test_deployment.py: 24 warnings libcloud/test/compute/test_openstack.py: 1156 warnings libcloud/test/compute/test_rackspace.py: 1785 warnings libcloud/test/dns/test_rackspace.py: 102 warnings libcloud/test/loadbalancer/test_rackspace.py: 366 warnings libcloud/test/storage/test_cloudfiles.py: 141 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/common/openstack_identity.py:794: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). time_tuple_now = datetime.datetime.utcnow().utctimetuple() libcloud/test/common/test_osc.py::OSCRequestSignerAlgorithmV4TestCase::test_v4_signature_contains_credential_scope libcloud/test/common/test_osc.py::OSCRequestSignerAlgorithmV4TestCase::test_v4_signature_contains_signed_headers libcloud/test/common/test_osc.py::OSCRequestSignerAlgorithmV4TestCase::test_v4_signature_contains_user_id /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/common/osc.py:78: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). date = datetime.utcnow() libcloud/test/common/test_osc.py::OSCRequestSignerAlgorithmV4TestCase::test_v4_signature_contains_credential_scope /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/test/common/test_osc.py:59: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). datetime.utcnow().strftime("%Y%m%d") libcloud/test/compute/test_opennebula.py::OpenNebula_1_4_Tests::test_create_node libcloud/test/compute/test_opennebula.py::OpenNebula_2_0_Tests::test_create_node /usr/lib/python3.13/xml/etree/ElementTree.py:893: DeprecationWarning: Testing an element's truth value will always return True in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if text or len(elem) or not short_empty_elements: libcloud/test/compute/test_openstack.py::OpenStack_1_0_Tests::test_create_node_with_metadata libcloud/test/compute/test_openstack.py::OpenStack_1_0_FactoryMethodTests::test_create_node_with_metadata libcloud/test/compute/test_rackspace.py::OpenStack_1_0_Tests::test_create_node_with_metadata libcloud/test/compute/test_rackspace.py::RackspaceusFirstGenUsTests::test_create_node_with_metadata libcloud/test/compute/test_rackspace.py::RackspaceusFirstGenUkTests::test_create_node_with_metadata /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/compute/drivers/openstack.py:702: DeprecationWarning: Testing an element's truth value will always return True in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if metadata_elm: libcloud/test/compute/test_openstack.py::OpenStack_1_0_Tests::test_create_node_with_metadata libcloud/test/compute/test_openstack.py::OpenStack_1_0_FactoryMethodTests::test_create_node_with_metadata libcloud/test/compute/test_rackspace.py::OpenStack_1_0_Tests::test_create_node_with_metadata libcloud/test/compute/test_rackspace.py::RackspaceusFirstGenUsTests::test_create_node_with_metadata libcloud/test/compute/test_rackspace.py::RackspaceusFirstGenUkTests::test_create_node_with_metadata /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/compute/drivers/openstack.py:706: DeprecationWarning: Testing an element's truth value will always return True in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if files_elm: libcloud/test/compute/test_ssh_client.py: 33 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/compute/ssh.py:147: DeprecationWarning: You are using deprecated "key" argument which has been replaced with "key_files" argument warnings.warn(message, DeprecationWarning) libcloud/test/container/test_ecs.py: 31 warnings libcloud/test/loadbalancer/test_alb.py: 55 warnings libcloud/test/loadbalancer/test_elb.py: 22 warnings libcloud/test/storage/test_aurora.py: 66 warnings libcloud/test/storage/test_google_storage.py: 66 warnings libcloud/test/storage/test_ovh.py: 132 warnings libcloud/test/storage/test_s3.py: 66 warnings libcloud/test/storage/test_scaleway.py: 132 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/common/aws.py:275: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.utcnow() libcloud/test/dns/test_auroradns.py: 32 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/dns/drivers/auroradns.py:260: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). t = datetime.datetime.utcnow() libcloud/test/dns/test_base.py::BaseTestCase::test_export_zone_to_bind_format_success /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/test/dns/test_base.py:86: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.datetime.utcnow() libcloud/test/dns/test_base.py::BaseTestCase::test_export_zone_to_bind_format_success libcloud/test/dns/test_base.py::BaseTestCase::test_export_zone_to_bind_format_success /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/dns/base.py:483: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). date = datetime.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S") libcloud/test/dns/test_route53.py: 42 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/dns/drivers/route53.py:63: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). time_string = datetime.datetime.utcnow().strftime("%a, %d %b %Y %H:%M:%S GMT") libcloud/test/storage/test_aurora.py::S3Tests::test_get_object_cdn_url libcloud/test/storage/test_google_storage.py::S3Tests::test_get_object_cdn_url libcloud/test/storage/test_ovh.py::S3Tests::test_get_object_cdn_url libcloud/test/storage/test_ovh.py::OvhStorageDriverTestCase::test_get_object_cdn_url libcloud/test/storage/test_s3.py::S3Tests::test_get_object_cdn_url libcloud/test/storage/test_scaleway.py::S3Tests::test_get_object_cdn_url libcloud/test/storage/test_scaleway.py::ScalewayStorageDriverTestCase::test_get_object_cdn_url /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/storage/drivers/s3.py:1296: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.utcnow() libcloud/test/storage/test_azure_blobs.py::AzureBlobsTests::test_get_object_cdn_url libcloud/test/storage/test_azure_blobs.py::AzuriteBlobsTests::test_get_object_cdn_url /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/storage/drivers/azure_blobs.py:622: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.utcnow() libcloud/test/test_http.py::HttpLayerTestCase::test_prepared_request_empty_body_chunked_encoding_not_used /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build/libcloud/test/test_http.py:109: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead cls.mock_server_thread.setDaemon(True) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 2.00s call libcloud/test/storage/test_base.py::BaseStorageTests::test_should_retry_rate_limited_errors 2.00s call libcloud/test/storage/test_base.py::BaseStorageTests::test_should_retry_rate_limited_errors_until_success 2.00s call libcloud/test/test_connection.py::ConnectionClassTestCase::test_parse_errors_can_be_retried 1.00s call libcloud/test/test_connection.py::ConnectionClassTestCase::test_retry_with_timeout 1.00s call libcloud/test/test_connection.py::ConnectionClassTestCase::test_retry_with_sleep 1.00s call libcloud/test/test_connection.py::ConnectionClassTestCase::test_retry_with_backoff 1.00s call libcloud/test/compute/test_vultr.py::VultrTests::test_rate_limit 1.00s call libcloud/test/test_connection.py::ConnectionClassTestCase::test_retry_rate_limit_error_timeout 0.99s call libcloud/test/compute/test_azure_arm.py::AzureNodeDriverTests::test_list_volumes_pagination_timeout 0.95s call libcloud/test/test_utils.py::TestUtils::test_read_in_chunks_corectness =========================== short test summary info ============================ FAILED libcloud/test/common/test_openstack_identity.py::OpenStackIdentityConnectionTestCase::test_token_expiration_and_force_reauthentication === 1 failed, 8108 passed, 25 skipped, 2 deselected, 4295 warnings in 47.24s === E: pybuild pybuild:483: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libcloud/build; python3.13 -m pytest -m 'not serial' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --test-pytest --test-args "-m 'not serial'" returned exit code 13 make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

